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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x198]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0x1f
je 0x1403990bf
jmp 0x140399556
mov rax, qword [rsp + 0x78]
add rax, 0x1cd8
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x140399119
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x1403990d6
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x140399162
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
mov byte [rax], 0xfa
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x14039911f
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x1403991ab
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
mov byte [rax], Ordinal_32
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x140399168
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax + 0x1caa]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x54], ax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x140399247
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1ed8]
mov rdx, qword [rsp + 0x68]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x1403991f3
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x1403992a1
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1ed8]
mov rdx, qword [rsp + 0x68]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x14039924d
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x1403992fb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1ed8]
mov rdx, qword [rsp + 0x70]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x1403992a7
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x140399355
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1ed8]
mov rdx, qword [rsp + 0x70]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x140399301
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x14039939e
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
mov byte [rax], 0xff
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x14039935b
mov rax, qword [rsp + 0x78]
add rax, 0x1ed8
mov rcx, qword [rsp + 0x78]
cmp qword [rcx + 0x1ed8], rax
jae 0x1403993e7
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
mov byte [rax], 0xf0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x1ed8]
inc rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x1403993a4
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1ed8]
mov qword [rax + 0x1ee0], rcx
mov rax, qword [rsp + 0x78]
add rax, 0x1cd8
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x1ed8], rax
xor eax, eax
test eax, eax
jne 0x1403993ed
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x1ed8]
mov rax, qword [rax + 0x1ee0]
sub rax, rcx
sub rax, 2
mov rcx, qword [rsp + 0x78]
add rcx, 0x1cda
mov r9, rax
mov r8, rcx
mov edx, 0x3e
mov rcx, qword [rsp + 0xa0]
call fcn.140398490
mov rax, qword [rsp + 0x78]
add rax, 0x1cd8
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 3
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + rcx + 0x188]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x1403994cd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
lea rdx, [0x1404b9518]
mov rcx, qword [rsp + 0xa0]
call fcn.140157004
mov rax, qword [rsp + 0x78]
add rax, 0x1cdb
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.140399d10
mov rax, qword [rsp + 0x78]
add rax, 0x1cdf
mov ecx, 8
imul rcx, rcx, 0
xor r9d, r9d
mov r8d, 2
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + rcx + 0x188]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jge 0x140399556
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
lea rdx, str.Sending_data_failed___d_
mov rcx, qword [rsp + 0xa0]
call fcn.140157004
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401559a2
add rsp, 0x90
pop rdi
ret