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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rcx + 0x10]
lea rsi, str.netascii
xor ebp, ebp
movsxd r8, edx
mov rbx, rcx
mov r14d, ebp
mov r15, qword [rax]
lea rax, str.octet
mov edx, dword [r15 + 0xe70]
bt edx, 0xb
cmovae rsi, rax
cmp r8d, 7
ja case.0x140074753.1
mov rax, r8
lea r8, [0x140000000]
mov ecx, dword [r8 + rax*4 + 0x74c90]
add rcx, r8
jmp rcx
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x140074774
mov dword [rbx + 8], 0xffffff9e
xor eax, eax
mov dword [rbx], 3
jmp 0x140074c69
mov rax, qword [rbx + 0x170]
test dword [r15 + 0xe70], 0x2000000
mov byte [rax], bpl
mov rax, qword [rbx + 0x170]
je 0x1400747c6
mov byte [rax + 1], 2
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
add rdx, 4
mov rcx, qword [rax]
mov qword [rcx + 0x1f0], rdx
mov rdx, qword [r15 + 0x13e0]
cmp rdx, 0xffffffffffffffff
je 0x1400747ca
mov rcx, r15
call fcn.140054f90
jmp 0x1400747ca
mov byte [rax + 1], 1
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x28], bpl
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x1448]
mov rcx, r15
inc rdx
call fcn.14005f570
mov r14d, eax
test eax, eax
jne 0x140074c69
movsxd rdx, dword [rbx + 0x15c]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp byte [rsi + rax], bpl
jne 0x140074811
mov r9, qword [rsp + 0x40]
mov rcx, rdx
sub rcx, rax
mov rax, rdi
sub rcx, 4
nop dword [rax]
inc rax
cmp byte [r9 + rax], bpl
jne 0x140074830
cmp rax, rcx
jbe 0x140074862
lea rdx, str.TFTP_file_name_too_long_n
mov rcx, r15
call fcn.1400460b0
mov rcx, qword [rsp + 0x40]
call qword [fcn.1400c28b0]
mov eax, 0x47
jmp 0x140074c69
mov rcx, qword [rbx + 0x170]
lea r8, str._s_c_s_c
mov qword [rsp + 0x30], rbp
add rcx, 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbp
call fcn.1400564c0
mov rcx, rdi
nop dword [rax + rax]
inc rcx
cmp byte [rsi + rcx], bpl
jne 0x140074890
mov rdx, qword [rsp + 0x40]
mov rax, rdi
cmp byte [rdx + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1400748a1
lea rsi, [rax + 4]
mov eax, dword [r15 + 0xe70]
add rsi, rcx
test al, 8
jne 0x140074ba5
bt eax, 0x19
jae 0x1400748ec
mov r9, qword [r15 + 0x13e0]
cmp r9, rdi
je 0x1400748ec
lea r8, str._I64d
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400564c0
jmp 0x1400748f8
movzx eax, word [0x1401b9b44]
mov word [rsp + 0x50], ax
movsxd rdx, dword [rbx + 0x15c]
lea r8, str.tsize
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r8 + rax], bpl
jne 0x140074910
lea rcx, [rsi + 1]
add rcx, rax
cmp rcx, rdx
jbe 0x14007492a
mov rax, rbp
jmp 0x140074966
mov rdx, qword [rbx + 0x170]
mov rcx, r8
add rdx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140074940
mov rax, rdi
inc rax
cmp byte [r8 + rax], bpl
jne 0x140074954
mov edx, dword [rbx + 0x15c]
inc rax
add rsi, rax
lea rcx, [rsp + 0x50]
mov rax, rdi
cmp byte [rcx + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140074971
lea rcx, [rax + 1]
movsxd rax, edx
add rcx, rsi
cmp rcx, rax
ja 0x1400749cf
mov rdx, qword [rbx + 0x170]
lea rcx, [rsp + 0x50]
add rdx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400749a0
lea rcx, [rsp + 0x50]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], bpl
jne 0x1400749c0
inc rsi
add rsi, rax
mov r9d, dword [rbx + 0x160]
lea r8, [0x1401b9c1c]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400564c0
movsxd rdx, dword [rbx + 0x15c]
lea r8, str.blksize
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r8 + rax], bpl
jne 0x140074a00
lea rcx, [rsi + 1]
add rcx, rax
cmp rcx, rdx
jbe 0x140074a1a
mov rax, rbp
jmp 0x140074a56
mov rdx, qword [rbx + 0x170]
mov rcx, r8
add rdx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140074a30
mov rax, rdi
inc rax
cmp byte [r8 + rax], bpl
jne 0x140074a44
mov edx, dword [rbx + 0x15c]
inc rax
add rsi, rax
lea rcx, [rsp + 0x50]
mov rax, rdi
cmp byte [rcx + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140074a61
lea rcx, [rax + 1]
movsxd rax, edx
add rcx, rsi
cmp rcx, rax
ja 0x140074abf
mov rdx, qword [rbx + 0x170]
lea rcx, [rsp + 0x50]
add rdx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140074a90
lea rcx, [rsp + 0x50]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], bpl
jne 0x140074ab0
inc rsi
add rsi, rax
mov r9d, dword [rbx + 0x24]
lea r8, [0x1401b9c2c]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400564c0
movsxd rdx, dword [rbx + 0x15c]
lea r8, str.timeout
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], bpl
jne 0x140074af0
lea rcx, [rsi + 1]
add rcx, rax
cmp rcx, rdx
ja 0x140074b47
mov rdx, qword [rbx + 0x170]
mov rcx, r8
add rdx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140074b20
mov rbp, rdi
inc rbp
cmp byte [r8 + rbp], 0
jne 0x140074b34
mov edx, dword [rbx + 0x15c]
inc rbp
add rsi, rbp
lea rcx, [rsp + 0x50]
mov rax, rdi
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140074b52
lea rcx, [rax + 1]
movsxd rax, edx
add rcx, rsi
cmp rcx, rax
ja 0x140074ba5
mov rdx, qword [rbx + 0x170]
lea rcx, [rsp + 0x50]
add rdx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140074b80
lea rax, [rsp + 0x50]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140074b96
inc rsi
add rsi, rdi
mov rax, qword [rbx + 0x10]
xor r9d, r9d
mov rcx, qword [rbx + 0x18]
mov r8d, esi
mov rdx, qword [rax + 0x70]
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rdx + 0x20]
mov rdx, qword [rbx + 0x170]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rcx, eax
cmp rcx, rsi
je 0x140074c06
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.14007aa40
mov r8, rax
lea rdx, [0x1401b9c54]
mov rcx, r15
call fcn.1400460b0
mov rcx, qword [rsp + 0x40]
call qword [fcn.1400c28b0]
jmp 0x140074c66
bt edx, 0x19
mov rcx, rbx
mov edx, 6
jae 0x140074c45
call fcn.140074620
mov r14d, eax
jmp 0x140074c66
mov edx, 4
mov rcx, rbx
call fcn.140074620
mov r14d, eax
jmp 0x140074c66
mov edx, 3
mov rcx, rbx
call fcn.140074680
mov r14d, eax
jmp 0x140074c66
mov dword [rbx], 3
jmp 0x140074c66
lea rdx, str.tftp_send_first:_internal_error
mov rcx, r15
call fcn.1400460b0
mov eax, r14d
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400b2870
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rsp, 0x28
mov rax, qword [rcx + 0x10]
mov r8d, dword [rcx]
mov r9, qword [rax]
test r8d, r8d
je 0x140074d31
sub r8d, 1
je 0x140074d28
sub r8d, 1
je 0x140074d1f
mov rcx, r9
cmp r8d, 1
je 0x140074d05
lea r8, str.Internal_state_machine_error
lea rdx, [0x1401b9e64]
call fcn.1400460b0
mov eax, 0x47
add rsp, 0x28
ret
lea r8, str.TFTP_finished
lea rdx, [0x1401b9e1c]
call fcn.140045f40
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140073350
add rsp, 0x28
jmp fcn.140072fc0
add rsp, 0x28
jmp 0x1400746e0