Function at 0x14011e850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
xor edi, edi
mov r15, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14011e87a
mov r12d, edi
jmp 0x14011e8b2
movzx ecx, word [rdx + 0x14]
mov edx, 0x202
movzx eax, cx
and ax, dx
cmp ax, dx
jne 0x14011e89b
cmp byte [r15 + 0x16], 1
jne 0x14011e89b
mov r12, qword [r15 + 8]
jmp 0x14011e8b2
test cl, 1
mov rcx, r15
je 0x14011e8a8
mov r12, rdi
jmp 0x14011e8b5
mov dl, 1
call fcn.14007bc30
mov r12, rax
mov rcx, r15
mov eax, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x70], r14
movzx ecx, word [rcx + rax]
test cl, 2
je 0x14011e8d5
cmp byte [r15 + 0x16], 1
jne 0x14011e8d5
mov r14d, dword [r15 + 0x10]
jmp 0x14011e901
test cl, 0x10
je 0x14011e8ea
bt cx, 0xa
mov r14d, dword [r15 + 0x10]
jae 0x14011e901
add r14d, dword [r15]
jmp 0x14011e901
test cl, 1
je 0x14011e8f4
mov r14d, edi
jmp 0x14011e901
mov dl, 1
mov rcx, r15
call fcn.14007c300
mov r14d, eax
mov dword [rsp + 0x20], edi
mov r8d, 0xffffffff
mov dword [rsp + 0x78], r8d
mov rbp, rdi
mov r13d, edi
test r12, r12
je 0x14011ec10
nop
mov rax, qword [rsi + 0x18]
lea edx, [rdi - 0x68f72]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x14011e955
cmp dword [rcx + 4], edx
jne 0x14011e94c
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x14011e975
lea eax, [rdi - 0x68f72]
test eax, eax
js 0x14011e975
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14011e936
mov dword [rsp + 0x20], edi
test rbp, rbp
je 0x14011ea2a
lea ecx, [r13 + 1]
mov byte [rbp + 0x32], 0
mov dword [rbp + 0x4c], ecx
mov rax, rbp
jmp 0x14011ec12
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x14011e955
test rbp, rbp
jne 0x14011e9fe
cmp dword [rbx + 0x3c], r14d
jne 0x14011e9c4
cmp byte [rbx + 0x37], bpl
je 0x14011e99a
mov eax, dword [rsp + 0x88]
test eax, eax
jne 0x14011e9cb
mov rcx, qword [rbx + 0x10]
cmp rcx, r12
je 0x14011e9b7
movsxd r8, r14d
mov rdx, r12
call fcn.140232c80
mov r8d, dword [rsp + 0x78]
test eax, eax
jne 0x14011e9c4
mov byte [rbx + 0x32], 0
mov rbp, rbx
mov byte [rbx + 0x36], 0
jmp 0x14011ea11
mov eax, dword [rsp + 0x88]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14011e9fe
test eax, eax
jne 0x14011e9fe
cmp dword [rbx + 0x40], r14d
jne 0x14011e9fe
movsxd r8, r14d
mov rdx, r12
call fcn.140232c80
mov r8d, dword [rsp + 0x78]
test eax, eax
jne 0x14011e9fe
mov byte [rbx + 0x32], al
mov rbp, rbx
mov byte [rbx + 0x36], 1
jmp 0x14011ea11
mov eax, dword [rbx + 0x4c]
cmp eax, r8d
jae 0x14011ea11
mov r8d, eax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], edi
cmp dword [rbx + 0x4c], r13d
cmova r13d, dword [rbx + 0x4c]
inc edi
cmp edi, 4
jl 0x14011e920
jmp 0x14011e959
movzx eax, word [r15 + 0x14]
mov edx, recv
test al, 0x12
setne cl
bt ax, dx
mov edx, 1
setb al
test al, cl
je 0x14011ea5e
lea rax, [fcn.140051ab0]
cmp qword [r15 + 0x30], rax
jne 0x14011ea5e
xor ebp, ebp
mov edi, edx
mov ebx, ebp
jmp 0x14011ea66
xor ebp, ebp
lea ebx, [r14 + 1]
mov edi, ebp
call fcn.140114a50
test eax, eax
jne 0x14011ebdf
movsxd rcx, ebx
add rcx, 0x50
call fcn.14004e900
mov rbx, rax
test rax, rax
je 0x14011ebdf
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
test edi, edi
je 0x14011eab4
inc qword [r12 - 8]
mov qword [rax + 0x10], r12
mov byte [rax + 0x34], 1
jmp 0x14011eacb
lea rcx, [rax + 0x50]
mov rdx, r12
mov qword [rax + 0x10], rcx
lea eax, [r14 + 1]
movsxd r8, eax
call fcn.140232d80
mov rdi, qword [rsp + 0x80]
mov rcx, rbx
mov rdx, rdi
mov dword [rbx + 0x38], 1
call fcn.14011e640
test eax, eax
je 0x14011eb7f
test rdi, rdi
jne 0x14011eafe
mov byte [rbx + 0x32], 1
mov rax, rbx
jmp 0x14011ec12
mov eax, dword [rbx + 0x38]
cmp eax, 1
jbe 0x14011eb10
dec eax
mov dword [rbx + 0x38], eax
jmp 0x14011ec10
mov rcx, rbx
call fcn.14011c0f0
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x14011eb71
mov rcx, qword [0x1402df8d8]
test rcx, rcx
je 0x14011eb33
call qword [0x1402cd860]
mov rcx, rbx
call qword [0x1402cd818]
dec qword [0x1402df6d8]
movsxd rcx, eax
sub qword [0x1402df690], rcx
mov rcx, rbx
call qword [0x1402cd808]
mov rcx, qword [0x1402df8d8]
test rcx, rcx
je 0x14011ec10
call qword [0x1402cd870]
jmp 0x14011ec10
mov rcx, rbx
call qword [0x1402cd808]
jmp 0x14011ec10
mov edi, dword [rsp + 0x20]
lea eax, [r13 + 1]
add edi, 0xfff9708e
mov dword [rbx + 0x3c], r14d
mov edx, edi
mov dword [rbx + 0x4c], eax
lea r9, [fcn.14011c290]
mov r8, rbx
mov rcx, rsi
call fcn.140083450
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x14011ebda
cmp dword [rcx + 4], edi
jne 0x14011ebc8
mov eax, dword [rsi + 0x20]
cmp dword [rcx], eax
je 0x14011ebd6
test edi, edi
js 0x14011ebd6
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14011ebb8
mov rax, rbp
jmp 0x14011ec12
mov rbp, qword [rcx + 8]
mov rax, rbp
jmp 0x14011ec12
mov rax, qword [rsi]
mov ecx, 0x9000
test word [rax + 0x14], cx
je 0x14011ebf7
mov rcx, rax
call fcn.14007ae30
jmp 0x14011ebfd
mov word [rax + 0x14], 1
mov rcx, qword [rsi]
mov dword [rsi + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.14004f3a0
xor eax, eax
mov r14, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret