Function at 0x4036a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51c9e5
push eax
mov eax, 0x2914
mov dword fs:[0], esp
call fcn.0051be20
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x5315ac
xor ebx, ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x2928], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
xor eax, eax
mov dword [esp + 0x44], 0x5315e0
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [edi + 0xf44]
xor esi, esi
cmp ecx, ebx
mov byte [esp + 0x2928], 2
jle 0x403837
mov dword [esp + 0xc], ebx
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x403755
mov ecx, dword [edi + 0xf40]
mov edx, dword [esp + 0xc]
cmp eax, dword [ecx + edx]
jne 0x40380a
lea eax, [esi + 4]
lea ecx, [esp + 0x10]
push eax
push 2
push ecx
lea ecx, [edi + 0xc3c]
call fcn.005154a0
fild dword [ebp + 8]
mov eax, dword [eax]
push eax
fstp qword [esp + 0x38]
nop
call int.0061c75a
fmul qword [esp + 0x38]
add esp, 4
call fcn.0051be16
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0051af0e
test ebx, ebx
jle 0x403808
mov edx, dword [esp + 0x64]
push ebx
push edx
lea ecx, [esp + 0x64]
call fcn.004a6b80
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.004a6b80
mov ecx, dword [edi + 0xf40]
mov edx, dword [esp + 0xc]
fld qword [ecx + edx + 0x90]
fmul qword [0x5315c8]
fidiv dword [edi + 0xc04]
fdiv qword [edi + 0xc08]
fdiv qword [esp + 0x34]
fst qword [esp + 0x34]
fcomp qword [edi + 0xc10]
fnstsw ax
test ah, 0x41
je 0x4038bf
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00404a50
xor ebx, ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0xf44]
inc esi
add ecx, 0x98
cmp esi, eax
mov dword [esp + 0xc], ecx
jl 0x40373a
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x40395f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0x5315e0
cmp eax, ebx
mov byte [esp + 0x2928], 6
je 0x403854
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
mov dword [esp + 0x20], 0x5315ac
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 7
cmp eax, ebx
je 0x40387e
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], 0x5315ac
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2928], 8
cmp eax, ebx
je 0x4038a6
push eax
call fcn.0051aee4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2920]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push str.The_marker_is_too_short
push 0x555db4
call fcn.0043e8e0
add esp, 0xc
mov dword [esp + 0x44], 0x5315e0
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2928], 3
test eax, eax
je 0x4038f4
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
mov edi, 0x5315ac
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 4
test eax, eax
je 0x40391f
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2928], 5
test eax, eax
je 0x403943
push eax
call fcn.0051aee4
add esp, 4
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x2920]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x64
jle 0x4039f2
mov dword [esp + 0x44], 0x5315e0
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2928], 9
cmp eax, ebx
je 0x403989
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
mov edi, 0x5315ac
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 0xa
cmp eax, ebx
je 0x4039b4
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2928], 0xb
cmp eax, ebx
je 0x4039d8
push eax
call fcn.0051aee4
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x2920]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x210]
lea edx, [esp + 0x80]
push ecx
mov ecx, dword [edi + 0xc14]
push edx
mov edx, dword [edi + 0xc10]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [edi + 0xc18]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
mov ecx, dword [edi + 0xc1c]
push eax
cmp ecx, ebx
setne dl
push edx
push 0xa
call fcn.00497fc0
mov esi, dword [edi + 0xcf0]
add esp, 0x28
mov dword [esp + 0x58], eax
add edi, 0xc3c
add eax, esi
mov ecx, edi
push eax
call fcn.00510f00
mov eax, dword [esp + 0x58]
cmp eax, ebx
jle 0x403bb6
lea ecx, [esp + 0x210]
lea edx, [esp + 0x80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
jmp 0x403a7c
xor ebx, ebx
lea ecx, [esi - 2]
push ecx
push ebx
push 0x555c7c
push ebx
push esi
push edi
call fcn.00511b20
add esp, 0x18
mov ecx, edi
push 1
call fcn.005121e0
push eax
push esi
mov ecx, edi
call fcn.00512240
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
push ebx
push 0x555c7c
push 3
push esi
push edi
call fcn.00511b20
mov ecx, dword [esp + 0x88]
add esp, 0x18
mov eax, dword [ecx + 0xf44]
test eax, eax
jle 0x403b8e
fild dword [ebp + 8]
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x40]
movsx eax, byte [edx + ebx]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x531170]
fdiv qword [esp + 0x34]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
nop
call fcn.0061c763
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
fstp qword [esp + 0x7c]
push eax
push ecx
nop
call fcn.0061c76c
fcomp qword [esp + 0x84]
add esp, 0x10
fnstsw ax
test ah, 0x40
jne 0x403b53
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [ecx + ebx*4]
push eax
push 0
add edx, 4
push str._.1f
push edx
push esi
push edi
call fcn.00511b20
add esp, 0x1c
jmp 0x403b7d
fld qword [esp + 0x14]
call fcn.0051be16
test eax, eax
je 0x403b7d
push eax
mov eax, dword [esp + 0x28]
push 0
push 0x555c7c
mov ecx, dword [eax + ebx*4]
add ecx, 4
push ecx
push esi
push edi
call fcn.00511b20
add esp, 0x18
mov edx, dword [esp + 0x70]
inc ebx
cmp ebx, dword [edx + 0xf44]
jl 0x403ad8
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
add ebx, 4
add edx, 0x64
inc esi
dec eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], eax
jne 0x403a7a
xor ebx, ebx
mov dword [esp + 0x44], 0x5315e0
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2928], 0xc
cmp eax, ebx
je 0x403bd7
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
mov edi, 0x5315ac
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 0xd
cmp eax, ebx
je 0x403c02
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2928], 0xe
cmp eax, ebx
je 0x403c26
push eax
call fcn.0051aee4
add esp, 4
mov ecx, dword [esp + 0x2920]
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8