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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62daf8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x682d00]
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 [0x642ba8]
fmul st(1), st(0)
fxch st(1)
call fcn.005f9c80
fmul qword [esi + 0x20]
mov edi, eax
call fcn.005f9c80
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.005ba040
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 4]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.005ba040
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.005ba020
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
lea edi, [esp + 0x3c]
call fcn.005e6e30
add esp, 0x28
test eax, eax
je 0x5e7209
cmp dword [esi + 0x38], 0
je 0x5e71f2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
neg ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
jmp 0x5e734e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jmp 0x5e734e
mov ecx, esi
call fcn.005326e0
fcomp qword [0x6325d8]
fnstsw ax
test ah, 0x41
jne 0x5e7238
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x10]
call fcn.005ba000
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 [0x632648]
fmul st(1), st(0)
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x5e732b
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.005ba020
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x58]
call fcn.00531ab0
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.00531ea0
test eax, eax
je 0x5e72e7
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.00531aa0
jmp 0x5e7364
fld qword [esi + 0x30]
fmul qword [0x632648]
fld qword [esp + 0x24]
fmul st(1)
fld qword [esp + 0x3c]
fdiv st(1), st(0)
fxch st(1)
call fcn.005f9c80
fxch st(1)
fmul qword [esp + 0x14]
mov dword [esp + 0xc], eax
fdivrp st(1)
call fcn.005f9c80
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], 0xffffffff
call fcn.00531aa0
jmp 0x5e734e
fmul qword [esi + 0x30]
fld qword [esp + 0x24]
fmul st(1)
fdiv st(2)
call fcn.005f9c80
fmul qword [esp + 0x14]
mov dword [esp + 0xc], eax
fdivrp st(1)
call fcn.005f9c80
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.005ba020
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