Function at 0x435220
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b2730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00435670
mov eax, dword [0x633828]
mov dword [esp + 0x30], eax
xor ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esi + 0x9c]
lea edi, [esi + 0x9c]
mov byte [esp + 0x3c], 1
cmp dword [eax - 8], ebp
je 0x435550
push ebp
push eax
call fcn.0057cbd2
add esp, 8
cmp eax, 0xffffffff
jne 0x4352d7
mov eax, dword [0x638658]
push 0x60b360
add eax, 0xcc
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00598af4
push edi
lea edx, [esp + 0x18]
mov bl, 2
push eax
push edx
mov byte [esp + 0x48], bl
call fcn.00598a8e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.00598998
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call fcn.0059885f
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.0059885f
jmp 0x4352e1
push edi
lea ecx, [esp + 0x14]
call fcn.00598998
mov eax, dword [esp + 0x10]
push ebp
lea edi, [esi + 0xc4]
push 0x17
push 1
push eax
mov ecx, edi
call fcn.00423940
cmp eax, ebp
jne 0x435550
cmp dword [esi + 0x4e4], 0x18
jne 0x43531d
cmp dword [esi + 0x51c], 0xffffffff
je 0x43531d
mov ecx, edi
call fcn.00426590
test eax, eax
je 0x43532d
cmp dword [esi + 0xdc], 0x20
je 0x43532d
mov ecx, edi
call fcn.00426320
cmp dword [esi + 0xa0], ebp
je 0x43544c
mov al, byte [edi + 0x42c]
test al, al
je 0x43534f
mov ecx, dword [edi + 0x434]
mov dword [esp + 0x14], ecx
jmp 0x435359
mov edx, dword [edi + 0x430]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xa8]
mov edi, dword [esi + 0xa4]
mov dword [esp + 0x18], eax
xor ecx, ecx
fild dword [esp + 0x18]
mov cl, byte [esi + 0xa4]
xor ebx, ebx
mov bl, byte [esi + 0xa5]
mov ebp, ecx
fmul qword [0x5c20f8]
shr edi, 0x10
and ebx, 0xff
and edi, 0xff
fld st(0)
fmul qword [0x5c2328]
call fcn.0057e088
fmul qword [0x5c2320]
mov ecx, ebp
mov dword [esp + 0x18], eax
sub ecx, eax
mov dword [esp + 0x1c], ecx
call fcn.0057e088
mov ecx, dword [esp + 0x18]
sub ebp, eax
mov dword [esp + 0x20], ebp
mov edx, edi
mov ebp, ebx
sub edi, eax
sub ebx, eax
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x28], edi
sub ebp, ecx
sub edx, ecx
xor edi, edi
test eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
jle 0x43544c
mov eax, dword [esi + 0xd4]
xor edx, edx
test eax, eax
jle 0x435441
imul eax, edi
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
add eax, edx
lea eax, [ecx + eax*4]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, ebx
jl 0x435436
cmp ecx, dword [esp + 0x20]
jg 0x435436
xor ecx, ecx
mov cl, byte [eax + 1]
cmp ecx, ebp
jl 0x435436
cmp ecx, dword [esp + 0x18]
jg 0x435436
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [eax + 2]
cmp ecx, ebx
jl 0x435436
cmp ecx, dword [esp + 0x28]
jg 0x435436
mov byte [eax + 3], 0
mov eax, dword [esi + 0xd4]
inc edx
cmp edx, eax
jl 0x4353f2
mov eax, dword [esi + 0xd8]
inc edi
cmp edi, eax
jl 0x4353e6
lea edi, [esi + 0xc4]
lea ecx, [esi + 0x520]
push edi
call fcn.004238a0
mov eax, dword [esi + 0xac]
cmp eax, 0x64
jge 0x4354f0
mov cl, byte [edi + 0x42c]
test cl, cl
je 0x43547f
mov ebx, dword [edi + 0x434]
jmp 0x435485
mov ebx, dword [edi + 0x430]
mov ecx, eax
xor ebp, ebp
shl ecx, 8
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0xd8]
test eax, eax
mov byte [esp + 0x28], dl
jle 0x4354f0
mov eax, dword [esi + 0xd4]
xor ecx, ecx
test eax, eax
jle 0x4354e5
mov edi, dword [esp + 0x28]
and edi, 0xff
imul eax, ebp
add eax, ecx
xor edx, edx
mov dl, byte [ebx + eax*4 + 3]
lea eax, [ebx + eax*4]
imul edx, edi
sar edx, 8
mov byte [eax + 3], dl
mov eax, dword [esi + 0xd4]
inc ecx
cmp ecx, eax
jl 0x4354c3
mov eax, dword [esi + 0xd8]
inc ebp
cmp ebp, eax
jl 0x4354ad
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
sub eax, edi
sub ecx, edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push 0
push eax
lea ecx, [esi + 0xc4]
call fcn.00425320
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
sub ecx, edx
push 0
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
sub eax, edi
push ecx
lea ecx, [esi + 0x520]
mov dword [esp + 0x30], eax
call fcn.00425320
mov dword [esi + 0x97c], 1
jmp 0x435556
mov dword [esi + 0x97c], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.0059885f
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0059885f
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret