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

Disassembly:
push edi
push eax
add esp, 4
add edi, 0x1f18
jmp 0x40574f
sub edi, 0xca33
pop edi
push edx
push eax
add esp, 4
sub edx, 0x2e57
add edx, 0x8e68
and edx, 0x10d84
pop edx
lea edx, [ebp - 0x1774]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push edi
call 0x4057ac
add byte [ecx + 0x47], cl
dec eax
inc ecx
dec ebp
inc esi
dec ebp
cmp dword [esi - 0x17fb3b7d], edi
or dword [eax], eax
add byte [eax], al
add byte [0x33353749], dh
xor eax, 0xc483504b
add al, 0x5f
push ebx
push ebx
add esp, 4
or ebx, 0x13bbd
pop ebx
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push edi
add edi, 0x9f6d
call 0x40583b
add byte [ebp + 0x34], al
inc esp
xor eax, 0x83463847
les eax, [ecx + eax*4]
mul dword [edx - 0x7efffea2]
idiv dword [ecx + 0x37]
add dword [eax], eax
pop edi
push eax
or eax, 0x535f
and eax, 0x135f1
pop eax
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x40587c
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15ec], ecx
jmp 0x4058df
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x40579b
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x40579b
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x4058c9
mov dword [ebp - 0x15e8], 0xffffffff
jmp 0x4058d3
mov dword [ebp - 0x15e8], 1
mov eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x15ec], eax
cmp dword [ebp - 0x15ec], 0
jne 0x405928
push edx
jmp 0x4058ef
sub edx, 0x859b
or edx, 0xfe1e
pop edx
push esi
push edx
add esp, 4
and esi, 0xb561
sub esi, 0x8eaa
xor esi, 0x11145
sub esi, 0x23bb
pop esi
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x750], ecx
jmp 0x405990
push esi
sub esi, 0x156fe
jmp 0x405936
add esi, 0x13d14
pop esi
push edi
push ebx
add esp, 4
jmp 0x40594b
add edi, 0x14247
pop edi
push ecx
add ecx, 0x86fa
pop ecx
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x405986
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x40573c
mov dword [ebp - 0x750], 0
push ecx
sub ecx, 0x167f6
xor ecx, 0x3169
sub ecx, 0x19ef
sbb dword [eax], eax
add byte [ecx + 0x52], bl
push eax
add esp, 4
or edx, 0x12aea
xor edx, 0x3c29
sub edx, 0x170a8
sub edx, 0xc54f
pop edx
cmp dword [ebp - 0x750], 0
jne 0x405a0c
push ebx
or ebx, 0xdf57
and ebx, 0x7bea
call 0x4059e7
add byte [edx + 0x38], cl
push eax
inc edx
inc edi
xor eax, 0xc4833d42
add al, 0x81
ret
push edi
push edi
add esp, 4
or edi, 0x857c
add edi, 0xd41c
call 0x405a29
add byte [edi + 0x4c], al
xor bh, byte [eax*2 + 0x4c4834a]
call 0x405a3a
add byte [ecx + ecx*2 + 0x4f], al
cmp cl, byte [ebx + 0x3a]
cmp bh, byte [eax]
add esp, 4
pop edi
invalid
invalid