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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b77a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, dword [rcx + 0x48]
lea rsi, [0x1400b72f8]
xor r15d, r15d
mov qword [rbp - 0x28], rdx
mov r14, rdx
mov rdi, rcx
test ebx, ebx
js 0x140078a84
lea r13, [rcx + 0x20]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
inc dword [rdi + 0x60]
mov eax, dword [rdi + 0x60]
cmp eax, dword [rdi + 0x5c]
jae 0x140078ad8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rdi + 0x64]
cmp eax, dword [rdi + 0x58]
jae 0x140078ad8
lea r12, [rdi + 0x50]
cmp qword [r12], r15
jne 0x140078a50
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x1400b72f8]
cmp rcx, rsi
je 0x14007872b
test byte [rcx + 0x1c], 2
je 0x14007872b
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0xb]
lea r8, [0x1400acc60]
call fcn.140030ccc
mov rcx, qword [0x1400b72f8]
mov r9d, dword [rdi + 0x68]
mov qword [rbp - 0x30], r15
test r9d, r9d
jne 0x140078768
xor edx, edx
lea rax, [rbp - 0x30]
lea r9, [0x1400acca0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400acc90]
lea r8d, [rdx + 4]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
jmp 0x14007896a
cmp rcx, rsi
je 0x140078788
test byte [rcx + 0x1c], 2
je 0x140078788
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400acc60]
mov edx, 0xc
call fcn.140030cf8
xor edx, edx
lea rcx, str.ole32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1400787b2
call fcn.1400411d8
mov ebx, eax
mov r14, r15
test ebx, ebx
js 0x1400787fc
lea rdx, str.CreateBindCtx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.MkParseDisplayName
mov rcx, rsi
mov r14, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r15, rax
test r14, r14
je 0x1400787f5
test rax, rax
jne 0x1400787fc
call fcn.1400411d8
mov ebx, eax
and qword [rbp - 0x38], 0
test ebx, ebx
js 0x140078816
lea rdx, [rbp - 0x38]
xor ecx, ecx
mov rax, r14
call qword [0x140098d68]
mov ebx, eax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x18], rax
xor eax, eax
mov dword [rbp - 0x10], eax
test ebx, ebx
js 0x14007883d
mov r8d, dword [rdi + 0x68]
lea rdx, str.Session:_u_clsid:E7B3C0E0_FB47_49F6_A66B_8A7C2E4E7B9C
lea rcx, [rbp - 0x18]
call fcn.140058378
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
js 0x140078866
mov rdx, qword [rbp - 0x18]
lea r9, [rbp - 0x50]
mov rcx, qword [rbp - 0x38]
lea r8, [rbp - 0x20]
mov rax, r15
call qword [0x140098d68]
mov rcx, qword [rbp - 0x50]
mov ebx, eax
xor r15d, r15d
test rsi, rsi
je 0x140078881
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x40], r15
test ebx, ebx
js 0x140078926
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400acc50]
mov rdx, qword [rbp - 0x38]
xor r8d, r8d
mov rax, qword [rax + 0x40]
call qword [0x140098d68]
mov ebx, eax
test eax, eax
jns 0x1400788ea
mov rcx, qword [0x1400b72f8]
lea rax, [0x1400b72f8]
cmp rcx, rax
je 0x140078908
test byte [rcx + 0x1c], 1
je 0x140078908
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400acc60]
mov edx, 0xd
mov r9d, ebx
call fcn.140030cf8
jmp 0x140078908
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x30]
lea r8, [0x1400acc40]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140098d68]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140078922
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140098d68]
mov qword [rbp - 0x40], r15
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14007893c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140098d68]
mov qword [rbp - 0x50], r15
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.140010c30
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14007895f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140098d68]
mov r14, qword [rbp - 0x28]
lea rsi, [0x1400b72f8]
mov qword [rbp - 0x48], r15
test ebx, ebx
js 0x1400789df
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140098d68]
mov ebx, eax
test eax, eax
jns 0x1400789a6
mov rcx, qword [0x1400b72f8]
cmp rcx, rsi
je 0x1400789df
test byte [rcx + 0x1c], 1
je 0x1400789df
mov edx, 0xf
jmp 0x1400789cc
mov rcx, qword [rbp - 0x48]
call fcn.14007936c
mov ebx, eax
test eax, eax
jns 0x1400789df
mov rcx, qword [0x1400b72f8]
cmp rcx, rsi
je 0x1400789df
test byte [rcx + 0x1c], 1
je 0x1400789df
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400acc60]
mov r9d, eax
call fcn.140030cf8
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
test ebx, ebx
js 0x140078a2a
cmp qword [r12], r15
jne 0x140078a2a
mov rax, qword [rbp - 0x48]
mov rsi, r15
test rax, rax
je 0x140078a0b
mov rsi, rax
mov qword [rbp - 0x48], r15
mov rcx, r12
call fcn.1400765cc
mov qword [r12], rsi
mov dword [rdi + 0x60], r15d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rdi + 0x64], eax
lea rcx, [rbp - 0x48]
call fcn.1400765cc
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140078a49
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140098d68]
lea rsi, [0x1400b72f8]
test r14, r14
je 0x140078a71
test ebx, ebx
js 0x140078a71
mov rax, qword [rdi + 0x50]
mov qword [r14], rax
mov rcx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140098d68]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
test ebx, ebx
jns 0x140078aae
mov rcx, qword [0x1400b72f8]
cmp rcx, rsi
je 0x140078aae
test byte [rcx + 0x1c], 1
je 0x140078aae
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400acc60]
mov edx, 0x11
mov r9d, ebx
call fcn.140030cf8
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400133c0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0x800106ba
mov rcx, qword [0x1400b72f8]
cmp rcx, rsi
je 0x140078a50
test byte [rcx + 0x1c], 2
je 0x140078a50
mov eax, dword [rdi + 0x58]
lea r8, [0x1400acc60]
mov r9d, dword [rdi + 0x60]
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.140037d14
jmp 0x140078a50