Function at 0x4064f0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
add esp, 4
or edx, 0x10cda
pop edx
push esi
or esi, 0x549b
pop esi
push ecx
push ebx
add esp, 4
xor ecx, 0x560b
add ecx, 0x12c26
xor ecx, 0x16e89
jmp 0x4064ba
pop ecx
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push esi
push ebx
add esp, 4
and esi, 0x6fff
or esi, 0x1838c
and esi, 0xa66c
call 0x4064f0
add byte [ecx + 0x46], al
aaa
dec esi
inc eax
inc esi
xor eax, 0xc4834143
add al, 0x5e
push eax
or eax, 0xd0b8
pop eax
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne 0x40652c
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40681d
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x160c], edx
jne 0x406554
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40681d
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x160c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1610], ecx
cmp dword [ebp - 0x1610], 0
jne 0x406586
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
jmp 0x40681d
mov eax, dword [ebp - 0x324]
add eax, dword [ebp - 0x1610]
mov dword [ebp - 0x764], eax
jne 0x4065ab
mov ecx, dword [ebp - 0x770]
mov dword [ebp - 0x510], ecx
jmp 0x40681d
mov edx, dword [ebp - 0x764]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1984], eax
mov ecx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1988], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d10], ecx
mov dword [ebp - 0x768], 0
jmp 0x406605
mov edx, dword [ebp - 0x768]
add edx, 1
mov dword [ebp - 0x768], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax + 0x18]
jae 0x406811
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1984]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x76c], ecx
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1988]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1d10]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x198c], eax
mov dword [ebp - 0x19c], 0
jmp 0x406675
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
test eax, eax
je 0x406727
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
test edx, edx
je 0x406727
push ecx
push edi
add esp, 4
add ecx, 0xaa68
add ecx, 0x9b4b
pop ecx
push ecx
or ecx, 0x1824c
pop ecx
push ebx
push ebx
add esp, 4
and ebx, 0xc474
or ebx, 0x16a71
add ebx, 0x1178e
pop ebx
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
cmp ecx, eax
je 0x406719
mov ecx, dword [ebp - 0x76c]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x878]
cmp edx, ecx
jne 0x406720
jmp 0x406666
jmp 0x406727
push edx
push edx
add esp, 4
or edx, 0x8edd
and edx, 0x1857e
jmp 0x406740
pop edx
push ebx
jmp 0x406749
call 0x406755
add byte [esi + 0x44], cl
dec ecx
aas
push eax
add esp, 4
pop ebx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
cmp eax, edx
jne 0x406786
mov dword [ebp - 0xcb8], 0
jmp 0x4067f5
push ebx
push edi
add esp, 4
add ebx, 0xb148
and ebx, 0x4012
add ebx, 0x2aea
pop ebx
push eax
xor eax, 0x13045
xor eax, 0x4b6c
or eax, 0x1f78
and eax, 0x15be9
pop eax
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
or eax, 0x20
cmp ecx, eax
jge 0x4067eb
mov dword [ebp - 0xcb8], 0xffffffff
jmp 0x4067f5
mov dword [ebp - 0xcb8], 1
cmp dword [ebp - 0xcb8], 0
jne 0x40680c
mov ecx, dword [ebp - 0x198c]
mov dword [ebp - 0x510], ecx
jmp 0x40681d
jmp 0x4065f6
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x79c], eax