Function at 0x14009f5d8
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 [0x1402b1510]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r15d, r15d
lea r14, str.netascii
mov rbx, rcx
mov edi, r15d
lea rcx, str.octet
lea r12d, [r15 + 3]
mov rax, qword [rbx + 0x10]
mov rsi, qword [rax]
cmp byte [rsi + 0xbeb], r15b
cmove r14, rcx
test edx, edx
je 0x14009f703
sub edx, r12d
je 0x14009f6e6
sub edx, 1
je 0x14009f6c1
sub edx, 1
je 0x14009f6b9
sub edx, 1
je 0x14009f66c
cmp edx, 1
je 0x14009f703
lea rdx, str.tftp_send_first:_internal_error
mov rcx, rsi
call fcn.14007dc94
jmp 0x14009f9e5
mov rcx, rbx
cmp byte [rsi + 0xbf9], r15b
je 0x14009f692
mov dword [rbx], 2
call fcn.14009fa10
mov edi, eax
test eax, eax
jne 0x14009f9e5
lea edx, [rax + 6]
jmp 0x14009f6dc
mov dword [rbx], 1
call fcn.14009fa10
mov edi, eax
test eax, eax
jne 0x14009f9e5
lea edx, [rax + 6]
mov rcx, rbx
call fcn.14009f33c
mov edi, eax
jmp 0x14009f9e5
mov dword [rbx], r12d
jmp 0x14009f9e5
mov rcx, rbx
mov dword [rbx], 2
call fcn.14009fa10
mov edi, eax
test eax, eax
jne 0x14009f9e5
lea edx, [rax + 4]
mov rcx, rbx
call fcn.14009fc3c
jmp 0x14009f6b2
mov rcx, rbx
mov dword [rbx], 1
call fcn.14009fa10
mov edi, eax
test eax, eax
jne 0x14009f9e5
mov edx, r12d
jmp 0x14009f6aa
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x14009f71f
mov dword [rbx + 8], 0xffffff9e
xor eax, eax
mov dword [rbx], r12d
jmp 0x14009f9e7
or r12, 0xffffffffffffffff
cmp byte [rsi + 0xbf9], r15b
je 0x14009f770
mov rax, qword [rbx + 0x170]
mov byte [rax], r15b
mov rax, qword [rbx + 0x170]
mov byte [rax + 1], 2
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
add rdx, 4
mov rcx, qword [rax]
mov qword [rcx + 0x210], rdx
mov rdx, qword [rsi + 0x14f0]
cmp rdx, r12
je 0x14009f78a
mov rcx, rsi
call fcn.140087a08
jmp 0x14009f78a
mov ecx, r15d
mov rdx, r15
mov rax, qword [rbx + 0x170]
mov byte [rdx + rax], cl
inc ecx
inc rdx
cmp ecx, 2
jl 0x14009f776
mov rax, qword [rbx + 0x10]
lea r9, [rbp - 0x39]
mov byte [rsp + 0x28], r15b
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x1560]
mov rcx, rsi
inc rdx
call fcn.1400915f4
mov edi, eax
test eax, eax
jne 0x14009f9e7
movsxd rdx, dword [rbx + 0x15c]
mov rcx, r12
inc rcx
cmp byte [r14 + rcx], r15b
jne 0x14009f7c8
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 0x14009f7e2
cmp rcx, rax
jbe 0x14009f813
lea rdx, str.TFTP_file_name_too_long_n
mov rcx, rsi
call fcn.14007dc94
mov rcx, qword [rbp - 0x39]
call qword [fcn.1401d7128]
mov eax, 0x47
jmp 0x14009f9e7
mov rcx, qword [rbx + 0x170]
lea r8, str._s_c_s_c
mov qword [rsp + 0x30], r15
add rcx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.140089898
mov rax, qword [rbp - 0x39]
mov rcx, r12
inc rcx
cmp byte [rax + rcx], r15b
jne 0x14009f840
mov rax, r12
inc rax
cmp byte [r14 + rax], r15b
jne 0x14009f84c
lea r14, [rax + 4]
add r14, rcx
cmp byte [rsi + 0x7d8], r15b
jne 0x14009f984
mov r13d, 0x40
cmp byte [rsi + 0xbf9], r15b
je 0x14009f899
mov r9, qword [rsi + 0x14f0]
cmp r9, r12
je 0x14009f899
lea r8, str._I64d
mov edx, r13d
lea rcx, [rbp - 0x29]
call fcn.140089898
jmp 0x14009f8a2
mov eax, Ordinal_50
mov word [rbp - 0x29], ax
mov r8, qword [rbx + 0x170]
lea r9, str.tsize
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.14009eec0
mov r8, qword [rbx + 0x170]
lea r9, [rbp - 0x29]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.14009eec0
mov r9d, dword [rbx + 0x160]
lea r8, [0x140202cf0]
lea rcx, [rbp - 0x29]
mov rdx, r13
add r14, rax
call fcn.140089898
mov r8, qword [rbx + 0x170]
lea r9, str.blksize
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.14009eec0
mov r8, qword [rbx + 0x170]
lea r9, [rbp - 0x29]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.14009eec0
mov r9d, dword [rbx + 0x24]
lea r8, [0x140202cf0]
lea rcx, [rbp - 0x29]
mov rdx, r13
add r14, rax
call fcn.140089898
mov r8, qword [rbx + 0x170]
lea r9, str.timeout
add r8, r14
mov rdx, r14
mov rcx, rbx
call fcn.14009eec0
mov r8, qword [rbx + 0x170]
lea r9, [rbp - 0x29]
add r14, rax
mov rcx, rbx
add r8, r14
mov rdx, r14
call fcn.14009eec0
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]
cmp eax, r14d
je 0x14009f9db
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x10]
mov edx, eax
call fcn.1400a3b6c
mov r8, rax
lea rdx, [0x1402061cc]
mov rcx, rsi
call fcn.14007dc94
mov rcx, qword [rbp - 0x39]
call qword [fcn.1401d7128]
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401d08c0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret