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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
mov ebx, 0x4848e8
call fcn.0040f580
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413990
push esi
call fcn.004112ef
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f6a0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f6d0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f631
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4876c8
push eax
call fcn.00414e06
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x42b2ee
push edi
call fcn.0040f450
cmp eax, ebx
je 0x42b2f8
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414e94
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
sbb bl, byte [edi]
add dword [eax], eax
sub eax, 0x1210c
pop eax
push eax
push edx
add esp, 4
and eax, 0x8c1d
sub eax, 0xfd63
xor eax, 0x5f49
pop eax
push eax
xor eax, 0x9045
pop eax
push ebx
push ebx
add esp, 4
or ebx, 0x8ccf
jmp 0x42b32a
pop ebx
mov edx, dword fs:[0x18]
mov dword [ebp - 0x1890], edx
mov eax, dword [ebp - 0x1890]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1894], ecx
mov edx, dword [ebp - 0x1894]
mov dword [ebp - 0x14d4], edx
push edx
or edx, 0xcc6b
call 0x42b368
add byte [esi], bh
cmp eax, 0x343a3b4c
inc edi
dec esi
add esp, 4
pop edx
push eax
push edx
add esp, 4
sub eax, 0x1155e
or eax, 0x2ef5
jmp 0x42b384
pop eax
cmp dword [ebp - 0x14d4], 0
jne 0x42b39d
mov dword [ebp - 0x2e0], 0
jmp 0x42b659
mov eax, dword [ebp - 0x14d4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc20], edx
push edi
push eax
add esp, 4
or edi, 0x10029
add edi, 0xc5ba
or edi, 0x1209a
pop edi
push eax
sub eax, 0x1752b
sub eax, 0x6677
xor eax, 0x4dd7
sub eax, 0xa46b
pop eax
cmp dword [ebp - 0xc20], 0
jne 0x42b3f9
mov dword [ebp - 0x2e0], 0
jmp 0x42b659
mov eax, dword [ebp - 0xc20]
mov dword [ebp - 0x4d4], eax
push edx
push ebx
add esp, 4
xor edx, 0x1edb
jmp 0x42b416
pop edx
push ecx
xor ecx, 0xc04a
pop ecx
push edi
push ebx
add esp, 4
xor edi, 0x158fe
xor edi, 0x12c8c
or edi, 0x1a73
pop edi
lea ecx, [ebp - 0x1628]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0x4d4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc18], eax
xor ecx, ecx
mov word [ebp - 0x1f8], cx
xor edx, edx
mov word [ebp - 0x100], dx
push ecx
push ebx
add esp, 4
jmp 0x42b46f
or ecx, 0xd29b
jmp 0x42b47a
and ecx, 0x100a9
pop ecx
push ecx
push esi
add esp, 4
call 0x42b492
add byte [esp + esi + 0x43], cl
cmp eax, dword [ebp + 0x33]
add esp, 4
pop ecx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov dword [ebp - 0xf80], edx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push eax
call 0x42b4fe
add byte [edi], bh
dec ebp
dec ecx
inc edi
dec ebp
inc ecx
inc edx
add esp, 4
call 0x42b50d
add byte [ebp + 0x3a], al
dec eax
inc edi
aas
cmp byte [ebx + 0x9e804c4], al
add byte [eax], al
add byte [eax], al
dec ecx
inc eax
inc esp
cmp byte ss:[edx + 0x3d], al
add esp, 4
pop eax
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x42b545
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x42b5a8
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x42b464
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
retf 0x840f
invalid
invalid
invalid
invalid
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x42b592
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x42b59c
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x42b5f1
push eax
push edi
add esp, 4
jmp 0x42b5bd
jmp 0x42b5c2
and eax, 0x5738
call 0x42b5d6
add byte [edi + 0x3c], cl
aaa
xor edi, dword [esi]
inc ebp
xor al, 0x37
add esp, 4
pop eax
push eax
jmp 0x42b5e2
pop eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x42b659
push edi
push edx
add esp, 4
xor edi, 0x20d0
or edi, 0x197e
and edi, 0x141cd
pop edi
push eax
xor eax, 0x5230
add eax, 0xaae9
and eax, 0x1192c
or eax, 0x1454b
pop eax
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x42b64f
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x42b405
mov dword [ebp - 0x2e0], 0
push edx
or edx, 0x11814
pop edx
push esi
jmp 0x42b66b
and esi, 0x4e26
jmp 0x42b677
or esi, 0x10ce
pop esi
push ecx
push esi
add esp, 4
jmp 0x42b68a
pop ecx
cmp dword [ebp - 0x2e0], 0
jne 0x42bfa4
mov edx, 0x6b
mov word [ebp - 0x16cc], dx
mov eax, 0x65
mov word [ebp - 0x16ca], ax
mov ecx, 0x72
mov word [ebp - 0x16c8], cx
mov edx, 0x6e