Function at 0x1400128a0
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 [0x140072040]
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 0x140012e31
nop dword [rax]
lea rax, [rbp + 0x110]
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rax + r9], 0
jne 0x140012930
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 0x140012971
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
jmp 0x140012986
lea rdx, ds:[rbp + 0x110]
lea rcx, [rbp - 0x40]
call fcn.1400138e0
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 0x140012da8
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 0x140012a51
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140012df0
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012deb
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 0x140012aba
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 0x140012c3f
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 0x140012bb3
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140051ef8]
mov edx, 0x100
movzx eax, word ds:[rcx]
cmp ax, dx
jae 0x140012b4e
movzx eax, al
mov byte [rbp + rax + 0x10], 1
add rcx, 2
lea rax, [0x140051efa]
cmp rcx, rax
jne 0x140012af8
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 0x140012b43
cmp byte [rbp + rax + 0x10], 0
jne 0x140012bab
cmp r8, rbx
je 0x140012bb3
sub r8, 2
jmp 0x140012b33
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, [0x140051ef8]
cmp r9w, dx
je 0x140012bab
cmp rax, 1
je 0x140012b9d
dec rax
add rcx, 2
cmp word [rcx], dx
jne 0x140012b86
test rcx, rcx
jne 0x140012bab
nop dword [rax]
cmp r8, rbx
je 0x140012bb3
sub r8, 2
jmp 0x140012b70
sub r8, rbx
sar r8, 1
jmp 0x140012bba
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 0x140012c2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e61
call fcn.140049760
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 0x140012d65
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 0x140012d15
lea rdx, ds:[rbp - 0x40]
call fcn.140047980
test al, al
jne 0x140012d65
lea rdx, [0x140051dc8]
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 0x140012d59
lea rdx, [0x140051f28]
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, [0x140051dc8]
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 0x140012df0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012e68
call fcn.140049760
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 0x140012920
mov rcx, qword ds:[rbp + 0x220]
xor rcx, rsp
call fcn.140049740
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