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

Disassembly:
cmp edx, 0x1f
jne 0x14008da38
mov rax, rsp
push rsi
push r14
push r15
sub rsp, 0x60
mov r15, qword [rcx]
mov qword [rax + 0x18], rbx
mov qword [rax - 0x20], rbp
mov r14, qword [r15 + 0x1a8]
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
lea rdi, [r14 + 0x1cb8]
lea rbx, [r14 + 0x1eb8]
mov rsi, rcx
cmp rdi, rbx
mov qword [rbx], rdi
mov qword [rax - 0x38], r13
jae 0x14008d7f3
mov byte [rdi], 0xff
add qword [rbx], 1
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14008d802
mov byte [rax], 0xfa
add qword [rbx], 1
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14008d811
mov byte [rax], Ordinal_32
add qword [rbx], 1
movzx ecx, word [r14 + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [r14 + 0x1caa]
movzx ebp, ax
mov word [rsp + 0x88], ax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbx]
movzx r11d, ax
mov word [rsp + 0x80], ax
cmp rcx, rbx
jae 0x14008d853
mov byte [rcx], bpl
add qword [rbx], 1
mov rdx, qword [rbx]
cmp rdx, rbx
jae 0x14008d869
movzx ecx, byte [rsp + 0x89]
mov byte [rdx], cl
add qword [rbx], 1
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14008d878
mov byte [rax], r11b
add qword [rbx], 1
mov rcx, qword [rbx]
cmp rcx, rbx
jae 0x14008d88e
movzx eax, byte [rsp + 0x81]
mov byte [rcx], al
add qword [rbx], 1
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14008d89d
mov byte [rax], 0xff
add qword [rbx], 1
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14008d8ac
mov byte [rax], 0xf0
add qword [rbx], 1
mov rax, qword [rbx]
lea r8, [r14 + 0x1cba]
mov edx, 0x3e
mov r9, rax
mov rcx, r15
mov qword [rbx], rdi
sub r9, rdi
mov qword [r14 + 0x1ec0], rax
sub r9, 2
call fcn.14008ca30
mov rcx, qword [rsi + 0x1d0]
xor r9d, r9d
lea r8d, [r9 + 3]
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14008d90a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r15
mov r8d, eax
call fcn.140075620
mov r12d, 4
lea r13, [r14 + 0x1cbb]
nop
nop
nop
mov rax, r12
sub r12, 1
test rax, rax
je 0x14008d9dc
movzx eax, byte [r13]
add r13, 1
mov ebp, 1
cmp al, 0xff
mov byte [rsp + 0x88], al
jne 0x14008d955
mov byte [rsp + 0x89], al
mov ebp, 2
xor ebx, ebx
nop
nop
nop
mov rax, qword [rsi + 0x1d0]
or r8d, 0xffffffff
lea rcx, [rsp + 0x30]
lea edx, [r8 + 2]
mov qword [rsp + 0x30], rax
mov word [rsp + 0x38], 4
call fcn.140067bf0
add eax, 1
cmp eax, 1
jbe 0x14008d9dc
mov rdx, qword [rsi + 0x1d0]
lea rax, [rsp + 0x80]
movsxd rdi, ebp
mov r9, rdi
lea r8, [rsp + rbx + 0x88]
mov rcx, rsi
sub r9, rbx
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x20], rax
call fcn.1400750e0
add rbx, qword [rsp + 0x80]
test eax, eax
jne 0x14008d9dc
cmp rbx, rdi
jl 0x14008d960
jmp 0x14008d920
mov rcx, qword [rsi + 0x1d0]
xor r9d, r9d
lea rdx, [r14 + 0x1cbf]
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
test eax, eax
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
jns 0x14008da2f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r15
mov r8d, eax
call fcn.140075620
add rsp, 0x60
pop r15
pop r14
pop rsi
ret 0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
movsxd rbp, edx
mov rsi, rcx
mov rbx, qword [rax + 0x1a8]
mov ecx, dword [rbx + rbp*4 + 8]
test ecx, ecx
je 0x14008dafd
sub ecx, 2
je 0x14008dab3
cmp ecx, 1
jne 0x14008dae6
mov ecx, dword [rbx + rbp*4 + 0x408]
test ecx, ecx
je 0x14008da9e
cmp ecx, 1
jne 0x14008dae6
mov dword [rbx + rbp*4 + 8], ecx
mov dword [rbx + rbp*4 + 0x408], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx + rbp*4 + 8], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rbx + rbp*4 + 0x408]
test ecx, ecx
je 0x14008daf3
cmp ecx, 1
jne 0x14008dae6
mov dword [rbx + rbp*4 + 8], 3
mov dword [rbx + rbp*4 + 0x1008], 0
mov r8d, ebp
mov edx, 0xfc
mov rcx, rsi
call fcn.14008c550
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx + rbp*4 + 8], 1
jmp 0x14008db7c
cmp dword [rbx + rbp*4 + 0x808], 1
jne 0x14008dba0
mov dword [rbx + rbp*4 + 8], 1
mov rcx, qword [rsi + 0x1d0]
xor r9d, r9d
lea rdx, [rsp + 0x48]
lea r8d, [r9 + 3]
mov qword [rsp + 0x40], r12
mov r12, qword [rsi]
mov byte [rsp + 0x48], 0xff
mov byte [rsp + 0x49], 0xfb
mov byte [rsp + 0x4a], bpl
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14008db5f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r12
mov r8d, eax
call fcn.140075620
mov rcx, qword [rsi]
lea rdx, str.SENT
mov r9d, ebp
mov r8d, 0xfb
call fcn.14008c410
mov r12, qword [rsp + 0x40]
cmp dword [rbx + rbp*4 + 0x1808], 1
jne 0x14008dae6
mov edx, ebp
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp 0x14008d7a0
cmp dword [rbx + rbp*4 + 0x1808], 1
jne 0x14008dad6
mov r8d, ebp
mov edx, 0xfb
mov rcx, rsi
mov dword [rbx + rbp*4 + 8], 1
call fcn.14008c550
mov edx, ebp
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp 0x14008d7a0