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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x1a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x1f
je 0x14010d880
jmp 0x14010dd05
mov rax, qword [rsp + 0x20]
add rax, 0x1cb8
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010d8da
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010d897
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010d923
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xfa
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010d8e0
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010d96c
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0x1f
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010d929
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax + 0x1caa]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x2c], ax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010da08
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010d9b4
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010da62
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010da0e
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010dabc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x48]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010da68
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010db16
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x48]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010dac2
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010db5f
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010db1c
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x14010dba8
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], 0xf0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010db65
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov qword [rax + 0x1ec0], rcx
mov rax, qword [rsp + 0x20]
add rax, 0x1cb8
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x1eb8], rax
xor eax, eax
test eax, eax
jne 0x14010dbae
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rax, qword [rax + 0x1ec0]
sub rax, rcx
sub rax, 2
mov rcx, qword [rsp + 0x20]
add rcx, 0x1cba
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0x70]
call fcn.14010cd20
mov rax, qword [rsp + 0x20]
add rax, 0x1cb8
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 3
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + rcx + 0x1a8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x14010dc85
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1401e0c18]
mov rcx, qword [rsp + 0x70]
call fcn.1400e22e0
mov rax, qword [rsp + 0x20]
add rax, 0x1cbb
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14010e3e0
mov rax, qword [rsp + 0x20]
add rax, 0x1cbf
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 2
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + rcx + 0x1a8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x14010dd05
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, str.Sending_data_failed___d_
mov rcx, qword [rsp + 0x70]
call fcn.1400e22e0
add rsp, 0x68
ret