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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 3
je 0x140116e4e
cmp dword [rsp + 0x34], 5
je 0x140117261
cmp dword [rsp + 0x34], 6
je 0x14011702f
cmp dword [rsp + 0x34], 7
je 0x140117143
jmp 0x1401172fc
mov rax, qword [rsp + 0xf0]
add rax, 0x168
mov rcx, rax
call fcn.140117fa0
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x48]
inc eax
and eax, 0xffff
cmp eax, dword [rsp + 0x30]
jne 0x140116e95
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x20], 0
jmp 0x140116ef0
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x48]
cmp eax, dword [rsp + 0x30]
jne 0x140116ebf
mov r8d, dword [rsp + 0x30]
lea rdx, str.Received_last_DATA_packet_block__d_again._n
mov rcx, qword [rsp + 0x38]
call fcn.1400d2f70
jmp 0x140116ef0
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x48]
inc eax
and eax, 0xffff
mov r9d, eax
mov r8d, dword [rsp + 0x30]
lea rdx, str.Received_unexpected_DATA_packet_block__d__expecting_block__d_n
mov rcx, qword [rsp + 0x38]
call fcn.1400d2f70
jmp 0x14011731b
mov rax, qword [rsp + 0xf0]
movzx ecx, word [rsp + 0x30]
mov word [rax + 0x48], cx
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov dx, 4
mov rcx, rax
call fcn.140118070
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov rcx, qword [rsp + 0xf0]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.140118020
mov rax, qword [rsp + 0xf0]
add rax, 0xd0
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x150]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jge 0x140116fd1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1401031b0
mov r8, rax
lea rdx, [0x14019d084]
mov rcx, qword [rsp + 0x38]
call fcn.1400d3540
mov eax, gethostname
jmp 0x14011731d
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x154]
mov rcx, qword [rsp + 0xf0]
movsxd rcx, dword [rcx + 0x15c]
add rcx, 4
cmp rax, rcx
jge 0x140117008
mov rax, qword [rsp + 0xf0]
mov dword [rax], 3
jmp 0x140117016
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov rax, qword [rsp + 0xf0]
add rax, 0x40
mov rcx, rax
call fcn.140118340
jmp 0x14011731b
xor eax, eax
mov rcx, qword [rsp + 0xf0]
mov word [rcx + 0x48], ax
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov dx, 4
mov rcx, rax
call fcn.140118070
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov rcx, qword [rsp + 0xf0]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.140118020
mov rax, qword [rsp + 0xf0]
add rax, 0xd0
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x150]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jge 0x14011711c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1401031b0
mov r8, rax
lea rdx, [0x14019d064]
mov rcx, qword [rsp + 0x38]
call fcn.1400d3540
mov eax, gethostname
jmp 0x14011731d
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov rax, qword [rsp + 0xf0]
add rax, 0x40
mov rcx, rax
call fcn.140118340
jmp 0x14011731b
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x48]
inc eax
and eax, 0xffff
mov rcx, qword [rsp + 0xf0]
mov r9d, dword [rcx + 0x20]
mov r8d, eax
lea rdx, str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
mov rcx, qword [rsp + 0x38]
call fcn.1400d2f70
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1401171c8
mov rax, qword [rsp + 0xf0]
mov dword [rax + 8], 0xffffff9d
mov rax, qword [rsp + 0xf0]
mov dword [rax], 3
jmp 0x14011725c
mov rax, qword [rsp + 0xf0]
add rax, 0xd0
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x150]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jge 0x14011725c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1401031b0
mov r8, rax
lea rdx, [0x14019d014]
mov rcx, qword [rsp + 0x38]
call fcn.1400d3540
mov eax, gethostname
jmp 0x14011731d
jmp 0x14011731b
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov dx, 5
mov rcx, rax
call fcn.140118070
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov rcx, qword [rsp + 0xf0]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.140118020
mov rax, qword [rsp + 0xf0]
add rax, 0xd0
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x150]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rsp + 0xf0]
mov dword [rax], 3
jmp 0x14011731b
lea r8, str.tftp_rx:_internal_error
lea rdx, [0x14019d004]
mov rcx, qword [rsp + 0x38]
call fcn.1400d3540
mov eax, 0x47
jmp 0x14011731d
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140051d60
add rsp, 0xe8
ret