Function at 0x1400c5c80
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140245a00
sub rsp, rax
mov rax, qword [0x1402ea010]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rbx, rcx
cmp byte [rcx + 0x10], 0
je 0x1400c6002
xor r15d, r15d
mov rsi, qword [rcx + 0x98]
mov rcx, qword [rcx + 0xa0]
sub rcx, rsi
movabs r13, 0x6666666666666667
mov rax, r13
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400c5f78
xor edi, edi
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + rsi + 0x24]
cmp eax, 0x3e8
jbe 0x1400c5f43
mov rdx, qword [rbx + 0x98]
add rdx, rdi
mov eax, dword [rdx + 0x20]
mov esi, dword [rbx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r10d, r10d
mov qword [rsp + 0x70], r10
mov r11d, reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x78], r11
mov byte [rsp + 0x60], r10b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x60]
cmp rax, rdx
je 0x1400c5d7d
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c5d65
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
call fcn.1400075d0
mov r11, qword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
mov esi, dword [rsp + 0x40]
mov dword [rsp + 0x5c], reloc.WSOCK32.dll_sendto
lea r14d, [r10 + 0x14]
mov dword [rsp + 0x58], r14d
mov rax, qword [rbx + 0x68]
mov r9d, dword [rax]
shl r9d, 8
or r9d, dword [rax + 4]
shl r9d, 8
or r9d, dword [rax + 8]
shl r9d, 8
or r9d, dword [rax + 0xc]
mov dword [rsp + 0x48], r9d
mov r8d, dword [rax + 0x10]
shl r8d, 8
or r8d, dword [rax + 0x14]
shl r8d, 8
or r8d, dword [rax + 0x18]
shl r8d, 8
or r8d, dword [rax + 0x1c]
mov dword [rsp + 0x4c], r8d
mov edx, dword [rax + 0x20]
shl edx, 8
or edx, dword [rax + 0x24]
shl edx, 8
or edx, dword [rax + 0x28]
shl edx, 8
or edx, dword [rax + 0x2c]
mov dword [rsp + 0x50], edx
mov ecx, dword [rax + 0x30]
shl ecx, 8
or ecx, dword [rax + 0x34]
shl ecx, 8
or ecx, dword [rax + 0x38]
shl ecx, 8
or ecx, dword [rax + 0x3c]
mov dword [rsp + 0x54], ecx
mov eax, esi
sar eax, 0x10
mov byte [rbp - 0x80], al
mov eax, esi
sar eax, 8
mov byte [rbp - 0x7f], al
mov byte [rbp - 0x7e], sil
movzx eax, byte [rsp + 0x44]
mov byte [rbp - 0x7d], al
mov eax, r9d
sar eax, 0x18
mov byte [rbp - 0x7c], al
mov eax, r9d
sar eax, 0x10
mov byte [rbp - 0x7b], al
mov eax, r9d
sar eax, 8
mov byte [rbp - 0x7a], al
mov byte [rbp - 0x79], r9b
mov eax, r8d
sar eax, 0x18
mov byte [rbp - 0x78], al
mov eax, r8d
sar eax, 0x10
mov byte [rbp - 0x77], al
mov eax, r8d
sar eax, 8
mov byte [rbp - 0x76], al
mov byte [rbp - 0x75], r8b
mov eax, edx
sar eax, 0x18
mov byte [rbp - 0x74], al
mov eax, edx
sar eax, 0x10
mov byte [rbp - 0x73], al
mov eax, edx
sar eax, 8
mov byte [rbp - 0x72], al
mov byte [rbp - 0x71], dl
mov eax, ecx
sar eax, 0x18
mov byte [rbp - 0x70], al
mov eax, ecx
sar eax, 0x10
mov byte [rbp - 0x6f], al
mov eax, ecx
sar eax, 8
mov byte [rbp - 0x6e], al
mov byte [rbp - 0x6d], cl
lea rax, [r10 - 1]
cmp rax, 0xfea
ja 0x1400c5ec1
lea rdx, [rsp + 0x60]
cmp r11, 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, r10
lea rcx, [rbp - 0x6c]
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x58]
mov rsi, qword [rbx + 0x48]
cmp qword [sym.imp.WSOCK32.dll_socket], 0
je 0x1400c5ff6
mov eax, 2
mov word [rsp + 0x30], ax
mov ecx, dword [rbx + 0x3c]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x34], eax
movzx ecx, word [rbx + 0x40]
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rsp + 0x32], ax
mov dword [rsp + 0x28], reloc.WSOCK32.dll_recv
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r14d
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WSOCK32.dll_sendto]
cmp eax, r14d
jne 0x1400c5ff6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x98]
mov dword [rcx + rdi + 0x24], eax
lea rcx, [rsp + 0x60]
call fcn.140007550
inc r15
add rdi, 0x28
mov rsi, qword [rbx + 0x98]
mov rcx, qword [rbx + 0xa0]
sub rcx, rsi
mov rax, r13
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jb 0x1400c5d00
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x24]
cmp eax, dword [rbx + 0x1c]
jbe 0x1400c5fc7
mov edx, dword [rbx + 0x3c]
movzx ecx, word [rbx + 0x40]
movzx r10d, dl
mov eax, edx
shr eax, 8
movzx r9d, al
mov eax, edx
shr eax, 0x10
movzx r8d, al
shr edx, 0x18
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r10d
lea rcx, str.Lost_UDP_connection_with__d._d._d._d:_d_n
call fcn.1400c3ec0
mov rcx, rbx
call fcn.1400c5010
mov byte [rbx + 0x11], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x28]
cmp eax, 0x3e8
jbe 0x1400c6024
mov eax, dword [rbx + 0x34]
mov dword [rbx + 0x2c], eax
mov eax, dword [rbx + 0x38]
mov dword [rbx + 0x30], eax
mov qword [rbx + 0x34], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x28], eax
jmp 0x1400c6024
lea rcx, [rsp + 0x60]
call fcn.140007550
jmp 0x1400c6024
cmp byte [rcx + 0x12], 0
je 0x1400c6024
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x24]
cmp eax, 0x3e8
jbe 0x1400c6024
mov rdx, qword [rbx + 0x3c]
mov rcx, rbx
call fcn.1400c4e20
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1402447f0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret