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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x9b0
mov rax, qword [0x180173200]
xor rax, rsp
mov qword [rsp + 0x9a0], rax
movzx eax, byte [0x180177b2f]
mov byte [rsp + 0x120], al
lea rax, [rsp + 0x121]
mov rdi, rax
xor eax, eax
mov ecx, 0x7f
rep stosb byte [rdi], al
movzx eax, byte [0x180177b30]
mov byte [rsp + 0xa0], al
lea rax, [rsp + 0xa1]
mov rdi, rax
xor eax, eax
mov ecx, 0x7f
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x9c0]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x1f8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x1eb8]
mov rax, qword [rax + 0x1ec0]
sub rax, rcx
add rax, 2
mov rcx, qword [rsp + 0x60]
add rcx, 0x1cb8
mov r9, rax
mov r8, rcx
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, qword [rsp + 0x68]
call fcn.1800a21b0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x1eb8]
movzx eax, byte [rax]
and eax, 0xff
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x1eb8], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x18
je 0x1800a2867
cmp dword [rsp + 0x70], 0x23
je 0x1800a2973
cmp dword [rsp + 0x70], 0x27
je 0x1800a2a7f
jmp 0x1800a2c89
mov rax, qword [rsp + 0x60]
add rax, 0x1c08
mov rcx, rax
call fcn.1800fb030
add rax, 6
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
add rax, 0x1c08
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_30
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, [0x18015f0f0]
mov edx, 0x800
lea rcx, [rsp + 0x1a0]
call fcn.18008f200
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x9c0]
mov rcx, qword [rcx + rax + 0x240]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jge 0x1800a293f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
lea rdx, [0x18015f100]
mov rcx, qword [rsp + 0x68]
call fcn.180060120
mov rax, qword [rsp + 0x50]
sub rax, 2
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x1a0]
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x68]
call fcn.1800a21b0
jmp 0x1800a2c89
mov rax, qword [rsp + 0x60]
add rax, 0x1c28
mov rcx, rax
call fcn.1800fb030
add rax, 6
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
add rax, 0x1c28
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_35
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rsp + 0x1a0]
call fcn.18008f200
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x9c0]
mov rcx, qword [rcx + rax + 0x240]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jge 0x1800a2a4b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
lea rdx, [0x18015f138]
mov rcx, qword [rsp + 0x68]
call fcn.180060120
mov rax, qword [rsp + 0x50]
sub rax, 2
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x1a0]
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x68]
call fcn.1800a21b0
jmp 0x1800a2c89
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_41
mov dword [rsp + 0x20], 0xfa
mov r9d, 0xff
lea r8, str._c_c_c_c
mov edx, 0x800
lea rcx, [rsp + 0x1a0]
call fcn.18008f200
mov qword [rsp + 0x50], 4
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x1cb0]
mov qword [rsp + 0x78], rax
jmp 0x1800a2ae1
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800a2bb4
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.1800fb030
inc rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
cmp rax, 0x7fa
jae 0x1800a2baf
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x120]
lea rdx, str._127_____127s
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.1800052e0
test eax, eax
je 0x1800a2baf
mov eax, 0x800
sub rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
lea rcx, [rsp + rcx + 0x1a0]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0x120]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str._c_s_c_s
mov rdx, rax
call fcn.18008f200
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x1800a2ad3
mov eax, 0x800
sub rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
lea rcx, [rsp + rcx + 0x1a0]
mov dword [rsp + 0x20], 0xf0
mov r9d, 0xff
lea r8, str._c_c
mov rdx, rax
call fcn.18008f200
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x9c0]
mov rcx, qword [rcx + rax + 0x240]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jge 0x1800a2c5a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
lea rdx, [0x18015f1a8]
mov rcx, qword [rsp + 0x68]
call fcn.180060120
mov rax, qword [rsp + 0x50]
sub rax, 2
mov ecx, 1
imul rcx, rcx, 2
lea rcx, [rsp + rcx + 0x1a0]
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x68]
call fcn.1800a21b0
mov rcx, qword [rsp + 0x9a0]
xor rcx, rsp
call fcn.1800e95d0
add rsp, 0x9b0
pop rdi
ret