Function at 0x408387
Capabilities:
Get number of processors

Disassembly:
mov edx, dword [ebp - 0x4cc]
add edx, 1
mov dword [ebp - 0x4cc], edx
push eax
push edx
add esp, 4
or eax, 0x1598b
enter 0x598b, 1
add byte [ecx + 0x1395fc8], al
add byte [ecx + 0xcbd0e0], al
add byte [ecx + 0x178bec8], al
add byte [eax + 0x50], bl
enter 0x598b, 1
add byte [ecx + 0x1395fc8], al
add byte [ecx + 0xcbd0e0], al
add byte [ecx + 0x178bec8], al
add byte [eax + 0x50], bl
push esi
add esp, 4
sub eax, 0x10468
pop eax
push edx
add edx, 0x1808a
pop edx
mov eax, dword [ebp - 0x4cc]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x40830d
push ecx
push esi
add esp, 4
and ecx, 0x13a5d
xor ecx, 0x149dc
pop ecx
push ecx
push eax
add esp, 4
add ecx, 0x1348
sub ecx, 0x8b73
and ecx, 0x149a5
pop ecx
push ebx
xor ebx, 0xc4e6
pop ebx
jmp 0x40853b
mov dword [ebp - 0xc08], 7
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0xa68], ecx
push eax
push esi
add esp, 4
or eax, 0x38e8
jmp 0x408336
add eax, 0x41af
sub eax, 0xccf
pop eax
push ebx
push esi
add esp, 4
sub ebx, 0x185bd
add ebx, 0x4ceb
pop ebx
mov edx, dword [ebp - 0x14bc]
mov dword [ebp - 0xa64], edx
mov dword [ebp - 0xc0c], 0
mov eax, dword [ebp - 0x4cc]
cmp eax, dword [ebp - 0x14bc]
jne 0x4083bc
push edi
call 0x408387
add byte [edi], dh
inc ebx
inc esp
cmp eax, 0x83344a3c
les eax, [ecx + eax*4]
cmp dword [ebp - 0xc08], 0
jle 0x4084e1
push ebx
push edx
add esp, 4
add ebx, 0x1931
pop ebx
push edx
push ebx
add esp, 4
and edx, 0x93ac
or edx, 0x8765
add edx, 0xf3c4
pop edx
push edx
add edx, 0x13e44
sub edx, 0xf0f7
pop edx
mov edx, dword [ebp - 0xa68]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa64]
movzx edx, byte [ecx]
cmp eax, edx
je 0x40847d
push edx
add edx, 0x7df5
add edx, 0x10996
or edx, 0x46b2
pop edx
push ebx
push edx
add esp, 4
add ebx, 0xd634
add ebx, 0x117ab
and ebx, 0x16b29
or ebx, 0xfb8d
pop ebx
mov eax, dword [ebp - 0xa68]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa64]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x408465
mov dword [ebp - 0x14c0], 1
jmp 0x40846f
mov dword [ebp - 0x14c0], 0xffffffff
mov ecx, dword [ebp - 0x14c0]
mov dword [ebp - 0xc0c], ecx
jmp 0x4084e1
push eax
and eax, 0x1283
xor eax, 0x14d8c
add dword [eax], eax
add eax, 0x184ba
or eax, 0xf953
pop eax
push edx
xor edx, 0x14b50
call 0x4084ab
add byte [edi], bh
cmp edi, dword [eax]
xor eax, dword ds:[ebx + 0x39]
add esp, 4
pop edx
mov edx, dword [ebp - 0xc08]
sub edx, 1
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xa68]
add eax, 1
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa64]
add ecx, 1
mov dword [ebp - 0xa64], ecx
jmp 0x4083bc
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], edx
cmp dword [ebp - 0x14c4], 0
jne 0x408536
push esi
xor esi, 0x3675
call 0x40850a
add byte [ebx], dh
cmp byte [edx], dh
aas
inc eax
xor eax, 0x4c4834b
pop esi
push esi
xor esi, 0x7661
pop esi
push eax
push ecx
add esp, 4
sub eax, 0x161e3
and eax, 0x92d7
pop eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x3cc], eax
jmp 0x408577
jmp 0x408284
push edi
push eax
add esp, 4
xor edi, 0x11064
add edi, 0x18147
sub edi, 0x10fcf
pop edi
push ebx
push esi
add esp, 4
add ebx, 0x15bce
xor ebx, 0x11e0a
pop ebx
push esi
or esi, 0x6ea9
test eax, 0x5e00006e
mov dword [ebp - 0x3cc], 0
push esi
jmp 0x408581
jmp 0x408587
sub esi, 0xc780
sub esi, 0x4305
pop esi
push edx
call 0x4085a5
add byte [ebx], bh
dec esp
cmp dword ss:[eax + 0x3e], ecx
aaa
aas
push eax
aas
add esp, 4
pop edx
push edi
xor edi, 0xa3c9
pop edi
push edi
push ebx
add esp, 4
sub edi, 0x3ba9
pop edi
push eax
push edi
add esp, 4
and eax, 0x6ac8
add eax, 0x171fc
and eax, 0x4202
add eax, 0xa1e4
pop eax
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb80]
mov dword [ebp - 0x14c8], eax
push edi
xor edi, 0x7502
pop edi
push edx
push ebx
add esp, 4
or edx, 0xcd8
call 0x408610
add byte [edx + 0x46], al
dec eax
inc esi
aaa
dec ebp
add esp, 4
jmp 0x40861b
add edx, 0x7c83
pop edx
mov dword [ebp - 0x1fac], 0xffffffff
invalid
invalid
invalid
invalid
invalid
call dword [ebx + 0x56]
add esp, 4
invalid