Function at 0x140018610
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1401c4400]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rcx
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x71], rcx
xor r14d, r14d
mov dword [rcx], r14d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov ecx, 0x50
call fcn.14008b1d0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15 + 8], rax
lea rcx, [r15 + 0x18]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [r15 + 0x30], 7
mov qword [r15 + 0x38], 8
mov dword [r15], 0x3f800000
mov r8, qword [r15 + 8]
mov edx, reloc.WS2_32.dll_recv
call fcn.140018bd0
nop
mov rax, qword gs:[0x60]
mov rsi, qword [rax + 0x68]
mov qword [rbp - 0x71], rsi
mov r12d, r14d
cmp dword [rsi + 0xc], r14d
jbe 0x1400189ca
mov r13d, r14d
movzx ebx, byte [rbp - 0x79]
movzx edi, byte [rbp - 0x79]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r14
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x31]
call fcn.140017f40
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r14
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x51]
call fcn.140017f40
nop
mov eax, dword [rsi + 0x14]
add rax, r13
mov eax, dword [rax + rsi + 4]
lea r14, [rax + rax*2]
mov eax, dword [rsi + 0x10]
add rsi, rax
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 7
cmova rcx, qword [rbp - 0x31]
mov r8d, dword [rsi + r14*8 + 0xc]
mov edx, dword [rsi + r14*8 + 4]
add rdx, qword [rbp - 0x71]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi + r14*8 + 0x10]
mov r9, qword [rbp - 0x71]
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rcx, qword [rbp - 0x51]
mov r8d, dword [rax + r9 + 0x10]
mov edx, dword [rax + r9 + 0xc]
add rdx, r9
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x31]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x19]
cmp rax, 7
cmova r9, rcx
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140018790
cmp rdx, rax
ja 0x1400187cb
lea r14, [rbp - 0x31]
cmp rax, 7
cmova r14, rcx
mov qword [rbp - 0x21], rdx
lea rsi, [rdx + rdx]
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [r14 + rsi], ax
jmp 0x1400187d8
movzx r8d, bl
lea rcx, [rbp - 0x31]
call fcn.140018140
lea r9, [rbp - 0x51]
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x39]
cmp rax, 7
cmova r9, rcx
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x1400187f3
cmp rdx, rax
ja 0x14001882e
lea r14, [rbp - 0x51]
cmp rax, 7
cmova r14, rcx
mov qword [rbp - 0x41], rdx
lea rsi, [rdx + rdx]
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [r14 + rsi], ax
jmp 0x14001883b
movzx r8d, dil
lea rcx, [rbp - 0x51]
call fcn.140018140
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0xf]
call fcn.140019460
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x11]
call fcn.140019460
nop
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
mov rcx, r15
call fcn.1400182a0
mov rcx, qword [rax]
add rcx, 0x30
lea rax, [rbp - 0x11]
cmp rcx, rax
je 0x14001888f
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
call fcn.14000cbc0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400188ca
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400188c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400189fa
call fcn.14008b20c
xor r14d, r14d
mov qword [rbp - 1], r14
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], r14b
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140018918
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018913
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018a01
call fcn.14008b20c
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140018968
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018963
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018a08
call fcn.14008b20c
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x1400189b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400189b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018a0f
call fcn.14008b20c
inc r12d
add r13, 8
mov rsi, qword [rbp - 0x71]
cmp r12d, dword [rsi + 0xc]
jb 0x1400186d0
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14008b1b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3