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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xe0
mov rax, qword [0x1401980c8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rcx + 0x10]
lea r8, str.octet
xor r12d, r12d
lea r14, str.netascii
mov rbx, rcx
mov esi, r12d
mov rdi, qword [rax]
mov ecx, dword [rdi + 0xe70]
bt ecx, 0xb
cmovae r14, r8
lea r8d, [r12 + 3]
test edx, edx
je 0x140033dee
sub edx, r8d
je 0x140033de6
sub edx, 1
je 0x140033dd7
sub edx, 1
je 0x140033dcf
sub edx, 1
je 0x140033db5
cmp edx, 1
je 0x140033dee
lea rdx, str.tftp_send_first:_internal_error
mov rcx, rdi
call fcn.140010ce0
jmp 0x1400340c3
bt ecx, 0x19
mov edx, 6
mov rcx, rbx
jb 0x140033ddf
call fcn.140033cd8
mov esi, eax
jmp 0x1400340c3
mov dword [rbx], r8d
jmp 0x1400340c3
mov edx, 4
mov rcx, rbx
call fcn.140033c88
jmp 0x140033dc8
mov edx, r8d
mov rcx, rbx
jmp 0x140033dc3
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x140033e0a
mov dword [rbx + 8], 0xffffff9e
xor eax, eax
mov dword [rbx], r8d
jmp 0x1400340c5
or r13, 0xffffffffffffffff
lea rcx, [rbx + 0x170]
test dword [rdi + 0xe70], 0x2000000
je 0x140033e59
lea edx, [r13 + 3]
call fcn.140033914
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
add rdx, 4
mov rcx, qword [rax]
mov qword [rcx + 0x1f0], rdx
mov rdx, qword [rdi + 0x13e0]
cmp rdx, r13
je 0x140033e63
mov rcx, rdi
call fcn.140023ca4
jmp 0x140033e63
mov edx, 1
call fcn.140033914
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x28], r12b
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x1448]
inc rdx
call fcn.14002e454
mov esi, eax
test eax, eax
jne 0x1400340c5
movsxd rdx, dword [rbx + 0x15c]
mov rcx, r13
inc rcx
cmp byte [r14 + rcx], r12b
jne 0x140033e9f
mov rbp, qword [rsp + 0x40]
mov rax, rdx
sub rax, rcx
mov rcx, r13
sub rax, 4
inc rcx
cmp byte [rcx + rbp], r12b
jne 0x140033eba
cmp rcx, rax
jbe 0x140033eea
lea rdx, str.TFTP_file_name_too_long_n
mov rcx, rdi
call fcn.140010ce0
mov rcx, rbp
call qword [fcn.1400b8804]
mov eax, 0x47
jmp 0x1400340c5
mov rcx, qword [rbx + 0x170]
lea r8, str._s_c_s_c
mov qword [rsp + 0x30], r12
add rcx, 2
mov qword [rsp + 0x28], r14
mov r9, rbp
mov qword [rsp + 0x20], r12
call fcn.14001f320
mov rcx, r13
inc rcx
cmp byte [rcx + rbp], r12b
jne 0x140033f16
mov rax, r13
inc rax
cmp byte [r14 + rax], r12b
jne 0x140033f22
lea r14, [rax + 4]
mov eax, dword [rdi + 0xe70]
add r14, rcx
test al, 8
jne 0x14003405f
mov r12d, reloc.SHELL32.dll_DriveType
bt eax, 0x19
jae 0x140033f6e
mov r9, qword [rdi + 0x13e0]
cmp r9, r13
je 0x140033f6e
lea r8, str._I64d
mov edx, r12d
lea rcx, [rsp + 0x50]
call fcn.14001f320
jmp 0x140033f78
mov eax, Ordinal_50
mov word [rsp + 0x50], ax
mov r8, qword [rbx + 0x170]
lea r9, str.tsize
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.140033c3c
mov r8, qword [rbx + 0x170]
lea r9, [rsp + 0x50]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.140033c3c
mov r9d, dword [rbx + 0x160]
lea r8, [0x14016f33c]
lea rcx, [rsp + 0x50]
mov rdx, r12
add r14, rax
call fcn.14001f320
mov r8, qword [rbx + 0x170]
lea r9, str.blksize
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.140033c3c
mov r8, qword [rbx + 0x170]
lea r9, [rsp + 0x50]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.140033c3c
mov r9d, dword [rbx + 0x24]
lea r8, [0x14016f33c]
lea rcx, [rsp + 0x50]
mov rdx, r12
add r14, rax
call fcn.14001f320
mov r8, qword [rbx + 0x170]
lea r9, str.timeout
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.140033c3c
mov r8, qword [rbx + 0x170]
lea r9, [rsp + 0x50]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.140033c3c
add r14, rax
mov rax, qword [rbx + 0x10]
xor r9d, r9d
mov rdx, qword [rbx + 0x170]
mov r8d, r14d
mov rcx, qword [rax + 0x70]
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rcx, eax
cmp rcx, r14
je 0x1400340ba
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, [rsp + 0x50]
call fcn.140029a88
mov r8, rax
lea rdx, [0x1401733b4]
mov rcx, rdi
call fcn.140010ce0
mov rcx, rbp
call qword [fcn.1400b8804]
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14008f320
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret