Function at 0x140193220
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 0x140193534
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
jmp 0x1401932bb
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1401934ed
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x18], 0
je 0x1401932ee
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call fcn.140144708
inc rax
mov qword [rsp + 0x98], rax
jmp 0x1401932fa
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 0x14019331d
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
jmp 0x140193338
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x17
jne 0x140193333
mov qword [rsp + 0x20], Ordinal_33
jmp 0x140193338
jmp 0x1401932ad
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140193350
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x10], 0
ja 0x140193355
jmp 0x1401932ad
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp qword [rax + 0x10], rcx
jae 0x14019336a
jmp 0x1401932ad
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx + 0x30]
mov rcx, rax
call qword [fcn.14014815a]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14019339c
mov dword [rsp + 0x60], 8
jmp 0x1401934ed
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.1401475c0
cmp qword [rsp + 0x68], 0
je 0x1401934b6
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 0x140193472
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
jae 0x1401934a4
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 0x140193465
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 0x1401934c8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x40], 0
je 0x1401934de
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 0x1401932ad
cmp dword [rsp + 0x60], 0
je 0x140193509
mov rcx, qword [rsp + 0x38]
call fcn.140148a15
mov qword [rsp + 0x38], 0
jmp 0x140193523
cmp qword [rsp + 0x38], 0
jne 0x140193523
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 0x14019355c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x20]
call qword [0x140471668]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x20], 0
cmp dword [rsp + 0x60], 0
je 0x1401935b6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14019357c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0xa0], eax
jmp 0x140193587
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 0x1401935b6
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 0x1401935fc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x48]
call fcn.140192f30
mov rcx, qword [rsp + 0x50]
call qword [fcn.14014674c]
jmp 0x1401936a2
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
cmp qword [rcx + rax + 0x98], 0xffffffffffffffff
je 0x14019366b
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 0x14019366b
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 0x1401936a2
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.140149b1d
add rsp, 0xb0
pop rdi
ret