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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1c0
lea rdi, [rsp + 0x30]
mov ecx, 0x64
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d0]
mov rax, qword [0x14013be00]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x30]
add rax, 0xf0
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x1d8]
mov dword [rsp + 0x1b0], eax
cmp dword [rsp + 0x1b0], 4
je 0x14007eef8
cmp dword [rsp + 0x1b0], 5
je 0x14007f48e
cmp dword [rsp + 0x1b0], 6
je 0x14007eef8
cmp dword [rsp + 0x1b0], 7
je 0x14007f348
jmp 0x14007f53a
cmp dword [rsp + 0x1d8], 4
jne 0x14007f0d3
mov rax, qword [rsp + 0x1d0]
add rax, 0x150
mov rcx, rax
call fcn.140080310
movzx eax, ax
mov dword [rsp + 0x1a4], eax
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
cmp dword [rsp + 0x1a4], eax
je 0x14007f09d
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
test eax, eax
jne 0x14007ef66
cmp dword [rsp + 0x1a4], 0xffff
je 0x14007f09d
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
mov r9d, eax
mov r8d, dword [rsp + 0x1a4]
lea rdx, str.Received_ACK_for_block__d__expecting__d
mov rcx, qword [rsp + 0x30]
call fcn.14003d050
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x1d0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x14007eff1
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
mov r8d, eax
lea rdx, str.tftp_tx:_giving_up_waiting_for_block__d_ack
mov rcx, qword [rsp + 0x30]
call fcn.14003ce90
mov dword [rsp + 0x40], gethostname
jmp 0x14007f094
mov rax, qword [rsp + 0x1d0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x140]
add ecx, 4
mov rdx, qword [rsp + 0x1d0]
mov edx, dword [rdx + 0x138]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0x1d0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x14007f094
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, [0x140126fcc]
mov rcx, qword [rsp + 0x30]
call fcn.14003ce90
mov dword [rsp + 0x40], gethostname
mov eax, dword [rsp + 0x40]
jmp 0x14007f558
xor ecx, ecx
call fcn.14007e870
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
inc ax
mov rcx, qword [rsp + 0x1d0]
mov word [rcx + 0x14c], ax
jmp 0x14007f0e7
mov eax, 1
mov rcx, qword [rsp + 0x1d0]
mov word [rcx + 0x14c], ax
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x1d0]
add rax, 0x158
mov dx, 3
mov rcx, rax
call fcn.140080230
mov rax, qword [rsp + 0x1d0]
add rax, 0x158
mov rcx, qword [rsp + 0x1d0]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.140080280
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
cmp eax, 1
jle 0x14007f17c
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x144]
cmp dword [rax + 0x140], ecx
jge 0x14007f17c
mov rax, qword [rsp + 0x1d0]
mov dword [rax], 3
xor eax, eax
jmp 0x14007f558
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 0x140], 0
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax + 0x158]
add rax, 4
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x140]
mov eax, dword [rax + 0x144]
sub eax, ecx
cdqe
lea rcx, [rsp + 0x194]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x30]
call fcn.14003e5f0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14007f204
mov eax, dword [rsp + 0x40]
jmp 0x14007f558
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x140]
add eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1d0]
mov dword [rcx + 0x140], eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x144]
cmp dword [rax + 0x140], ecx
jge 0x14007f269
cmp qword [rsp + 0x58], 0
jne 0x14007f1a9
mov rax, qword [rsp + 0x1d0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x140]
add ecx, 4
mov rdx, qword [rsp + 0x1d0]
mov edx, dword [rdx + 0x138]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0x1d0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x14007f30e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, [0x140126fd0]
mov rcx, qword [rsp + 0x30]
call fcn.14003ce90
mov eax, gethostname
jmp 0x14007f558
mov rax, qword [rsp + 0x1d0]
movsxd rax, dword [rax + 0x140]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
call fcn.140066150
nop
jmp 0x14007f554
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x1d0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1d0]
movzx eax, word [rax + 0x14c]
inc eax
and eax, 0xffff
mov rcx, qword [rsp + 0x1d0]
mov r9d, dword [rcx + 0x20]
mov r8d, eax
lea rdx, str.Timeout_waiting_for_block__d_ACK.__Retries___d
mov rcx, qword [rsp + 0x30]
call fcn.14003d050
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x14007f3d0
mov rax, qword [rsp + 0x1d0]
mov dword [rax + 8], 0xffffff9d
mov rax, qword [rsp + 0x1d0]
mov dword [rax], 3
jmp 0x14007f489
mov rax, qword [rsp + 0x1d0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1d0]
mov ecx, dword [rcx + 0x140]
add ecx, 4
mov rdx, qword [rsp + 0x1d0]
mov edx, dword [rdx + 0x138]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0x1d0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x14007f475
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, [0x140127008]
mov rcx, qword [rsp + 0x30]
call fcn.14003ce90
mov eax, gethostname
jmp 0x14007f558
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
call fcn.140066150
nop
jmp 0x14007f554
mov rax, qword [rsp + 0x1d0]
mov dword [rax], 3
mov rax, qword [rsp + 0x1d0]
add rax, 0x158
mov dx, 5
mov rcx, rax
call fcn.140080230
mov rax, qword [rsp + 0x1d0]
add rax, 0x158
mov rcx, qword [rsp + 0x1d0]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.140080280
mov rax, qword [rsp + 0x1d0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1d0]
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 + 0x1d0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rsp + 0x1d0]
mov dword [rax], 3
jmp 0x14007f554
mov r8d, dword [rsp + 0x1d8]
lea rdx, str.tftp_tx:_internal_error__event:__i
mov rcx, qword [rsp + 0x30]
call fcn.14003ce90
nop
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400d050c
mov rax, rdi
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1400d0280
add rsp, 0x1c0
pop rdi
ret