Function at 0x140026f30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r15
sub rsp, 0x578
mov rax, qword [0x1401bbe90]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rax, qword [rcx]
mov r15, rdx
mov r14, rcx
cmp dword [rax - 0x10], 0
jne 0x140026fa8
mov rcx, rdx
call fcn.14001a950
mov ecx, dword [0x1401c3d80]
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x38e38e39
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 9
jne 0x140026fa1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov al, 1
jmp 0x1400271ea
mov qword [rsp + 0x5a0], rbx
mov qword [rsp + 0x568], rsi
mov qword [rsp + 0x558], r12
mov qword [rsp + 0x550], r13
xor r13b, r13b
call fcn.1400253e0
test al, al
jne 0x140026fe0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401c3d80], eax
mov r8, qword [r14]
xor ebx, ebx
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r9d, esi
mov ecx, 0xfde9
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r12, eax
test eax, eax
jne 0x140027023
mov rdx, qword [r14]
mov rcx, r15
call fcn.14001a3d0
jmp 0x1400271c6
mov rcx, r12
mov qword [rsp + 0x570], rbp
mov qword [rsp + 0x560], rdi
call fcn.1400cd108
mov r8, r12
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.1400d2f00
mov r8, qword [r14]
mov qword [rsp + 0x38], rbx
mov r9d, dword [r8 - 0x10]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
call fcn.140025470
test al, al
jne 0x1400270a5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0xcccccccd
mul r8d
shr edx, 6
lea ecx, [rdx + rdx*4]
shl ecx, 4
sub r8d, ecx
inc r8d
mov dword [0x1401c3d80], r8d
test edi, edi
jne 0x1400270b9
mov rdx, qword [r14]
mov rcx, r15
call fcn.14001a3d0
jmp 0x1400271a9
test rbp, rbp
jne 0x1400270c2
mov esi, ebx
jmp 0x1400270ca
inc rsi
cmp byte [rsi + rbp], bl
jne 0x1400270c2
mov r8d, esi
mov rdx, rbp
mov rcx, r15
call fcn.1400275d0
mov r10d, dword [0x1401c3d80]
mov eax, 0x38e38e39
lea r8d, [r10 + 1]
lea ecx, [r10 + 2]
mov r13b, 1
imul ecx, r8d
imul ecx, r10d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
mov eax, 0x4ec4ec4f
cmp ecx, 0xe
cmove r10d, r8d
mov ecx, r10d
mov dword [0x1401c3d80], r10d
imul ecx, r10d
imul ecx, r10d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 0xa
jne 0x1400271a9
mov eax, 0x66666667
lea r9, [rsp + 0x41]
imul r10d
mov esi, edx
sar esi, 1
mov ecx, esi
shr ecx, 0x1f
add esi, ecx
nop word [rax + rax]
movzx r8d, r10b
mov edi, 0x10
mov r11d, 1
sub r8b, bl
nop word [rax + rax]
mov eax, r10d
add r9, 5
cdq
idiv r11d
movzx eax, sil
inc r11d
imul r8b
movzx ecx, al
movzx eax, dl
imul cl
dec rdi
jne 0x140027180
inc ebx
cmp ebx, 0x10
jl 0x140027160
mov rdi, qword [rsp + 0x560]
test rbp, rbp
je 0x1400271be
mov rcx, rbp
call fcn.1400cebfc
mov rbp, qword [rsp + 0x570]
mov r12, qword [rsp + 0x558]
mov rsi, qword [rsp + 0x568]
mov rbx, qword [rsp + 0x5a0]
movzx eax, r13b
mov r13, qword [rsp + 0x550]
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1400cdac0
add rsp, 0x578
pop r15
pop r14
ret