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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rax, str.octet
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x135e]
test eax, eax
je 0x140111463
lea rax, str.netascii
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 7
ja case.0x14011148f.1
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x111a60]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x1f0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1401114e7
mov rax, qword [rsp + 0x1f0]
mov dword [rax + 8], 0xffffff9e
mov rax, qword [rsp + 0x1f0]
mov dword [rax], 3
mov eax, dword [rsp + 0x40]
jmp 0x140111a46
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xaa7]
test eax, eax
je 0x14011155e
mov rax, qword [rsp + 0x1f0]
add rax, 0x158
mov dx, 2
mov rcx, rax
call fcn.140110d30
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, 4
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x11a8], 0xffffffffffffffff
je 0x14011155c
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x11a8]
mov rcx, qword [rsp + 0x48]
call fcn.140100490
jmp 0x140111578
mov rax, qword [rsp + 0x1f0]
add rax, 0x158
mov dx, 1
mov rcx, rax
call fcn.140110d30
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x10]
mov ecx, 1
imul rcx, rcx, 1
add rcx, qword [rax + 0x11f8]
mov rax, rcx
mov dword [rsp + 0x20], 4
xor r9d, r9d
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rax
call fcn.140132900
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1401115c5
mov eax, dword [rsp + 0x40]
jmp 0x140111a46
mov rcx, qword [rsp + 0x58]
call fcn.140158210
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x1f0]
movsxd rcx, dword [rcx + 0x144]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x68]
call fcn.140158210
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
sub rax, 4
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
jbe 0x140111631
lea rdx, str.TFTP_file_name_too_long
mov rcx, qword [rsp + 0x48]
call fcn.1400e22e0
mov rcx, qword [rsp + 0x58]
call qword [fcn.1401581f2]
mov eax, Ordinal_73
jmp 0x140111a46
mov rax, qword [rsp + 0x1f0]
movsxd rax, dword [rax + 0x144]
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx + 0x158]
add rcx, 2
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
lea r8, str._s_c_s_c
mov rdx, rax
call fcn.1400ea590
mov rcx, qword [rsp + 0x58]
call fcn.140158210
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x68]
call fcn.140158210
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xa8c]
test eax, eax
jne 0x1401118f7
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xaa7]
test eax, eax
je 0x14011170b
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x11a8], 0xffffffffffffffff
je 0x14011170b
mov rax, qword [rsp + 0x48]
mov r9, qword [rax + 0x11a8]
lea r8, [0x1401e0efc]
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.1400ea590
jmp 0x14011171f
lea rdx, [0x1401e0db4]
lea rcx, [rsp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x50]
lea r9, str.tsize
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111270
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14011178f
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x50]
lea r9, [rsp + 0x90]
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111270
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1f0]
mov r9d, dword [rax + 0x148]
lea r8, [0x1401e0e8c]
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.1400ea590
cmp dword [rsp + 0x40], 0
jne 0x1401117f2
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x50]
lea r9, str.blksize
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111270
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14011182e
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x50]
lea r9, [rsp + 0x90]
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111270
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1f0]
mov r9d, dword [rax + 0x24]
lea r8, [0x1401e0e9c]
mov edx, 0x40
lea rcx, [rsp + 0x90]
call fcn.1400ea590
cmp dword [rsp + 0x40], 0
jne 0x14011188e
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x50]
lea r9, str.timeout
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111270
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1401118ca
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x50]
lea r9, [rsp + 0x90]
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111270
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1401118f7
lea rdx, str.TFTP_buffer_too_small_for_options
mov rcx, qword [rsp + 0x48]
call fcn.1400e22e0
mov rcx, qword [rsp + 0x58]
call qword [fcn.1401581f2]
mov eax, Ordinal_73
jmp 0x140111a46
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x58]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x58]
add rcx, 0x10
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rax, qword [rsp + 0x1f0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x88], rax
je 0x140111992
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xd0]
mov ecx, eax
call fcn.1400c0c10
mov r8, rax
lea rdx, [0x1401e0ec4]
mov rcx, qword [rsp + 0x48]
call fcn.1400e22e0
mov rcx, qword [rsp + 0x58]
call qword [fcn.1401581f2]
jmp 0x140111a42
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0xaa7]
test eax, eax
je 0x1401119cc
mov edx, dword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111300
mov dword [rsp + 0x40], eax
jmp 0x1401119e4
mov edx, dword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111380
mov dword [rsp + 0x40], eax
jmp 0x140111a42
mov edx, dword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111300
mov dword [rsp + 0x40], eax
jmp 0x140111a42
mov edx, dword [rsp + 0x1f8]
mov rcx, qword [rsp + 0x1f0]
call fcn.140111380
mov dword [rsp + 0x40], eax
jmp 0x140111a42
mov rax, qword [rsp + 0x1f0]
mov dword [rax], 3
jmp 0x140111a42
lea rdx, str.tftp_send_first:_internal_error
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x10]
call fcn.1400e22e0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140156eb0
add rsp, 0x1e8
ret