Function at 0x1400c9870
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
movaps xmmword [rsp + 0x260], xmm7
movaps xmmword [rsp + 0x250], xmm6
mov r14, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x248], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov r12b, byte [0x14029c7e0]
test r12b, 0x19
jne 0x1400c9ff9
xor ebx, ebx
mov r13, r15
mov rdi, r15
lea rdx, [rsp + 0x1bc]
mov dword [rdx], 0
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400c9c9b
cmp dword [rsp + 0x1bc], 0
je 0x1400c9c9b
xorps xmm7, xmm7
lea rsi, [rsp + 0x1a0]
movaps xmmword [rsi], xmm7
mov qword [rsi + 0x10], 0
mov rcx, rsi
call fcn.1400516e0
test al, al
je 0x1400c9de3
mov qword [rsp + 0x78], rbx
movaps xmm6, xmmword [0x140270690]
lea rcx, [rsp + 0x150]
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
mov rdx, qword [0x1402a0c90]
call fcn.140065d40
lea rbx, [rsp + 0xe0]
movaps xmmword [rbx], xmm7
movaps xmmword [rbx + 0x50], xmm7
movaps xmmword [rbx + 0x40], xmm7
movaps xmmword [rbx + 0x30], xmm7
movaps xmmword [rbx + 0x20], xmm7
movaps xmmword [rbx + 0x10], xmm7
mov qword [rbx + 0x60], 0
mov dword [rbx], 0x68
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [rbx + 0x3d], 8
je 0x1400c99de
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0xd0], rcx
test rcx, rcx
je 0x1400ca3ef
call fcn.14017bd98
lea r8, [rsp + 0xd0]
mov qword [r8 + 8], rax
lea rax, str.source_shortcut
lea rdx, [rsp + 0xc0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xf
lea rcx, [rsp + 0x150]
call fcn.14002bff0
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x6f], r12b
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm6
lea rax, str.START
lea rdi, [rsp + 0x1f8]
mov qword [rdi], rax
mov qword [rdi + 8], 6
movzx eax, byte [rsp + 0x1b7]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs rsi, qword [rsp + 0x1a0]
mov qword [rdi + 0x10], rsi
cmovs rcx, qword [rsp + 0x1a8]
mov qword [rdi + 0x18], rcx
lea rbx, [0x1402781b0]
mov qword [rdi + 0x20], rbx
mov r12d, 1
mov qword [rdi + 0x28], r12
lea rcx, [rsp + 0x150]
lea rsi, [rsp + 0x88]
mov rdx, rsi
call fcn.140023500
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
cmovs rcx, qword [rsi + 8]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rcx
mov qword [rdi + 0x40], rbx
mov qword [rdi + 0x48], r12
xorps xmm0, xmm0
lea r13, [rsp + 0x1c0]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
lea r12, [rsp + 0x1e8]
mov qword [r12], 5
mov qword [r12 + 8], rdi
mov rcx, r13
mov rdx, r12
call fcn.1400178b0
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [r13]
movaps xmmword [rsp + 0xa0], xmm0
cmp byte [rsi + 0x17], 0
jns 0x1400c9b05
mov rcx, qword [rsp + 0x88]
call fcn.14017b254
mov ecx, dword [rsp + 0x1bc]
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
xor esi, esi
lea rax, [rsp + 0xa0]
movzx ecx, byte [rax + 0x17]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs edx, dword [rax + 8]
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x88], rsi
lea ecx, [rdx + rdx + 2]
mov dword [rsp + 0x90], ecx
cmovs rax, qword [rax]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x1e8], rsi
mov dil, byte [0x14029c7e0]
mov rbx, r15
test dil, 0x19
jne 0x1400ca17f
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4e20
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x88]
mov rcx, r14
mov edx, 0x4a
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov r12, rax
xor ebp, ebp
cmp qword [rsp + 0x1e8], 0
sete r13b
test dil, 0x19
mov rdi, qword [rsp + 0x80]
je 0x1400c9bfb
cmp byte [rsi], 0
je 0x1400c9bfb
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ca29e
lea rcx, [0x1402a2820]
mov rdx, rsi
mov r8, rbx
mov r9, r15
call fcn.140103fa0
test r12, r12
je 0x1400c9e87
mov bpl, r13b
mov r12b, byte [rsp + 0x6f]
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
cmp byte [rsp + 0xb7], 0
jns 0x1400c9c2d
mov rcx, qword [rsp + 0xa0]
call fcn.14017b254
lea rsi, [rsp + 0x180]
mov rdx, qword [rsi + 8]
mov rcx, rsi
call fcn.140033910
mov rsi, qword [rsi - 0x18]
test rsi, rsi
je 0x1400c9df5
mov rax, qword [rsp + 0x170]
mov rcx, rsi
cmp rax, rsi
je 0x1400c9c89
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x1400c9c71
mov rcx, qword [rax - 0x18]
call fcn.14017b254
mov rax, rdi
cmp rdi, rsi
jne 0x1400c9c5e
mov rcx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x170], rsi
call fcn.14017b254
jmp 0x1400c9df5
mov ebp, 1
test byte [0x14029c7e0], 0x19
je 0x1400c9e0c
mov rax, qword [0x14029bf90]
lea rcx, [0x140179e10]
cmp rax, rcx
jne 0x1400ca391
lea rsi, [rsp + 0xe0]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400ca419
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov qword [rsp + 0x150], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ca321
xor eax, eax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, str.AttemptToNotifyRunningChrome:GetWindowThreadProcessId_failed
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 0
lea rcx, [0x1402a2820]
lea r9, [0x14029c7e0]
lea rdx, [rsp + 0xe0]
mov r8b, 0x58
call fcn.1400ffbf0
cmp byte [0x14029c7e0], 0
je 0x1400c9e0c
mov rsi, qword [rsp + 0xe0]
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ca359
lea rcx, [0x1402a2820]
lea rdx, [0x14029c7e0]
lea r8, str.AttemptToNotifyRunningChrome:GetWindowThreadProcessId_failed
mov r9, rsi
call fcn.140103fa0
jmp 0x1400c9e0c
mov ebp, 1
test byte [0x14029c7e0], 0x19
jne 0x1400ca0e8
cmp byte [rsp + 0x1b7], 0
jns 0x1400c9e0c
mov rcx, qword [rsp + 0x1a0]
call fcn.14017b254
test r12b, 0x19
je 0x1400c9e51
cmp byte [rbx], 0
je 0x1400c9e51
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ca266
lea rcx, [0x1402a2820]
mov rdx, rbx
mov r8, r13
mov r9, rdi
call fcn.140103fa0
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x250]
movaps xmm7, xmmword [rsp + 0x260]
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov rbx, qword [rsp + 0x78]
je 0x1400c9e9d
cmp eax, 0x5b4
jne 0x1400c9efb
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
mov cl, byte [0x14029c7e0]
test eax, eax
mov r13, qword [rsp + 0x70]
je 0x1400c9f43
mov ebp, 2
test cl, 0x19
mov r12b, byte [rsp + 0x6f]
je 0x1400c9c16
lea rsi, [rsp + 0x1c0]
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14029c7e0]
lea r9, str.AttemptToNotifyRunningChrome:Error_RemoteHung
jmp 0x1400c9f80
mov ebp, 1
test byte [0x14029c7e0], 0x19
mov r12b, byte [rsp + 0x6f]
mov r13, qword [rsp + 0x70]
je 0x1400c9c16
lea rsi, [rsp + 0x1c0]
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14029c7e0]
lea r9, str.AttemptToNotifyRunningChrome:Error_SendFailed
jmp 0x1400c9f80
mov ebp, 1
test cl, 0x19
mov r12b, byte [rsp + 0x6f]
je 0x1400c9c16
lea rsi, [rsp + 0x1c0]
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14029c7e0]
lea r9, str.AttemptToNotifyRunningChrome:Error_RemoteDied
mov rcx, rsi
mov dl, 0x49
call fcn.1400fdfb0
mov rax, qword [rsi]
test rax, rax
je 0x1400c9fc3
mov dl, byte [rsp + 0x1d8]
mov r8, qword [rsp + 0x1c8]
xor r9d, r9d
lea rcx, [rsp + 0x1f8]
mov qword [rcx], r9
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], r8
mov qword [rcx + 0x18], r9
mov byte [rcx + 0x20], dl
call fcn.1400fe100
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x1400c9fdd
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401e7f70.0]
mov r12b, byte [rsp + 0x6f]
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
jmp 0x1400c9c16
mov rax, qword [0x14029bf90]
lea rcx, [0x140179e10]
cmp rax, rcx
jne 0x1400ca30e
lea rsi, [rsp + 0xe0]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400ca3f2
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov qword [rsp + 0x150], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ca2d6
xor eax, eax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea r13, str.AttemptToNotifyRunningChrome
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x58], 0
lea rcx, [0x1402a2820]
lea rbx, [0x14029c7e0]
lea rsi, [rsp + 0xe0]
mov rdx, rsi
mov r8b, 0x58
mov r9, rbx
call fcn.1400ffbf0
mov rdi, qword [rsi]
jmp 0x1400c98cb
movaps xmm0, xmmword [0x140270690]
lea rsi, [rsp + 0x150]
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14029c7e0]
lea r9, str.AttemptToNotifyRunningChrome:GetCurrentDirectory_failed
mov rcx, rsi
mov dl, 0x49
call fcn.1400fdfb0
mov rax, qword [rsi]
test rax, rax
je 0x1400ca15c
mov dl, byte [rsp + 0x168]
mov r8, qword [rsp + 0x158]
xor r9d, r9d
lea rcx, [rsp + 0xe0]
mov qword [rcx], r9
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], r8
mov qword [rcx + 0x18], r9
mov byte [rcx + 0x20], dl
call fcn.1400fe100
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x1400c9df5
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401e7f70.0]
jmp 0x1400c9df5
mov rax, qword [0x14029bf90]
lea rcx, [0x140179e10]
cmp rax, rcx
jne 0x1400ca3dc
lea rsi, [rsp + 0x1f8]
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400ca440
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402a2810]
mov qword [rsp + 0x1c0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov eax, dword [0x1402a2be8]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ca3a4
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rbx, str.AttemptToNotifyRunningChrome:SendMessage
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x58], 0
lea rcx, [0x1402a2820]
lea rsi, [0x14029c7e0]
lea r15, [rsp + 0x1f8]
mov rdx, r15
mov r8b, 0x58
mov r9, rsi
call fcn.1400ffbf0
mov r15, qword [r15]
jmp 0x1400c9b6e
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x1400c9e3c
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x1400c9e3c
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x1400c9be6
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x1400c9be6
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x1400ca083
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x1400ca083
lea rcx, [rsp + 0x150]
call qword [case.0x1401e7f70.0]
jmp 0x1400ca056
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x1400c9d37
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x1400c9d37
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x1400c9dc4
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x1400c9dc4
lea rcx, [rsp + 0x150]
call qword [case.0x1401e7f70.0]
jmp 0x1400c9d0a
lea rcx, [0x1402a2be8]
call fcn.14017b2bc
cmp dword [0x1402a2be8], 0xffffffff
jne 0x1400ca209
lea rcx, [0x1402a2820]
xor edx, edx
call fcn.140002e30
lea rcx, [0x1402a2be8]
call fcn.14017b25c
jmp 0x1400ca209
lea rcx, [rsp + 0x1c0]
call qword [case.0x1401e7f70.0]
jmp 0x1400ca1dc
int3
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400ca04e
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400c9d02
mov rcx, qword [0x1402a2810]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400ca1d4