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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
cmp qword [rsp + 0x88], 0
je 0x14001bc6e
cmp qword [rsp + 0x90], 0
jne 0x14001bca7
call fcn.1400318f4
mov dword [rax], reloc.WS2_32.dll_shutdown
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
lea rcx, str.send___ERROR_invalid_arguments__buf:_p__len:_d__io:_p
call fcn.140003a10
mov eax, 0xffffffff
jmp 0x14001c038
cmp dword [rsp + 0x98], 0
je 0x14001bcda
call fcn.1400318f4
mov dword [rax], 0x81
mov rdx, qword [rsp + 0x80]
lea rcx, str.send___ERROR:_flags_are_not_currently_supported__io:_p
call fcn.140003a10
mov eax, 0xffffffff
jmp 0x14001c038
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0
je 0x14001bd3e
mov rcx, qword [rsp + 0x80]
call fcn.1400148f0
test eax, eax
je 0x14001bd29
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0
je 0x14001bd27
mov r8d, 0xffffffff
xor edx, edx
xor ecx, ecx
call fcn.140019e30
cmp eax, 0xffffffff
jne 0x14001bd25
mov eax, 0xffffffff
jmp 0x14001c038
jmp 0x14001bcf9
jmp 0x14001bd3e
call fcn.1400318f4
mov dword [rax], listen
mov eax, 0xffffffff
jmp 0x14001c038
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x78], 0
je 0x14001bd94
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x78]
call fcn.14001c240
mov dword [rsp + 0x4c], eax
call fcn.1400318f4
mov ecx, dword [rsp + 0x4c]
mov dword [rax], ecx
mov r8, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0x78]
lea rcx, str.ERROR:_d__io:_p
call fcn.140003a10
mov eax, 0xffffffff
jmp 0x14001c038
mov dword [rsp + 0x58], 0x11800
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x60], 0
jne 0x14001be15
mov eax, dword [rsp + 0x58]
mov ecx, eax
call fcn.140031834
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14001bdf3
call fcn.1400318f4
mov dword [rax], listen
call fcn.1400318f4
mov r8, qword [rsp + 0x80]
mov edx, dword [rax]
lea rcx, str.send___ERROR:_d__io:_p
call fcn.140003a10
mov eax, 0xffffffff
jmp 0x14001c038
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x68], ecx
jmp 0x14001be26
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x58], eax
jae 0x14001be3d
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x44], eax
jmp 0x14001be48
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x58]
mov r9d, eax
mov r8, qword [rsp + 0x88]
mov edx, ecx
mov rcx, qword [rsp + 0x60]
call fcn.14001a620
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14001be94
mov edx, dword [rsp + 0x40]
lea rcx, [0x140074c70]
call fcn.140003a10
mov eax, 0xffffffff
jmp 0x14001c038
mov rax, qword [rsp + 0x80]
add rax, 0x20
lea rcx, [0x14001c7b0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x90]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14001bf65
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x74], 1
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x6c], ecx
mov edx, 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SleepEx]
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0
jne 0x14001bf2e
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x6c], 0
je 0x14001bf57
call fcn.1400318f4
mov dword [rax], 0x83
mov rdx, qword [rsp + 0x80]
lea rcx, str.send___ERROR:_Unexpected_IO_state__io:_p
call fcn.140003a10
mov eax, 0xffffffff
jmp 0x14001c038
mov eax, dword [rsp + 0x58]
jmp 0x14001c038
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x14001bffb
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x74], 1
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x6c], ecx
mov rcx, qword [rsp + 0x80]
call fcn.1400148f0
test eax, eax
je 0x14001bff3
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0
je 0x14001bff3
mov r8d, 0xffffffff
xor edx, edx
xor ecx, ecx
call fcn.140019e30
cmp eax, 0xffffffff
jne 0x14001bff1
call fcn.1400318f4
cmp dword [rax], 4
jne 0x14001bfdf
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x74], 0
je 0x14001bfe6
mov eax, 0xffffffff
jmp 0x14001c038
call fcn.1400318f4
mov dword [rax], 0
jmp 0x14001bfa5
mov eax, dword [rsp + 0x58]
jmp 0x14001c038
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14001c240
mov dword [rsp + 0x50], eax
call fcn.1400318f4
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, qword [rsp + 0x80]
mov edx, eax
lea rcx, str.send___WSASend___ERROR:_d__io:_p
call fcn.140003a10
mov eax, 0xffffffff
add rsp, 0x78
ret