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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
lea rdi, [rsp + 0x30]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x190]
mov rax, qword [0x140814ac0]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0x170], eax
cmp dword [rsp + 0x170], 3
je 0x1404fdb24
cmp dword [rsp + 0x170], 5
je 0x1404fdf4f
cmp dword [rsp + 0x170], 6
je 0x1404fdd15
cmp dword [rsp + 0x170], 7
je 0x1404fde2e
jmp 0x1404fdfed
mov rax, qword [rsp + 0x190]
add rax, 0x150
mov rcx, rax
call fcn.1404ff510
movzx eax, ax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x14c]
inc eax
and eax, 0xffff
cmp eax, dword [rsp + 0x38]
jne 0x1404fdb6e
mov rax, qword [rsp + 0x190]
mov dword [rax + 0x20], 0
jmp 0x1404fdbd1
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x14c]
cmp eax, dword [rsp + 0x38]
jne 0x1404fdb9c
mov r8d, dword [rsp + 0x38]
lea rdx, str.Received_last_DATA_packet_block__d_again.
mov rcx, qword [rsp + 0x40]
call fcn.1401dd854
nop
jmp 0x1404fdbd1
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x14c]
inc eax
and eax, 0xffff
mov r9d, eax
mov r8d, dword [rsp + 0x38]
lea rdx, str.Received_unexpected_DATA_packet_block__d__expecting_block__d
mov rcx, qword [rsp + 0x40]
call fcn.1401dd854
nop
jmp 0x1404fe00c
mov rax, qword [rsp + 0x190]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x14c], cx
mov rax, qword [rsp + 0x190]
add rax, 0x158
mov dx, 4
mov rcx, rax
call fcn.1404ff430
mov rax, qword [rsp + 0x190]
add rax, 0x158
mov rcx, qword [rsp + 0x190]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.1404ff480
mov rax, qword [rsp + 0x190]
add rax, 0xb8
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x138]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jge 0x1404fdcb8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1401dc477
mov r8, rax
lea rdx, [0x1407ff628]
mov rcx, qword [rsp + 0x40]
call fcn.1401df2ad
mov eax, gethostname
jmp 0x1404fe00e
mov rax, qword [rsp + 0x190]
movsxd rax, dword [rax + 0x13c]
mov rcx, qword [rsp + 0x190]
movsxd rcx, dword [rcx + 0x144]
add rcx, 4
cmp rax, rcx
jge 0x1404fdcef
mov rax, qword [rsp + 0x190]
mov dword [rax], 3
jmp 0x1404fdcfd
mov rax, qword [rsp + 0x190]
mov dword [rax], 1
xor ecx, ecx
call fcn.1404fda70
mov rcx, qword [rsp + 0x190]
mov qword [rcx + 0x30], rax
jmp 0x1404fe00c
xor eax, eax
mov rcx, qword [rsp + 0x190]
mov word [rcx + 0x14c], ax
mov rax, qword [rsp + 0x190]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x190]
add rax, 0x158
mov dx, 4
mov rcx, rax
call fcn.1404ff430
mov rax, qword [rsp + 0x190]
add rax, 0x158
mov rcx, qword [rsp + 0x190]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.1404ff480
mov rax, qword [rsp + 0x190]
add rax, 0xb8
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x138]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jge 0x1404fde08
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1401dc477
mov r8, rax
lea rdx, [0x1407ff62c]
mov rcx, qword [rsp + 0x40]
call fcn.1401df2ad
mov eax, gethostname
jmp 0x1404fe00e
mov rax, qword [rsp + 0x190]
mov dword [rax], 1
xor ecx, ecx
call fcn.1404fda70
mov rcx, qword [rsp + 0x190]
mov qword [rcx + 0x30], rax
jmp 0x1404fe00c
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x190]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x190]
movzx eax, word [rax + 0x14c]
inc eax
and eax, 0xffff
mov rcx, qword [rsp + 0x190]
mov r9d, dword [rcx + 0x20]
mov r8d, eax
lea rdx, str.Timeout_waiting_for_block__d_ACK._Retries___d
mov rcx, qword [rsp + 0x40]
call fcn.1401dd854
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1404fdeb6
mov rax, qword [rsp + 0x190]
mov dword [rax + 8], 0xffffff9d
mov rax, qword [rsp + 0x190]
mov dword [rax], 3
jmp 0x1404fdf4a
mov rax, qword [rsp + 0x190]
add rax, 0xb8
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x138]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jge 0x1404fdf4a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1401dc477
mov r8, rax
lea rdx, [0x1407ff660]
mov rcx, qword [rsp + 0x40]
call fcn.1401df2ad
mov eax, gethostname
jmp 0x1404fe00e
jmp 0x1404fe00c
mov rax, qword [rsp + 0x190]
add rax, 0x158
mov dx, 5
mov rcx, rax
call fcn.1404ff430
mov rax, qword [rsp + 0x190]
add rax, 0x158
mov rcx, qword [rsp + 0x190]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.1404ff480
mov rax, qword [rsp + 0x190]
add rax, 0xb8
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x138]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0x190]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rsp + 0x190]
mov dword [rax], 3
jmp 0x1404fe00c
lea r8, str.tftp_rx:_internal_error
lea rdx, [0x1407ff680]
mov rcx, qword [rsp + 0x40]
call fcn.1401df2ad
mov eax, 0x47
jmp 0x1404fe00e
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401d9736
add rsp, 0x180
pop rdi
ret