Function at 0x140017318
Capabilities:
Check for time delay via gettickcount
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa8]
mov eax, 0x10a8
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov al, byte [rbp + 0x1010]
xor r15d, r15d
mov r14, r9
mov qword [rsp + 0x40], rdx
mov r13, rdx
mov byte [rsp + 0x30], al
mov rsi, rcx
mov r9, r8
mov rcx, qword [rcx]
lea r8d, [r15 + 4]
mov edx, 0x110a
mov edi, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
test rax, rax
je 0x1400175b0
mov rcx, qword [rsi]
lea rax, [rbp - 0x70]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov word [rbp - 0x70], r15w
mov edx, 0x113e
mov dword [rsp + 0x50], 0xd
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x70], 0x800
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rbp - 0x80]
xor eax, eax
movsxd r15, dword [r14]
test rbx, rbx
je 0x1400173e9
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140017497
xor eax, eax
mov r9d, eax
lea r8, [r15*2]
movzx r10d, ax
movzx r11d, ax
add r8, r13
neg rbx
sbb eax, eax
and eax, r15d
movsxd rcx, eax
lea rax, [rbp - 0x70]
sub rcx, r15
add rcx, rcx
sub rcx, r13
add rax, rcx
mov qword [rsp + 0x48], rax
movzx eax, word [rax + r8]
movzx r13d, word [r8]
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x34], r9d
mov word [rsp + 0x32], ax
test ax, ax
jne 0x140017455
test r13w, r13w
je 0x14001748f
cmp r10w, 0x5c
jne 0x14001744f
cmp r11w, r10w
jmp 0x140017453
cmp r13d, 0x5c
je 0x14001748f
mov ecx, r13d
call fcn.1400ada68
movzx ecx, word [rsp + 0x32]
mov ebx, eax
call fcn.1400ada68
cmp eax, ebx
jne 0x140017492
mov r9d, dword [rsp + 0x34]
movzx r11d, r13w
mov r8, qword [rsp + 0x38]
inc r9d
movzx r10d, word [rsp + 0x32]
add r8, 2
mov rax, qword [rsp + 0x48]
jmp 0x14001741f
add r15d, r9d
mov r13, qword [rsp + 0x40]
cmp r15d, dword [r14]
jle 0x1400174a4
mov dword [r14], r15d
mov rdi, r12
jmp 0x1400174c2
test byte [rsp + 0x60], 0x20
je 0x1400174c2
mov rcx, qword [rsi]
mov r9, r12
mov edx, 0x1102
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
mov r9, r12
mov edx, 0x110a
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
xor r15d, r15d
mov r12, rax
test rax, rax
jne 0x14001738a
test rdi, rdi
je 0x1400175b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsi]
lea r8d, [r12 + 2]
mov r12d, 0x1102
mov r9, rdi
mov edx, r12d
mov ebx, eax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 0x14], r15d
je 0x14001753f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [rsi + 0x14]
jbe 0x14001753f
mov rcx, qword [rsi]
mov r9, rdi
mov r8d, 0x8001
mov edx, r12d
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x1400175b3
movzx ebx, byte [rsp + 0x30]
mov r9, rdi
mov rcx, qword [rsi]
mov edx, 0x110b
lea r8, [rbx*4 + 5]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
mov r9, rdi
xor r8d, r8d
mov edx, 0x1114
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [r14]
movzx ecx, word [r13 + rax*2]
jmp 0x14001758b
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx ecx, word [r13 + rcx*2 + 2]
call fcn.1400949c0
test al, al
jne 0x14001757c
mov r9, r14
mov byte [rsp + 0x20], bl
mov r8, rdi
mov rdx, r13
mov rcx, rsi
call fcn.140017318
test rax, rax
cmovne rdi, rax
mov rax, rdi
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.140117fa0
add rsp, 0x10a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret