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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov edi, dword [rcx + 0x48]
lea r12, [0x1400c82a8]
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
test edi, edi
js 0x1400876bd
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]
mov eax, dword [rsi + 0x60]
inc eax
mov dword [rsi + 0x60], eax
cmp eax, dword [rsi + 0x5c]
jae 0x1400876fb
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rsi + 0x64]
cmp eax, dword [rsi + 0x58]
jae 0x1400876fb
lea r12, [rsi + 0x50]
cmp qword [r12], r15
jne 0x140087678
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x1400c82a8]
lea rbx, [0x1400c82a8]
cmp rcx, rbx
je 0x140087304
test byte [rcx + 0x1c], 2
je 0x140087304
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0xb]
lea r8, [0x1400bdea0]
call fcn.140016c5c
mov rcx, qword [0x1400c82a8]
mov r9d, dword [rsi + 0x68]
mov qword [rbp - 0x18], r15
test r9d, r9d
jne 0x140087341
xor edx, edx
lea rax, [rbp - 0x18]
lea r9, [0x1400bdee0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400bded0]
lea r8d, [rdx + 4]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
jmp 0x140087585
cmp rcx, rbx
je 0x140087361
test byte [rcx + 0x1c], 2
je 0x140087361
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bdea0]
mov edx, 0xc
call fcn.140016c88
xor edx, edx
lea rcx, str.ole32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14008738b
call fcn.140032c58
mov edi, eax
mov rbx, r15
test edi, edi
js 0x1400873d5
lea rdx, str.CreateBindCtx
mov rcx, r14
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
lea rdx, str.MkParseDisplayName
mov rcx, r14
mov rbx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r15, rax
test rbx, rbx
je 0x1400873ce
test rax, rax
jne 0x1400873d5
call fcn.140032c58
mov edi, eax
and qword [rbp - 0x20], 0
test edi, edi
js 0x1400873f9
movabs r10, 0xeb4597f53e5f8270
lea rdx, [rbp - 0x20]
xor ecx, ecx
mov rax, rbx
call qword [0x1400a9400]
mov edi, eax
lea rbx, [0x1400c9f10]
mov qword [rbp + 0x48], rbx
test edi, edi
js 0x140087422
mov r8d, dword [rsi + 0x68]
lea rdx, str.Session:_u_clsid:E7B3C0E0_FB47_49F6_A66B_8A7C2E4E7B9C
lea rcx, [rbp + 0x48]
call fcn.1400504e0
mov rbx, qword [rbp + 0x48]
mov edi, eax
xor ecx, ecx
mov qword [rbp + 0x58], rcx
test edi, edi
js 0x140087454
movabs r10, 0xefdc86b6505ca070
mov rcx, qword [rbp - 0x20]
lea r9, [rbp + 0x58]
lea r8, [rbp + 0x48]
mov rdx, rbx
mov rax, r15
call qword [0x1400a9400]
mov rcx, qword [rbp + 0x58]
mov edi, eax
xor r15d, r15d
test r14, r14
je 0x14008746f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x58]
mov qword [rbp - 0x28], r15
test edi, edi
js 0x140087532
mov rax, qword [rcx]
movabs r10, 0xf664bf965cd27270
mov rax, qword [rax + 0x40]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400bde90]
mov rdx, qword [rbp - 0x20]
xor r8d, r8d
call qword [0x1400a9400]
mov edi, eax
test eax, eax
jns 0x1400874e2
mov rcx, qword [0x1400c82a8]
lea rax, [0x1400c82a8]
cmp rcx, rax
je 0x14008750a
test byte [rcx + 0x1c], 1
je 0x14008750a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bdea0]
mov edx, 0xd
mov r9d, edi
call fcn.140016ccc
jmp 0x14008750a
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
movabs r10, 0xee2c9ee752dd2a70
mov rax, qword [rax + 0x18]
lea r9, [rbp - 0x18]
lea r8, [0x1400bde80]
xor edx, edx
call qword [0x1400a9400]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14008752e
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400a9400]
mov qword [rbp - 0x28], r15
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140087552
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400a9400]
mov qword [rbp + 0x58], r15
mov rdx, rbx
call fcn.14004443c
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14008757a
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400a9400]
mov r14, qword [rbp + 0x50]
lea rbx, [0x1400c82a8]
mov qword [rbp + 0x60], r15
test edi, edi
js 0x140087604
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
movabs r10, 0xf1543eb258563970
mov rax, qword [rax + 0x18]
lea rdx, [rbp + 0x60]
call qword [0x1400a9400]
mov edi, eax
test eax, eax
jns 0x1400875cb
mov rcx, qword [0x1400c82a8]
cmp rcx, rbx
je 0x140087604
test byte [rcx + 0x1c], 1
je 0x140087604
mov edx, 0xf
jmp 0x1400875f1
mov rcx, qword [rbp + 0x60]
call fcn.140088004
mov edi, eax
test eax, eax
jns 0x140087604
mov rcx, qword [0x1400c82a8]
cmp rcx, rbx
je 0x140087604
test byte [rcx + 0x1c], 1
je 0x140087604
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bdea0]
mov r9d, eax
call fcn.140016ccc
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
test edi, edi
js 0x14008764f
cmp qword [r12], r15
jne 0x14008764f
mov rax, qword [rbp + 0x60]
mov rbx, r15
test rax, rax
je 0x140087630
mov rbx, rax
mov qword [rbp + 0x60], r15
mov rcx, r12
call fcn.140084efc
mov qword [r12], rbx
mov dword [rsi + 0x60], r15d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsi + 0x64], eax
lea rcx, [rbp + 0x60]
call fcn.140084efc
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140087678
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400a9400]
lea r12, [0x1400c82a8]
test r14, r14
je 0x1400876aa
test edi, edi
js 0x1400876aa
mov rax, qword [rsi + 0x50]
mov qword [r14], rax
mov rcx, qword [rsi + 0x50]
mov rax, qword [rcx]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [0x1400a9400]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
test edi, edi
jns 0x1400876e7
mov rcx, qword [0x1400c82a8]
cmp rcx, r12
je 0x1400876e7
test byte [rcx + 0x1c], 1
je 0x1400876e7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bdea0]
mov edx, 0x11
mov r9d, edi
call fcn.140016ccc
mov eax, edi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edi, 0x800106ba
mov rcx, qword [0x1400c82a8]
cmp rcx, r12
je 0x14008767f
test byte [rcx + 0x1c], 2
je 0x14008767f
mov eax, dword [rsi + 0x58]
lea r8, [0x1400bdea0]
mov r9d, dword [rsi + 0x60]
mov edx, 0xa
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
call fcn.14001f06c
jmp 0x14008767f