Function at 0x140101420
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rbx, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x1b0], eax
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::_InitializeFreeAppStatus
mov edx, 0x102
lea rcx, [rbp + 0x1b4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x1b4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::_InitializeFreeAppStatus
mov edx, 0x104
lea rcx, [rbp + 0x3bc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
xor esi, esi
lea r14, [0x140000000]
add ecx, eax
je 0x14010157a
mov dword [rsp + 0x48], esi
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1401014ff
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x74], 0x20
mov edx, 1
lea rax, [rbp + 0x1b4]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3bc]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rsp + 0x74]
movsx edx, dx
call fcn.140004c90
mov qword [rsp + 0x40], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x140101575
nop word [rax + rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x140101560
lock inc dword [rsp + 0x48]
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401c15e0], rsi
jne 0x14010159c
lea rcx, [0x1401c15c0]
call fcn.140047ce0
lea rcx, [0x1401c15e8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401c15e0]
test rcx, rcx
je 0x1401015d0
mov rax, qword [rcx]
lea r8, [0x14016b3e0]
mov edx, 0xcb
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
jmp 0x1401015d7
lea rax, str._error_interface_not_inited_
mov qword [rbp + 0x190], rsi
mov qword [rbp + 0x1a0], rsi
mov qword [rbp + 0x1a8], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140101600
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140002f20
lea r9, [rbp + 0x190]
mov r10, qword [rbp + 0x190]
mov r11, qword [rbp + 0x1a8]
cmp r11, 8
cmovae r9, r10
cmp qword [rbp + 0x1a0], 0x11
jne 0x140101685
mov edx, 0x11
lea rax, [0x14016b338]
movzx ecx, word [r9]
mov r8d, 0x3c
cmp cx, r8w
jb 0x140101685
sub r9, rax
cmp cx, r8w
ja 0x140101685
cmp rdx, 1
je 0x1401016fe
dec rdx
add rax, 2
movzx ecx, word [r9 + rax]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x140101663
lea rdx, [rbp + 0x190]
cmp r11, 8
cmovae rdx, r10
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, str.IsFreeApp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140101954
mov dword [rbp - 0x80], eax
lea rax, [0x1401b9210]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rbp - 0x68]
mov edi, dword [rbp - 0x70]
jmp 0x14010195d
lea rax, [r14 + 0x181628]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
mov rax, qword [rbp + 0x98]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x98], rax
mov rax, qword [rbp + 0x98]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x94], edx
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x108], rsi
mov dword [rbp + 0x110], 4
mov rax, qword [rbp + 0x98]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rbp + rcx + 0x98], rax
mov rax, qword [rbp + 0x98]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x94], edx
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x140101889
mov dword [rsp + 0x58], esi
call fcn.140005ad0
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x140101803
call fcn.140005ad0
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
cmp qword [rax], rsi
je 0x140101821
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140101821
call qword [case.0x140077645.0]
movzx ebx, al
jmp 0x140101823
xor ebx, ebx
mov qword [rsp + 0x50], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
js 0x14010184d
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
jns 0x140101838
lock inc dword [rsp + 0x58]
mov byte [rbp + 0x118], bl
mov dword [rbp + 0x11c], 4
lea rax, [0x14016b2d0]
mov qword [rbp + 0x120], rax
test bl, bl
je 0x1401018a8
lea rdx, str.REGPATH_BD_not_found
lea rcx, [rbp + 0x98]
call fcn.140006540
jmp 0x1401018a8
mov byte [rbp + 0x118], sil
mov dword [rbp + 0x11c], 4
lea rax, [0x14016b2d0]
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x130]
call fcn.140004f20
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 8
jb 0x140101907
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140101902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401019c6
call fcn.14007e2a0
mov qword [rbp + 0x1a0], rsi
mov qword [rbp + 0x1a8], 7
mov word [rbp + 0x190], si
lea rcx, [rbp + 0x1b0]
call fcn.140004e30
nop
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edi, esi
lea rcx, [0x1401b91d8]
mov rax, qword [0x1401b91e0]
cmp qword [rcx + 8], rax
jne 0x1401019cd
test edi, edi
jne 0x1401019cd
mov eax, dword [rsp + 0x70]
test eax, eax
setne al
mov byte [rbx + 0x820], al
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 8
jb 0x140101907
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140101902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140101902
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, esi
test edi, edi
je 0x140101972
lea rax, [r14 + 0x181628]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x18], 4
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rbp + rcx - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x140101b29
mov dword [rsp + 0x68], esi
call fcn.140005ad0
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x140101aa8
call fcn.140005ad0
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
cmp qword [rax], rsi
je 0x140101ac6
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140101ac6
call qword [case.0x140077645.0]
movzx ebx, al
jmp 0x140101ac8
xor bl, bl
mov qword [rsp + 0x60], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
js 0x140101af5
nop dword [rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
jns 0x140101ae0
lock inc dword [rsp + 0x68]
mov byte [rbp + 0x20], bl
mov dword [rbp + 0x24], 4
lea rax, [0x14016b280]
mov qword [rbp + 0x28], rax
test bl, bl
je 0x140101b50
lea rdx, str.Could_not_read_IsFreeApp_err
lea rcx, [rbp - 0x60]
call fcn.140006540
movzx ebx, byte [rbp + 0x20]
jmp 0x140101b40
xor bl, bl
mov byte [rbp + 0x20], bl
mov dword [rbp + 0x24], 4
lea rax, [0x14016b280]
mov qword [rbp + 0x28], rax
test bl, bl
je 0x140101b50
mov edx, edi
lea rcx, [rbp - 0x60]
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___int____ptr64]
lea rcx, [rbp + 0x38]
call fcn.140004f20
lea rcx, [rbp + 0x38]
jmp 0x1401018bb