Function at 0x403670
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50cdf5
push eax
mov eax, 0x2914
mov dword fs:[0], esp
call fcn.0050c120
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x5205a4
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], 0x5205d8
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 0x403807
mov dword [esp + 0xc], ebx
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x403725
mov ecx, dword [edi + 0xf40]
mov edx, dword [esp + 0xc]
cmp eax, dword [ecx + edx]
jne 0x4037da
lea eax, [esi + 4]
lea ecx, [esp + 0x10]
push eax
push 2
push ecx
lea ecx, [edi + 0xc3c]
call fcn.005057d0
fild dword [ebp + 8]
mov eax, dword [eax]
push eax
fstp qword [esp + 0x38]
nop
call 0x60675a
fmul qword [esp + 0x38]
add esp, 4
call fcn.0050c116
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0050b22e
test ebx, ebx
jle 0x4037d8
mov edx, dword [esp + 0x64]
push ebx
push edx
lea ecx, [esp + 0x64]
call fcn.00431490
mov eax, dword [esp + 0x28]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00431490
mov ecx, dword [edi + 0xf40]
mov edx, dword [esp + 0xc]
fld qword [ecx + edx + 0x90]
fmul qword [0x5205c0]
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 0x40388f
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.00404bc0
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 0x40370a
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x40392f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0x5205d8
cmp eax, ebx
mov byte [esp + 0x2928], 6
je 0x403824
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x20], 0x5205a4
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 7
cmp eax, ebx
je 0x40384e
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], 0x5205a4
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2928], 8
cmp eax, ebx
je 0x403876
push eax
call fcn.0050b204
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 0x542ce8
call fcn.00439a50
add esp, 0xc
mov dword [esp + 0x44], 0x5205d8
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2928], 3
test eax, eax
je 0x4038c4
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov edi, 0x5205a4
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 4
test eax, eax
je 0x4038ef
push eax
call fcn.0050b204
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 0x403913
push eax
call fcn.0050b204
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 0x4039c2
mov dword [esp + 0x44], 0x5205d8
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2928], 9
cmp eax, ebx
je 0x403959
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov edi, 0x5205a4
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 0xa
cmp eax, ebx
je 0x403984
push eax
call fcn.0050b204
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 0x4039a8
push eax
call fcn.0050b204
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.0048dc00
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.00501230
mov eax, dword [esp + 0x58]
cmp eax, ebx
jle 0x403b86
lea ecx, [esp + 0x210]
lea edx, [esp + 0x80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
jmp 0x403a4c
xor ebx, ebx
lea ecx, [esi - 2]
push ecx
push ebx
push 0x542bdc
push ebx
push esi
push edi
call fcn.00501e60
add esp, 0x18
mov ecx, edi
push 1
call fcn.00502520
push eax
push esi
mov ecx, edi
call fcn.00502580
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
push ebx
push 0x542bdc
push 3
push esi
push edi
call fcn.00501e60
mov ecx, dword [esp + 0x88]
add esp, 0x18
mov eax, dword [ecx + 0xf44]
test eax, eax
jle 0x403b5e
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 [0x520168]
fdiv qword [esp + 0x34]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
nop
call 0x606763
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
fstp qword [esp + 0x7c]
push eax
push ecx
nop
call 0x60676c
fcomp qword [esp + 0x84]
add esp, 0x10
fnstsw ax
test ah, 0x40
jne 0x403b23
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.00501e60
add esp, 0x1c
jmp 0x403b4d
fld qword [esp + 0x14]
call fcn.0050c116
test eax, eax
je 0x403b4d
push eax
mov eax, dword [esp + 0x28]
push 0
push 0x542bdc
mov ecx, dword [eax + ebx*4]
add ecx, 4
push ecx
push esi
push edi
call fcn.00501e60
add esp, 0x18
mov edx, dword [esp + 0x70]
inc ebx
cmp ebx, dword [edx + 0xf44]
jl 0x403aa8
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 0x403a4a
xor ebx, ebx
mov dword [esp + 0x44], 0x5205d8
mov eax, dword [esp + 0x48]
mov byte [esp + 0x2928], 0xc
cmp eax, ebx
je 0x403ba7
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov edi, 0x5205a4
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
mov byte [esp + 0x2928], 0xd
cmp eax, ebx
je 0x403bd2
push eax
call fcn.0050b204
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 0x403bf6
push eax
call fcn.0050b204
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