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

Disassembly:
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x104]
cmp eax, dword [edx + 0x18]
jae 0x40b9be
push eax
call fcn.0040b709
add byte [eax + 0x39], cl
inc ecx
dec esp
inc ecx
inc esp
add esp, 4
add eax, 0x10554
sub eax, 0xde52
pop eax
push ecx
xor ecx, 0x169a4
or ecx, 0x14456
xor ecx, 0xe976
pop ecx
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x80]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x10c], eax
push edi
push ecx
add esp, 4
and edi, 0xe5c7
and edi, 0x13847
sub edi, 0x7158
pop edi
push esi
add esi, 0x1018e
and esi, 0x1704d
xor esi, 0x30fd
and esi, 0x76c8
pop esi
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x428]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x80]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x430], edx
push eax
push ebx
add esp, 4
xor eax, 0x8e22
sub eax, 0xab44
or eax, 0x12ac0
pop eax
push edx
xor edx, 0xc087
add edx, 0x151ae
sub edx, 0xed4b
and edx, 0xab75
pop edx
mov dword [ebp - 0x3c], 0
jmp 0x40b7dd
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x3c]
movsx edx, byte [ecx]
test edx, edx
je 0x40b879
mov eax, dword [ebp - 0x3c]
movsx ecx, byte [ebp + eax - 0x184]
test ecx, ecx
je 0x40b879
push eax
xor eax, 0x17f99
pop eax
push ecx
push ecx
add esp, 4
call 0x40b819
add byte [edi + 0x36], cl
xor al, byte [ebp + 0x36]
xor eax, 0x5904c483
push edi
push esi
add esp, 4
jmp 0x40b82b
or edi, 0x3bd
pop edi
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [ebp + ecx - 0x184]
cmp eax, edx
je 0x40b86b
mov eax, dword [ebp - 0x10c]
add eax, dword [ebp - 0x3c]
movsx ecx, byte [eax]
xor ecx, 0x20
mov edx, dword [ebp - 0x3c]
movsx eax, byte [ebp + edx - 0x184]
cmp ecx, eax
jne 0x40b872
jmp 0x40b7d4
jmp 0x40b879
push ebx
push ecx
add esp, 4
xor ebx, 0x10d90
or ebx, 0x33bb
add ebx, 0xb273
jmp 0x40b898
pop ebx
push eax
push ebx
add esp, 4
and eax, 0xed6d
add eax, 0x13f8d
pop eax
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x3c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x3c]
movsx ecx, byte [ebp + eax - 0x184]
cmp edx, ecx
jne 0x40b8d5
mov dword [ebp - 0x258], 0
jmp 0x40b970
push esi
jmp 0x40b8dd
add esi, 0x981e
pop esi
push eax
push ecx
add esp, 4
and eax, 0x85df
xor eax, 0x16610
jmp 0x40b8fd
jmp 0x40b906
pop eax
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
or eax, 0x20
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [ebp + ecx - 0x184]
or edx, 0x20
cmp eax, edx
jge 0x40b934
mov dword [ebp - 0x258], 0xffffffff
jmp 0x40b970
push edx
push esi
add esp, 4
and edx, 0xf6ae
add edx, 0xbc69
pop edx
push eax
sub eax, 0xbeb0
pop eax
push edx
push edx
add esp, 4
or edx, 0xb3c0
xor edx, 0x3c05
xor edx, 0x6502
pop edx
mov dword [ebp - 0x258], 1
cmp dword [ebp - 0x258], 0
jne 0x40b9b9
push eax
xor eax, 0x4519
sub eax, 0xc74f
pop eax
push edi
push eax
add esp, 4
and edi, 0x140db
add dword [eax], eax
and edi, 0x106ae
call 0x40b9a7
add byte [edi + 0x3f], cl
cmp eax, 0x42453a37
inc ecx
dec ecx
add esp, 4
pop edi
mov eax, dword [ebp - 0x430]
dec dword [ecx - 0xab7b]
invalid
jmp 0x40b9ca
jmp 0x40b6d7
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xac], ecx