Function at 0x140018650
Capabilities:
Check for software breakpoints

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, 0xa0
mov rax, qword [0x14010b358]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor esi, esi
xor dl, dl
xor r15b, r15b
mov r14, rcx
mov word [rbp + 0xf], 0x15ff
mov dword [rbp + 0x11], 2
mov byte [rbp - 0x48], r15b
mov word [rbp + 0x15], 0x8eb
mov qword [rbp + 0x17], rsi
mov word [rbp - 0x11], 0x25ff
mov dword [rbp - 0xf], esi
mov qword [rbp - 0xb], rsi
mov qword [rbp - 1], 0x25ff0e70
mov qword [rbp + 7], rsi
mov byte [rbp - 0x49], dl
mov r12d, esi
mov r13d, esi
mov qword [rcx + 0x20], rsi
nop dword [rax]
movzx ebx, dl
movzx edi, r15b
mov r15, qword [r14 + 0x10]
add rbx, qword [r14]
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x41], rdi
mov rcx, rbx
add r15, rdi
call fcn.1400171f0
mov r9d, dword [rbp - 0x18]
mov r8d, eax
bt r9d, 0xc
jb 0x1400189e7
movzx edx, byte [rbp - 0x49]
movzx r11d, byte [rbp - 0x39]
mov r10, rbx
cmp dl, 5
jb 0x14001872b
mov r8d, reloc.WS2_32.dll_ntohl
mov qword [rbp - 0xb], rbx
lea r10, [rbp - 0x11]
lea r13d, [r8 - 0xd]
jmp 0x1400188cc
movzx eax, byte [rbp - 0x2c]
and al, 0xc7
cmp al, 5
jne 0x140018789
lea rdi, [rbp + 0x1f]
mov rcx, r8
mov rsi, rbx
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rbp - 0x41]
mov ecx, r9d
shr rcx, 2
mov edx, ebx
movzx eax, r11b
sub edx, r15d
and ecx, 0xf
lea r10, [rbp + 0x1f]
add edx, dword [rbp - 0x1c]
sub rax, rcx
cmp byte [rbp - 0x2e], 0xff
mov dword [rbp + rax + 0x1b], edx
jne 0x1400188c8
cmp byte [rbp - 0x2a], 4
movzx edx, byte [rbp - 0x49]
jne 0x1400188cc
mov r13d, 1
jmp 0x1400188cc
movzx edx, byte [rbp - 0x2e]
cmp dl, 0xe8
jne 0x1400187ad
movsxd rax, dword [rbp - 0x24]
movzx ecx, r11b
lea r10, [rbp + 0xf]
add rax, rbx
add rcx, rax
mov qword [rbp + 0x17], rcx
jmp 0x1400188c2
movzx eax, dl
and al, 0xfd
cmp al, 0xe9
jne 0x140018811
movsx rax, byte [rbp - 0x24]
movzx ecx, r11b
add rcx, rbx
cmp dl, 0xeb
je 0x1400187cb
movsxd rax, dword [rbp - 0x24]
add rcx, rax
mov rax, qword [r14]
cmp rax, rcx
ja 0x1400187f4
add rax, 5
cmp rcx, rax
jae 0x1400187f4
movzx edx, byte [rbp - 0x49]
cmp r12, rcx
jae 0x1400188cc
mov r12, rcx
jmp 0x1400188cc
cmp rbx, r12
mov r13d, esi
mov qword [rbp - 0xb], rcx
lea r10, [rbp - 0x11]
mov r8d, reloc.WS2_32.dll_ntohl
setae r13b
jmp 0x1400188c8
movzx esi, byte [rbp - 0x2d]
movzx edi, dl
and dil, 0xf0
cmp dil, 0x70
je 0x140018851
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x140018851
movzx eax, sil
and al, 0xf0
cmp al, 0x80
je 0x140018851
mov rdi, qword [rbp - 0x41]
and dl, 0xfe
cmp dl, 0xc2
jne 0x1400188c8
xor r13d, r13d
cmp rbx, r12
setae r13b
jmp 0x1400188c8
movzx ecx, r11b
add rcx, rbx
cmp dil, 0x70
je 0x14001886b
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp - 0x24]
jne 0x140018870
movsx rax, byte [rbp - 0x24]
add rcx, rax
mov rax, qword [r14]
cmp rax, rcx
ja 0x140018896
add rax, 5
cmp rcx, rax
jae 0x140018896
movzx edx, byte [rbp - 0x49]
mov rdi, qword [rbp - 0x41]
cmp r12, rcx
jae 0x1400188cc
mov r12, rcx
jmp 0x1400188cc
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x1400189e7
movzx eax, dl
cmp dl, 0xf
jne 0x1400188af
movzx eax, sil
mov rdi, qword [rbp - 0x41]
and al, 0xf
mov qword [rbp + 7], rcx
xor al, 0x71
lea r10, [rbp - 1]
mov byte [rbp - 1], al
mov r8d, reloc.WS2_32.dll_recv
movzx edx, byte [rbp - 0x49]
cmp rbx, r12
jae 0x1400188de
movzx eax, r11b
cmp r8d, eax
jne 0x1400189e7
movzx r15d, byte [rbp - 0x48]
lea eax, [r8 + r15]
cmp eax, 0x32
ja 0x1400189e7
mov eax, dword [r14 + 0x24]
cmp eax, 8
jae 0x1400189e7
mov byte [rax + r14 + 0x28], dl
mov eax, dword [r14 + 0x24]
add dl, r11b
mov byte [rax + r14 + 0x30], r15b
add rdi, qword [r14 + 0x10]
inc dword [r14 + 0x24]
add r15b, r8b
mov ecx, r8d
mov rsi, r10
rep movsb byte [rdi], byte [rsi]
mov byte [rbp - 0x48], r15b
mov byte [rbp - 0x49], dl
test r13d, r13d
jne 0x140018934
xor esi, esi
jmp 0x1400186d0
cmp dl, 5
jae 0x1400189b7
mov rdi, qword [r14]
movzx r9d, dl
movzx esi, dl
add r9, rdi
mov edx, 5
mov rcx, r9
sub edx, esi
call fcn.140018610
test eax, eax
jne 0x1400189b7
cmp byte [rbp - 0x49], 2
jae 0x140018976
mov edx, 2
mov rcx, r9
sub edx, esi
call fcn.140018610
test eax, eax
je 0x1400189e7
lea rcx, [rdi - 5]
call fcn.1400171b0
test eax, eax
je 0x1400189e7
mov rax, qword [r14]
movzx edx, byte [rax - 5]
test dl, dl
je 0x140018998
cmp dl, 0x90
je 0x140018998
cmp dl, 0xcc
jne 0x1400189e7
mov ecx, 1
add rax, 0xfffffffffffffffc
cmp byte [rax], dl
jne 0x1400189e7
inc ecx
inc rax
cmp ecx, 5
jb 0x1400189a1
mov dword [r14 + 0x20], 1
mov rcx, qword [r14 + 8]
movzx edx, r15b
mov eax, 1
add rdx, qword [r14 + 0x10]
mov qword [rbp - 0xb], rcx
mov rcx, qword [rbp - 0x11]
mov qword [r14 + 0x18], rdx
mov qword [rdx], rcx
mov ecx, dword [rbp - 9]
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 5]
mov word [rdx + 0xc], cx
jmp 0x1400189e9
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140088760
lea r11, [rsp + 0xa0]
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