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

Disassembly:
add esp, 4
pop edi
push ebx
push esi
add esp, 4
jmp 0x404a4e
jmp 0x404a55
pop ebx
jmp 0x404c89
push edi
add edi, 0xb27e
or edi, 0x10e13
sub edi, 0x7ea3
pop edi
push ecx
push ebx
add esp, 4
xor ecx, 0x5d6b
sub ecx, 0x17a4b
sub ecx, 0x16a68
xor ecx, 0x1310d
pop ecx
mov dword [ebp - 0xac0], 0
push ebx
push ebx
add esp, 4
or ebx, 0x9526
xor ebx, 0x146b1
or ebx, 0x162da
sub ebx, 0xcc28
pop ebx
push edi
and edi, 0xbda4
xor edi, 0x1154d
and edi, 0x88ac
pop edi
mov byte [ebp - 0x878], 0x45
mov byte [ebp - 0x877], 0x78
mov byte [ebp - 0x876], 0x69
mov byte [ebp - 0x875], 0x74
mov byte [ebp - 0x874], 0x50
mov byte [ebp - 0x873], 0x72
mov byte [ebp - 0x872], 0x6f
mov byte [ebp - 0x871], 0x63
mov byte [ebp - 0x870], 0x65
mov byte [ebp - 0x86f], 0x73
mov byte [ebp - 0x86e], 0x73
mov byte [ebp - 0x86d], 0
push ebx
push edi
add esp, 4
sub ebx, 0x24bc
xor ebx, 0x14db7
and ebx, 0x37b1
pop ebx
push edi
jmp 0x404d6a
or edi, 0xfd70
xor edi, 0x153c4
add edi, 0x32eb
pop edi
mov ecx, 0x6b
mov word [ebp - 0x173c], cx
mov edx, 0x65
mov word [ebp - 0x173a], dx
mov eax, 0x72
mov word [ebp - 0x1738], ax
mov ecx, 0x6e
mov word [ebp - 0x1736], cx
mov edx, 0x65
mov word [ebp - 0x1734], dx
mov eax, 0x6c
mov word [ebp - 0x1732], ax
mov ecx, 0x33
mov word [ebp - 0x1730], cx
mov edx, 0x32
mov word [ebp - 0x172e], dx
mov eax, 0x2e
add byte [eax], al
mov word [ebp - 0x172c], ax
mov ecx, 0x64
mov word [ebp - 0x172a], cx
mov edx, 0x6c
mov word [ebp - 0x1728], dx
mov eax, 0x6c
mov word [ebp - 0x1726], ax
xor ecx, ecx
mov word [ebp - 0x1724], cx
push edx
or edx, 0x173da
add edx, 0xff42
xor edx, 0xb13d
pop edx
push ebx
push ebx
add esp, 4
jmp 0x404e35
xor ebx, 0xd8c5
sub ebx, 0x5514
xor ebx, 0x181a4
pop ebx
push eax
push esi
add esp, 4
and eax, 0x12db6
jmp 0x404e59
pop eax
push esi
push esi
add esp, 4
jmp 0x404e67
or esi, 0xf6e0
or esi, 0x849c
and esi, 0x1631b
pop esi
mov edx, dword fs:[0x18]
mov dword [ebp - 0x19b8], edx
mov eax, dword [ebp - 0x19b8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x19bc], ecx
mov edx, dword [ebp - 0x19bc]
mov dword [ebp - 0x15dc], edx
push edi
add edi, 0x417e
jmp 0x404eb0
pop edi
push ecx
push esi
add esp, 4
sub ecx, 0x15107
xor ecx, 0xbba8
or ecx, 0x8c01
pop ecx
push edi
jmp 0x404ed3
pop edi
cmp dword [ebp - 0x15dc], 0
jne 0x404eec
mov dword [ebp - 0x31c], 0
jmp 0x4051a8
mov eax, dword [ebp - 0x15dc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
push eax
and eax, 0xe6f4
pop eax
push edx
sub edx, 0x132e3
or edx, 0x1746
pop edx
push eax
xor eax, 0x327f
pop eax
push edi
or edi, 0x78b8
or edi, 0x782e
or edi, 0x3a73
pop edi
cmp dword [ebp - 0xc98], 0
jne 0x404f48
mov dword [ebp - 0x31c], 0
jmp 0x4051a8
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
push esi
push esi
add esp, 4
sub esi, 0x133a4
jmp 0x404f65
or esi, 0x874d
xor esi, 0x3e70
pop esi
push edi
add edi, 0x5fc3
xor edi, 0x60ab
sub edi, 0x2417
pop edi
lea ecx, [ebp - 0x173c]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push edx
push edx
add esp, 4
call 0x404fc4
add byte [eax + 0x3f], al
xor esi, dword [esp + ecx*2]
inc ebp
add esp, 4
call 0x404fd5
add byte [ebp + 0x3d], cl
push eax
push eax
inc edx
inc edx
dec edx
dec ebp
add esp, 4
sub edx, 0x4da
add edx, 0x1882
pop edx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push edi
call 0x405050
add byte [ebx + esi + 0x3d], cl
xor al, 0x37
dec edi
cmp eax, 0x834f4e3a
les eax, [ecx + eax*4]
out dx, eax
sar ebx, cl
add byte [eax], al
or edi, 0x8c6c
call 0x40506d
add byte [esi + 0x34], al
dec ecx
dec edi
xor edi, dword [ecx]
cmp eax, 0x4c48344
pop edi
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x405094
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
invalid
test dword [edx + ebp*8], ebx