Function at 0x592680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66388f
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 str.1_1_1_rg_n
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.00498b70
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 [0x67d190]
fstp qword [esp + 0x10]
fild dword [esp + 0x30]
mov dword [esp + 0x30], edx
fmul dword [0x67d190]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fmul dword [0x67d190]
fstp qword [esp]
push str._.3f__.3f__.3f_RG_n
push eax
call fcn.00499700
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00498c80
push str.1_J_n
lea ecx, [esp + 0x14]
call fcn.00498c30
push str.1_j_n
lea ecx, [esp + 0x14]
call fcn.00498c30
push str.0_i_n
lea ecx, [esp + 0x14]
call fcn.00498c30
push str.__0_d_n
lea ecx, [esp + 0x14]
call fcn.00498c30
fld dword [esi + 0x10]
sub esp, 8
lea edx, [esp + 0x1c]
fstp qword [esp]
push str._.3f_w_n
push edx
call fcn.00499700
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00498c80
cmp dword [esi + 0x1c], 0x3f800000
je 0x5927e2
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x5927bc
add eax, 0xc
jmp 0x5927c1
mov eax, 0x73d670
push eax
lea ecx, [esp + 0x18]
push str.__s_gs_n
push ecx
call fcn.00499700
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00498c80
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.00571f80
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00498c80
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00498970
push 0x72ac70
lea ecx, [esp + 0x14]
call fcn.00498c30
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 [0x67d190]
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 [0x67d190]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fmul dword [0x67d190]
fstp qword [esp]
push str._.3f__.3f__.3f_rg_n
push edx
call fcn.00499700
add esp, 0x20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00498c80
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fld dword [esp + 0x2c]
fsub dword [esp + 0x28]
push ecx
fmul dword [0x6ac0b0]
fstp dword [esp]
push ecx
fmul dword [0x6ac0b0]
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.00571c60
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.00572220
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.00498c80
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00498970
push 0x72ac70
lea ecx, [esp + 0x14]
call fcn.00498c30
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.00572220
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00498c80
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00498970
push 0x72ac70
lea ecx, [esp + 0x14]
call fcn.00498c30
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.00498a90
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.00498970
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.00498970
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