Function at 0x1401e18a0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rbp
push rdi
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r13d, r13d
mov rbx, rcx
cmp byte [rcx + 0x3b8], 3
mov r14d, r13d
lea ebp, [r13 + 4]
jne 0x1401e18e5
cmp byte [rcx + 0x3b9], 3
jb 0x1401e18e5
mov rax, qword [rcx + 8]
movzx ebp, word [rax + 2]
add ebp, 6
mov rdi, qword [rcx + 0x15b8]
test rdi, rdi
jne 0x1401e18f8
mov rax, qword [rcx]
mov rdi, qword [rax + 0x68]
mov qword [rsp + 0x98], rsi
test rdi, rdi
je 0x1401e1937
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x1401e192b
mov ecx, dword [rsi + 0x59c]
lea rdx, [rsp + 0x50]
call fcn.1402036a0
add eax, dword [rsi + 0x59c]
add r14d, 2
add r14d, eax
mov rdi, qword [rdi + 0x148]
test rdi, rdi
jne 0x1401e1905
add ebp, r14d
test byte [rbx + 0x4fc], 3
jne 0x1401e1c3f
test byte [rbx + 0x4fa], 4
mov qword [rsp + 0xa0], r12
lea r12d, [rbp + 9]
jne 0x1401e1972
cmp byte [rbx + 0x4e4], r13b
je 0x1401e198f
cmp byte [rbx + 0x231], r13b
je 0x1401e1972
add r12d, 0x66
cmp byte [rbx + 0x4e4], r13b
je 0x1401e198f
cmp byte [rbx + 0x231], r13b
je 0x1401e198f
mov rcx, rbx
call fcn.1401e7350
add r12d, eax
mov edx, r12d
mov rcx, rbx
call fcn.1401d4970
test eax, eax
jne 0x1401e1b22
mov rax, qword [rbx + 0x288]
mov r9, rbx
mov qword [rsp + 0xa8], r15
mov r8b, reloc.WS2_32.dll_listen
mov r15d, dword [rbx + 0x290]
mov edx, ebp
add r15, rax
mov rcx, r15
call fcn.1401d3d90
mov byte [r15 + 9], 1
movzx eax, byte [rbx + 0x501]
cmp al, 0xc0
je 0x1401e19df
cmp al, 0xcc
jne 0x1401e19ea
cmp byte [rbx + 0x3c8], 3
mov al, 0x40
je 0x1401e19ec
mov al, 1
mov byte [r15 + 0xa], al
cmp byte [rbx + 0x3b8], 3
jne 0x1401e1a3f
cmp byte [rbx + 0x3b9], 3
jb 0x1401e1a3f
mov rax, qword [rbx + 8]
movzx ecx, word [rax + 2]
mov byte [r15 + 0xc], cl
movzx eax, cx
shr ax, 8
lea rcx, [r15 + 0xd]
mov byte [r15 + 0xb], al
mov rdx, qword [rbx + 8]
movzx r8d, word [rdx + 2]
add rdx, 0x130
call fcn.140284ff0
mov rax, qword [rbx + 8]
movzx ebp, word [rax + 2]
add ebp, 0xd
jmp 0x1401e1a44
mov ebp, reloc.WS2_32.dll_inet_addr
mov ecx, ebp
movzx eax, r14w
shr ax, 8
add ebp, 2
mov byte [rcx + r15], al
mov byte [rcx + r15 + 1], r14b
mov rsi, qword [rbx + 0x15b8]
test rsi, rsi
jne 0x1401e1a72
mov rax, qword [rbx]
mov rsi, qword [rax + 0x68]
test rsi, rsi
je 0x1401e1ae6
mov r14, qword [rsi + 0x20]
test r14, r14
je 0x1401e1ada
mov ecx, dword [r14 + 0x59c]
lea rdx, [rsp + 0x50]
call fcn.1402036a0
add ax, word [r14 + 0x59c]
movzx ecx, ax
mov byte [rbp + r15 + 1], al
shr cx, 8
mov byte [rbp + r15], cl
add ebp, 2
mov ecx, dword [r14 + 0x59c]
mov edx, ebp
add rdx, r15
call fcn.1402036a0
movsxd r8, dword [r14 + 0x59c]
lea rdx, [r14 + 0x450]
add ebp, eax
mov ecx, ebp
add rcx, r15
call fcn.140284ff0
add ebp, dword [r14 + 0x59c]
mov rsi, qword [rsi + 0x148]
test rsi, rsi
jne 0x1401e1a72
cmp byte [rbx + 0x4e4], r13b
je 0x1401e1bbc
cmp byte [rbx + 0x231], r13b
je 0x1401e1bbc
movzx edi, word [rbx + 0x4fa]
and edi, 4
add edi, edi
or edi, 5
sub ebp, edi
test ebp, ebp
jg 0x1401e1b4b
mov eax, 0xffffff7c
mov r15, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140283120
add rsp, 0x60
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
movsxd r14, ebp
mov rcx, r14
call fcn.1401c5b90
mov rsi, rax
test rax, rax
jne 0x1401e1b63
lea eax, [rsi - 0x7d]
jmp 0x1401e1b1a
mov edx, edi
mov r8, r14
add rdx, r15
mov rcx, rsi
call fcn.140284ff0
mov dword [rsp + 0x48], r13d
mov r9, rsi
mov dword [rsp + 0x40], r13d
mov r8d, r12d
mov dword [rsp + 0x38], r13d
mov rdx, r15
mov dword [rsp + 0x30], 1
mov rcx, rbx
mov dword [rsp + 0x28], reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], ebp
call fcn.1401d45a0
mov rcx, rsi
mov ebp, eax
call fcn.1401c5b70
test ebp, ebp
jns 0x1401e1be4
mov eax, ebp
jmp 0x1401e1b1a
cmp qword [rbx + 0x78], r13
jne 0x1401e1bcc
mov eax, 0xffffff53
jmp 0x1401e1b1a
lea r8d, [rbp - 5]
mov rcx, rbx
lea rdx, [r15 + 5]
call fcn.1401dc4f0
test eax, eax
jne 0x1401e1b1a
cmp byte [rbx + 0x601], r13b
je 0x1401e1c1d
mov rax, qword [rbx + 0xa8]
lea rdx, str.CertificateRequest
mov qword [rsp + 0x30], rax
mov r9, r15
mov dword [rsp + 0x28], 1
mov r8d, reloc.WS2_32.dll_shutdown
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.1401d3e10
add dword [rbx + 0x290], ebp
test byte [rbx + 0x4fc], 0x80
jne 0x1401e1c37
mov rcx, rbx
call fcn.1401e1180
mov r13d, eax
mov eax, r13d
jmp 0x1401e1b1a
xor eax, eax
jmp 0x1401e1b2a