Function at 0x180057200
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
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.1800570b0
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.180057030
nop
lea rbx, [rdi + 0x2f8]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov ecx, 0x48
call fcn.1800b704c
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 [0x1801447c0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801439ec], eax
jg 0x18005747b
movaps xmm0, xmmword [0x180107300]
movups xmmword [rdi + 0x7c], xmm0
movaps xmm1, xmmword [0x180107310]
movups xmmword [rdi + 0x8c], xmm1
movaps xmm0, xmmword [0x180107320]
movups xmmword [rdi + 0x9c], xmm0
movaps xmm1, xmmword [0x180107330]
movups xmmword [rdi + 0xac], xmm1
movaps xmm0, xmmword [0x180107340]
movups xmmword [rdi + 0xbc], xmm0
mov eax, dword [0x180107350]
mov dword [rdi + 0xcc], eax
call fcn.180058c00
mov rdx, rax
mov rcx, rdi
call fcn.180059530
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov rdx, qword [rdi + 0x10]
cmp rdx, qword [rdi + 0x18]
je 0x1800573fa
mov rcx, rsi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
add qword [rdi + 0x10], 0x18
jmp 0x180057412
lea r8, [rsp + 0x20]
lea rcx, [rdi + 8]
call fcn.1800554e0
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18005746a
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 0x180057464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b7088
nop
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x1801439ec]
call fcn.1800b7744
cmp dword [0x1801439ec], 0xffffffff
jne 0x18005736e
movdqa xmm0, xmmword [0x1800c85e0]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.18001b120
mov dword [0x180107304], eax
mov dword [0x180107308], 0xff00ff00
mov dword [0x18010730c], 0xff7070e0
mov qword [0x180107310], 0xffffffffff70a0e0
mov dword [0x180107318], 0xff408080
mov dword [0x18010731c], 0xffaaaaaa
mov dword [0x180107320], 0xff9bc64d
mov dword [0x180107324], 0xffc040a0
mov dword [0x180107328], 0xff206020
mov dword [0x18010732c], 0xff406020
mov dword [0x180107330], 0xff101010
mov dword [0x180107334], 0xffe0e0e0
mov dword [0x180107338], 0x80a06020
mov dword [0x18010733c], 0x800020ff
mov dword [0x180107340], 0x40f08000
movdqa xmm0, xmmword [0x1800c5110]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.18001b120
mov dword [0x180107344], eax
mov dword [0x180107348], 0x40000000
mov dword [0x18010734c], 0x40808080
mov dword [0x180107350], 0x40a0a0a0
lea rcx, [0x1801439ec]
call fcn.1800b76d8
jmp 0x18005736e