Function at 0x180001640
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

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 - 0x186c0]
mov eax, 0x187c0
call fcn.180004190
sub rsp, rax
mov rax, qword [0x180007010]
xor rax, rsp
mov qword [rbp + 0x186b0], rax
mov r12, rcx
mov qword [rsp + 0x20], rcx
xor r14d, r14d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], r14
xor r9d, r9d
mov r8d, 0x186a0
lea rdx, [rbp + 0x10]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 1
jl 0x180001efd
movabs rsi, 0x6666666666666667
movabs r13, 0x7ffffffefffe
nop word [rax + rax]
mov r9d, eax
lea r8, [rbp + 0x10]
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.1800029e0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.180001380
nop
cmp byte [rbp - 0x38], 2
jne 0x180001839
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x80], 2
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 8
mov edx, 8
lea rcx, [rbp - 0x68]
call fcn.180002e90
mov rcx, qword [0x180007708]
call fcn.1800011e0
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp - 0x68]
mov byte [rcx], al
movzx eax, byte [rsp + 0x79]
mov byte [rcx + 1], al
movzx eax, byte [rsp + 0x7a]
mov byte [rcx + 2], al
movzx eax, byte [rsp + 0x7b]
mov byte [rcx + 3], al
movzx eax, byte [rsp + 0x7c]
mov byte [rcx + 4], al
movzx eax, byte [rsp + 0x7d]
mov byte [rcx + 5], al
movzx eax, byte [rsp + 0x7e]
mov byte [rcx + 6], al
movzx eax, byte [rsp + 0x7f]
mov byte [rcx + 7], al
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1800012a0
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
sub r8, rdx
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x180001f4b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800017ff
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800017eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001f87
call fcn.180003308
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180001839
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001834
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001fd3
call fcn.180003308
cmp byte [rbp - 0x38], 3
jne 0x180001c3a
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov qword [rsp + 0x40], r14
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x18000186b
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180002c20
mov rax, qword [rbp - 0x30]
mov r13, r14
mov r15, r14
test rax, rax
je 0x180001a34
nop word [rax + rax]
mov rcx, qword [rbp - 0x20]
add rcx, r13
movzx eax, byte [rcx]
mov byte [rsp + 0x48], al
movzx eax, byte [rcx + 1]
mov byte [rsp + 0x49], al
movzx eax, byte [rcx + 2]
mov byte [rsp + 0x4a], al
movzx eax, byte [rcx + 3]
mov byte [rsp + 0x4b], al
movzx eax, byte [rcx + 4]
mov byte [rsp + 0x4c], al
movzx eax, byte [rcx + 5]
mov byte [rsp + 0x4d], al
movzx eax, byte [rcx + 6]
mov byte [rsp + 0x4e], al
movzx eax, byte [rcx + 7]
mov byte [rsp + 0x4f], al
mov rcx, qword [rsp + 0x48]
call fcn.1800011e0
mov rbx, rax
mov qword [rsp + 0x48], rax
add r13, 8
mov rcx, qword [rbp - 0x20]
add rcx, r13
movzx eax, byte [rcx]
mov byte [rsp + 0x50], al
movzx eax, byte [rcx + 1]
mov byte [rsp + 0x51], al
movzx eax, byte [rcx + 2]
mov byte [rsp + 0x52], al
movzx eax, byte [rcx + 3]
mov byte [rsp + 0x53], al
movzx eax, byte [rcx + 4]
mov byte [rsp + 0x54], al
movzx eax, byte [rcx + 5]
mov byte [rsp + 0x55], al
movzx eax, byte [rcx + 6]
mov byte [rsp + 0x56], al
movzx eax, byte [rcx + 7]
mov byte [rsp + 0x57], al
mov rcx, qword [rsp + 0x50]
call fcn.1800011e0
mov rdi, rax
mov qword [rsp + 0x50], rax
add r13, 8
mov rax, qword [rsp + 0x30]
mov qword [rax + r14], rdi
mov rax, qword [rsp + 0x30]
mov qword [rax + r14 + 8], rbx
mov rsi, qword [rsp + 0x30]
add rsi, r14
mov r12, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x10]
mov rcx, r12
sub rcx, rdx
cmp rbx, rcx
jae 0x18000196c
lea rax, [rdx + rbx]
jmp 0x18000199c
jbe 0x1800019a0
mov rax, qword [rsi + 0x20]
sub rax, rdx
cmp rbx, rax
jbe 0x180001988
mov rdx, rbx
lea rcx, [rsi + 0x10]
call fcn.180002e90
jmp 0x1800019a0
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + r12]
mov qword [rsi + 0x18], rax
test rdi, rdi
je 0x180001a11
movabs rax, 0x7fffffffffff
cmp rdi, rax
ja 0x180001a11
lea rax, [rdi - 0x10001]
movabs rcx, 0xefffffffeffff
cmp rax, rcx
ja 0x180001a11
mov edx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180001a11
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + r14 + 8]
mov r8, qword [rax + r14]
mov rcx, qword [rax + r14 + 0x10]
test rdx, rdx
je 0x180001a11
sub r8, rcx
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180001a00
inc r15
add r14, 0x28
cmp r15, qword [rbp - 0x30]
jb 0x180001880
mov r12, qword [rsp + 0x20]
xor r14d, r14d
movabs rsi, 0x6666666666666667
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x80], 3
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp rbx, rdi
je 0x180001acd
add rbx, 8
nop
mov rcx, qword [rbx]
call fcn.1800011e0
mov qword [rbp - 8], rax
mov r9d, 8
lea r8, [rbp - 8]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.1800029e0
mov rcx, qword [rbx - 8]
call fcn.1800011e0
mov qword [rbp], rax
mov r9d, 8
lea r8, [rbp]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.1800029e0
mov r9, qword [rbx]
mov r8, qword [rbx + 8]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.1800029e0
lea rbx, [rbx + 0x28]
lea rax, [rbx - 8]
cmp rax, rdi
jne 0x180001a60
mov rdi, qword [rsp + 0x38]
sub rdi, qword [rsp + 0x30]
mov rax, rsi
imul rdi
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp - 0x78], rdx
mov rax, qword [rbp - 0x60]
sub rax, qword [rbp - 0x68]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1800012a0
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub r8, rdx
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x180002078
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180001b80
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001b6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020b4
call fcn.180003308
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180001bc6
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002100
call fcn.180003308
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180001c30
mov rdx, qword [rsp + 0x38]
call fcn.180002950
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180001c28
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002176
mov rcx, r8
call fcn.180003308
movabs r13, 0x7ffffffefffe
cmp byte [rbp - 0x38], 4
jne 0x180001e56
mov rsi, r14
cmp qword [rbp - 0x30], 0
jbe 0x180001d70
mov rcx, qword [rbp - 0x20]
add rcx, rsi
movzx eax, byte [rcx]
mov byte [rsp + 0x58], al
movzx eax, byte [rcx + 1]
mov byte [rsp + 0x59], al
movzx eax, byte [rcx + 2]
mov byte [rsp + 0x5a], al
movzx eax, byte [rcx + 3]
mov byte [rsp + 0x5b], al
movzx eax, byte [rcx + 4]
mov byte [rsp + 0x5c], al
movzx eax, byte [rcx + 5]
mov byte [rsp + 0x5d], al
movzx eax, byte [rcx + 6]
mov byte [rsp + 0x5e], al
movzx eax, byte [rcx + 7]
mov byte [rsp + 0x5f], al
mov rcx, qword [rsp + 0x58]
call fcn.1800011e0
mov rdi, rax
mov qword [rsp + 0x58], rax
add rsi, 8
mov rdx, qword [rbp - 0x20]
add rdx, rsi
movzx ecx, byte [rdx]
mov byte [rsp + 0x28], cl
movzx ecx, byte [rdx + 1]
mov byte [rsp + 0x29], cl
movzx ecx, byte [rdx + 2]
mov byte [rsp + 0x2a], cl
movzx ecx, byte [rdx + 3]
mov byte [rsp + 0x2b], cl
movzx ecx, byte [rdx + 4]
mov byte [rsp + 0x2c], cl
movzx eax, byte [rdx + 5]
mov byte [rsp + 0x2d], al
movzx eax, byte [rdx + 6]
mov byte [rsp + 0x2e], al
movzx eax, byte [rdx + 7]
mov byte [rsp + 0x2f], al
mov rcx, qword [rsp + 0x28]
call fcn.1800011e0
mov rbx, rax
mov qword [rsp + 0x28], rax
add rsi, 8
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rax, rcx
lea r15, [rdi + rsi]
cmp r15, rax
ja 0x180001d70
add rsi, rcx
lea rax, [rbx - 0x10001]
cmp rax, r13
ja 0x180001d60
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180001d60
test rdi, rdi
je 0x180001d60
sub rsi, rbx
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x180001d50
mov rsi, r15
inc r14
cmp r14, qword [rbp - 0x30]
jb 0x180001c52
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor r14d, r14d
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x80], 4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x78], r14
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1800012a0
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub r8, rdx
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x180002220
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180001e12
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001dfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000225c
call fcn.180003308
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180001e4c
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800022a8
call fcn.180003308
movabs rsi, 0x6666666666666667
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180001e9c
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001e8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002336
call fcn.180003308
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180001ed2
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ecd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001f44
call fcn.180003308
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], r14
xor r9d, r9d
mov r8d, 0x186a0
lea rdx, [rbp + 0x10]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 1
jge 0x1800016d0
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180002342
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000233d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000233d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180001fa2
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001f8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001f8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180001feb
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001fda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001fda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180002034
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002023
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002023
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180002342
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000233d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000233d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800020cf
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800020bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180002118
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002107
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180002193
mov rdx, qword [rsp + 0x38]
call fcn.180002950
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x18000217d
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000217d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180003308
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800021dc
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800021cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800021cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180002342
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000233d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000233d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180002277
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002263
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002263
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1800022b5
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800022af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800022af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800022fe
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800022ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800022ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003308
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180002342
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000233d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000233d
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 fcn.180003308
mov rcx, qword [rbp + 0x186b0]
xor rcx, rsp
call fcn.1800031c0
lea r11, [rsp + 0x187c0]
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