Function at 0x5682d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62a9c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.004897f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 1
call fcn.004897f0
mov esi, dword [ebp + 0xc]
xor ecx, ecx
sub esp, 8
xor edx, edx
mov eax, dword [esi + 0x18]
mov cl, byte [esi + 0x19]
shr eax, 0x10
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x18], eax
mov dl, byte [esi + 0x18]
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
sub esp, 8
sub esp, 8
lea eax, [esp + 0x20]
fmul dword [0x642c28]
mov byte [esp + 0x38], 2
fstp qword [esp + 0x10]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fmul dword [0x642c28]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x642c28]
fstp qword [esp]
push 0x6e4fb0
push eax
call fcn.0048a580
mov ecx, dword [esi + 0x14]
xor edx, edx
shr ecx, 0x10
and ecx, 0xff
mov dl, byte [esi + 0x15]
mov dword [esp + 0x30], ecx
add esp, 0x18
fild dword [esp + 0x18]
and edx, 0xff
xor eax, eax
mov dword [esp + 0x18], edx
mov al, byte [esi + 0x14]
fmul dword [0x642c28]
sub esp, 8
lea ecx, [esp + 0x1c]
sub esp, 8
fstp qword [esp + 0x10]
fild dword [esp + 0x28]
mov dword [esp + 0x28], eax
fmul dword [0x642c28]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x642c28]
fstp qword [esp]
push 0x6e4fc4
push ecx
call fcn.0048a580
add esp, 0x20
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00489e10
fld dword [esi + 0x10]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push 0x6e5098
push eax
call fcn.0048a580
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00489e10
cmp dword [esi + 0x1c], 0x3f800000
je 0x568451
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xc]
push eax
push 0x6e4f8c
push edx
call fcn.0048a580
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.00489e10
push 0x6e5614
lea ecx, [esp + 0xc]
call fcn.00489d70
push 0x6e5480
lea ecx, [esp + 0xc]
call fcn.00489d70
mov ecx, dword [esi + 0x14]
xor edx, edx
shr ecx, 0x10
and ecx, 0xff
mov dl, byte [esi + 0x15]
mov dword [esp + 0x10], ecx
sub esp, 8
fild dword [esp + 0x18]
and edx, 0xff
xor eax, eax
mov dword [esp + 0x18], edx
mov al, byte [esi + 0x14]
fmul dword [0x642c28]
sub esp, 8
lea ecx, [esp + 0x1c]
sub esp, 8
fstp qword [esp + 0x10]
fild dword [esp + 0x28]
mov dword [esp + 0x28], eax
fmul dword [0x642c28]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x642c28]
fstp qword [esp]
push 0x6e4fb0
push ecx
call fcn.0048a580
add esp, 0x20
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00489e10
push 0x6e50cc
lea ecx, [esp + 0xc]
call fcn.00489d70
mov ecx, dword [esi]
mov edx, dword [esi + 4]
lea eax, [esi + 0x24]
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov esi, dword [ebp + 8]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
lea eax, [esp + 8]
push eax
call fcn.004898b0
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.00489810
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.00489810
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret