Function at 0x593ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6687af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x14], edi
push 0x72fccc
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.00499c60
mov esi, dword [ebp + 0xc]
xor ecx, ecx
sub esp, 8
xor edx, edx
mov eax, dword [esi + 0x14]
mov cl, byte [esi + 0x15]
shr eax, 0x10
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x20], eax
mov dl, byte [esi + 0x14]
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
sub esp, 8
sub esp, 8
lea eax, [esp + 0x2c]
fmul dword [0x6821a0]
fstp qword [esp + 0x10]
fild dword [esp + 0x30]
mov dword [esp + 0x30], edx
fmul dword [0x6821a0]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fmul dword [0x6821a0]
fstp qword [esp]
push 0x72fbd0
push eax
call fcn.0049a7c0
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00499d70
push 0x72fcc4
lea ecx, [esp + 0x14]
call fcn.00499d20
push 0x72fcbc
lea ecx, [esp + 0x14]
call fcn.00499d20
push 0x72fcb4
lea ecx, [esp + 0x14]
call fcn.00499d20
push 0x72fcac
lea ecx, [esp + 0x14]
call fcn.00499d20
fld dword [esi + 0x10]
sub esp, 8
lea edx, [esp + 0x1c]
fstp qword [esp]
push 0x72fca4
push edx
call fcn.0049a7c0
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00499d70
cmp dword [esi + 0x1c], 0x3f800000
je 0x593c32
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x593c0c
add eax, 0xc
jmp 0x593c11
mov eax, 0x7427d8
push eax
lea ecx, [esp + 0x18]
push 0x72fb98
push ecx
call fcn.0049a7c0
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00499d70
mov eax, esi
push 0
sub esp, 0x10
mov edi, dword [eax]
mov dword [esp + 0x34], edi
mov ebx, dword [eax + 4]
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, esp
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.005732b0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00499d70
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00499a60
push 0x72fca0
lea ecx, [esp + 0x14]
call fcn.00499d20
mov edx, dword [esi + 0x18]
xor eax, eax
shr edx, 0x10
and edx, 0xff
mov al, byte [esi + 0x19]
mov dword [esp + 0x18], edx
sub esp, 8
fild dword [esp + 0x20]
and eax, 0xff
sub esp, 8
mov dword [esp + 0x28], eax
xor ecx, ecx
fmul dword [0x6821a0]
mov cl, byte [esi + 0x18]
sub esp, 8
lea edx, [esp + 0x2c]
fstp qword [esp + 0x10]
fild dword [esp + 0x30]
mov dword [esp + 0x30], ecx
fmul dword [0x6821a0]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fmul dword [0x6821a0]
fstp qword [esp]
push 0x72fbbc
push edx
call fcn.0049a7c0
add esp, 0x20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00499d70
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fld dword [esp + 0x2c]
fsub dword [esp + 0x28]
push ecx
fmul dword [0x6b1608]
fstp dword [esp]
push ecx
fmul dword [0x6b1608]
sub esp, 0x10
mov ecx, esp
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00572f90
mov edx, eax
add esp, 0x1c
mov edi, dword [edx]
push 1
push 0x3f490fdb
push 0x40437a15
mov ebx, dword [edx + 4]
push 0x3db2b8c3
sub esp, 0x10
mov ecx, dword [edx + 8]
mov dword [esp + 0x48], ecx
mov ecx, esp
mov edx, dword [edx + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00573550
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.00499d70
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00499a60
push 0x72fca0
lea ecx, [esp + 0x14]
call fcn.00499d20
push 1
push 0x3f490fdb
push 0x40c644f8
push 0x404ea5a1
sub esp, 0x10
mov eax, dword [esp + 0x48]
mov edx, esp
mov ecx, dword [esp + 0x4c]
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x38]
push edx
call fcn.00573550
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00499d70
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00499a60
push 0x72fca0
lea ecx, [esp + 0x14]
call fcn.00499d20
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 dword [eax + 8], ecx
mov esi, dword [ebp + 8]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00499b80
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.00499a60
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.00499a60
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret