Function at 0x1400574d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x318], rbx
mov rsi, rdx
mov rbx, rcx
lea r15, [0x140005f30]
mov qword [rsp + 0x58], r15
lea r12, [0x140006280]
mov qword [rsp + 0x60], r12
lea r13, [0x140005f88]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x3bd
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
xor r14d, r14d
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.140052e50
nop
mov rcx, rbx
call fcn.140053a70
cmp dword [rbx + 0x10], 4
jne 0x140069ff0
mov edi, dword [rbx + 0x2c]
cmp edi, 4
jne 0x14006a049
mov dword [rbp + 0x228], r14d
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0x210], eax
mov dword [rbp + 0x220], r14d
mov dword [rsp + 0x50], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x228]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x220]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x210]
mov r8, qword [rbx + 0x20]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x14006a0af
mov ebx, dword [rbx + 0x10]
mov edi, dword [rbp + 0x220]
cmp edi, ebx
jne 0x14006a1aa
mov eax, dword [rbp + 0x228]
mov dword [rsi], eax
mov ebx, r14d
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], r14
inc rbx
cmp rbx, 4
jl 0x140057605
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 0x1400576a6
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 rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x3c3
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, [0x140040ed0]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1401027cc
int3
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x3c8
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
lea r9, [0x140041020]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1401027cc
int3
xor edx, edx
lea r8d, [rdx + 0x78]
cmp eax, 0x103
je 0x14006a13b
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x3e7
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 0x20]
test edi, edi
jle 0x14006a104
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0x210]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [0x140040f50]
mov r8d, edi
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1401027cc
int3
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r13
mov dword [rbp + 0x90], 0x3e5
mov dword [rbp + 0x94], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0x98], 0xff
mov dword [rbp + 0x118], 0x1000000
lea rcx, [rbp + 0xa0]
call sub.msvcrt.dll_memset
mov eax, dword [rbx + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x20], eax
lea r9, [0x140040e30]
mov r8d, 0x8000ffff
lea rdx, [rbp + 0x78]
lea rcx, [rbp]
call fcn.1401027cc
int3
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], r12
mov qword [rbp + 0x130], r13
mov dword [rbp + 0x138], 0x3df
mov dword [rbp + 0x13c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0x140], 0xff
mov dword [rbp + 0x1c0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0x148]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, [0x140040f90]
mov r8d, 0x8000ffff
lea rdx, [rbp + 0x120]
lea rcx, [rbp]
call fcn.1401027cc
int3