Function at 0x567df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62a82f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004892c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 1
call fcn.004892c0
push str.1_1_1_rg_n
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.004894e0
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 [0x642ba0]
fstp qword [esp + 0x10]
fild dword [esp + 0x30]
mov dword [esp + 0x30], edx
fmul dword [0x642ba0]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fmul dword [0x642ba0]
fstp qword [esp]
push str._.3f__.3f__.3f_RG_n
push eax
call fcn.0048a080
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00489910
push str.1_J_n
lea ecx, [esp + 0x14]
call fcn.00489870
push str.1_j_n
lea ecx, [esp + 0x14]
call fcn.00489870
push str.0_i_n
lea ecx, [esp + 0x14]
call fcn.00489870
push str.__0_d_n
lea ecx, [esp + 0x14]
call fcn.00489870
fld dword [esi + 0x10]
sub esp, 8
lea edx, [esp + 0x1c]
fstp qword [esp]
push str._.3f_w_n
push edx
call fcn.0048a080
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00489910
cmp dword [esi + 0x1c], 0x3f800000
je 0x567f50
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x14]
push eax
push str.__s_gs_n
push ecx
call fcn.0048a080
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00489910
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.0054f310
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00489910
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.004892e0
push 0x6ea5bc
lea ecx, [esp + 0x14]
call fcn.00489870
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 [0x642ba0]
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 [0x642ba0]
fstp qword [esp + 8]
fild dword [esp + 0x30]
fmul dword [0x642ba0]
fstp qword [esp]
push str._.3f__.3f__.3f_rg_n
push edx
call fcn.0048a080
add esp, 0x20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.00489910
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fld dword [esp + 0x2c]
fsub dword [esp + 0x28]
push ecx
fmul dword [0x65d4ec]
fstp dword [esp]
push ecx
fmul dword [0x65d4ec]
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.0054eff0
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.0054f5c0
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 4
call fcn.00489910
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.004892e0
push 0x6ea5bc
lea ecx, [esp + 0x14]
call fcn.00489870
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.0054f5c0
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00489910
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.004892e0
push 0x6ea5bc
lea ecx, [esp + 0x14]
call fcn.00489870
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.00489380
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.004892e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.004892e0
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