Function at 0x18002ceb0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
xor edi, edi
mov word [rbp - 0x29], 0x15ff
xor r11b, r11b
mov dword [rbp - 0x27], 2
xor r12b, r12b
mov word [rbp - 0x23], 0x8eb
mov byte [rbp + 0x67], r12b
mov r14, rcx
mov qword [rbp - 0x21], rdi
mov r15d, edi
mov word [rbp - 0x49], 0x25ff
mov r13d, edi
mov dword [rbp - 0x47], edi
mov qword [rbp - 0x43], rdi
mov qword [rbp - 0x39], 0x25ff0e70
mov qword [rbp - 0x31], rdi
mov byte [rbp + 0x6f], r11b
mov qword [rcx + 0x20], rdi
nop dword [rax]
movzx esi, r12b
lea rdx, [rbp - 9]
mov r12, qword [r14 + 0x10]
movzx ebx, r11b
add r12, rsi
add rbx, qword [r14]
mov rcx, rbx
mov qword [rbp + 0x77], rsi
call fcn.18002d280
mov r9d, dword [rbp + 0x18]
mov r8d, eax
bt r9d, 0xc
jb 0x18002d218
movzx r11d, byte [rbp + 0x6f]
mov r10, rbx
cmp r11b, 5
jb 0x18002cf79
mov r8d, reloc.WS2_32.dll_ntohl
mov qword [rbp - 0x43], rbx
lea r10, [rbp - 0x49]
lea r13d, [r8 - 0xd]
jmp 0x18002d0fc
movzx eax, byte [rbp + 4]
and al, 0xc7
cmp al, 5
jne 0x18002cfcf
movzx eax, byte [rbp - 9]
lea rdi, [rbp - 0x19]
mov rcx, r8
lea r10, [rbp - 0x19]
mov rsi, rbx
mov edx, ebx
rep movsb byte [rdi], byte [rsi]
sub edx, r12d
mov ecx, r9d
add edx, dword [rbp + 0x14]
shr rcx, 2
and ecx, 0xf
sub rax, rcx
mov dword [rbp + rax - 0x1d], edx
cmp byte [rbp + 2], 0xff
jne 0x18002d0f8
cmp byte [rbp + 6], 4
jne 0x18002d0f8
mov r13d, 1
jmp 0x18002d0f8
movzx ecx, byte [rbp + 2]
cmp cl, 0xe8
jne 0x18002cff9
movsxd rax, dword [rbp + 0xc]
lea r10, [rbp - 0x29]
movzx ecx, byte [rbp - 9]
add rax, rbx
add rcx, rax
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x21], rcx
jmp 0x18002d0fc
movzx eax, cl
and al, 0xfd
cmp al, 0xe9
jne 0x18002d058
movzx edx, byte [rbp - 9]
movsx rax, byte [rbp + 0xc]
add rdx, rbx
cmp cl, 0xeb
je 0x18002d017
movsxd rax, dword [rbp + 0xc]
lea rcx, [rdx + rax]
mov rax, qword [r14]
cmp rax, rcx
ja 0x18002d03b
add rax, 5
cmp rcx, rax
jae 0x18002d03b
cmp r15, rcx
cmovae rcx, r15
mov r15, rcx
jmp 0x18002d0fc
cmp rbx, r15
mov qword [rbp - 0x43], rcx
mov r13d, edi
lea r10, [rbp - 0x49]
setae r13b
mov r8d, reloc.WS2_32.dll_ntohl
jmp 0x18002d0fc
movzx esi, byte [rbp + 3]
movzx edx, cl
and dl, 0xf0
cmp dl, 0x70
je 0x18002d08e
movzx eax, cl
and al, 0xfc
cmp al, 0xe0
je 0x18002d08e
movzx eax, sil
and al, 0xf0
cmp al, 0x80
je 0x18002d08e
and cl, 0xfe
cmp cl, 0xc2
jne 0x18002d0f8
cmp rbx, r15
mov r13d, edi
setae r13b
jmp 0x18002d0f8
movzx edi, byte [rbp - 9]
add rdi, rbx
cmp dl, 0x70
je 0x18002d0a7
movzx eax, cl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp + 0xc]
jne 0x18002d0ac
movsx rax, byte [rbp + 0xc]
lea rdx, [rdi + rax]
mov rax, qword [r14]
cmp rax, rdx
ja 0x18002d0cd
add rax, 5
cmp rdx, rax
jae 0x18002d0cd
cmp r15, rdx
cmovae rdx, r15
mov r15, rdx
jmp 0x18002d0f8
movzx eax, cl
and al, 0xfc
cmp al, 0xe0
je 0x18002d218
mov eax, ecx
cmp cl, 0xf
jne 0x18002d0e3
mov eax, esi
and al, 0xf
mov qword [rbp - 0x31], rdx
xor al, 0x71
lea r10, [rbp - 0x39]
mov byte [rbp - 0x39], al
mov r8d, reloc.WS2_32.dll_recv
mov rsi, qword [rbp + 0x77]
cmp rbx, r15
jae 0x18002d10e
movzx eax, byte [rbp - 9]
cmp r8d, eax
jne 0x18002d218
movzx r12d, byte [rbp + 0x67]
lea eax, [r8 + r12]
cmp eax, 0x32
ja 0x18002d218
mov eax, dword [r14 + 0x24]
cmp eax, 8
jae 0x18002d218
mov byte [rax + r14 + 0x28], r11b
mov eax, dword [r14 + 0x24]
mov ecx, r8d
mov byte [rax + r14 + 0x30], r12b
add r12b, r8b
mov rdi, qword [r14 + 0x10]
inc dword [r14 + 0x24]
add rdi, rsi
mov rsi, r10
mov byte [rbp + 0x67], r12b
rep movsb byte [rdi], byte [rsi]
add r11b, byte [rbp - 9]
mov edi, 0
mov byte [rbp + 0x6f], r11b
test r13d, r13d
je 0x18002cf20
cmp r11b, 5
jae 0x18002d1e6
mov rdi, qword [r14]
mov edx, 5
movzx esi, r11b
movzx ecx, r11b
sub edx, esi
add rcx, rdi
call fcn.18002d240
test eax, eax
jne 0x18002d1e6
cmp r11b, 2
jae 0x18002d1a5
mov edx, 2
sub edx, esi
call fcn.18002d240
test eax, eax
je 0x18002d218
lea rcx, [rdi - 5]
call fcn.18002ce70
test eax, eax
je 0x18002d218
mov rax, qword [r14]
movzx edx, byte [rax - 5]
test dl, dl
je 0x18002d1c7
cmp dl, 0x90
je 0x18002d1c7
cmp dl, 0xcc
jne 0x18002d218
mov ecx, 1
add rax, 0xfffffffffffffffc
cmp byte [rax], dl
jne 0x18002d218
inc ecx
inc rax
cmp ecx, 5
jb 0x18002d1d0
mov dword [r14 + 0x20], 1
mov rcx, qword [r14 + 8]
mov eax, 1
mov qword [rbp - 0x43], rcx
mov ecx, dword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x49]
movzx edx, r12b
add rdx, qword [r14 + 0x10]
mov qword [r14 + 0x18], rdx
movsd qword [rdx], xmm0
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 0x3d]
mov word [rdx + 0xc], cx
jmp 0x18002d21a
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret