Function at 0x436580
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c2f95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ebp, [esi + 0x10]
mov dword [esi], 0x4ce0b0
mov dword [esi + 4], ebx
push edi
mov dword [esp + 0x18], esi
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
lea edi, [esi + 0x1c]
mov dword [esp + 0x54], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov ecx, 0x4ffd68
mov byte [esp + 0x54], 3
call fcn.0040e340
mov ecx, dword [0x4ffb64]
push ebx
push 0x4f47b8
push ebp
call fcn.004313e0
test eax, eax
je 0x436a9b
mov ecx, 0x4ffd68
call fcn.0040e340
mov ecx, dword [0x4ffb64]
push ebx
push 0x4f47e0
push edi
call fcn.004313e0
test eax, eax
je 0x436a9b
lea eax, [esp + 0x3c]
push eax
push ebx
mov ecx, ebp
call fcn.0043eaf0
mov ecx, eax
call fcn.00401a30
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ecx, edi
call fcn.0043eaf0
mov ecx, eax
call fcn.00401a30
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub edi, eax
mov eax, dword [esp + 0x64]
sub edi, edx
add edi, ecx
add edi, eax
mov dword [esp + 0x14], edi
js 0x436a9b
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov ecx, 0x4ffd68
mov byte [esp + 0x54], 4
call fcn.0040e340
mov edx, dword [0x4f47b4]
mov ecx, dword [0x4ffb64]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040a520
test eax, eax
lea ecx, [esp + 0x2c]
je 0x436ab2
call fcn.00483070
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call dword [edx + 0x38]
push 0x44
call fcn.004a0b52
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x54], 5
je 0x4366fc
mov edx, dword [esp + 0x64]
push 1
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.0042a000
jmp 0x4366fe
xor eax, eax
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x58], 4
call fcn.00409d40
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x48]
call fcn.0043eaf0
push eax
lea ecx, [esi + 0x34]
call fcn.00483070
mov ecx, eax
call fcn.00429b10
mov eax, dword [esp + 0x10]
cmp eax, edi
jge 0x436754
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
lea ecx, [esp + 0x48]
call fcn.0043eaf0
push eax
lea ecx, [esi + 0x34]
call fcn.00483070
mov ecx, eax
call fcn.00429b10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 3
call fcn.00422b70
push ebx
mov ecx, ebp
call fcn.0043eaf0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x28], edx
lea edx, [esp + 0x3c]
push edx
mov dword [eax + 0x2c], ecx
push ebx
mov ecx, ebp
call fcn.0043eaf0
mov ecx, eax
call fcn.00401a30
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov dword [esi + 0x40], eax
sub ecx, dword [esp + 0x40]
add ecx, edx
mov dword [esi + 0x44], ecx
push ebx
lea ecx, [esi + 0x1c]
call fcn.0043eaf0
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x5c]
add ecx, edi
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x28], edx
mov eax, dword [esp + 0x68]
cmp ecx, eax
mov dword [esi + 0x54], ebx
jl 0x4367ec
push ebx
mov ecx, ebp
call fcn.0043eaf0
mov edi, 3
push ebx
lea ecx, [esi + 0x1c]
mov dword [eax + 4], edi
call fcn.0043eaf0
mov dword [eax + 4], edi
jmp 0x436a8d
push 0x64
call fcn.004a0b52
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, ebx
mov byte [esp + 0x54], 6
je 0x43680c
mov ecx, eax
call fcn.0040d8d0
jmp 0x43680e
xor eax, eax
push eax
lea ecx, [esi + 0x28]
mov byte [esp + 0x58], 3
call fcn.00436c70
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov dword [esi + 0x5c], eax
cmp byte [esp + 0x70], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ecx
je 0x43683e
mov edx, ecx
mov eax, ebx
add eax, edx
mov dword [esi + 0x54], eax
mov ecx, dword [esi + 0x58]
lea eax, [edi - 0xa]
cmp eax, ecx
mov ebp, 0xa
jle 0x436879
mov eax, edi
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x68]
mov ecx, eax
imul ecx, dword [esp + 0x6c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
cmp ebp, 0xa
jge 0x436879
mov ebp, 0xa
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], eax
nop
cmp dword [eax*4 + 0x4f4808], ebx
je 0x436a51
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, 0x4ffd68
mov byte [esp + 0x54], 7
call fcn.0040e340
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx*4 + 0x4f4808]
mov ecx, dword [0x4ffb64]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040a520
test eax, eax
lea ecx, [esp + 0x20]
je 0x436ab2
call fcn.00483070
mov edx, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call dword [edx + 0x38]
push 0x44
call fcn.004a0b52
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, ebx
mov byte [esp + 0x54], 8
je 0x436929
mov edx, dword [esp + 0x68]
push 1
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
call fcn.0042a000
jmp 0x43692b
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 7
call fcn.004303a0
mov edx, dword [esp + 0x68]
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push ebx
mov edi, 5
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 9
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edx
call fcn.0043eaf0
push eax
lea ecx, [esp + 0x48]
call fcn.00483070
mov ecx, eax
call fcn.00429b10
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
add eax, 0xfffffffb
lea ecx, [ebp - 0xa]
cmp ecx, edi
mov dword [esp + 0x48], eax
jle 0x4369cf
push ebx
push ebx
lea edx, [esp + 0x44]
push edx
push ebx
push edi
push ebx
push ebx
lea ecx, [esp + 0x3c]
call fcn.0043eaf0
push eax
lea ecx, [esp + 0x48]
call fcn.00483070
mov ecx, eax
call fcn.00429b10
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ecx, eax
sub ecx, edx
add edi, ecx
lea ecx, [ebp - 0xa]
cmp edi, ecx
jl 0x436995
mov edx, dword [esp + 0x6c]
push ebx
push ebx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
push ebx
lea ecx, [ebp - 5]
push ecx
push ebx
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], edx
call fcn.0043eaf0
push eax
lea ecx, [esp + 0x48]
call fcn.00483070
mov ecx, eax
call fcn.00429b10
push ebx
lea ecx, [esi + 0x28]
call fcn.0043eaf0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x74]
mov ecx, dword [edx*4 + 0x4f4808]
push ecx
push edx
mov ecx, eax
call fcn.004807e0
test eax, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 7
je 0x436abe
call fcn.00422b70
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 3
call fcn.00422b70
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
inc eax
cmp eax, 7
mov dword [esp + 0x70], eax
jl 0x436890
push ebx
lea ecx, [esi + 0x28]
call fcn.0043eaf0
mov edx, dword [0x4f482c]
push ebx
lea ecx, [esi + 0x28]
mov dword [eax + 0x20], edx
call fcn.0043eaf0
sub edi, ebp
mov dword [eax + 4], ebx
mov dword [eax + 0x24], ebx
push ebx
mov ecx, esi
mov dword [esi + 0x60], edi
call fcn.00436c00
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0x18
mov byte [esp + 0x54], 3
call fcn.00422b70
jmp 0x436a9b
call fcn.00422b70
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 3
call fcn.00422b70
jmp 0x436a9b