Function at 0x439c70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488b14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
xor ebx, ebx
mov eax, 0xf
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov edi, dword [esp + 0x100]
cmp edi, 4
mov dword [esp + 0xf4], 3
jge 0x439d0f
lea ecx, [esp + 0x30]
call fcn.0042cf50
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
add esp, 0xf0
ret
mov eax, dword [esp + 0xfc]
add edi, 0xfffffffc
add eax, 4
cmp edi, 4
jl 0x439ced
mov ecx, dword [eax]
push ebp
add eax, 4
sub edi, 4
cmp ecx, ebx
push esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ebx
jg 0x439d6a
lea ecx, [esp + 0x38]
call fcn.0042cf50
mov al, 1
mov ecx, dword [esp + 0xf4]
pop esi
pop ebp
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xf0
ret
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jle 0x439d37
cmp edi, 0x141
jl 0x43a0f9
mov ebp, eax
add eax, 0x141
mov dword [esp + 0x14], eax
sub edi, 0x141
mov eax, ebp
mov dword [esp + 0x18], edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x439d94
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x40]
call fcn.00401500
lea ecx, [ebp + 0x104]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x439db5
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00401500
mov eax, dword [ebp + 0x131]
mov dword [esp + 0x80], eax
mov ecx, dword [ebp + 0x135]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x129]
mov dword [esp + 0x78], ecx
mov esi, dword [ebp + 0x12d]
mov dword [esp + 0x7c], esi
mov edx, dword [ebp + 0x124]
mov dword [esp + 0x74], edx
mov eax, dword [ebp + 0x139]
mov dword [esp + 0x88], eax
mov dl, byte [ebp + 0x128]
mov byte [esp + 0x70], dl
mov edx, dword [esp + 0x108]
sub edx, edi
sub edx, 0x141
cmp eax, ebx
mov byte [esp + 0x71], 0
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
je 0x43a0f9
cdq
mov ebx, eax
add ebx, ecx
mov ecx, edx
adc ecx, esi
push edx
sub ebx, 1
push eax
sbb ecx, 0
push ecx
push ebx
call fcn.004726a0
mov ecx, eax
mov eax, dword [ebp + 0x13d]
mov esi, edx
cdq
cmp ecx, eax
jne 0x43a0f7
cmp esi, edx
jne 0x43a0f7
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xdc]
push eax
call fcn.0042cfd0
add esp, 8
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [0x4e47d0]
push eax
mov byte [esp + 0x104], 4
call fcn.00439900
mov ecx, eax
call fcn.004345b0
lea ecx, [esp + 0xd8]
mov byte [esp + 0xfc], 3
call fcn.0040b240
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0xdc]
push eax
call fcn.0042cfd0
add esp, 8
mov ecx, dword [0x4e47d0]
push eax
mov byte [esp + 0x100], 5
call fcn.00439900
lea ecx, [esp + 0xd8]
mov esi, eax
mov byte [esp + 0xfc], 3
call fcn.0040b240
mov ebx, dword [ebp + 0x13d]
lea ebx, [ebx + ebx*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
cmp edi, ebx
mov dword [esp + 0x30], ebx
jl 0x43a0dc
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov ecx, dword [ebp + 0x13d]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x100], 6
call fcn.00434dc0
mov edx, dword [esp + 0x14]
push ebx
push edx
push edi
lea ecx, [esp + 0x28]
call fcn.004242d0
push eax
call fcn.0041eaf0
mov eax, dword [ebp + 0x13d]
add esp, 0xc
add esi, 0x64
push eax
mov ecx, esi
call fcn.00434d40
cmp dword [ebp + 0x13d], edi
jle 0x43a093
mov dword [esp + 0x10], edi
lea ebx, [ebx]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x439f93
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x439f98
call fcn.00471370
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x20]
call fcn.004242d0
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x439fc8
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x439fcd
call fcn.00471370
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x20]
call fcn.004242d0
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x439ff7
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x439ffc
call fcn.00471370
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x20]
call fcn.004242d0
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x10], edx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43a02c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x43a031
call fcn.00471370
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x20]
call fcn.004242d0
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x14], ecx
mov edx, dword [eax + 0x10]
mov dword [ebx + 0x18], edx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43a061
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x43a066
call fcn.00471370
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x20]
call fcn.004242d0
mov eax, dword [eax]
add dword [esp + 0x10], 0x20
add edi, 1
mov dword [ebx], eax
cmp edi, dword [ebp + 0x13d]
jl 0x439f80
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], ebx
sub dword [esp + 0x18], ebx
test eax, eax
mov byte [esp + 0xfc], 3
je 0x43a0b4
push eax
call fcn.00450664
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
jl 0x439d60
jmp 0x439d37
mov ecx, dword [0x4e47d0]
call fcn.00437680
lea ecx, [esp + 0x38]
call fcn.0042cf50
xor al, al
jmp 0x439d42
xor ebx, ebx
mov ecx, dword [0x4e47d0]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
lea esi, [ecx + 4]
push eax
mov edi, ecx
call fcn.00436ae0
mov eax, dword [esi]
mov dword [eax + 4], eax
mov dword [edi + 8], ebx
mov eax, dword [esi]
mov dword [eax], eax
mov esi, dword [esi]
lea ecx, [esp + 0x38]
mov dword [esi + 8], esi
call fcn.0042cf50
xor al, al
jmp 0x439d42