int
g_pI, g_pJ, g_sum;
void __declspec(naked) XXX_Part()
{
__asm {
/
*
0x00401080
*
/
push ebp
/
*
0x00401081
*
/
mov ebp, esp
/
*
0x00401083
*
/
sub esp,
0xC
/
*
0x00401086
*
/
mov g_sum,
0x0
/
*
0x0040108D
*
/
mov g_pI,
0x0
/
*
0x00401094
*
/
jmp LABEL_0x0040109F
LABEL_0x00401096:
/
*
0x00401096
*
/
mov eax, g_pI
/
*
0x00401099
*
/
add eax,
0x1
/
*
0x0040109C
*
/
mov g_pI, eax
LABEL_0x0040109F:
/
*
0x0040109F
*
/
cmp
g_pI,
0x3
/
*
0x004010A3
*
/
jge LABEL_0x004010CD
/
*
0x004010A5
*
/
mov g_pJ,
0x0
/
*
0x004010AC
*
/
jmp LABEL_0x004010B7
LABEL_0x004010AE:
/
*
0x004010AE
*
/
mov ecx, g_pJ
/
*
0x004010B1
*
/
add ecx,
0x1
/
*
0x004010B4
*
/
mov g_pJ, ecx
LABEL_0x004010B7:
/
*
0x004010B7
*
/
cmp
g_pJ,
0x3
/
*
0x004010BB
*
/
jge LABEL_0x004010CB
/
*
0x004010BD
*
/
mov edx, g_pI
/
*
0x004010C0
*
/
shl edx,
0xA
/
*
0x004010C3
*
/
add edx, g_pJ
/
*
0x004010C6
*
/
mov g_sum, edx
/
*
0x004010C9
*
/
jmp LABEL_0x004010AE; GOTO BACK
LABEL_0x004010CB:
/
*
0x004010CB
*
/
jmp LABEL_0x00401096; GOTO BACK
LABEL_0x004010CD:
/
*
0x004010CD
*
/
mov eax, g_sum
mov esp, ebp
pop ebp
ret
}
}