Function at 0x5e87e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62fa18
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
fld qword [esi + 0x28]
fld qword [0x644fb0]
fmul st(1), st(0)
fxch st(1)
call fcn.005fbb60
fmul qword [esi + 0x20]
mov edi, eax
call fcn.005fbb60
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], edi
call fcn.005bb700
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.005bb700
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.005bb6e0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
lea edi, [esp + 0x3c]
call fcn.005e84e0
add esp, 0x28
test eax, eax
je 0x5e88b9
cmp dword [esi + 0x38], 0
je 0x5e88a2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
neg ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
jmp 0x5e89fe
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jmp 0x5e89fe
mov ecx, esi
call fcn.00533860
fcomp qword [0x6345e0]
fnstsw ax
test ah, 0x41
jne 0x5e88e8
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x10]
call fcn.005bb6c0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0xc]
fst qword [esp + 0x24]
fild dword [esp + 0x10]
fst qword [esp + 0x14]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call sub.MSVCR90.dll__CIsqrt
fst qword [esp + 0x3c]
fld qword [esi + 0x30]
fld qword [0x634650]
fmul st(1), st(0)
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x5e89db
lea eax, [esp + 0xc]
fstp st(0)
push eax
fstp st(0)
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.005bb6e0
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x58]
call fcn.00532c30
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], 0
call fcn.00533020
test eax, eax
je 0x5e8997
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov dword [esi], ecx
lea ecx, [esp + 0x50]
mov dword [esi + 4], edx
mov dword [esp + 0x78], 0xffffffff
call fcn.00532c00
jmp 0x5e8a14
fld qword [esi + 0x30]
fmul qword [0x634650]
fld qword [esp + 0x24]
fmul st(1)
fld qword [esp + 0x3c]
fdiv st(1), st(0)
fxch st(1)
call fcn.005fbb60
fxch st(1)
fmul qword [esp + 0x14]
mov dword [esp + 0xc], eax
fdivrp st(1)
call fcn.005fbb60
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], 0xffffffff
call fcn.00532c00
jmp 0x5e89fe
fmul qword [esi + 0x30]
fld qword [esp + 0x24]
fmul st(1)
fdiv st(2)
call fcn.005fbb60
fmul qword [esp + 0x14]
mov dword [esp + 0xc], eax
fdivrp st(1)
call fcn.005fbb60
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.005bb6e0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8