Function at 0x421790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43474b
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x43e040]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebp
push esi
push edi
mov eax, dword [0x43e040]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov esi, ecx
mov ecx, dword [eax]
xor edi, edi
mov dword [esp + 0x30], esi
cmp ecx, edi
je 0x421939
xor eax, eax
cmp esi, edi
je 0x421999
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
or edx, 0x10188
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edx
mov eax, 1
mov edx, eax
mov word [esp + 0x1e], dx
mov esi, ebp
imul esi, ebx
mov edx, 0x10
mov word [esp + 0x2a], dx
mov word [esp + 0x1c], ax
lea edx, [esp + 0x1c]
mov dword [esp + 0x48], edx
push edi
mov eax, 2
mov word [esp + 0x2c], ax
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x34], ax
lea edx, [esp + 0x40]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], 0x5622
mov dword [esp + 0x2c], 0xac44
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push ecx
call eax
test eax, eax
jl 0x421939
push edi
push edi
push edi
push edi
call dword [0x43505c]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push 0x436e64
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x421939
xor ecx, ecx
mov eax, ebp
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00423abc
mov edi, eax
add esp, 4
xor eax, eax
test ebp, ebp
jbe 0x421902
lea ecx, [ebx - 1]
lea ecx, [ecx]
mov edx, dword [esp + 0x18]
mov dword [edi + eax*8], ecx
mov dword [edi + eax*8 + 4], edx
inc eax
add ecx, ebx
cmp eax, ebp
jb 0x4218f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push ebp
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x10]
jge 0x42193d
test eax, eax
je 0x42192c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], 0
test edi, edi
je 0x421939
push edi
call fcn.00423cdd
add esp, 4
xor eax, eax
jmp 0x421999
test eax, eax
je 0x421951
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], 0
push 0x64
call fcn.00423d54
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], 0
test eax, eax
je 0x421981
mov ecx, dword [esp + 0x14]
push edi
push ebp
push ebx
push 0
push esi
push ecx
mov esi, eax
call fcn.00421fb0
mov esi, eax
jmp 0x421983
xor esi, esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
mov dword [edx], esi
call fcn.004226c0
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00423ac7
add esp, 0x5c
ret 8