Function at 0x593eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6687e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], ebx
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 [0x6821a0]
mov byte [esp + 0x38], 2
fstp qword [esp + 0x10]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fmul dword [0x6821a0]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x6821a0]
fstp qword [esp]
push 0x72fbbc
push eax
call fcn.0049a7c0
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 [0x6821a0]
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 [0x6821a0]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x6821a0]
fstp qword [esp]
push 0x72fbd0
push ecx
call fcn.0049a7c0
add esp, 0x20
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00499d70
fld dword [esi + 0x10]
sub esp, 8
lea eax, [esp + 0x14]
fstp qword [esp]
push 0x72fca4
push eax
call fcn.0049a7c0
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00499d70
cmp dword [esi + 0x1c], 0x3f800000
je 0x594034
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x59400e
add eax, 0xc
jmp 0x594013
mov eax, 0x7427d8
push eax
lea edx, [esp + 0x10]
push 0x72fb98
push edx
call fcn.0049a7c0
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.00499d70
push 0x730220
lea ecx, [esp + 0xc]
call fcn.00499d20
push 0x73008c
lea ecx, [esp + 0xc]
call fcn.00499d20
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 [0x6821a0]
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 [0x6821a0]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x6821a0]
fstp qword [esp]
push 0x72fbbc
push ecx
call fcn.0049a7c0
add esp, 0x20
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00499d70
push 0x72fcd8
lea ecx, [esp + 0xc]
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 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.00499b80
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.00499a60
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.00499a60
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret