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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x20]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xc0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x14018b164
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
jmp 0x14018aeeb
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14018b11d
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x18], 0
je 0x14018af1e
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call fcn.1401456c7
inc rax
mov qword [rsp + 0x98], rax
jmp 0x14018af2a
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 2
jne 0x14018af4d
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
jmp 0x14018af68
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x17
jne 0x14018af63
mov qword [rsp + 0x20], Ordinal_30
jmp 0x14018af68
jmp 0x14018aedd
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x14018af80
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x10], 0
ja 0x14018af85
jmp 0x14018aedd
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp qword [rax + 0x10], rcx
jae 0x14018af9a
jmp 0x14018aedd
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx + 0x30]
mov rcx, rax
call qword [fcn.14014903d]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14018afcc
mov dword [rsp + 0x60], 8
jmp 0x14018b11d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 4]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov r8, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x20]
call fcn.1401484b2
cmp qword [rsp + 0x68], 0
je 0x14018b0e6
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
add rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x70], 0
jmp 0x14018b0a2
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
jae 0x14018b0d4
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x70]
movzx eax, byte [rax + r8*2]
mov byte [rcx + rdx], al
jmp 0x14018b095
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
mov byte [rax + rcx], 0
cmp qword [rsp + 0x38], 0
jne 0x14018b0f8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x40], 0
je 0x14018b10e
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x14018aedd
cmp dword [rsp + 0x60], 0
je 0x14018b139
mov rcx, qword [rsp + 0x38]
call fcn.1401498c6
mov qword [rsp + 0x38], 0
jmp 0x14018b153
cmp qword [rsp + 0x38], 0
jne 0x14018b153
mov dword [rsp + 0x60], 0x2af9
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x20], 0
je 0x14018b18c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x20]
call qword [0x1404746e8]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x20], 0
cmp dword [rsp + 0x60], 0
je 0x14018b1e6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14018b1ac
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0xa0], eax
jmp 0x14018b1b7
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0xa8], ecx
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0xa8], 0
jne 0x14018b1e6
mov rax, qword [rsp + 0x48]
mov dword [rax + 0xa8], 8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x80], 0
je 0x14018b22c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x48]
call fcn.14018ab60
mov rcx, qword [rsp + 0x50]
call qword [fcn.1401476a7]
jmp 0x14018b2d2
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
cmp qword [rcx + rax + 0x98], 0xffffffffffffffff
je 0x14018b29b
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x84], 1
mov eax, 8
imul rax, rax, 1
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x84]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax + 0x98]
call qword [sym.imp.WS2_32.dll_send]
cdqe
test rax, rax
jge 0x14018b29b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0xa8], eax
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x14018b2d2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14014a9ba
add rsp, 0xb0
pop rdi
ret