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

Disassembly:
push ecx
push eax
add esp, 4
and ecx, 0xf29
pop ecx
push eax
add eax, 0xd333
pop eax
push eax
add eax, 0xc771
pop eax
push eax
or eax, 0x1456
pop eax
push ecx
xor ecx, 0x7c99
sub ecx, 0x14aec
pop ecx
lea edx, [ebp - 0x1738]
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 eax
call fcn.00405fbf
add byte [edx + 0x32], al
dec esi
dec edi
xor eax, 0x833b4a4e
add esp, 4
jmp 0x405fc8
inc ebp
inc ecx
dec edx
add esp, 4
jmp 0x405fc8
pop eax
push eax
push edi
add esp, 4
call 0x405fde
add byte [ebp + edi + 0x4a], cl
cmp dword [esi + 0x37], ecx
inc eax
inc ecx
aaa
push eax
add esp, 4
pop eax
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 esi
xor esi, 0xba4d
call 0x40604e
add byte [edx], dh
dec ecx
cmp dword [esi + 0x3d], ecx
inc esp
inc ebx
add esp, 4
sub esi, 0x4440
pop esi
push ebx
jmp 0x40605e
add ebx, 0x1f65
add ebx, 0x8c22
pop ebx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x406088
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x1604], ecx
jmp 0x4060e2
movzx eax, word [ebp - 0x218]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x405fb0
movzx edx, word [ebp - 0x218]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x405fb0
movzx ecx, word [ebp - 0x218]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4060cc
mov dword [ebp - 0x1600], 0xffffffff
jmp 0x4060d6
mov dword [ebp - 0x1600], 1
mov eax, dword [ebp - 0x1600]
mov dword [ebp - 0x1604], eax
cmp dword [ebp - 0x1604], 0
jne 0x40612b
push esi
add esi, 0x4922
or esi, 0x3617
add esi, 0x4f1b
pop esi
push esi
push esi
add esp, 4
or esi, 0xaa2f
pop esi
push ebx
push ebx
add esp, 4
sub ebx, 0xfcd0
add ebx, 0x1728b
pop ebx
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x31c], ecx
jmp 0x406193
push ecx
call 0x40613a
add byte [esp + esi], dh
inc esi
cmp bh, byte [edi]
inc eax
dec ecx
inc eax
add esp, 4
add ecx, 0x15f69
and ecx, 0x1039
add ecx, 0xf9b2
pop ecx
push ebx
xor ebx, 0x2738
jmp 0x40615c
pop ebx
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 0x406189
mov edx, dword [ebp - 0x50c]
cmp dword [edx + 0x30], 0
jne 0x405f54
mov dword [ebp - 0x31c], 0
push edi
push edx
add esp, 4
call 0x4061a6
add byte [ecx + 0x50], cl
inc edi
inc ebx
dec ebx
inc edx
cmp eax, 0x4c48343
jmp 0x4061b1
call 0x4061c1
add byte [edx + 0x4b], al
cmp eax, 0x4c3c3344
cmp al, byte [ebx + 0x3a]
add esp, 4
pop edi
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push edx
or edx, 0x935
call 0x4061e8
add byte [esi], dh
dec ebx
dec eax
dec esi
inc edi
dec edi
add esp, 4
pop edx
push eax
and eax, 0x577b
add eax, 0x215c
sub eax, 0x14e31
xor eax, 0x16354
pop eax
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne 0x406236
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x406527
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x160c], edx
jne 0x40625e
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x406527
invalid
invalid