Function at 0x584750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x657f57
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 + 0xc], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 8], 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 + 0x24]
fmul dword [0x6710e8]
mov byte [esp + 0x38], 2
fstp qword [esp + 0x10]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fmul dword [0x6710e8]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x6710e8]
fstp qword [esp]
push str._.3f__.3f__.3f_rg_n
push eax
call fcn.00491cb0
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 [0x6710e8]
sub esp, 8
lea ecx, [esp + 0x18]
sub esp, 8
fstp qword [esp + 0x10]
fild dword [esp + 0x28]
mov dword [esp + 0x28], eax
fmul dword [0x6710e8]
fstp qword [esp + 8]
fild dword [esp + 0x28]
fmul dword [0x6710e8]
fstp qword [esp]
push str._.3f__.3f__.3f_RG_n
push ecx
call fcn.00491cb0
add esp, 0x20
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.00491250
fld dword [esi + 0x10]
sub esp, 8
lea eax, [esp + 0x10]
fstp qword [esp]
push str._.3f_w_n
push eax
call fcn.00491cb0
add esp, 0x10
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00491250
cmp dword [esi + 0x1c], 0x3f800000
je 0x5848d4
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x5848ae
add eax, 0xc
jmp 0x5848b3
mov eax, 0x730500
push eax
lea edx, [esp + 0xc]
push str.__s_gs_n
push edx
call fcn.00491cb0
add esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.00491250
push str.0_i__t_t_t_t_t0.59_w__t_t_t_t_t4_M__t_t_t_t_t1_j__t_t_t_t_t0_J__t_t_t_t_t__0_d__t_t_t_t_t0.52_14.81_m__t_t_t_t_t1.36_19.69_6.83_19.71_10.61_19.43_c__t_t_t_t_t10.61_13.02_10.61_6.73_10.61_0.37_c__t_t_t_t_t10.14_0.37_9.67_0.37_9.01_0.37_c__t_t_t_t_t9.01_6.24_9.01_11.54_9.01_17.78_c__t_t_t_t_t8.32_17.78_7.86_17.78_7.20_17.78_c__t_t_t_t_t7.20_11.92_7.20_6.19_7.20_0.37_c__t_t_t_t_t6.69_0.37_6.25_0.37_5.65_0.37_c__t_t_t_t_t5.65_3.29_5.65_5.79_5.65_8.77_c__t_t_t_t_t2.43_8.63__0.03_11.59_0.52_14.81_c__t_t_t_t_th__t_t_t_t_tB
lea ecx, [esp + 0x10]
call fcn.00491200
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 0x24]
mov dword [esi + 0x24], edx
mov edx, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov esi, dword [ebp + 8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00491060
mov dword [esp + 0x14], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.00490f90
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.00490f90
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret