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

Disassembly:
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
push ecx
push esi
add esp, 4
and ecx, 0xeda7
and ecx, 0x17074
pop ecx
push ebx
or ebx, 0x80b7
add ebx, 0x1d62
pop ebx
push edi
push ebx
add esp, 4
add edi, 0xf979
and edi, 0x848b
pop edi
mov eax, dword [ebp - 0x4fc]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x404ce1
push ecx
push edx
add esp, 4
add ecx, 0x74e4
or ecx, 0x430c
call 0x404cca
add byte [ecx], bh
inc ebx
inc ebp
dec ecx
dec edx
inc esp
inc esp
dec ebx
cmp dword [ebx - 0x3e7efb3c], eax
dec esi
push ecx
add byte [eax], al
pop ecx
push ecx
xor ecx, 0x1177e
pop ecx
jmp 0x404f0f
mov dword [ebp - 0xc80], 7
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0xac4], ecx
push edx
push edi
add esp, 4
or edx, 0x17535
add edx, 0xf564
add edx, 0x12c5a
and edx, 0xa0d5
pop edx
push eax
sub eax, 0x7705
add eax, 0xb259
or eax, 0x11cfc
pop eax
mov edx, dword [ebp - 0x15c4]
mov dword [ebp - 0xa60], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15c4]
jne 0x404d90
push esi
jmp 0x404d57
and esi, 0x65d8
sub esi, 0x13d0d
call 0x404d73
add byte [ecx + 0x42], cl
inc ebx
inc ebp
inc edx
inc ecx
dec eax
inc edi
aas
add esp, 4
pop esi
push ebx
sub ebx, 0xe538
pop ebx
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], ecx
jmp 0x404ec1
cmp dword [ebp - 0xc80], 0
jle 0x404eb5
push ebx
push edi
add esp, 4
add ebx, 0x7868
and ebx, 0x1231c
xor ebx, 0x160ff
pop ebx
push edx
or edx, 0x8d2f
add edx, 0xc888
and edx, 0x8963
sub edx, 0x110d1
pop edx
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x404e51
push esi
push eax
add esp, 4
sub esi, 0xeafe
and esi, 0x1b8a
and esi, 0x1450f
pop esi
push edx
add edx, 0xed93
pop edx
push ebx
push ebx
add esp, 4
add ebx, 0x135af
xor ebx, 0x119e2
pop ebx
mov eax, dword [ebp - 0xac4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x404e39
mov dword [ebp - 0x15c8], 1
jmp 0x404e43
mov dword [ebp - 0x15c8], 0xffffffff
mov ecx, dword [ebp - 0x15c8]
mov dword [ebp - 0xc84], ecx
jmp 0x404eb5
push edi
push ecx
add esp, 4
xor edi, 0x12a83
jmp 0x404e61
pop edi
push eax
jmp 0x404e6b
xor eax, 0xa528
and eax, 0x11d10
pop eax
push ebx
jmp 0x404e82
pop ebx
mov edx, dword [ebp - 0xc80]
sub edx, 1
mov dword [ebp - 0xc80], edx
mov eax, dword [ebp - 0xac4]
add eax, 1
mov dword [ebp - 0xac4], eax
mov ecx, dword [ebp - 0xa60]
add ecx, 1
mov dword [ebp - 0xa60], ecx
jmp 0x404d90
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], edx
cmp dword [ebp - 0x15cc], 0
jne 0x404f0a
push edx
push esi
add esp, 4
call 0x404edc
add byte [edi + 0x44], cl
cmp al, byte [edi + 0x41]
xor al, 0x4e
add esp, 4
xor edx, 0xbbe0
jmp 0x404eed
pop edx
push ebx
sub ebx, 0xc3ec
and ebx, 0x120a9
pop ebx
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x3e8], eax
jmp 0x404f4b
jmp 0x404c58
push eax
jmp 0x404f19
jmp 0x404f20
add eax, 0x46cb
pop eax
push esi
or esi, 0x126d6
and esi, 0x81a6
and esi, 0x17512
or esi, 0x31d6
pop esi
mov dword [ebp - 0x3e8], 0
push esi
sub esi, 0x15589
or esi, 0xf1b6
pop esi
push eax
xor eax, 0xe7e6
and eax, 0x4c8a
call 0x404f73
add byte [edi + ecx*2 + 0x3c], al
dec esi
cmp byte [ebp + 0x34], al
add esp, 4
add eax, 0xcc45
pop eax
push edi
xor edi, 0x21f9
call 0x404f91
add byte [edx + ecx*2 + 0x38], al
dec ebx
dec edi
dec ebx
aas
add esp, 4
and edi, 0xcc11
pop edi
push edx
add edx, 0x168fc
add edx, 0xd87a
add edx, 0xc426
pop edx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15d0], eax
push ebx
push edi
add esp, 4
or ebx, 0x120cf
and ebx, 0x5eb9
xor ebx, 0x497e
and ebx, 0x83cf
pop ebx
push eax
add eax, 0xee67
xor eax, 0x10767
and eax, 0x887
pop eax
mov dword [ebp - 0x20a4], 0xffffffff
push esi
push eax
add esp, 4
or esi, 0xc00e
pop esi
push ebx
push edi
add esp, 4
jmp 0x405017
pop ebx
push edx
add edx, 0x16c10
or edx, 0x3a0e
sub edx, 0xcd9
xor edx, 0xae17
pop edx
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x40504f
push ecx
push ebx
add esp, 4
call 0x405064
add byte [edi], dh
xor cl, byte [ecx + 0x4f]
inc ecx
inc ebx
dec eax
xor edi, dword [ecx]
cmp eax, 0x8104c483
jmp 0x4083bf
add dword [ecx], eax
add dword [edi - 0x76], esp
xchg ch, al
jmp 0xca7483cb