Function at 0x1400fad60
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]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x1f8]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x1f
je 0x1400fad9f
jmp 0x1400fb224
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 0x1400fadf9
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 0x1400fadb6
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400fae42
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 0x1400fadff
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400fae8b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x1eb8]
mov byte [rax], Ordinal_33
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 0x1400fae48
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 + 0x30], ax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400faf27
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x50]
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 0x1400faed3
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400faf81
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x50]
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 0x1400faf2d
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400fafdb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x58]
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 0x1400faf87
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400fb035
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x1eb8]
mov rdx, qword [rsp + 0x58]
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 0x1400fafe1
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400fb07e
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 0x1400fb03b
mov rax, qword [rsp + 0x20]
add rax, 0x1eb8
mov rcx, qword [rsp + 0x20]
cmp qword [rcx + 0x1eb8], rax
jae 0x1400fb0c7
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 0x1400fb084
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 0x1400fb0cd
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 + 0x38]
call fcn.1400fbc20
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 + 0x70]
mov rcx, qword [rax + rcx + 0x238]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jge 0x1400fb1a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x2c], eax
mov r8d, dword [rsp + 0x2c]
lea rdx, [0x140160ce0]
mov rcx, qword [rsp + 0x38]
call fcn.1400c3080
mov rax, qword [rsp + 0x20]
add rax, 0x1cbb
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400fa270
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 + 0x70]
mov rcx, qword [rax + rcx + 0x238]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jge 0x1400fb224
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x2c], eax
mov r8d, dword [rsp + 0x2c]
lea rdx, str.Sending_data_failed___d_
mov rcx, qword [rsp + 0x38]
call fcn.1400c3080
add rsp, 0x68
ret