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

Disassembly:
add esp, 4
jmp 0x404edd
pop ebx
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbec]
mov dword [ebp - 0x15c4], eax
push eax
push edi
add esp, 4
add eax, 0xc782
xor eax, 0x1411
sub eax, 0x149
xor eax, 0x8ef6
pop eax
push esi
add esi, 0x55cd
or esi, 0x11a60
add esi, 0x82d4
pop esi
mov dword [ebp - 0x20a0], 0xffffffff
push eax
and eax, 0xb9df
and eax, 0x158a8
sub eax, 0x14e86
add eax, 0x16855
pop eax
push ecx
push ecx
add esp, 4
or ecx, 0x2df6
xor ecx, 0xdce8
or ecx, 0x13fd1
pop ecx
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x4fc], ecx
jmp 0x404f7e
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
push esi
add esi, 0x147ee
pop esi
push edx
or edx, 0x82a4
pop edx
push esi
xor esi, 0x735b
add esi, 0x1003a
sub esi, 0x16992
pop esi
push edx
sub edx, 0xb0ac
xor edx, 0x12fa1
pop edx
mov eax, dword [ebp - 0x4fc]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x404ff8
push ecx
push ebx
add esp, 4
sub ecx, 0xd341
add ecx, 0xd525
jmp 0x404fda
pop ecx
push edx
push ecx
add esp, 4
and edx, 0xc240
pop edx
push esi
push eax
add esp, 4
or esi, 0x10dfd
pop esi
jmp 0x405226
mov dword [ebp - 0xc80], 7
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0xac4], ecx
push esi
add esi, 0x9866
or esi, 0x526a
pop esi
push ecx
call 0x40502b
add byte [ecx + 0x4f], cl
xor al, byte [eax + edi + 0x37]
cmp eax, 0x4c48343
jmp 0x405033
or ecx, 0x15610
jmp 0x40503f
pop ecx
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 0x4050a7
push edi
push edi
add esp, 4
add edi, 0x52b6
add edi, 0x13ecf
pop edi
push eax
push edx
add esp, 4
sub eax, 0xe19e
sub eax, 0x11f8a
xor eax, 0xafe2
pop eax
push ebx
or ebx, 0xb78e
pop ebx
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], ecx
jmp 0x4051d8
cmp dword [ebp - 0xc80], 0
jle 0x4051cc
push ecx
call 0x4050c5
add byte [ecx], bh
xor bh, byte [edi]
cmp al, 0x39
inc esi
dec esp
inc eax
aas
inc ebx
add esp, 4
pop ecx
push ecx
push eax
add esp, 4
xor ecx, 0x50ab
call 0x4050e2
add byte [edi + 0x4d], cl
dec edi
cmp al, byte [ebx + 0x34]
inc esi
dec edi
add esp, 4
pop ecx
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x405168
push esi
push eax
add esp, 4
or esi, 0x17244
and esi, 0x167de
xor esi, 0x6c3
or esi, 0x8ccb
pop esi
push eax
sub eax, 0x7337
or eax, 0x221e
add eax, 0x44d2
pop eax
mov eax, dword [ebp - 0xac4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x405150
mov dword [ebp - 0x15c8], 1
jmp 0x40515a
mov dword [ebp - 0x15c8], 0xffffffff
mov ecx, dword [ebp - 0x15c8]
mov dword [ebp - 0xc84], ecx
jmp 0x4051cc
push eax
sub eax, 0xda6d
xor eax, 0x164a1
sub eax, 0xe4b2
pop eax
push edi
push ecx
add esp, 4
xor edi, 0x4fb5
or edi, 0x16af
pop edi
push ecx
push edx
add esp, 4
xor ecx, 0x2332
pop ecx
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 0x4050a7
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], edx
cmp dword [ebp - 0x15cc], 0
jne 0x405221
push ebx
or ebx, 0x58c
xor ebx, 0x181b6
jmp 0x4051f6
pop ebx
push eax
or eax, 0xa2c5
sub eax, 0xba26
or eax, 0x1759
pop eax
push esi
xor esi, 0xdca4
pop esi
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x3e8], eax
jmp 0x405262
jmp 0x404f6f
push esi
call 0x405235
add byte [edi + ecx*2 + 0x35], cl
inc edx
inc ebx
cmp bh, byte ds:[ebx]
add esp, 4
or esi, 0x29ae
xor esi, 0x1067
call 0x405254
add byte [edx + 0x4f], cl
inc esi
dec ebp
aaa
xor edi, dword [ebx]
inc eax
add esp, 4
pop esi
mov dword [ebp - 0x3e8], 0
push ebx
or ebx, 0x68e8
pop ebx
push esi
or esi, 0xc5d0
pop esi
push ebx
push esi
add esp, 4
jmp 0x40527c
xor ebx, 0x3461
call 0x405290
add byte [edi + 0x4e334437], bh
cmp eax, 0x4c4834d
pop ebx
push ecx
push edx
add esp, 4
and ecx, 0x17988
jmp 0x4052a7
and ecx, 0x13cea
call 0x4052ba
add byte [ebx], dh
xor eax, 0x49323737
dec ebp
add esp, 4
pop ecx
push eax
xor eax, 0x16d8f
pop eax
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15d0], eax
push ecx
push edi
add esp, 4
call 0x4052f0
add byte [esi + 0x41], al
dec esp
dec ecx
aaa
inc ebp
dec esi
dec esp
dec ebx
add esp, 4
call 0x405303
add byte [edx + 0x32], al
xor al, 0x48
inc ebp
inc esi
inc esp
dec eax
dec edx
dec edi
add esp, 4
add ecx, 0x12af8
pop ecx
mov dword [ebp - 0x20a4], 0xffffffff
push edi
push ecx
add esp, 4
add edi, 0xa30f
pop edi
push eax
add eax, 0xec11
pop eax
push eax
push edx
add esp, 4
xor eax, 0x3f42
xor eax, 0x973
xor eax, 0xa557
xor eax, 0x113e1
pop eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x500], ecx
jmp 0x405366
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
push ebx
push esi
add esp, 4
call 0x405377
add byte [edx + ecx*2], dh
dec esi
dec ecx
inc ebp
add esp, 4
call 0x405388
add byte [ebx + 0x3c], cl
dec esp
dec esp
inc eax
push eax
xor eax, 0x4c48341
pop ebx
push edi
push esi
add esp, 4
add edi, 0x158a2
pop edi
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x4053e0
push ebx
push eax
add esp, 4
add ebx, 0x2bd
add ebx, 0xf867
pop ebx
push edi
xor edi, 0x1622
or edi, 0x12875
pop edi
push eax
push ecx
add esp, 4
xor eax, 0xaa73
sub eax, 0xc6f2
pop eax
jmp 0x40560e
mov dword [ebp - 0xc88], 7
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0xac0], ecx
push ecx
and ecx, 0x7eef
pop ecx
push ebx
or ebx, 0x13a90
sub ebx, 0x14e77
sub ebx, 0x1e30
pop ebx
push esi
push ebx
add esp, 4
call 0x405424
add byte [edx + 0x48], cl
dec esp
inc esp
inc ebp
cmp dword [ebx + eax*4 - 0x3c], ecx
add al, 0x5e
mov edx, dword [ebp - 0x15d0]
mov dword [ebp - 0xabc], edx
mov dword [ebp - 0xc8c], 0
mov eax, dword [ebp - 0x500]
cmp eax, dword [ebp - 0x15d0]
jne 0x40548f
push esi
push ebx
add esp, 4
add esi, 0x99d1
or esi, 0x133e1
sub esi, 0x4ef4
add esi, 0x12b46
pop esi
push eax
and eax, 0xfd68
add eax, 0x13179
sub eax, 0xfba1
pop eax
mov ecx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], ecx
jmp 0x4055c0
cmp dword [ebp - 0xc88], 0
jle 0x4055b4
push ecx
push esi
add esp, 4
or ecx, 0x6c4c
pop ecx
push edi
push esi
add esp, 4
or edi, 0x9c4c
and edi, 0x1820f
or edi, 0x550c
pop edi
push esi
and esi, 0x1680a
add esi, 0xaa52
pop esi
invalid
xchg ebp, eax