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

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x005c3458]
mov qword [rsp + 0x80], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 - 8], rsi
mov rbx, rcx
mov qword [r11 - 0x18], r12
xor ebp, ebp
mov rax, qword [rbx + 0x10]
lea rcx, str.octet
lea rsi, str.netascii
mov r12, qword [rax]
mov qword [r11 - 0x20], r13
cmp byte [r12 + 0x38b], bpl
cmove rsi, rcx
cmp edx, 7
ja case.0x49fd80.1
movsxd rax, edx
lea rdx, [0x00400000]
mov ecx, dword [rdx + rax*4 + 0xa025c]
add rcx, rdx
jmp rcx
inc dword [rbx + 0x20]
mov eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x28]
jle 0x49fda1
mov dword [rbx + 8], 0xffffff9e
mov dword [rbx], 3
xor eax, eax
jmp 0x4a021e
cmp byte [r12 + 0x398], bpl
je 0x49fdf1
mov rax, qword [rbx + 0x170]
mov byte [rax], bpl
mov rax, qword [rbx + 0x170]
mov byte [rax + 1], 2
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
mov rcx, qword [rax]
add rdx, 4
mov qword [rcx + 0x120], rdx
mov rdx, qword [r12 + 0x240]
cmp rdx, 0xffffffffffffffff
je 0x49fe06
mov rcx, r12
call fcn.004b2ae0
jmp 0x49fe06
mov rax, qword [rbx + 0x170]
mov byte [rax], bpl
mov rax, qword [rbx + 0x170]
mov byte [rax + 1], 1
mov rax, qword [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x87e0]
mov rcx, r12
inc rdx
call fcn.004b3e20
test rax, rax
mov r13, rax
jne 0x49fe36
lea eax, [r13 + 0x1b]
jmp 0x4a021e
mov rcx, qword [rbx + 0x170]
movsxd rdx, dword [rbx + 0x15c]
mov qword [rsp + 0x30], rbp
lea r8, str._s_c_s_c
add rcx, 2
mov r9, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x20], rbp
call fcn.0048ae70
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rsi
not rcx
lea rdx, [rcx - 1]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
cmp byte [r12 + 0x398], al
not rcx
lea rsi, [rdx + rcx + 3]
je 0x49fec5
mov r9, qword [r12 + 0x240]
cmp r9, 0xffffffffffffffff
je 0x49fec5
lea r8, str._lld
lea edx, [rax + 0x40]
lea rcx, [rsp + 0x40]
call fcn.0048ae70
jmp 0x49fecc
mov word [rsp + 0x40], gethostbyname
movsxd rax, dword [rbx + 0x15c]
lea rcx, [rsi + 6]
cmp rcx, rax
jbe 0x49fee1
mov rax, rbp
jmp 0x49ff15
mov rax, qword [rbx + 0x170]
lea rcx, str.tsize
lea rdx, [rsi + rax]
nop
nop
nop
nop
movzx eax, byte [rcx]
inc rdx
inc rcx
test al, al
mov byte [rdx - 1], al
jne 0x49ff00
mov eax, 6
add rsi, rax
xor eax, eax
lea rdi, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movsxd rax, dword [rbx + 0x15c]
not rcx
lea rdx, [rcx + rsi]
cmp rdx, rax
jbe 0x49ff40
mov rcx, rbp
jmp 0x49ff73
mov rax, qword [rbx + 0x170]
lea rcx, [rsp + 0x40]
lea rdx, [rsi + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
test al, al
mov byte [rdx - 1], al
jne 0x49ff50
lea rdi, [rsp + 0x40]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
mov r9d, dword [rbx + 0x160]
add rsi, rcx
lea r8, [0x00575a3c]
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.0048ae70
movsxd rax, dword [rbx + 0x15c]
lea rdx, [rsi + 8]
cmp rdx, rax
jbe 0x49ffa8
mov rax, rbp
jmp 0x49ffd5
mov rax, qword [rbx + 0x170]
lea rcx, str.blksize
lea rdx, [rsi + rax]
nop
nop
movzx eax, byte [rcx]
inc rdx
inc rcx
test al, al
mov byte [rdx - 1], al
jne 0x49ffc0
mov eax, 8
add rsi, rax
xor eax, eax
lea rdi, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movsxd rax, dword [rbx + 0x15c]
not rcx
lea rdx, [rcx + rsi]
cmp rdx, rax
jbe 0x4a0000
mov rcx, rbp
jmp 0x4a0033
mov rax, qword [rbx + 0x170]
lea rcx, [rsp + 0x40]
lea rdx, [rsi + rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
test al, al
mov byte [rdx - 1], al
jne 0x4a0010
lea rdi, [rsp + 0x40]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
mov r9d, dword [rbx + 0x24]
add rsi, rcx
lea r8, [0x00575a3c]
lea rcx, [rsp + 0x40]
mov edx, 0x40
imul r9d, dword [rbx + 0x28]
call fcn.0048ae70
movsxd rax, dword [rbx + 0x15c]
lea rdx, [rsi + 9]
cmp rdx, rax
jbe 0x4a006a
mov rax, rbp
jmp 0x4a0095
mov rax, qword [rbx + 0x170]
lea rcx, str.interval
lea rdx, [rsi + rax]
nop
movzx eax, byte [rcx]
inc rdx
inc rcx
test al, al
mov byte [rdx - 1], al
jne 0x4a0080
mov eax, 9
add rsi, rax
xor eax, eax
lea rdi, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movsxd rax, dword [rbx + 0x15c]
not rcx
lea rdx, [rcx + rsi]
cmp rdx, rax
jbe 0x4a00c0
mov rcx, rbp
jmp 0x4a00f3
mov rax, qword [rbx + 0x170]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
test al, al
mov byte [rcx - 1], al
jne 0x4a00d0
lea rdi, [rsp + 0x40]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x170]
add rsi, rcx
mov rcx, qword [rax + 0x50]
xor r9d, r9d
mov r8d, esi
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rdi, qword [rsp + 0xa8]
movsxd rdx, eax
cmp rdx, rsi
je 0x4a0158
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x10]
mov edx, eax
call fcn.0048a2b0
lea rdx, [0x005754ec]
mov rcx, r12
mov r8, rax
call fcn.00496db0
mov rcx, r13
call fcn.0048c3a0
jmp 0x4a021c
cmp byte [r12 + 0x398], bpl
je 0x4a0183
mov edx, 6
mov rcx, rbx
call fcn.0049fc50
mov ebp, eax
jmp 0x4a021c
mov edx, 6
mov rcx, rbx
call fcn.0049fcb0
mov ebp, eax
jmp 0x4a021c
lea r8, str.Connected_for_transmit
lea rdx, [0x00575694]
mov rcx, r12
call fcn.00496cb0
mov rcx, rbx
mov dword [rbx], 2
call fcn.0049eaa0
test eax, eax
jne 0x4a017c
lea edx, [rax + 4]
mov rcx, rbx
call fcn.0049f4b0
mov ebp, eax
jmp 0x4a021c
lea r8, str.Connected_for_receive
lea rdx, [0x00575694]
mov rcx, r12
call fcn.00496cb0
mov rcx, rbx
mov dword [rbx], 1
call fcn.0049eaa0
test eax, eax
jne 0x4a017c
lea edx, [rax + 3]
mov rcx, rbx
call fcn.0049f170
mov ebp, eax
jmp 0x4a021c
mov dword [rbx], 3
jmp 0x4a021c
lea rdx, str.tftp_send_first:_internal_error
mov rcx, r12
call fcn.00496db0
mov eax, ebp
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x80]
call fcn.005555b0
add rsp, 0xb8
ret