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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, r8
mov r14d, edx
mov rdi, rcx
lea eax, [rdx - 0xd]
cmp eax, 0x7ff6
jbe 0x140037e79
cmp edx, 9
jg 0x140037e56
je 0x140037e3a
mov ecx, edx
sub ecx, 2
je 0x140037ddf
sub ecx, 2
je 0x140037e79
cmp ecx, 1
jne 0x140037e79
add r8, 8
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.14000c790
mov eax, 1
jmp 0x140038681
mov rcx, rbx
call qword [sym.imp.USER32.dll_Ordinal_2574]
nop dword [rax + rax]
test eax, eax
je 0x140037e2a
lea rdx, [rbp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_GetWindowBand]
nop dword [rax + rax]
test eax, eax
je 0x140037e2a
mov rcx, rbx
call fcn.140038a54
test al, al
jne 0x140037e2a
mov eax, dword [rbp + 0x48]
cmp eax, 1
je 0x14003867f
cmp eax, 8
je 0x14003867f
mov rdx, rbx
mov rcx, rdi
call fcn.1400386a0
jmp 0x14003867f
mov rcx, qword [rcx + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x14006b68f.0]
jmp 0x14003867f
cmp r14d, 0xc
jne 0x140037e79
shr rbx, 0x10
and ebx, 0xfff
mov edx, ebx
mov rcx, qword [rcx + 0xc0]
call fcn.1401b271c
jmp 0x140038681
lea r15, [0x140321cb0]
test rbx, rbx
je 0x14003857d
lea eax, [rdx - 6]
test eax, 0xffff7fff
jne 0x140037eaa
mov rcx, rbx
call qword [sym.imp.USER32.dll_Ordinal_2573]
nop dword [rax + rax]
test eax, eax
jne 0x140037f33
lea rdx, [rbp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_GetWindowBand]
nop dword [rax + rax]
test eax, eax
je 0x14003857d
movsxd rax, dword [rbp + 0x48]
movzx esi, byte [r15 + rax*8 + 4]
lea rcx, [0x14038b1c0]
call fcn.140107984
test al, al
je 0x140037ef8
mov edx, 0xa920
mov rcx, rbx
call qword [0x1403ad630]
nop dword [rax + rax]
test rax, rax
jne 0x140037f01
test sil, sil
je 0x14003857d
mov rcx, rbx
call qword [sym.imp.USER32.dll_Ordinal_2574]
nop dword [rax + rax]
test eax, eax
je 0x140037f33
lea rdx, str.Microsoft.Windows.ShellManagedWindowAsNormalWindow
mov rcx, rbx
call qword [0x1403ad630]
nop dword [rax + rax]
test rax, rax
je 0x14003857d
lea eax, [r14 - 0x11]
cmp eax, 0x7ff2
jbe 0x14003867f
cmp r14d, 0xa
jg 0x140037f92
je 0x140037f85
mov ecx, r14d
sub ecx, 1
je 0x140037f65
sub ecx, 3
je 0x14003830f
cmp ecx, 2
je 0x140037fb3
jmp 0x14003867f
mov rcx, rbx
call fcn.1400346c0
test eax, eax
jne 0x14003867f
mov rdx, rbx
mov rcx, rdi
call fcn.14003d808
jmp 0x14003867f
mov rdx, rbx
call fcn.140211564
jmp 0x14003867f
mov ecx, r14d
sub ecx, 0x10
je 0x14003831f
sub ecx, 0x7ff4
je 0x14003830f
cmp ecx, 2
jne 0x14003867f
xor esi, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x28], rsi
mov r13d, 0x80004005
mov rcx, rbx
call qword [sym.imp.USER32.dll_Ordinal_2574]
nop dword [rax + rax]
test eax, eax
je 0x140038075
lea rdx, [rbp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_GetWindowBand]
nop dword [rax + rax]
test eax, eax
je 0x140038075
mov rcx, rbx
call fcn.140038a54
test al, al
jne 0x140038075
mov eax, dword [rbp + 0x58]
cmp eax, 1
je 0x14003800e
cmp eax, 8
jne 0x140038075
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x18]
cmp qword [rdi + 0x178], 0
je 0x14003803a
call fcn.140081b44
lea r8, [rbp - 0x18]
mov rdx, rbx
mov rcx, qword [rdi + 0x178]
call fcn.1400266bc
jmp 0x14003804b
call fcn.140081b44
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14025df00
mov ebx, eax
test eax, eax
js 0x140038067
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.140032970
mov ebx, eax
lea rcx, [rbp - 0x18]
call fcn.140081b44
jmp 0x1400381d6
mov rax, qword [rdi + 0x158]
test rax, rax
je 0x140038085
mov eax, dword [rax]
jmp 0x140038087
mov eax, esi
mov dword [rbp + 0x48], eax
cdqe
test rax, rax
jle 0x14003815c
mov r15, rsi
nop dword [rax + rax]
test r13d, r13d
jns 0x1400381de
mov rax, qword [rdi + 0x158]
mov rcx, qword [rax + 8]
mov r12, qword [rcx + r15*8]
test r12, r12
je 0x140038143
mov qword [rbp - 0x10], rsi
mov rax, qword [r12]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
mov rax, qword [rax + 0x38]
call qword [case.0x14006b68f.0]
mov r13d, eax
test eax, eax
js 0x14003813d
cmp dword [rbp - 0x30], 4
jl 0x14003813d
mov rdx, r12
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140038143
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
jmp 0x140038143
mov r13d, 0x80004005
inc r15
movsxd rcx, dword [rbp + 0x48]
cmp r15, rcx
jl 0x1400380a0
test r13d, r13d
jns 0x1400381de
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x48]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14006b68f.0]
mov ebx, eax
test eax, eax
js 0x14003867f
mov rdx, qword [rdi + 0x150]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x1400381d6
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
test ebx, ebx
js 0x14003867f
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14006b68f.0]
mov r15d, eax
and r15d, 0x80000000
cmp r14d, 0x8006
jne 0x140038289
mov esi, 3
call qword [0x1403ad6b8]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140038238
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x60]
call qword [case.0x14006b68f.0]
cmp rax, rbx
je 0x140038275
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov edx, 0x10000
mov r8d, edx
mov rax, qword [rax + 0x88]
call qword [case.0x14006b68f.0]
test r15d, r15d
jne 0x140038275
mov rcx, qword [rdi + 0x140]
mov rax, qword [rcx]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rax + 0x78]
call qword [case.0x14006b68f.0]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rdi + 0x148], eax
jmp 0x1400382c4
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x14006b68f.0]
bt eax, 0x10
jae 0x1400382c4
mov ebx, dword [rdi + 0x148]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, ebx
mov ecx, 8
cmp eax, 0x7d0
cmova esi, ecx
test r15d, r15d
jne 0x1400382e8
mov rcx, qword [rdi + 0x140]
mov rax, qword [rcx]
mov r9d, esi
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rax + 0x50]
call qword [case.0x14006b68f.0]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
jmp 0x14003867f
mov rdx, rbx
mov rcx, rdi
call fcn.140038c98
jmp 0x14003867f
xor esi, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x28], rsi
mov r12d, 0x80004005
mov rcx, rbx
call qword [sym.imp.USER32.dll_Ordinal_2574]
nop dword [rax + rax]
test eax, eax
je 0x1400383e1
lea rdx, [rbp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_GetWindowBand]
nop dword [rax + rax]
test eax, eax
je 0x1400383e1
mov rcx, rbx
call fcn.140038a54
test al, al
jne 0x1400383e1
mov eax, dword [rbp + 0x48]
cmp eax, 1
je 0x14003837a
cmp eax, 8
jne 0x1400383e1
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x18]
cmp qword [rdi + 0x178], 0
je 0x1400383a6
call fcn.140081b44
lea r8, [rbp - 0x18]
mov rdx, rbx
mov rcx, qword [rdi + 0x178]
call fcn.1400266bc
jmp 0x1400383b7
call fcn.140081b44
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14025df00
mov ebx, eax
test eax, eax
js 0x1400383d3
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.140032970
mov ebx, eax
lea rcx, [rbp - 0x18]
call fcn.140081b44
jmp 0x140038532
mov rax, qword [rdi + 0x158]
test rax, rax
je 0x1400383f1
mov ecx, dword [rax]
jmp 0x1400383f3
mov ecx, esi
movsxd r13, ecx
test ecx, ecx
jle 0x1400384b8
mov r14, rsi
test r12d, r12d
jns 0x14003853a
mov rax, qword [rdi + 0x158]
mov rcx, qword [rax + 8]
mov r15, qword [rcx + r14*8]
test r15, r15
je 0x1400384a3
mov qword [rbp - 0x10], rsi
mov rax, qword [r15]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
mov rax, qword [rax + 0x38]
call qword [case.0x14006b68f.0]
mov r12d, eax
test eax, eax
js 0x14003849d
cmp dword [rbp + 0x58], 4
jl 0x14003849d
mov rdx, r15
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1400384a3
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
jmp 0x1400384a3
mov r12d, 0x80004005
inc r14
cmp r14, r13
jl 0x140038401
test r12d, r12d
jns 0x14003853a
mov rcx, qword [rdi + 0x150]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14006b68f.0]
mov ebx, eax
test eax, eax
js 0x14003867f
mov rdx, qword [rdi + 0x150]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x140038532
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_Set]
nop dword [rax + rax]
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
test ebx, ebx
js 0x14003867f
mov rcx, qword [rbp - 0x20]
cmp rcx, qword [rdi + 0x150]
je 0x14003855a
mov r8, qword [rbp - 0x28]
mov rdx, rcx
mov rcx, rdi
call fcn.14021217c
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
jmp 0x14003867f
lea eax, [r14 - 4]
test eax, 0xffff7fff
jne 0x14003867f
test rbx, rbx
je 0x1400385a2
mov rcx, rbx
call fcn.14000a4ac
test al, al
je 0x140038609
jmp 0x14003867f
call qword [0x1403ad6b8]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140038642
lea rdx, [rbp + 0x48]
mov rcx, rax
call qword [sym.imp.api_ms_win_rtcore_ntuser_private_l1_1_0.dll_GetWindowBand]
nop dword [rax + rax]
test eax, eax
je 0x140038609
movsxd r8, dword [rbp + 0x48]
movzx esi, byte [r15 + r8*8 + 4]
lea rcx, [0x14038b1c0]
call fcn.140107984
test al, al
je 0x140038604
mov edx, 0xa920
mov rcx, rbx
call qword [0x1403ad630]
nop dword [rax + rax]
test rax, rax
jne 0x140038642
test sil, sil
jne 0x140038642
mov rcx, qword [rdi + 0x140]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rax, qword [rax + 0x48]
call qword [case.0x14006b68f.0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x579
mov rcx, qword [0x140389690]
call qword [case.0x14004486b.0]
nop dword [rax + rax]
jmp 0x14003867f
xor esi, esi
mov qword [rbp + 0x58], rsi
xor edx, edx
mov rcx, rdi
call fcn.140038d64
cmp qword [rbp + 0x58], rsi
je 0x140038676
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4f3
mov rcx, qword [0x140389690]
call qword [0x1403ad7b0]
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
call fcn.14003944c
xor eax, eax
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret