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

Disassembly:
jne 0x405c60
mov dword [ebp - 0x31c], 0
jmp 0x405f07
mov ecx, dword [ebp - 0x1600]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push ebx
push ecx
add esp, 4
add ebx, 0x138e4
call 0x405c89
add byte [eax*2 + 0x384a3534], dh
add esp, 4
sub ebx, 0xabf1
call 0x405ca0
add byte [edx + 0x43], cl
inc esp
inc edx
dec eax
cmp eax, 0x4c4833d
pop ebx
cmp dword [ebp - 0xcb4], 0
jne 0x405cbc
mov dword [ebp - 0x31c], 0
jmp 0x405f07
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx
push edx
push edx
add esp, 4
xor edx, 0x1dd4
jmp 0x405cdc
jmp 0x405ce1
pop edx
push esi
push edx
add esp, 4
xor esi, 0x145c0
xor esi, 0x3592
sub esi, 0x86d4
pop esi
lea edx, [ebp - 0x173c]
mov dword [ebp - 0xcb0], edx
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcac], ecx
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov word [ebp - 0x34], ax
push edx
xor edx, 0xea3f
xor edx, 0x6bd4
pop edx
push ebx
push eax
add esp, 4
or ebx, 0xbfb
call 0x405d4c
add byte [edi + 0x46], cl
inc ecx
inc ebp
inc ecx
inc ebx
cmp cl, byte [eax + 0x36]
add esp, 4
add ebx, 0x52ae
pop ebx
mov ecx, dword [ebp - 0xcac]
mov dx, word [ecx]
mov word [ebp - 0x103a], dx
mov eax, dword [ebp - 0xcac]
add eax, 2
mov dword [ebp - 0xcac], eax
mov cx, word [ebp - 0x103a]
mov word [ebp - 0x218], cx
mov edx, dword [ebp - 0xcb0]
mov ax, word [edx]
mov word [ebp - 0x103c], ax
mov ecx, dword [ebp - 0xcb0]
add ecx, 2
mov dword [ebp - 0xcb0], ecx
mov dx, word [ebp - 0x103c]
mov word [ebp - 0x34], dx
push eax
or eax, 0x16808
sub eax, 0x105ea
add eax, 0x11840
pop eax
push eax
push edi
add esp, 4
xor eax, 0xbf76
sub eax, 0x2e9
pop eax
push ecx
push ebx
add esp, 4
and ecx, 0x103b1
pop ecx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x405dfc
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1608], ecx
jmp 0x405e56
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x405d24
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x405d24
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x405e40
mov dword [ebp - 0x1604], 0xffffffff
jmp 0x405e4a
mov dword [ebp - 0x1604], 1
mov eax, dword [ebp - 0x1604]
mov dword [ebp - 0x1608], eax
cmp dword [ebp - 0x1608], 0
jne 0x405e9f
push eax
add eax, 0x16f7b
jmp 0x405e6f
pop eax
push ecx
push ebx
add esp, 4
sub ecx, 0xad31
and ecx, 0xdcb3
call 0x405e8d
add byte [esi + 0x4c], al
cmp byte [ebx], dh
xor dh, byte [edi]
add esp, 4
pop ecx
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x31c], ecx
jmp 0x405f07
push edx
push esi
add esp, 4
or edx, 0xc27c
xor edx, 0x116e0
and edx, 0x11256
pop edx
push eax
add eax, 0xd921
sub eax, 0x109e8
or eax, 0x6ab4
xor eax, 0x9479
pop eax
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x50c]
cmp ecx, dword [ebp - 0xcb4]
je 0x405efd
mov edx, dword [ebp - 0x50c]
invalid
push esi
push eax
add esp, 4
add esi, 0x174cc
call 0x405f21
add byte [eax + 0x3b], dl
inc ecx
xor al, 0x32
inc eax
dec esi
inc ebp
xor eax, 0x8104c483
invalid