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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfc0]
mov eax, 0x10c0
call fcn.140245a00
sub rsp, rax
mov rax, qword [0x1402ea010]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rdi, rdx
mov rbx, rcx
cmp byte [rcx + 0x10], 0
je 0x1400c55d8
cmp qword [rdx + 0x10], 0xfec
jae 0x1400c55d8
mov eax, dword [rcx + 0x14]
inc eax
mov dword [rcx + 0x14], eax
mov ecx, 1
cmp eax, 0xff
cmova eax, ecx
mov dword [rbx + 0x14], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x14029b1d0]
movdqu xmmword [rsp + 0x40], xmm1
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x30]
cmp rax, rdx
je 0x1400c5337
cmp qword [rdx + 0x18], 0x10
jb 0x1400c5329
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400075d0
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x54], eax
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400c5359
mov rcx, qword [rdi]
cmp r8, 2
jne 0x1400c537a
lea rdx, [0x140285da4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c537a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x24], eax
jmp 0x1400c53c3
lea rcx, [rbx + 0x98]
mov rsi, qword [rbx + 0xa0]
cmp rsi, qword [rbx + 0xa8]
je 0x1400c53b6
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140006f10
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x54]
mov dword [rsi + 0x24], eax
add qword [rbx + 0xa0], 0x28
jmp 0x1400c53c3
lea r8, [rsp + 0x30]
mov rdx, rsi
call fcn.1400c6bc0
mov eax, dword [rbx + 0x14]
mov esi, dword [rbx + 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r10d, r10d
mov qword [rbp - 0x60], r10
mov r11d, reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x58], r11
mov byte [rbp - 0x70], r10b
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x74], eax
lea rax, [rbp - 0x70]
cmp rax, rdi
je 0x1400c541c
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400c5404
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400075d0
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp - 0x60]
mov esi, dword [rsp + 0x70]
mov r14d, reloc.WSOCK32.dll_sendto
mov dword [rbp - 0x74], r14d
lea edi, [r10 + 0x14]
mov dword [rbp - 0x78], edi
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 + 0x78], 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 + 0x7c], 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 [rbp - 0x80], 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 [rbp - 0x7c], ecx
mov eax, esi
sar eax, 0x10
mov byte [rbp - 0x50], al
mov eax, esi
sar eax, 8
mov byte [rbp - 0x4f], al
mov byte [rbp - 0x4e], sil
movzx eax, byte [rsp + 0x74]
mov byte [rbp - 0x4d], al
mov eax, r9d
sar eax, 0x18
mov byte [rbp - 0x4c], al
mov eax, r9d
sar eax, 0x10
mov byte [rbp - 0x4b], al
mov eax, r9d
sar eax, 8
mov byte [rbp - 0x4a], al
mov byte [rbp - 0x49], r9b
mov eax, r8d
sar eax, 0x18
mov byte [rbp - 0x48], al
mov eax, r8d
sar eax, 0x10
mov byte [rbp - 0x47], al
mov eax, r8d
sar eax, 8
mov byte [rbp - 0x46], al
mov byte [rbp - 0x45], r8b
mov eax, edx
sar eax, 0x18
mov byte [rbp - 0x44], al
mov eax, edx
sar eax, 0x10
mov byte [rbp - 0x43], al
mov eax, edx
sar eax, 8
mov byte [rbp - 0x42], al
mov byte [rbp - 0x41], dl
mov eax, ecx
sar eax, 0x18
mov byte [rbp - 0x40], al
mov eax, ecx
sar eax, 0x10
mov byte [rbp - 0x3f], al
mov eax, ecx
sar eax, 8
mov byte [rbp - 0x3e], al
mov byte [rbp - 0x3d], cl
lea rax, [r10 - 1]
cmp rax, 0xfea
ja 0x1400c5560
lea rdx, [rbp - 0x70]
cmp r11, 0x10
cmovae rdx, qword [rbp - 0x70]
mov eax, r14d
lea rcx, [rbp - 0x50]
add rcx, rax
mov r8, r10
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [rbp - 0x78]
mov rsi, qword [rbx + 0x48]
cmp qword [sym.imp.WSOCK32.dll_socket], 0
je 0x1400c55c4
mov eax, 2
mov word [rsp + 0x58], ax
mov ecx, dword [rbx + 0x3c]
call qword [sym.imp.WSOCK32.dll_htonl]
mov dword [rsp + 0x5c], eax
movzx ecx, word [rbx + 0x40]
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rsp + 0x5a], ax
mov dword [rsp + 0x28], reloc.WSOCK32.dll_recv
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, edi
lea rdx, [rbp - 0x50]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WSOCK32.dll_sendto]
cmp eax, edi
jne 0x1400c55c4
mov eax, dword [rbp - 0x78]
add dword [rbx + 0x38], eax
lea rcx, [rbp - 0x70]
call fcn.140007550
nop
lea rcx, [rsp + 0x30]
call fcn.140007550
xor al, al
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.1402447f0
lea r11, [rsp + 0x10c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret