Function at 0x5b5c10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62f408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x6907bc
mov ecx, edi
call fcn.00489a10
mov esi, dword [ebp + 8]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00429110
mov ecx, dword [esi + 8]
xor ebx, ebx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], ebx
call fcn.004897f0
fld dword [esp + 0x14]
mov byte [esp + 0x60], 1
call fcn.00460b50
push eax
lea edx, [esp + 0x10]
push 0x6907ac
push edx
call fcn.0048a580
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.00489e10
fld dword [esi + 0x20]
sub esp, 8
lea ecx, [esp + 0x14]
fstp qword [esp]
push 0x6e7cd8
push ecx
call fcn.0048a580
add esp, 0x10
lea edx, [esp + 0xc]
mov ecx, edi
push edx
call fcn.00489e10
mov eax, dword [esi + 0x10]
mov dword [esp + 0x34], ebx
mov ecx, eax
and ecx, 0xff
mov dword [esp + 0x30], ecx
fild qword [esp + 0x30]
shr eax, 8
mov edx, eax
fmul qword [0x634950]
and edx, 0x800000ff
jns 0x5b5ceb
dec edx
or edx, 0xffffff00
inc edx
mov dword [esp + 0x18], edx
sub esp, 8
fild dword [esp + 0x20]
cdq
fmul qword [0x634950]
and edx, 0xff
sub esp, 8
add eax, edx
sub esp, 8
sar eax, 8
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
fild dword [esp + 0x30]
fmul qword [0x634950]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
push 0x69079c
push eax
call fcn.0048a580
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00489e10
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
fld dword [esi + 0x4c]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
fchs
fstp dword [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.005b6d80
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x54]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x58]
push ecx
lea ecx, [esi + 0x24]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call fcn.0049bb30
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x10], 0
mov eax, dword [ecx + 0x1c]
test eax, eax
jle 0x5b5ed8
fld dword [esp + 0x18]
fstp qword [esp + 0x3c]
push ebx
call fcn.0049f050
fld dword [esi + 0x38]
mov edx, dword [esi + 0x34]
sub esp, 8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
fstp qword [esp]
fld dword [esp + 0x2c]
sub esp, 8
lea eax, [esp + 0x1c]
fstp qword [esp]
push 0x3ff00000
push 0
push 0
push 0
push 0
push 0
push 0x3ff00000
push 0
push 0x6916a0
push eax
call fcn.0048a580
add esp, 0x38
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call fcn.00489e10
fld dword [esp + 0x10]
fmul dword [0x636330]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
sub esp, 8
lea ecx, [esp + 0x14]
fstp qword [esp]
push edx
push eax
push 0x69077c
push ecx
call fcn.0048a580
mov ecx, dword [esp + 0x40]
add esp, 0x18
lea edx, [esp + 0x18]
push 0
push edx
call fcn.0049e220
fld dword [esi + 0xc]
fadd dword [esp + 0x14]
lea eax, [esp + 0xc]
mov ecx, edi
push eax
mov byte [esp + 0x64], 2
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
call fcn.00489e10
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
push ecx
push 0x6905f0
push edx
call fcn.00489e90
push 0x690774
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x74], 3
push eax
call fcn.00489f20
add esp, 0x18
push eax
mov ecx, edi
mov byte [esp + 0x64], 4
call fcn.00489e10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 3
call fcn.00489810
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x30]
call fcn.00489810
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 1
call fcn.00489810
mov ecx, dword [esi + 0x3c]
inc ebx
cmp ebx, dword [ecx + 0x1c]
jl 0x5b5db4
push 0x690770
mov ecx, edi
call fcn.00489d70
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 0
call fcn.00489810
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00489810
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18