Function at 0x409940
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x426268
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4323e0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4323e0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
xor eax, eax
mov edi, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], eax
mov byte [esp + 0x30], al
push 0x2d4
push eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], eax
lea eax, [ebp + 0x54]
push eax
xor bl, bl
call fcn.004189a0
mov esi, dword [edi + 4]
add esp, 0xc
cmp esi, dword [edi + 8]
jbe 0x4099bf
call fcn.0041419f
add ebp, 0x1ca
mov edi, esi
mov dword [esp + 0x14], ebp
jmp 0x4099d0
mov ecx, dword [esp + 0x24]
mov ebp, dword [ecx + 8]
mov esi, ecx
cmp dword [esi + 4], ebp
jbe 0x4099e3
call fcn.0041419f
test esi, esi
je 0x4099eb
cmp esi, esi
je 0x4099f0
call fcn.0041419f
cmp edi, ebp
je 0x409bf3
test esi, esi
jne 0x409a01
call fcn.0041419f
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x409a0d
call fcn.0041419f
lea edx, [esp + 0x28]
push edx
push edi
push 6
mov eax, 0x433c50
call fcn.00409d30
test eax, eax
je case.0x409a34.1
mov eax, dword [esp + 0x28]
cmp eax, 5
ja case.0x409a34.1
jmp dword [eax*4 + 0x409c3c]
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x409a47
call fcn.0041419f
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00409de0
test eax, eax
je case.0x409a34.1
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x409a6a
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push ecx
push eax
add edx, 0x8a
push 0x100
push edx
call fcn.004141b4
add esp, 0x10
jmp case.0x409a34.1
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x409a99
call fcn.0041419f
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00409de0
test eax, eax
je case.0x409a34.1
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x409abc
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push ecx
push eax
add edx, 0x58
push 0x32
push edx
call fcn.004141b4
add esp, 0x10
jmp case.0x409a34.1
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x409ae5
call fcn.0041419f
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00409de0
test eax, eax
je case.0x409a34.1
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x409b08
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push ecx
push eax
add edx, 0x18a
push 0xa
push edx
call fcn.004141b4
add esp, 0x10
jmp case.0x409a34.1
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x409b34
call fcn.0041419f
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00409de0
test eax, eax
je case.0x409a34.1
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x409b57
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push eax
add edx, 0xffffffce
push 0x32
push edx
call fcn.004141b4
add esp, 0x10
mov bl, 1
jmp case.0x409a34.1
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x409b7f
call fcn.0041419f
push 1
lea eax, [esp + 0x30]
push eax
call fcn.00409de0
test eax, eax
je case.0x409a34.1
push 1
push 0x42d29c
lea ecx, [esp + 0x34]
push ecx
call fcn.0040b470
cmp eax, 0xffffffff
jne 0x409ba9
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x44], 0x10
mov ecx, dword [esp + 0x30]
jae 0x409bb8
lea ecx, [esp + 0x30]
mov edx, dword [esp + 0x14]
push eax
push ecx
push 0x32
push edx
call fcn.004141b4
add esp, 0x10
test bl, bl
je case.0x409a34.1
add dword [esp + 0x20], 1
xor bl, bl
add dword [esp + 0x14], 0x64
mov dword [esp + 0x1c], 7
cmp edi, dword [esi + 8]
jb 0x409beb
call fcn.0041419f
add edi, 0x1c
jmp 0x4099d0
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x194], eax
jb 0x409c15
mov edx, dword [esp + 0x30]
push edx
call fcn.00413c50
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00413bbc
add esp, 0x44
ret 4