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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x180173200]
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 0x1800a4a7e
cmp dword [rsp + 0x34], 5
je 0x1800a4e91
cmp dword [rsp + 0x34], 6
je 0x1800a4c5f
cmp dword [rsp + 0x34], 7
je 0x1800a4d73
jmp 0x1800a4f2c
mov rax, qword [rsp + 0xf0]
add rax, 0x168
mov rcx, rax
call fcn.1800a63f0
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 0x1800a4ac5
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x20], 0
jmp 0x1800a4b20
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x48]
cmp eax, dword [rsp + 0x30]
jne 0x1800a4aef
mov r8d, dword [rsp + 0x30]
lea rdx, str.Received_last_DATA_packet_block__d_again._n
mov rcx, qword [rsp + 0x38]
call fcn.18005ffc0
jmp 0x1800a4b20
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.18005ffc0
jmp 0x1800a4f4b
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.1800a6310
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov rcx, qword [rsp + 0xf0]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.1800a6360
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 0x1800a4c01
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1800c2ee0
mov r8, rax
lea rdx, [0x18015fae4]
mov rcx, qword [rsp + 0x38]
call fcn.180060120
mov eax, gethostname
jmp 0x1800a4f4d
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 0x1800a4c38
mov rax, qword [rsp + 0xf0]
mov dword [rax], 3
jmp 0x1800a4c46
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov rax, qword [rsp + 0xf0]
add rax, 0x40
mov rcx, rax
call fcn.1800a49f0
jmp 0x1800a4f4b
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.1800a6310
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov rcx, qword [rsp + 0xf0]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.1800a6360
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 0x1800a4d4c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1800c2ee0
mov r8, rax
lea rdx, [0x18015fb04]
mov rcx, qword [rsp + 0x38]
call fcn.180060120
mov eax, gethostname
jmp 0x1800a4f4d
mov rax, qword [rsp + 0xf0]
mov dword [rax], 1
mov rax, qword [rsp + 0xf0]
add rax, 0x40
mov rcx, rax
call fcn.1800a49f0
jmp 0x1800a4f4b
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.18005ffc0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1800a4df8
mov rax, qword [rsp + 0xf0]
mov dword [rax + 8], 0xffffff9d
mov rax, qword [rsp + 0xf0]
mov dword [rax], 3
jmp 0x1800a4e8c
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 0x1800a4e8c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1800c2ee0
mov r8, rax
lea rdx, [0x18015fb2c]
mov rcx, qword [rsp + 0x38]
call fcn.180060120
mov eax, gethostname
jmp 0x1800a4f4d
jmp 0x1800a4f4b
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov dx, 5
mov rcx, rax
call fcn.1800a6310
mov rax, qword [rsp + 0xf0]
add rax, 0x170
mov rcx, qword [rsp + 0xf0]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.1800a6360
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 0x1800a4f4b
lea r8, str.tftp_rx:_internal_error
lea rdx, [0x18015fb5c]
mov rcx, qword [rsp + 0x38]
call fcn.180060120
mov eax, 0x47
jmp 0x1800a4f4d
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800e95d0
add rsp, 0xe8
ret