-
Notifications
You must be signed in to change notification settings - Fork 0
/
modtemp_58c3.js
23 lines (22 loc) · 953 Bytes
/
modtemp_58c3.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function jsc58c3(p_rdx, p_rcx, p_rdi, p_r8, p_r9, p_r11, p_r12, p_r14, p_r15, p_rax, p_rbx, p_rsi){
p_rdx &= 0x10; // 83e210 andl rdx,0x10
p_rcx &= 0x11; // 83e111 andl rcx,0x11
p_rdi &= 0x12; // 83e712 andl rdi,0x12
p_r8 &= 0x13; // 4183e013 andl r8, 0x13
p_r9 &= 0x14; // 4183e114 andl r9, 0x14
p_r11 &= 0x15; // 4183e315 andl r11,0x15
p_r12 &= 0x16; // 4183e416 andl r12,0x16
p_r14 &= 0x17; // 4183e617 andl r14,0x17
p_r15 &= 0x18; // 4183e718 andl r15,0x18
p_rax &= 0x19; // 83e019 andl rax,0x19
p_rbx &= 0x20; // dead code
p_rsi &= 0x21; // 83e621 andl rsi,0x21
//8d58c3 leal rbx,[rax-0x3d]
p_rbx = p_rax - 0x3d;
let i0 = p_rbx + 0x11;
return (i0 + p_rbx) + p_rdx + p_rcx + p_rdi + p_r8 + p_r9 + p_r11 + p_r12 + p_r14 + p_r15 + p_rax + p_rsi;
}
for(let i = 0; i < 0x10000; i++)
{
jsc58c3(0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xc10, 0xc11);
}