Function at 0x64f000
Capabilities:
Get number of processors
Terminate process

Disassembly:
jmp 0x64f003
mov eax, dword [0x652048]
and eax, 0x20
test eax, eax
jne 0x64f0a3
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x6529f0], eax
mov dword [0x6529f8], eax
mov dword [0x6529fc], edx
mov eax, dword fs:[0x30]
test eax, eax
js 0x64f081
push 0x6529f4
push 4
push pe_nt_image_headers32
mov ecx, dword [0x6529f0]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x64f07f
mov eax, dword [0x6529f8]
add dword [eax + 0x50], 0x2000
jmp 0x64f0a2
jmp 0x64f0a2
mov edx, dword [0x6529fc]
test edx, edx
jns 0x64f0a2
mov edx, dword [edx + 4]
mov dword [0x6529ec], edx
add dword [edx + 0x50], 0x2000
xor dword [edx + 0x11], 0x424f4420
nop
call fcn.00651660
cmp dword [0x652594], 0
jne 0x64f157
mov ecx, dword [0x65207c]
mov dword [0x652a20], ecx
push 0x1e
push 0x652168
call fcn.006514a6
add esp, 8
push 0x64
push 0x652188
call fcn.006514a6
add esp, 8
push 0x64
push 0x6521f0
call fcn.006514a6
add esp, 8
push 0x64
push 0x652258
call fcn.006514a6
add esp, 8
push 0x64
push 0x6522c0
call fcn.006514a6
add esp, 8
push 0x64
push 0x652328
call fcn.006514a6
add esp, 8
push 0x64
push 0x652390
call fcn.006514a6
add esp, 8
push 0x64
push 0x6523f8
call fcn.006514a6
add esp, 8
push 0x64
push 0x652460
call fcn.006514a6
add esp, 8
push 0x64
push 0x6524c8
call fcn.006514a6
add esp, 8
call fcn.00651318
mov edx, dword [0x652048]
and edx, 0x20
test edx, edx
je 0x64f1a1
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov dword [0x65258c], eax
pop ebp
cmp dword [0x65258c], 1
je 0x64f190
cmp dword [0x65258c], 2
je 0x64f190
mov dword [ebp - 4], 0
jmp 0x64f197
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov dword [0x652590], eax
jmp 0x64f1ab
mov dword [0x652590], 1
mov dword [0x652598], 0
mov ecx, entry0
sub ecx, dword [0x652018]
mov dword [0x652534], ecx
mov edx, dword [0x652034]
add edx, dword [0x652534]
mov dword [0x65253c], edx
mov eax, dword [0x652044]
add eax, dword [0x652534]
mov dword [0x652540], eax
cmp dword [0x652590], 0
je 0x64f3cc
cmp dword [0x652594], 0
jne 0x64f3cc
mov dword [0x652594], 1
mov dword [0x652598], 1
call fcn.006511d2
test eax, eax
je 0x64f3cc
call fcn.006508a3
test eax, eax
je 0x64f3cc
mov ecx, dword [0x652070]
xor ecx, dword [0x652068]
mov dword [0x652070], ecx
mov edx, dword [0x652074]
xor edx, dword [0x652060]
mov dword [0x652074], edx
call fcn.00650b1b
test eax, eax
je 0x64f3ba
call fcn.0064fda5
push 0x652a28
call fcn.0064fe82
add esp, 4
call fcn.00650b26
mov dword [0x652538], eax
cmp dword [0x652538], 0
je 0x64f38d
call fcn.00650c1e
test eax, eax
je 0x64f38d
mov eax, dword [0x652048]
and eax, 0x20
test eax, eax
je 0x64f2b2
push 0x652a3c
call fcn.0064fe82
add esp, 4
jmp 0x64f2bf
push 0x652a4c
call fcn.0064fe82
add esp, 4
call fcn.006505e5
test eax, eax
je 0x64f386
mov ecx, dword [0x652070]
xor ecx, dword [0x652068]
mov dword [0x652070], ecx
mov edx, dword [0x652074]
xor edx, dword [0x652060]
mov dword [0x652074], edx
call fcn.006507b2
mov dword [0x6529e4], eax
cmp dword [0x6529e4], 0
je 0x64f372
mov eax, dword [0x652014]
add eax, dword [0x652534]
push eax
call fcn.0064faf9
add esp, 4
test eax, eax
je 0x64f372
mov ecx, dword [0x652010]
add ecx, dword [0x652534]
push ecx
call fcn.0064f578
add esp, 4
test eax, eax
je 0x64f372
call fcn.0064f9ae
test eax, eax
je 0x64f372
call fcn.0064fbfc
test eax, eax
je 0x64f372
mov dword [0x652598], 0
mov edx, dword [0x652070]
xor edx, dword [0x6529e4]
mov dword [0x652070], edx
mov eax, dword [0x652074]
xor eax, dword [0x652060]
mov dword [0x652074], eax
push 0x8000
push 0
mov ecx, dword [0x652584]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.00650218
jmp 0x64f3b8
call fcn.00650218
push 0x64
push 0x652368
push 0x652188
call fcn.00650ab4
add esp, 0xc
push 0x652168
push 0x652368
call fcn.006502a4
add esp, 8
jmp 0x64f3cc
push 0x652168
push 0x652258
call fcn.006502a4
add esp, 8
cmp dword [0x6529dc], 0
je 0x64f3f3
push 0x10
push 0x652168
push 0x652a60
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x652598], 1
cmp dword [0x652598], 0
je 0x64f419
mov edx, dword [0x652048]
and edx, 0x20
test edx, edx
je 0x64f411
mov eax, 0
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x6529d8], 1
mov eax, dword [0x652538]
and eax, 0x8000
test eax, eax
je 0x64f445
mov ecx, dword [0x652050]
imul ecx, ecx, 0xea60
mov dword [0x6529e8], ecx
jmp 0x64f457
mov edx, dword [0x652054]
imul edx, edx, 0x3e8
mov dword [0x6529e8], edx
mov eax, dword [0x6529e8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x6525b0], eax
push 0x6525a0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edx, dword [0x652008]
add edx, dword [0x652534]
mov dword [0x652530], edx
mov eax, dword [0x652068]
cmp eax, dword [0x6529e4]
je 0x64f4a0
mov ecx, dword [0x6529e4]
mov dword [0x652068], ecx
mov edx, dword [0x652048]
and edx, 0x20
test edx, edx
jne 0x64f4c8
cld
push edi
push ecx
mov edi, 0x64f003
mov ecx, 0x64f4a0
sub ecx, edi
shr ecx, 2
mov ax, 0xeb00
rep stosw word es:[edi], ax
pop ecx
pop edi
jmp dword [0x652530]