Function at 0x57af20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x622f2b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
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.00521540
fstp qword [esp + 0x30]
add esp, 0xc
push edi
lea ecx, [esp + 0xa8]
call fcn.005ec4a0
push esi
lea ecx, [esp + 0x68]
call fcn.005ec4a0
fild dword [ebx + 0x14]
sub esp, 8
lea ecx, [esp + 0x3c]
fmul qword [0x62ebc8]
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.005f9620
push esi
push edi
call fcn.00527310
fdivr qword [esp + 0x44]
add esp, 0x18
fstp qword [esp]
call fcn.00521010
add esp, 8
test eax, eax
jne 0x57b12b
mov ebx, dword [ebp + 8]
push esi
push ebx
call fcn.00527310
fdivr qword [esp + 0x2c]
fstp qword [esp]
call fcn.00521010
add esp, 8
test eax, eax
jne 0x57b12b
push ebx
lea ecx, [esp + 0x78]
call fcn.005ec4a0
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.005f9620
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.005f96a0
add esp, 0x28
push eax
lea ecx, [esp + 0x38]
call fcn.005f9740
fldz
fld qword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld qword [0x62ebc8]
test ah, 1
jne 0x57b06f
fadd st(1), st(0)
jmp 0x57b071
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x57b084
faddp st(2)
jmp 0x57b086
fsubp st(2)
fxch st(1)
call fcn.005f6310
mov esi, eax
call fcn.005f6310
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.005f96a0
add esp, 0x10
push eax
lea ecx, [esp + 0x48]
call fcn.005f9740
fldz
fld qword [esp + 0x4c]
fcom st(1)
fnstsw ax
fld qword [0x62ebc8]
test ah, 1
jne 0x57b0e1
fadd st(1), st(0)
jmp 0x57b0e3
fsub st(1), st(0)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 1
jne 0x57b0f6
faddp st(2)
jmp 0x57b0f8
fsubp st(2)
fxch st(1)
call fcn.005f6310
mov esi, eax
call fcn.005f6310
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 [0x62ebc8]
test ah, 1
jne 0x57b144
fadd st(1), st(0)
jmp 0x57b146
fsub st(1), st(0)
fld qword [esp + 0x34]
fcom st(3)
fnstsw ax
test ah, 1
jne 0x57b157
fadd st(1)
jmp 0x57b159
fsub st(1)
call fcn.005f6310
fxch st(1)
mov ebx, eax
call fcn.005f6310
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 0x57b180
fadd st(1)
jmp 0x57b182
fsub st(1)
fld qword [esp + 0x44]
fcom st(3)
fnstsw ax
fstp st(3)
fxch st(2)
test ah, 1
jne 0x57b197
faddp st(1)
jmp 0x57b199
fsubrp st(1)
call fcn.005f6310
mov ebx, eax
call fcn.005f6310
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.005165f0
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.00516830
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x54]
test eax, eax
je 0x57b227
call fcn.005166b0
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.005166b0
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