Function at 0x18005f3a0
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.18005f260
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.18005f180
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.18011fa9c
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 [0x18030e868]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18030cab4], eax
jg 0x18005f61c
movaps xmm0, xmmword [0x180183300]
movups xmmword [rdi + 0x7c], xmm0
movaps xmm1, xmmword [0x180183310]
movups xmmword [rdi + 0x8c], xmm1
movaps xmm0, xmmword [0x180183320]
movups xmmword [rdi + 0x9c], xmm0
movaps xmm1, xmmword [0x180183330]
movups xmmword [rdi + 0xac], xmm1
movaps xmm0, xmmword [0x180183340]
movups xmmword [rdi + 0xbc], xmm0
mov eax, dword [0x180183350]
mov dword [rdi + 0xcc], eax
call fcn.180065d10
mov rdx, rax
mov rcx, rdi
call fcn.18006b570
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + 0x10]
cmp rdx, qword [rdi + 0x18]
je 0x18005f598
mov rcx, rsi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
add qword [rdi + 0x10], 0x18
jmp 0x18005f5b0
lea r8, [rsp + 0x30]
lea rcx, [rdi + 8]
call fcn.18005c120
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18005f608
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 0x18005f602
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005f602
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011f9bc
nop
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x18030cab4]
call fcn.1801200c0
cmp dword [0x18030cab4], 0xffffffff
jne 0x18005f50c
movaps xmm0, xmmword [0x180134100]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.180020120
mov dword [0x180183304], eax
mov dword [0x180183308], 0xff00ff00
mov dword [0x18018330c], 0xff7070e0
mov qword [0x180183310], 0xffffffffff70a0e0
mov dword [0x180183318], 0xff408080
mov dword [0x18018331c], 0xffaaaaaa
mov dword [0x180183320], 0xff9bc64d
mov dword [0x180183324], 0xffc040a0
mov dword [0x180183328], 0xff206020
mov dword [0x18018332c], 0xff406020
mov dword [0x180183330], 0xff101010
mov dword [0x180183334], 0xffe0e0e0
mov dword [0x180183338], 0x80a06020
mov dword [0x18018333c], 0x800020ff
mov dword [0x180183340], 0x40f08000
movaps xmm0, xmmword [0x180130720]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180020120
mov dword [0x180183344], eax
mov dword [0x180183348], 0x40000000
mov dword [0x18018334c], 0x40808080
mov dword [0x180183350], 0x40a0a0a0
lea rcx, [0x18030cab4]
call fcn.180120054
jmp 0x18005f50c