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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 3
je 0x1400eb5c3
cmp dword [rsp + 0x34], 5
je 0x1400eb955
cmp dword [rsp + 0x34], 6
je 0x1400eb76c
cmp dword [rsp + 0x34], 7
je 0x1400eb85d
jmp 0x1400eb9d8
mov rax, qword [rsp + 0x60]
add rax, 0x168
mov rcx, rax
call fcn.1400ec640
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x48]
inc eax
and eax, 0xffff
cmp eax, dword [rsp + 0x30]
jne 0x1400eb601
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x20], 0
jmp 0x1400eb656
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x48]
cmp eax, dword [rsp + 0x30]
jne 0x1400eb628
mov r8d, dword [rsp + 0x30]
lea rdx, str.Received_last_DATA_packet_block__d_again._n
mov rcx, qword [rsp + 0x38]
call fcn.1400c2b50
jmp 0x1400eb656
mov rax, qword [rsp + 0x60]
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.1400c2b50
jmp 0x1400eb9f7
mov rax, qword [rsp + 0x60]
movzx ecx, word [rsp + 0x30]
mov word [rax + 0x48], cx
mov rax, qword [rsp + 0x60]
add rax, 0x170
mov dx, 4
mov rcx, rax
call fcn.1400ec710
mov rax, qword [rsp + 0x60]
add rax, 0x170
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.1400ec6c0
mov rax, qword [rsp + 0x60]
add rax, 0xd0
mov rcx, qword [rsp + 0x60]
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 + 0x60]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0x60]
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 0x1400eb71d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call fcn.140101900
mov r8, rax
lea rdx, [0x14015bdd4]
mov rcx, qword [rsp + 0x38]
call fcn.1400c3080
mov eax, gethostname
jmp 0x1400eb9f9
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x154]
mov rcx, qword [rsp + 0x60]
movsxd rcx, dword [rcx + 0x15c]
add rcx, 4
cmp rax, rcx
jge 0x1400eb74b
mov rax, qword [rsp + 0x60]
mov dword [rax], 3
jmp 0x1400eb756
mov rax, qword [rsp + 0x60]
mov dword [rax], 1
mov rax, qword [rsp + 0x60]
add rax, 0x40
mov rcx, rax
call fcn.1400777fc
jmp 0x1400eb9f7
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0x48], ax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x60]
add rax, 0x170
mov dx, 4
mov rcx, rax
call fcn.1400ec710
mov rax, qword [rsp + 0x60]
add rax, 0x170
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.1400ec6c0
mov rax, qword [rsp + 0x60]
add rax, 0xd0
mov rcx, qword [rsp + 0x60]
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 + 0x60]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0x60]
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 0x1400eb83c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call fcn.140101900
mov r8, rax
lea rdx, [0x14015be04]
mov rcx, qword [rsp + 0x38]
call fcn.1400c3080
mov eax, gethostname
jmp 0x1400eb9f9
mov rax, qword [rsp + 0x60]
mov dword [rax], 1
mov rax, qword [rsp + 0x60]
add rax, 0x40
mov rcx, rax
call fcn.1400777fc
jmp 0x1400eb9f7
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x48]
inc eax
and eax, 0xffff
mov rcx, qword [rsp + 0x60]
mov r9d, dword [rcx + 0x20]
mov r8d, eax
lea rdx, [0x14015f2a0]
mov rcx, qword [rsp + 0x38]
call fcn.1400c2b50
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1400eb8ca
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0xffffff9d
mov rax, qword [rsp + 0x60]
mov dword [rax], 3
jmp 0x1400eb950
mov rax, qword [rsp + 0x60]
add rax, 0xd0
mov rcx, qword [rsp + 0x60]
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 + 0x60]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0x60]
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 0x1400eb950
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call fcn.140101900
mov r8, rax
lea rdx, [0x14015beec]
mov rcx, qword [rsp + 0x38]
call fcn.1400c3080
mov eax, gethostname
jmp 0x1400eb9f9
jmp 0x1400eb9f7
mov rax, qword [rsp + 0x60]
add rax, 0x170
mov dx, 5
mov rcx, rax
call fcn.1400ec710
mov rax, qword [rsp + 0x60]
add rax, 0x170
mov rcx, qword [rsp + 0x60]
movzx edx, word [rcx + 0x48]
mov rcx, rax
call fcn.1400ec6c0
mov rax, qword [rsp + 0x60]
add rax, 0xd0
mov rcx, qword [rsp + 0x60]
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 + 0x60]
mov rdx, qword [rax + 0x170]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rsp + 0x60]
mov dword [rax], 3
jmp 0x1400eb9f7
lea r8, str.tftp_rx:_internal_error
lea rdx, [0x14015c0dc]
mov rcx, qword [rsp + 0x38]
call fcn.1400c3080
mov eax, 0x47
jmp 0x1400eb9f9
xor eax, eax
add rsp, 0x58
ret