Function at 0x1400784f0
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 [0x1400b57a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, dword [rcx + 0x48]
lea rsi, str._S_v_
xor r15d, r15d
mov qword [rbp - 0x28], rdx
mov r14, rdx
mov rdi, rcx
test ebx, ebx
js 0x140078917
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 0x14007896b
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 0x14007896b
lea r12, [rdi + 0x50]
cmp qword [r12], r15
jne 0x1400788e3
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [str._S_v_]
cmp rcx, rsi
je 0x1400785bb
test byte [rcx + 0x1c], 2
je 0x1400785bb
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0xb]
lea r8, [0x1400aace0]
call fcn.14002e7b4
mov rcx, qword [str._S_v_]
mov r9d, dword [rdi + 0x68]
mov qword [rbp - 0x30], r15
test r9d, r9d
jne 0x1400785f8
xor edx, edx
lea rax, [rbp - 0x30]
lea r9, [0x1400aad20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400aad10]
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 0x1400787fd
cmp rcx, rsi
je 0x140078618
test byte [rcx + 0x1c], 2
je 0x140078618
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400aace0]
mov edx, 0xc
call fcn.14002e7e0
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 0x140078642
call fcn.14004f398
mov ebx, eax
mov r14, r15
test ebx, ebx
js 0x14007868c
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 0x140078685
test rax, rax
jne 0x14007868c
call fcn.14004f398
mov ebx, eax
and qword [rbp - 0x38], 0
test ebx, ebx
js 0x1400786a6
lea rdx, [rbp - 0x38]
xor ecx, ecx
mov rax, r14
call qword [0x140097890]
mov ebx, eax
mov dword [rbp - 0x18], 0x67727473
lea r14, [0x1400b6fe4]
mov qword [rbp - 0x10], r14
test ebx, ebx
js 0x1400786d6
mov r8d, dword [rdi + 0x68]
lea rdx, str.Session:_u_clsid:E7B3C0E0_FB47_49F6_A66B_8A7C2E4E7B9C
lea rcx, [rbp - 0x18]
call fcn.14004f970
mov r14, qword [rbp - 0x10]
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
js 0x1400786fe
mov rcx, qword [rbp - 0x38]
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x20]
mov rdx, r14
mov rax, r15
call qword [0x140097890]
mov rcx, qword [rbp - 0x50]
mov ebx, eax
xor r15d, r15d
test rsi, rsi
je 0x140078719
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 0x1400787be
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400aacd0]
mov rdx, qword [rbp - 0x38]
xor r8d, r8d
mov rax, qword [rax + 0x40]
call qword [0x140097890]
mov ebx, eax
test eax, eax
jns 0x140078782
mov rcx, qword [str._S_v_]
lea rax, str._S_v_
cmp rcx, rax
je 0x1400787a0
test byte [rcx + 0x1c], 1
je 0x1400787a0
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400aace0]
mov edx, 0xd
mov r9d, ebx
call fcn.14002e7e0
jmp 0x1400787a0
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x30]
lea r8, [0x1400aacc0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140097890]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400787ba
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140097890]
mov qword [rbp - 0x40], r15
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400787d4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140097890]
mov qword [rbp - 0x50], r15
mov rdx, r14
call fcn.14000edc4
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400787f2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140097890]
mov r14, qword [rbp - 0x28]
lea rsi, str._S_v_
mov qword [rbp - 0x48], r15
test ebx, ebx
js 0x140078872
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140097890]
mov ebx, eax
test eax, eax
jns 0x140078839
mov rcx, qword [str._S_v_]
cmp rcx, rsi
je 0x140078872
test byte [rcx + 0x1c], 1
je 0x140078872
mov edx, 0xf
jmp 0x14007885f
mov rcx, qword [rbp - 0x48]
call fcn.14007921c
mov ebx, eax
test eax, eax
jns 0x140078872
mov rcx, qword [str._S_v_]
cmp rcx, rsi
je 0x140078872
test byte [rcx + 0x1c], 1
je 0x140078872
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400aace0]
mov r9d, eax
call fcn.14002e7e0
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 0x1400788bd
cmp qword [r12], r15
jne 0x1400788bd
mov rax, qword [rbp - 0x48]
mov rsi, r15
test rax, rax
je 0x14007889e
mov rsi, rax
mov qword [rbp - 0x48], r15
mov rcx, r12
call fcn.140076460
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.140076460
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400788dc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140097890]
lea rsi, str._S_v_
test r14, r14
je 0x140078904
test ebx, ebx
js 0x140078904
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 [0x140097890]
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 0x140078941
mov rcx, qword [str._S_v_]
cmp rcx, rsi
je 0x140078941
test byte [rcx + 0x1c], 1
je 0x140078941
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400aace0]
mov edx, 0x11
mov r9d, ebx
call fcn.14002e7e0
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400130f0
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 [str._S_v_]
cmp rcx, rsi
je 0x1400788e3
test byte [rcx + 0x1c], 2
je 0x1400788e3
mov eax, dword [rdi + 0x58]
lea r8, [0x1400aace0]
mov r9d, dword [rdi + 0x60]
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400357f4
jmp 0x1400788e3