Function at 0x18005f610
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx], 0x3f800000
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov dword [rcx + 0x50], esi
mov qword [rcx + 0x54], 4
mov word [rcx + 0x5c], si
mov byte [rcx + 0x5e], 1
mov dword [rcx + 0x60], 0x41a00000
mov dword [rcx + 0x64], 0xa
mov byte [rcx + 0x68], sil
mov qword [rcx + 0x6c], rsi
mov dword [rcx + 0x74], esi
mov dword [rcx + 0x78], 0x1000101
add rcx, 0x128
call fcn.18005f4d0
nop
mov qword [rdi + 0x298], rsi
mov qword [rdi + 0x2a0], rsi
mov qword [rdi + 0x2a8], rsi
mov byte [rdi + 0x2b0], 1
lea rcx, [rdi + 0x2b8]
call fcn.18005f3f0
nop
lea rbx, [rdi + 0x2f8]
mov qword [rsp + 0x78], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x48]
call fcn.1800ef564
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rdi + 0x308], rsi
mov qword [rdi + 0x310], rsi
mov qword [rdi + 0x318], rsi
xorps xmm0, xmm0
movups xmmword [rdi + 0x320], xmm0
mov qword [rdi + 0x330], rsi
mov qword [rdi + 0x338], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x320], sil
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rdi + 0x340], rdx
mov dword [rdi + 0x348], 0xbf800000
mov ecx, dword [0x180346c50]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180344eac], eax
jg 0x18005f88c
movaps xmm0, xmmword [0x18014c300]
movups xmmword [rdi + 0x7c], xmm0
movaps xmm1, xmmword [0x18014c310]
movups xmmword [rdi + 0x8c], xmm1
movaps xmm0, xmmword [0x18014c320]
movups xmmword [rdi + 0x9c], xmm0
movaps xmm1, xmmword [0x18014c330]
movups xmmword [rdi + 0xac], xmm1
movaps xmm0, xmmword [0x18014c340]
movups xmmword [rdi + 0xbc], xmm0
mov eax, dword [0x18014c350]
mov dword [rdi + 0xcc], eax
call fcn.180065f80
mov rdx, rax
mov rcx, rdi
call fcn.18006b7e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + 0x10]
cmp rdx, qword [rdi + 0x18]
je 0x18005f808
mov rcx, rsi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
add qword [rdi + 0x10], 0x18
jmp 0x18005f820
lea r8, [rsp + 0x30]
lea rcx, [rdi + 8]
call fcn.18005c390
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18005f878
sub rsi, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rsi
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005f872
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005f872
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef5a0
nop
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x180344eac]
call fcn.1800efc74
cmp dword [0x180344eac], 0xffffffff
jne 0x18005f77c
movaps xmm0, xmmword [0x180103ed0]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.180020360
mov dword [0x18014c304], eax
mov dword [0x18014c308], 0xff00ff00
mov dword [0x18014c30c], 0xff7070e0
mov qword [0x18014c310], 0xffffffffff70a0e0
mov dword [0x18014c318], 0xff408080
mov dword [0x18014c31c], 0xffaaaaaa
mov dword [0x18014c320], 0xff9bc64d
mov dword [0x18014c324], 0xffc040a0
mov dword [0x18014c328], 0xff206020
mov dword [0x18014c32c], 0xff406020
mov dword [0x18014c330], 0xff101010
mov dword [0x18014c334], 0xffe0e0e0
mov dword [0x18014c338], 0x80a06020
mov dword [0x18014c33c], 0x800020ff
mov dword [0x18014c340], 0x40f08000
movaps xmm0, xmmword [0x180100510]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180020360
mov dword [0x18014c344], eax
mov dword [0x18014c348], 0x40000000
mov dword [0x18014c34c], 0x40808080
mov dword [0x18014c350], 0x40a0a0a0
lea rcx, [0x180344eac]
call fcn.1800efc08
jmp 0x18005f77c