Function at 0x14001a1a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13, rdx
mov r12, rcx
xor ebx, ebx
mov dword [rsp + 0x60], 0x104
lea r15d, [rbx + 1]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x110]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x14001a731
nop dword [rax]
lea rax, [rbp + 0x110]
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rax + r9], 0
jne 0x14001a230
lea rax, [rbp + 0x110]
add rax, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
lea rcx, [rbp + 0x110]
cmp rcx, rax
jne 0x14001a271
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
jmp 0x14001a286
lea rdx, ds:[rbp + 0x110]
lea rcx, [rbp - 0x40]
call fcn.14001b2c0
nop
lea rax, ds:[rsp + 0x68]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x14001a6a8
lea rdx, [rbp]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rdx, [rsp + 0x70]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rdx, r13
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14001a351
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14001a6f0
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a6eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a6eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
mov qword [rsp + 0x20], 0x10
lea r9, str..FriendlyAppName
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
call fcn.1400087c0
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x14001a3ba
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
mov qword [rsp + 0x20], 0x13
lea r9, str..ApplicationCompany
xor r8d, r8d
mov rdx, qword [rbp - 0x30]
call fcn.1400087c0
cmp rax, 0xffffffffffffffff
je 0x14001a53f
lea rbx, [rbp - 0x40]
mov rsi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x28]
cmp r14, 7
cmova rbx, rsi
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x14001a4b3
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140057778]
mov edx, 0x100
movzx eax, word ds:[rcx]
cmp ax, dx
jae 0x14001a44e
movzx eax, al
mov byte [rbp + rax + 0x10], 1
add rcx, 2
lea rax, [0x14005777a]
cmp rcx, rax
jne 0x14001a3f8
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, dx
jae 0x14001a443
cmp byte [rbp + rax + 0x10], 0
jne 0x14001a4ab
cmp r8, rbx
je 0x14001a4b3
sub r8, 2
jmp 0x14001a433
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
mov r9d, 0x2e
nop word [rax + rax]
mov eax, 1
movzx edx, word [r8]
lea rcx, [0x140057778]
cmp r9w, dx
je 0x14001a4ab
cmp rax, 1
je 0x14001a49d
dec rax
add rcx, 2
cmp word [rcx], dx
jne 0x14001a486
test rcx, rcx
jne 0x14001a4ab
nop dword [rax]
cmp r8, rbx
je 0x14001a4b3
sub r8, 2
jmp 0x14001a470
sub r8, rbx
sar r8, 1
jmp 0x14001a4ba
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x40]
cmp r14, 7
cmova rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.1400066a0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14001a52f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a52a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a761
call fcn.14004d6c0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbp - 0x30], xmm1
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140004d80
test al, al
jne 0x14001a665
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov r8, qword [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400066a0
nop
lea rcx, [rbp - 0x20]
call fcn.140004c60
movzx ebx, al
lea rcx, [rbp - 0x20]
call fcn.1400058e0
test bl, bl
je 0x14001a615
lea rdx, ds:[rbp - 0x40]
call fcn.14004b8e0
test al, al
jne 0x14001a665
lea rdx, [0x1400572d8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
nop dword [rax + rax]
call fcn.1400064a0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rax
call fcn.140008ee0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp - 0x60]
jmp 0x14001a659
lea rdx, [0x1400577a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, ds:[rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rax
call fcn.140008ee0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp - 0x50]
lea r8, ds:[rbp - 0x40]
call fcn.140006140
lea rdx, [0x1400572d8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rax
call fcn.140008ee0
lea rdx, [0x140008380]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor ebx, ebx
mov dword [rsp + 0x60], 0x104
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14001a6f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a6eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a768
call fcn.14004d6c0
mov edx, r15d
inc r15d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x110]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x14001a220
mov rcx, qword ds:[rbp + 0x220]
xor rcx, rsp
call fcn.14004d6a0
mov rbx, qword ss:[rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3