Function at 0x14004d450
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1d8], rbx
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea r13, [0x140005f30]
mov qword [rbp - 0x28], r13
lea rax, [0x140006010]
mov qword [rbp - 0x20], rax
lea rax, [0x140005f88]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x1fa
mov dword [rbp - 0xc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 8], 0xff
xor r12d, r12d
mov dword [rbp + 0x78], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x68], r12d
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x78], rax
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x7c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rbp - 0x6c], eax
mov dword [rsp + 0x64], 0xffffffff
mov eax, dword [rbp - 8]
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x60], r12d
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x30], r12
lea rcx, [rbp - 0x30]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004d736
lea rcx, [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004d736
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14004d73f
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x70], eax
mov ebx, dword [rbp - 0x68]
cmp ebx, 0xff
jne 0x14004d588
mov ebx, RegisterTypeLib
mov edi, dword [rbp - 0x7c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x1400650fe
cmp byte [rbp + 0x7b], r12b
je 0x14004d5c5
lea rbx, [rbp]
mov edi, 0xf
nop dword [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140065166
add rbx, 8
dec rdi
jne 0x14004d5b0
mov dword [r15], r12d
mov dword [rbp + 0xe8], r12d
mov dword [rbp + 0xd0], r12d
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xe8]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 2
jne 0x140065174
lea rax, [0x140002b78]
mov qword [rsp + 0x20], rax
lea r9, [0x140002b88]
mov r8d, 0xaa
lea rdx, [0x140002b58]
lea rcx, [rsp + 0x60]
call fcn.140051070
nop
mov rbx, r12
mov rcx, qword [rbp + rbx*8 - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x60], r12
inc rbx
cmp rbx, 4
jl 0x14004d637
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x6c]
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 - 0x68]
cmp r8d, 0xff
jne 0x14004d6d8
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x68]
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, [rsp + 0x60]
call fcn.140051070
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
xor al, al
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x40]
jmp 0x14004d567
mov dword [rbp - 0x70], r12d
jmp 0x14004d578
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14004d599
lea rcx, [rsp + 0x60]
call fcn.140103ce0
cmp dword [rsp + 0x60], r12d
je 0x14004d599
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
lea rax, [0x1400043c0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x70]
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14004d599
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x14004d5bc
test eax, eax
je 0x14006521d
cmp eax, 0xea
je 0x14006521d
mov qword [rbp - 0x28], r13
lea rax, [0x140006010]
mov qword [rbp - 0x20], rax
lea rax, [0x140005f88]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x219
mov dword [rbp - 0xc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 8], 0xff
mov dword [rbp + 0x78], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp]
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x18]
test ebx, ebx
jle 0x1400651dd
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x140040b40]
mov r8d, ebx
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.1401027cc
int3
cmp dword [rbp + 0xe8], 4
je 0x140065290
mov qword [rbp - 0x28], r13
lea rax, [0x140006010]
mov qword [rbp - 0x20], rax
lea rax, [0x140005f88]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x220
mov dword [rbp - 0xc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 8], 0xff
mov dword [rbp + 0x78], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], r14
mov r9, qword [rsi + 0x18]
lea r8, [0x140040bb0]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.1401010d8
xor edx, edx
jmp 0x1400653fd
mov ebx, dword [rbp + 0xd0]
cmp ebx, 4
je 0x140065317
mov qword [rbp - 0x28], r13
lea rax, [0x140006010]
mov qword [rbp - 0x20], rax
lea rax, [0x140005f88]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x22d
mov dword [rbp - 0xc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 8], 0xff
mov dword [rbp + 0x78], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], r14
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, [0x140040c70]
mov r8d, 0x8000ffff
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.1401027cc
int3
mov dword [rsp + 0x54], r12d
mov dword [rbp + 0xe0], 4
mov dword [rsp + 0x50], r12d
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x1400653f4
mov qword [rbp - 0x28], r13
lea rax, [0x140006010]
mov qword [rbp - 0x20], rax
lea rax, [0x140005f88]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x23c
mov dword [rbp - 0xc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 8], 0xff
mov dword [rbp + 0x78], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp]
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x18]
test ebx, ebx
jle 0x1400653b6
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x140040b40]
mov r8d, ebx
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.1401027cc
int3
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.140074628
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.140050f50
movzx eax, bl
jmp 0x14004d71b