Function at 0x14011b430
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [rsp + 0x78]
lea r14, [rdx + 0x40]
and qword [r14], 0
mov rbx, rdx
mov qword [rdx + 0x80], r8
mov rdi, r8
mov qword [rdx + 0x70], rax
mov rsi, rcx
mov dword [rdx + 8], 3
mov rcx, r14
xor edx, edx
mov rbp, r9
lea r8d, [rdx + 0x20]
call fcn.140145ba0
test dword [rdi + 0x58], 0x80000
je 0x14011b4bb
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0xa0], rax
test rax, rax
je 0x14011b686
or rax, 1
or qword [rbx + 0xa8], 0xffffffffffffffff
mov qword [rbx + 0x58], rax
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
mov rdx, rbp
mov rcx, qword [rdi + 0x110]
mov qword [rsp + 0x28], r14
and dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x14011b553
test dword [rdi + 0x58], 0x20000
je 0x14011b5c0
and qword [rbx + 0x60], 0
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x14011b529
mov eax, dword [rdi + 0x58]
test al, 4
jne 0x14011b529
or eax, 4
mov dword [rdi + 0x58], eax
test al, 8
je 0x14011b529
mov rax, qword [rdi + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
and qword [rbx + 0x68], 0
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x14011b661
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
jmp 0x14011b665
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14011b5c0
and qword [rbx + 0x60], 0
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x14011b593
mov eax, dword [rdi + 0x58]
test al, 4
jne 0x14011b593
or eax, 4
mov dword [rdi + 0x58], eax
test al, 8
je 0x14011b593
mov rax, qword [rdi + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jg 0x14011b5a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x14011b5b6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [r14], rax
jmp 0x14011b52c
mov edx, dword [rsp + 0x70]
mov rcx, rbp
call fcn.14010c1d0
mov qword [rbx + 0x60], rax
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x14011b5fe
mov eax, dword [rdi + 0x58]
test al, 4
jne 0x14011b5fe
or eax, 4
mov dword [rdi + 0x58], eax
test al, 8
je 0x14011b5fe
mov rax, qword [rdi + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
mov rax, qword [rbx + 0x60]
add qword [rdi + 0x60], rax
test dword [rdi + 0x58], 0x80000
je 0x14011b669
mov rdx, qword [rbx + 0xa0]
lea rcx, [rbx + 0xa8]
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
lea r8, [0x140110990]
or dword [rsp + 0x20], 0xffffffff
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x14011b669
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x14011b656
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14011b5b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14011b5ae
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.14011bf20
int3