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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1401150f0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rcx + 0x10]
lea rdi, str.netascii
xor r15d, r15d
movsxd r8, edx
mov rbx, rcx
mov ebp, r15d
mov r14, qword [rax]
lea rax, str.octet
mov edx, dword [r14 + 0xe70]
bt edx, 0xb
cmovae rdi, rax
cmp r8d, 7
ja case.0x1400d7da4.1
mov rax, r8
lea r8, [0x140000000]
mov ecx, dword [r8 + rax*4 + 0xd828c]
add rcx, r8
jmp rcx
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x1400d7dc5
mov dword [rbx + 8], 0xffffff9e
xor eax, eax
mov dword [rbx], 3
jmp 0x1400d8265
mov rax, qword [rbx + 0x170]
test dword [r14 + 0xe70], 0x2000000
mov byte [rax], bpl
mov rax, qword [rbx + 0x170]
je 0x1400d7e17
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 + 0x1f0], rdx
mov rdx, qword [r14 + 0x1410]
cmp rdx, 0xffffffffffffffff
je 0x1400d7e1b
mov rcx, r14
call fcn.1400c8b30
jmp 0x1400d7e1b
mov byte [rax + 1], 1
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x28], bpl
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x1478]
mov rcx, r14
inc rdx
call fcn.1400d14d0
mov ebp, eax
test eax, eax
jne 0x1400d8265
movsxd rdx, dword [rbx + 0x15c]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rdi + rax], r15b
jne 0x1400d7e61
mov r9, qword [rsp + 0x40]
mov rcx, rdx
sub rcx, rax
mov rax, rsi
sub rcx, 4
nop dword [rax]
inc rax
cmp byte [r9 + rax], r15b
jne 0x1400d7e80
cmp rax, rcx
jbe 0x1400d7eb2
lea rdx, str.TFTP_file_name_too_long_n
mov rcx, r14
call fcn.1400bb5b0
mov rcx, qword [rsp + 0x40]
call qword [0x140115008]
mov eax, 0x47
jmp 0x1400d8265
mov rcx, qword [rbx + 0x170]
lea r8, str._s_c_s_c
mov qword [rsp + 0x30], r15
add rcx, 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
call fcn.1400ca120
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], r15b
jne 0x1400d7ee0
mov rdx, qword [rsp + 0x40]
mov rax, rsi
cmp byte [rdx + rax + 1], r15b
lea rax, [rax + 1]
jne 0x1400d7ef1
lea rdi, [rax + 4]
mov eax, dword [r14 + 0xe70]
add rdi, rcx
test al, 8
jne 0x1400d81a5
bt eax, 0x19
jae 0x1400d7f3c
mov r9, qword [r14 + 0x1410]
cmp r9, rsi
je 0x1400d7f3c
lea r8, str._I64d
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400ca120
jmp 0x1400d7f46
mov eax, Ordinal_50
mov word [rsp + 0x50], ax
movsxd rdx, dword [rbx + 0x15c]
lea rcx, [rdi + 6]
cmp rcx, rdx
jbe 0x1400d7f5b
mov rax, r15
jmp 0x1400d7f8c
mov rdx, qword [rbx + 0x170]
lea rcx, str.tsize
add rdx, rdi
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400d7f70
mov edx, dword [rbx + 0x15c]
mov eax, 6
add rdi, rax
lea rcx, [rsp + 0x50]
mov rax, rsi
nop word [rax + rax]
cmp byte [rcx + rax + 1], r15b
lea rax, [rax + 1]
jne 0x1400d7fa0
lea rcx, [rax + 1]
movsxd rax, edx
add rcx, rdi
cmp rcx, rax
ja 0x1400d7fff
mov rdx, qword [rbx + 0x170]
lea rcx, [rsp + 0x50]
add rdx, rdi
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400d7fd0
lea rcx, [rsp + 0x50]
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x1400d7ff0
inc rdi
add rdi, rax
mov r9d, dword [rbx + 0x160]
lea r8, [0x140103f6c]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400ca120
movsxd rdx, dword [rbx + 0x15c]
lea rcx, [rdi + 8]
cmp rcx, rdx
jbe 0x1400d8031
mov rax, r15
jmp 0x1400d806c
mov rdx, qword [rbx + 0x170]
lea rcx, str.blksize
add rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400d8050
mov edx, dword [rbx + 0x15c]
mov eax, 8
add rdi, rax
lea rcx, [rsp + 0x50]
mov rax, rsi
nop word [rax + rax]
cmp byte [rcx + rax + 1], r15b
lea rax, [rax + 1]
jne 0x1400d8080
lea rcx, [rax + 1]
movsxd rax, edx
add rcx, rdi
cmp rcx, rax
ja 0x1400d80df
mov rdx, qword [rbx + 0x170]
lea rcx, [rsp + 0x50]
add rdx, rdi
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400d80b0
lea rcx, [rsp + 0x50]
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x1400d80d0
inc rdi
add rdi, rax
mov r9d, dword [rbx + 0x24]
lea r8, [0x140103f6c]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400ca120
movsxd rdx, dword [rbx + 0x15c]
lea rcx, [rdi + 8]
cmp rcx, rdx
ja 0x1400d813d
mov rdx, qword [rbx + 0x170]
lea rcx, str.timeout
add rdx, rdi
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400d8120
mov edx, dword [rbx + 0x15c]
mov r15d, 8
add rdi, r15
lea rcx, [rsp + 0x50]
mov rax, rsi
nop dword [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400d8150
lea rcx, [rax + 1]
movsxd rax, edx
add rcx, rdi
cmp rcx, rax
ja 0x1400d81a5
mov rdx, qword [rbx + 0x170]
lea rcx, [rsp + 0x50]
add rdx, rdi
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400d8180
lea rax, [rsp + 0x50]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400d8196
inc rdi
add rdi, rsi
mov rax, qword [rbx + 0x10]
xor r9d, r9d
mov rcx, qword [rbx + 0x18]
mov r8d, edi
mov rdx, qword [rax + 0x70]
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rdx + 0x20]
mov rdx, qword [rbx + 0x170]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rcx, eax
cmp rcx, rdi
je 0x1400d8206
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1400e7470
mov r8, rax
lea rdx, [0x140103f68]
mov rcx, r14
call fcn.1400bb5b0
mov rcx, qword [rsp + 0x40]
call qword [0x140115008]
jmp 0x1400d8263
bt edx, 0x19
mov rcx, rbx
mov edx, 6
jae 0x1400d8243
call fcn.1400d7490
mov ebp, eax
jmp 0x1400d8263
mov edx, 4
mov rcx, rbx
call fcn.1400d7490
mov ebp, eax
jmp 0x1400d8263
mov edx, 3
mov rcx, rbx
call fcn.1400d7440
mov ebp, eax
jmp 0x1400d8263
mov dword [rbx], 3
jmp 0x1400d8263
lea rdx, str.tftp_send_first:_internal_error
mov rcx, r14
call fcn.1400bb5b0
mov eax, ebp
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400f3620
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rsp, 0x28
mov rax, qword [rcx + 0x10]
mov r8d, dword [rcx]
mov r9, qword [rax]
test r8d, r8d
je 0x1400d84c1
sub r8d, 1
je 0x1400d84b8
sub r8d, 1
je 0x1400d84af
mov rcx, r9
cmp r8d, 1
je 0x1400d8495
lea r8, str.Internal_state_machine_error
lea rdx, [0x140103f68]
call fcn.1400bb5b0
mov eax, 0x47
add rsp, 0x28
ret
lea r8, str.TFTP_finished
lea rdx, [0x1400f6ea0]
call fcn.1400bb730
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.1400d85d0
add rsp, 0x28
jmp fcn.1400d7a00
add rsp, 0x28
jmp 0x1400d7d30