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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14009d810]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r15d, r15d
mov rbx, rcx
lea rcx, str.octet
mov rax, qword [rbx + 0x10]
lea r14, str.netascii
mov esi, r15d
mov rdi, qword [rax]
cmp dword [rdi + 0x778], r15d
cmove r14, rcx
lea ecx, [r15 + 3]
test edx, edx
je 0x14002999d
sub edx, ecx
je 0x140029996
dec edx
je 0x140029987
dec edx
je 0x140029980
dec edx
je 0x140029963
dec edx
je 0x14002999d
lea rdx, str.tftp_send_first:_internal_error
mov rcx, rdi
call fcn.140015ff0
jmp 0x140029c6b
mov edx, 6
mov rcx, rbx
cmp dword [rdi + 0x7b0], r15d
jne 0x14002998f
call fcn.140029060
mov esi, eax
jmp 0x140029c6b
mov dword [rbx], ecx
jmp 0x140029c6b
mov edx, 4
mov rcx, rbx
call fcn.1400290b0
jmp 0x140029979
mov edx, ecx
mov rcx, rbx
jmp 0x140029974
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x1400299b8
mov dword [rbx + 8], 0xffffff9e
mov dword [rbx], ecx
xor eax, eax
jmp 0x140029c6d
mov rax, qword [rbx + 0x170]
or r12, 0xffffffffffffffff
cmp dword [rdi + 0x7b0], r15d
mov byte [rax], r15b
mov rax, qword [rbx + 0x170]
je 0x140029a09
mov byte [rax + 1], 2
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
mov rcx, qword [rax]
add rdx, 4
mov qword [rcx + 0x1f0], rdx
mov rdx, qword [rdi + 0x5138]
cmp rdx, r12
je 0x140029a0d
mov rcx, rdi
call fcn.14001fed8
jmp 0x140029a0d
mov byte [rax + 1], 1
mov rax, qword [rbx + 0x10]
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, qword [rax]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov rdx, qword [rcx + 0x5100]
mov rcx, rdi
inc rdx
call fcn.140036454
mov esi, eax
test eax, eax
jne 0x140029c6d
movsxd rdx, dword [rbx + 0x15c]
mov rcx, r12
inc rcx
cmp byte [r14 + rcx], r15b
jne 0x140029a4b
mov r9, qword [rbp - 0x39]
mov rax, rdx
sub rax, rcx
mov rcx, r12
sub rax, 4
inc rcx
cmp byte [r9 + rcx], r15b
jne 0x140029a65
cmp rcx, rax
jbe 0x140029a96
lea rdx, str.TFTP_file_name_too_long_n
mov rcx, rdi
call fcn.140015ff0
mov rcx, qword [rbp - 0x39]
call qword [fcn.140043a0c]
mov eax, 0x47
jmp 0x140029c6d
mov rcx, qword [rbx + 0x170]
mov qword [rsp + 0x30], r15
lea r8, str._s_c_s_c
add rcx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.140021c0c
mov rax, qword [rbp - 0x39]
mov rcx, r12
inc rcx
cmp byte [rax + rcx], r15b
jne 0x140029ac3
mov rax, r12
inc rax
cmp byte [r14 + rax], r15b
jne 0x140029acf
lea r14, [rax + 4]
add r14, rcx
cmp dword [rdi + 0x34c], r15d
jne 0x140029c07
mov r13d, 0x40
cmp dword [rdi + 0x7b0], r15d
je 0x140029b1c
mov r9, qword [rdi + 0x5138]
cmp r9, r12
je 0x140029b1c
lea r8, str._I64d
lea rcx, [rbp - 0x29]
mov edx, r13d
call fcn.140021c0c
jmp 0x140029b25
mov eax, Ordinal_50
mov word [rbp - 0x29], ax
mov r8, qword [rbx + 0x170]
lea r9, str.tsize
mov rdx, r14
add r8, r14
mov rcx, rbx
call fcn.140029100
mov r8, qword [rbx + 0x170]
lea r9, [rbp - 0x29]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.140029100
mov r9d, dword [rbx + 0x160]
lea r8, [0x140093730]
lea rcx, [rbp - 0x29]
mov rdx, r13
add r14, rax
call fcn.140021c0c
mov r8, qword [rbx + 0x170]
lea r9, str.blksize
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.140029100
mov r8, qword [rbx + 0x170]
lea r9, [rbp - 0x29]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.140029100
mov r9d, dword [rbx + 0x24]
lea r8, [0x140093730]
lea rcx, [rbp - 0x29]
mov rdx, r13
add r14, rax
call fcn.140021c0c
mov r8, qword [rbx + 0x170]
lea r9, str.timeout
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.140029100
mov r8, qword [rbx + 0x170]
lea r9, [rbp - 0x29]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.140029100
add r14, rax
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
xor r9d, r9d
mov rcx, qword [rax + 0x70]
mov r8d, r14d
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 0x140029c61
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x10]
mov edx, eax
call fcn.140023890
lea rdx, [0x1400937dc]
mov rcx, rdi
mov r8, rax
call fcn.140015ff0
mov rcx, qword [rbp - 0x39]
call qword [fcn.140043a0c]
mov eax, esi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140042af0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret