Function at 0x57fa80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x628e0b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push eax
lea esi, [ebx + 0xc]
lea edi, [ebx + 4]
push esi
push edi
call fcn.005251f0
fstp qword [esp + 0x30]
add esp, 0xc
push edi
lea ecx, [esp + 0xa8]
call fcn.005f18c0
push esi
lea ecx, [esp + 0x68]
call fcn.005f18c0
fild dword [ebx + 0x14]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x634650]
lea edx, [esp + 0x4c]
lea eax, [esp + 0xac]
fst qword [esp + 0x34]
fstp qword [esp]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.005fede0
push esi
push edi
call fcn.0052b090
fdivr qword [esp + 0x44]
add esp, 0x18
fstp qword [esp]
call fcn.00524cc0
add esp, 8
test eax, eax
jne 0x57fc8b
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.0052b090
fdivr qword [esp + 0x2c]
fstp qword [esp]
call fcn.00524cc0
add esp, 8
test eax, eax
jne 0x57fc8b
push ebx
lea ecx, [esp + 0x78]
call fcn.005f18c0
fld qword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.005fede0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.005fee60
add esp, 0x28
push eax
lea ecx, [esp + 0x38]
call fcn.005fef00
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x634650]
test ah, 1
jne 0x57fbcf
fadd st(1), st(0)
jmp 0x57fbd1
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x57fbe4
faddp st(2)
jmp 0x57fbe6
fsubp st(2)
fxch st(1)
call fcn.005fbb60
mov esi, eax
call fcn.005fbb60
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov dword [ecx], esi
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.005fee60
add esp, 0x10
push eax
lea ecx, [esp + 0x48]
call fcn.005fef00
fldz
fld qword [esp + 0x4c]
fcom st(1)
fnstsw ax
fld qword [0x634650]
test ah, 1
jne 0x57fc41
fadd st(1), st(0)
jmp 0x57fc43
fsub st(1), st(0)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x57fc56
faddp st(2)
jmp 0x57fc58
fsubp st(2)
fxch st(1)
call fcn.005fbb60
mov esi, eax
call fcn.005fbb60
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x634650]
test ah, 1
jne 0x57fca4
fadd st(1), st(0)
jmp 0x57fca6
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x57fcb7
fadd st(1)
jmp 0x57fcb9
fsub st(1)
call fcn.005fbb60
fxch st(1)
mov ebx, eax
call fcn.005fbb60
fld qword [esp + 0x4c]
mov ecx, dword [ebp + 0xc]
fcom st(2)
mov dword [ecx + 4], eax
mov dword [ecx], ebx
fnstsw ax
test ah, 1
jne 0x57fce0
fadd st(1)
jmp 0x57fce2
fsub st(1)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
fxch st(2)
test ah, 1
jne 0x57fcf7
faddp st(1)
jmp 0x57fcf9
fsubrp st(1)
call fcn.005fbb60
mov ebx, eax
call fcn.005fbb60
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], eax
call fcn.0051aee0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x104], 0
mov dword [esp + 0x30], eax
call fcn.0051b120
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x54]
test eax, eax
je 0x57fd87
call fcn.0051afa0
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0051afa0
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc