Function at 0x14005a440
Capabilities:
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 r14, r8
mov rsi, rdx
mov rdi, rcx
lea r15, [0x140005f30]
mov qword [rsp + 0x68], r15
lea r12, [0x140006010]
mov qword [rsp + 0x70], r12
lea rax, [0x140005f88]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x18c
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
xor r13d, r13d
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.140052e50
nop
mov qword [r14], r13
mov dword [rbp + 0xe8], r13d
mov dword [rbp + 0xd0], r13d
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xe8]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 2
jne 0x14006b93e
lea rax, [0x140002b78]
mov qword [rsp + 0x20], rax
lea r9, [0x140002b88]
mov r8d, 0xaa
lea rdx, [0x140002b58]
lea rcx, [rbp + 0x10]
call fcn.140051070
nop
mov ebx, r13d
mov rcx, qword [rbp + rbx*8 + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 + 0x50], r13
inc rbx
cmp rbx, 4
jl 0x14005a550
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp + 0x44]
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 + 0x48]
cmp r8d, 0xff
jne 0x14005a5f1
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 0x18]
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 + 0x10]
call fcn.140051070
mov rcx, qword [rbp + 0x70]
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
test eax, eax
je 0x14006b9e3
cmp eax, 0xea
je 0x14006b9e3
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
lea rax, [0x140005f88]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x1ac
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x18]
test ebx, ebx
jle 0x14006b9a3
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], rsi
mov qword [rsp + 0x28], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x140040b40]
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1401027cc
int3
mov ebx, dword [rbp + 0xe8]
lea eax, [rbx - 1]
cmp eax, 1
jbe 0x14006ba69
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
lea rax, [0x140005f88]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x1b2
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, [0x140040ad0]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1401027cc
int3
mov qword [rsp + 0x60], r13
lea rax, [0x140001b68]
mov qword [rsp + 0x58], rax
mov ebx, dword [rbp + 0xd0]
shr ebx, 1
lea rcx, [rsp + 0x58]
call fcn.1400de67c
lea r12, [rbx + rbx]
lea rcx, [r12 + 2]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemAlloc]
mov r15, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14006bac2
mov dword [rsp + 0x54], 0x8007000e
lea rdx, [0x140153178]
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll__CxxThrowException
int3
mov dword [rsp + 0x50], r13d
lea eax, [rbx + rbx]
mov dword [rbp + 0xe0], eax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x14006bb9e
lea rax, [0x140005f30]
mov qword [rsp + 0x68], rax
lea rax, [0x140006010]
mov qword [rsp + 0x70], rax
lea rax, [0x140005f88]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x1c7
mov dword [rbp - 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x78], 0xff
mov dword [rbp + 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x18]
test ebx, ebx
jle 0x14006bb60
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x140040b40]
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.1401027cc
int3
mov word [r12 + r15], r13w
mov qword [rsp + 0x60], r13
mov qword [r14], r15
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.140074628
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.140070d7c
nop
lea rcx, [rbp + 0x10]
call fcn.140050f50
movzx eax, bl
jmp 0x14005a632