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

Disassembly:
push rbp
push rsi
push rdi
push r13
sub rsp, 0x68
xor al, al
mov r13d, 1
cmp qword [0x1400f1560], 0
movzx esi, dl
movzx edi, al
movzx ebp, cl
cmovne edi, r13d
cmp qword [0x1400f1558], 0
je 0x140009b45
or dil, 2
cmp bpl, dil
je 0x140009e11
mov qword [rsp + 0xa0], r12
xor r12d, r12d
test dil, dil
jne 0x140009ba9
test sil, sil
jne 0x140009ba9
lea rax, [0x1400f2420]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x140009e90]
mov edx, 0x2000
mov dword [rsp + 0x20], r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400f7238], rax
test rax, rax
je 0x140009c56
lea edx, [r12 + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x98], rbx
test sil, sil
mov qword [rsp + 0xa8], r14
mov ebx, r12d
mov r14, r12
mov qword [rsp + 0x60], r15
sete r14b
movzx r15d, bpl
nop
mov ecx, dword [0x1400f2420]
mov r9, r14
mov r8, r15
mov edx, 0x417
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x140009bfb
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x140009bd0
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15, qword [rsp + 0x60]
mov r14d, eax
nop dword [rax + rax]
test bpl, bpl
je 0x140009c60
mov r9d, 0x417
mov dword [rsp + 0x20], r13d
mov r8d, r9d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140009c9e
cmp qword [rsp + 0x40], r12
je 0x140009c6e
movzx ebx, r13b
call fcn.14000a290
test al, al
jne 0x140009c6e
test sil, sil
jne 0x140009dcf
xor bpl, bpl
jmp 0x140009c10
call fcn.14000a2c0
jmp 0x140009e09
test sil, sil
je 0x140009c7c
call fcn.14000a290
test al, al
jne 0x140009c9e
test sil, sil
jne 0x140009dcb
jmp 0x140009d47
mov rcx, qword [0x1400f7238]
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x90], 0x103
jne 0x140009cbb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, 0x1f4
ja 0x140009c6e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140009c10
mov rcx, qword [0x1400f7238]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400f2430]
mov qword [0x1400f7238], r12
test rcx, rcx
je 0x140009ce7
call fcn.140095570
mov qword [0x1400f2430], r12
mov rcx, qword [0x1400f2428]
test rcx, rcx
je 0x140009cff
call fcn.140095570
mov qword [0x1400f2428], r12
mov rcx, qword [0x1400f2448]
test rcx, rcx
je 0x140009d17
call fcn.140095570
mov qword [0x1400f2448], r12
mov rcx, qword [0x1400f2440]
test rcx, rcx
je 0x140009d2f
call fcn.140095570
mov qword [0x1400f2440], r12
mov rcx, qword [0x1400f2438]
test rcx, rcx
je 0x140009d47
call fcn.140095570
mov qword [0x1400f2438], r12
cmp qword [0x1400f1560], r12
je 0x140009d6f
test r13b, dil
jne 0x140009d88
lea r8, [0x1400d0ba8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1400f2458], rax
jmp 0x140009d88
test r13b, dil
je 0x140009d88
mov rcx, qword [0x1400f2458]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400f2458], r12
cmp qword [0x1400f1558], r12
je 0x140009db1
test dil, 2
jne 0x140009dcb
lea r8, [0x1400d0bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1400f2450], rax
jmp 0x140009dcb
test dil, 2
je 0x140009dcb
mov rcx, qword [0x1400f2450]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400f2450], r12
test bl, bl
je 0x140009df9
xorps xmm3, xmm3
mov dword [0x1400edaa0], r12d
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov edx, 0x10000
lea rcx, [0x1400d0be0]
call fcn.14007f600
mov dword [0x1400edaa0], r13d
mov rbx, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
add rsp, 0x68
pop r13
pop rdi
pop rsi
pop rbp
ret