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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14, r8
movzx r15d, dl
movzx esi, cl
lea r13, [0x1400052e0]
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x5c
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
xor r12d, r12d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov dword [rbp + 8], r12d
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x18], rax
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0x20], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbp + 0x24], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rbp + 0x34], eax
mov dword [rbp + 4], 0xffffffff
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x38], eax
mov dword [rbp], r12d
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0xd8], r12
lea rcx, [rbp + 0xd8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14005513c
lea rcx, [rbp]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14005513c
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x140055145
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x30], eax
mov ebx, dword [rbp + 0x38]
cmp ebx, 0xff
jne 0x140054f68
mov ebx, RegisterTypeLib
mov edi, dword [rbp + 0x24]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14006893c
cmp byte [rbp - 0xd], r12b
je 0x140054fa5
lea rbx, [rsp + 0x78]
mov edi, 0xf
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400689a0
add rbx, 8
dec rdi
jne 0x140054f90
test sil, sil
je 0x140068c0f
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoImpersonateClient]
mov ebx, eax
mov dword [rbp + 8], eax
test eax, eax
js 0x1400689ae
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThread]
mov rcx, rax
mov r9, r14
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenThreadToken]
mov edi, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140054ff3
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoRevertToSelf]
mov dword [rbp + 8], eax
test eax, eax
js 0x140068b48
test edi, edi
je 0x140068baa
lea rax, [0x140002b68]
mov qword [rsp + 0x20], rax
lea r9, [0x140002b88]
mov r8d, 0xaa
lea rdx, [0x140002b58]
lea rcx, [rbp]
call fcn.140051070
nop
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 + 0x40], r12
inc rbx
cmp rbx, 4
jl 0x140055039
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp + 0x34]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov ebx, r9d
sub ebx, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov r11d, edx
shr r11d, 0xe
mov eax, 0x88888889
mul r11d
shr edx, 5
imul ecx, edx, 0x3c
sub r11d, ecx
mov eax, 0x95217cb1
mul r9d
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rbp + 0x38]
cmp r8d, 0xff
jne 0x1400550da
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea r9, [0x1400043e0]
lea rdx, [0x1400043d0]
lea rcx, [rbp]
call fcn.140051070
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov al, 1
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [rbp + 0x60]
jmp 0x140054f47
mov dword [rbp + 0x30], r12d
jmp 0x140054f58
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140054f79
lea rcx, [rbp]
call fcn.140103ce0
cmp dword [rbp], r12d
je 0x140054f79
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
lea rax, [0x1400043c0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x30]
mov r8d, dword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140054f79
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x140054f9c
cmp eax, 0x80010117
je 0x140068a1a
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x6b
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, [0x14003d120]
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.1401027cc
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r14
mov edx, 0xa
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenProcessToken]
test eax, eax
jne 0x140068a97
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x70
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x14003d1b8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140103888
int3
test r15b, r15b
je 0x140068b3f
mov qword [rbp + 0x78], r12
lea rax, [0x140001b38]
mov qword [rbp + 0x70], rax
mov rbx, qword [r14]
lea rcx, [rbp + 0x70]
call fcn.14006dd28
mov qword [rbp + 0x78], rbx
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_DuplicateToken]
test eax, eax
jne 0x140068b36
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x79
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x14003d150]
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140103888
nop
lea rcx, [rbp + 0x70]
call fcn.14006cf84
mov dword [rbp + 8], r12d
jmp 0x140068d21
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x8c
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x14003d200]
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140103888
int3
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x8f
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, [0x14003d1e0]
mov r8d, ebx
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.1401027cc
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThread]
mov rcx, rax
mov r9, r14
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenThreadToken]
test eax, eax
je 0x140068c35
mov dl, 1
jmp 0x140068d23
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0x3f0
je 0x140068ca4
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0xae
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x14003d1e0]
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140103888
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r14
mov edx, 8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenProcessToken]
test eax, eax
jne 0x140068d21
mov qword [rsp + 0x50], r13
lea rax, [0x1400052b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140005298]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0xb6
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x70], 0xff
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r8, [0x14003d1b8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140103888
int3
xor edx, edx
lea rcx, [rbp]
call fcn.140074628
movzx ebx, al
lea rcx, [rbp]
call fcn.140050f50
movzx eax, bl
jmp 0x14005511b