Function at 0x14018b920
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov r15d, r9d
mov rdi, r8
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x50], rdx
mov r13, qword [rsp + 0x3f0]
cmp qword [rdx], 0
je 0x14018beec
test r8, r8
je 0x14018beec
cmp r9d, 2
jb 0x14018beec
cmp byte [r8], 0xff
jne 0x14018beec
cmp byte [r8 + 1], 0xd8
jne 0x14018beec
xor edx, edx
mov r8d, 0x270
lea rcx, [rsp + 0x68]
call fcn.14025e440
xor edx, edx
mov r8d, 0xa8
lea rcx, [rsp + 0x2e0]
call fcn.14025e440
lea rax, [0x140047670]
mov qword [rsp + 0x2e8], rax
lea rax, [0x140047610]
mov qword [rsp + 0x2f0], rax
lea rax, [0x1400476c0]
mov qword [rsp + 0x2f8], rax
lea rax, [0x1400477c0]
mov qword [rsp + 0x300], rax
xor esi, esi
mov qword [rsp + 0x35c], rsi
mov dword [rsp + 0x308], esi
lea rax, str.Bogus_message_code__d
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x370], 0x7e
mov qword [rsp + 0x378], rsi
mov qword [rsp + 0x380], rsi
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x60], rax
lea rax, [0x14018b660]
mov qword [rsp + 0x2e0], rax
test r13, r13
je 0x14018bc2d
lea rcx, [rsp + 0x60]
call fcn.14003b6f0
mov r8d, dword [rsp + 0x3f8]
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14003d4c0
lea rcx, [rsp + 0x60]
call fcn.14003bb10
mov dword [rsp + 0xbc], 1
mov dword [rsp + 0xcc], 0xd8
mov dword [rsp + 0xc4], esi
mov byte [rsp + 0xc0], sil
mov byte [rsp + 0xc2], sil
mov byte [rsp + 0xc8], sil
lea rcx, [rsp + 0x60]
call fcn.14003bda0
mov ebx, dword [rsp + 0xd8]
imul ebx, dword [rsp + 0xd4]
cmp ebx, dword [r14 + 0x10]
jbe 0x14018bafe
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14018baef
call fcn.14023ed44
mov ecx, ebx
call fcn.14023ed88
mov qword [r14 + 8], rax
mov dword [r14 + 0x10], ebx
mov rax, qword [r14 + 8]
mov qword [rsp + 0x48], rax
mov ebx, esi
mov esi, 0xffffffff
nop
cmp ebx, dword [rsp + 0xd8]
jae 0x14018bc01
cmp dword [rsp + 0x84], 0xcd
je 0x14018bb51
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x28], reloc.WS2_32.dll_setsockopt
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x84]
mov dword [rcx + 0x2c], eax
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax]
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0xf8], eax
jb 0x14018bb8c
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x28], 0x7e
mov edx, esi
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + reloc.WS2_32.dll_htonl]
inc ebx
mov eax, dword [rsp + 0xd4]
add qword [rsp + 0x48], rax
jmp 0x14018bb10
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14018bbbb
mov eax, dword [rsp + 0xf8]
mov dword [rcx + 8], eax
mov ecx, dword [rsp + 0xd8]
mov rax, qword [rsp + 0x70]
mov dword [rax + 0xc], ecx
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
call qword [rax]
mov dword [rsp + 0x30], 0
mov r9d, 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x288]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, dword [rsp + 0x30]
add dword [rsp + 0xf8], eax
inc ebx
mov eax, dword [rsp + 0xd4]
add qword [rsp + 0x48], rax
jmp 0x14018bb10
lea rcx, [rsp + 0x60]
call fcn.14003bca0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14018bc1d
lea rcx, [rsp + 0x60]
call qword [rax + 0x50]
xor eax, eax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x84], eax
jmp 0x14018bc32
mov esi, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.14003b6f0
mov r8d, r15d
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14003d4c0
lea rcx, [rsp + 0x60]
call fcn.14003bb10
mov dword [rsp + 0xbc], 1
mov dword [rsp + 0xcc], 0xd8
xor r15d, r15d
mov dword [rsp + 0xc4], r15d
mov byte [rsp + 0xc0], r15b
mov byte [rsp + 0xc2], r15b
mov byte [rsp + 0xc8], r15b
lea rcx, [rsp + 0x60]
call fcn.14003bda0
mov eax, dword [rsp + 0x98]
cmp eax, 3
jne 0x14018bcd2
mov rcx, qword [r12]
mov rax, qword [rcx]
mov r9d, r15d
test r13, r13
setne r9b
inc r9d
mov dword [rsp + 0x20], r15d
mov r8d, dword [rsp + 0xd8]
mov edx, dword [rsp + 0xd4]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14018bd05
cmp eax, 1
jne 0x14018bf52
test r13, r13
jne 0x14018bf52
mov rcx, qword [r12]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, dword [rsp + 0xd8]
mov edx, dword [rsp + 0xd4]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rbx, qword [r14 + 8]
mov edi, r15d
nop word [rax + rax]
mov rcx, qword [r12]
mov rax, qword [rcx]
cmp edi, dword [rsp + 0xd8]
jae 0x14018be48
mov edx, edi
call qword [rax + 0x60]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x84], 0xcd
je 0x14018bd72
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x28], reloc.WS2_32.dll_setsockopt
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x84]
mov dword [rcx + 0x2c], eax
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax]
mov eax, dword [rsp + 0xf8]
cmp eax, dword [rsp + 0xd8]
jb 0x14018bd9f
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x28], 0x7e
mov edx, esi
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14018bdf7
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14018bdc7
mov dword [rcx + 8], eax
mov ecx, dword [rsp + 0xd8]
mov rax, qword [rsp + 0x70]
mov dword [rax + 0xc], ecx
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
call qword [rax]
mov dword [rsp + 0x34], r15d
mov r9d, 1
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x288]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, dword [rsp + 0x34]
add dword [rsp + 0xf8], eax
test r13, r13
je 0x14018be41
mov rcx, qword [rsp + 0x38]
add rcx, 3
mov qword [rsp + 0x38], rcx
mov edx, r15d
cmp dword [rsp + 0xd4], r15d
jbe 0x14018be41
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx], al
inc edx
mov rcx, qword [rsp + 0x38]
add rcx, 4
mov qword [rsp + 0x38], rcx
inc rbx
cmp edx, dword [rsp + 0xd4]
jb 0x14018be20
inc edi
jmp 0x14018bd20
call qword [rax + 0x80]
lea rcx, [rsp + 0x60]
call fcn.14003bca0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14018be6a
lea rcx, [rsp + 0x60]
call qword [rax + 0x50]
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x84], r15d
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14018beaa
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14018beaa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14018beaa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
xor al, al
jmp 0x14018bf25
mov rbx, qword [rdx + 8]
test rbx, rbx
je 0x14018bf23
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14018bf23
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14018bf23
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov al, 1
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.14023ed20
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rsp + 0x40], 0xffffffff
lea rdx, [0x140476f28]
lea rcx, [rsp + 0x40]
call fcn.14025e348
int3