Function at 0x18005c6b0
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.18005c570
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.18005c4f0
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.180106c6c
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 [0x1802f0758]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1802ef3f4], eax
jg 0x18005c92c
movaps xmm0, xmmword [0x180166300]
movups xmmword [rdi + 0x7c], xmm0
movaps xmm1, xmmword [0x180166310]
movups xmmword [rdi + 0x8c], xmm1
movaps xmm0, xmmword [0x180166320]
movups xmmword [rdi + 0x9c], xmm0
movaps xmm1, xmmword [0x180166330]
movups xmmword [rdi + 0xac], xmm1
movaps xmm0, xmmword [0x180166340]
movups xmmword [rdi + 0xbc], xmm0
mov eax, dword [0x180166350]
mov dword [rdi + 0xcc], eax
call fcn.18005e070
mov rdx, rax
mov rcx, rdi
call fcn.18005e9f0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + 0x10]
cmp rdx, qword [rdi + 0x18]
je 0x18005c8a8
mov rcx, rsi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
add qword [rdi + 0x10], 0x18
jmp 0x18005c8c0
lea r8, [rsp + 0x30]
lea rcx, [rdi + 8]
call fcn.18005add0
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18005c918
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 0x18005c912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005c912
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
nop
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x1802ef3f4]
call fcn.180107290
cmp dword [0x1802ef3f4], 0xffffffff
jne 0x18005c81c
movaps xmm0, xmmword [0x180119ac0]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.180020040
mov dword [0x180166304], eax
mov dword [0x180166308], 0xff00ff00
mov dword [0x18016630c], 0xff7070e0
mov qword [0x180166310], 0xffffffffff70a0e0
mov dword [0x180166318], 0xff408080
mov dword [0x18016631c], 0xffaaaaaa
mov dword [0x180166320], 0xff9bc64d
mov dword [0x180166324], 0xffc040a0
mov dword [0x180166328], 0xff206020
mov dword [0x18016632c], 0xff406020
mov dword [0x180166330], 0xff101010
mov dword [0x180166334], 0xffe0e0e0
mov dword [0x180166338], 0x80a06020
mov dword [0x18016633c], 0x800020ff
mov dword [0x180166340], 0x40f08000
movaps xmm0, xmmword [0x180116620]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.180020040
mov dword [0x180166344], eax
mov dword [0x180166348], 0x40000000
mov dword [0x18016634c], 0x40808080
mov dword [0x180166350], 0x40a0a0a0
lea rcx, [0x1802ef3f4]
call fcn.180107224
jmp 0x18005c81c