Function at 0x1400d0160
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x18b0]
mov eax, 0x19b0
call fcn.1400a5da0
sub rsp, rax
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x18a0], rax
mov rdi, r8
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x1060], eax
lea r9, [r12 - 1]
lea r8, [0x14014f298]
mov edx, 0x102
lea rcx, [rbp + 0x1064]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x14016059c]
mov edx, 0x104
lea rcx, [rbp + 0x1064]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [r12 - 1]
lea r8, [0x14014f298]
mov edx, 0x104
lea rcx, [rbp + 0x126c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
lea esi, [r12 + 1]
lea rbx, str.____s
add ecx, eax
je 0x1400d02bc
mov dword [rsp + 0x58], r12d
call fcn.1400057e0
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x1400d0250
call fcn.1400057e0
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov dword [rbp - 0x4c], 0x20
lea rax, [rbp + 0x1064]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x126c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x4c]
movsx edx, si
call fcn.140004bd0
nop
mov qword [rsp + 0x50], r12
mov eax, 0xffffffff
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
js 0x1400d02b7
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
jns 0x1400d02a2
lock inc dword [rsp + 0x58]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x1400d033f
mov dword [rsp + 0x68], r12d
call fcn.1400057e0
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov dword [rsp + 0x40], esi
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x1400d02fd
call fcn.1400057e0
mov qword [rsp + 0x60], rax
lock inc dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov dword [rbp - 0x48], Ordinal_21
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r15d
lea rax, str.wp_d_lp_d
mov qword [rsp + 0x28], rax
lea rax, [0x14014f258]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x48]
movsx edx, r12w
call fcn.140004bd0
nop
mov eax, dword [rsp + 0x40]
test al, 1
je 0x1400d037d
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x60], r12
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
js 0x1400d0378
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
cmp eax, 1
jns 0x1400d0363
lock inc dword [rsp + 0x68]
mov rax, r15
sub rax, 0xa0
je 0x1400d095c
sub rax, 1
je 0x1400d0722
sub rax, 1
je 0x1400d05be
sub rax, 1
je 0x1400d0540
cmp rax, 0xca5
je 0x1400d04ff
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], 0x5b
mov r9, 0xffffffffffffffff
lea r8, str.default
mov edx, 0x102
lea rcx, [rbp - 0x1a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401606c0]
mov edx, 0x104
lea rcx, [rbp - 0x1c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.CMainDialog::OnPluginRequest
mov edx, 0x104
lea rcx, [rbp + 0x1ec]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x1400d04ca
mov dword [rsp + 0x78], r12d
call fcn.1400057e0
mov qword [rsp + 0x70], rax
lock inc dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x1400d045a
call fcn.1400057e0
mov qword [rsp + 0x70], rax
lock inc dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov dword [rbp - 0x44], 0x20
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x1ec]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x44]
movsx edx, si
call fcn.140004bd0
nop
mov qword [rsp + 0x70], r12
mov eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
cmp eax, 1
js 0x1400d04c5
nop dword [rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
cmp eax, 1
jns 0x1400d04b0
lock inc dword [rsp + 0x78]
mov rbx, qword [r14 + 0x38]
cmp rbx, qword [r14 + 0x40]
je 0x1400d04f6
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1400d04e9
mov rdx, rdi
mov ecx, r15d
call qword [case.0x14006aed5.0]
add rbx, 0xa0
cmp rbx, qword [r14 + 0x40]
jne 0x1400d04d4
lea rcx, [rbp - 0x20]
jmp 0x1400d0a9c
mov rbx, qword [r14 + 0x38]
cmp rbx, qword [r14 + 0x40]
je 0x1400d0aa2
nop dword [rax]
mov eax, dword [rbx + 0x28]
cmp dword [rdi], eax
jne 0x1400d052e
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1400d052e
mov rdx, rdi
mov ecx, 0xd48
call qword [case.0x14006aed5.0]
add rbx, 0xa0
cmp rbx, qword [r14 + 0x40]
jne 0x1400d0510
jmp 0x1400d0aa2
xorps xmm0, xmm0
movups xmmword [rbp + 0x1480], xmm0
movups xmmword [rbp + 0x1490], xmm0
lea rcx, [r14 - 0x480]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov r8, rax
mov r9b, 1
mov edx, 0x20
lea rcx, [rbp + 0x1480]
call qword [sym.imp.bdhtmldialogs_sc.dll_bool___cdecl_ChangePassword_char____ptr64__unsigned_int__struct_HWND______ptr64__bool_]
test al, al
jne 0x1400d0588
mov rsi, r12
jmp 0x1400d0aa2
test rdi, rdi
jne 0x1400d05a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x1400d0aa2
movups xmm0, xmmword [rbp + 0x1480]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x1490]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400d0aa2
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x400], eax
mov dword [rbp + 0x404], 0x5b
mov r9, 0xffffffffffffffff
lea r8, str.PLGM_SETPASSWORD
mov edx, 0x102
lea rcx, [rbp + 0x406]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401606c0]
mov edx, 0x104
lea rcx, [rbp + 0x404]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, [0x14014f120]
mov edx, 0x104
lea rcx, [rbp + 0x60c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x1400d06cf
mov dword [rbp - 0x78], r12d
call fcn.1400057e0
mov qword [rbp - 0x80], rax
lock inc dword [rbp - 0x78]
mov rax, qword [rbp - 0x80]
test rax, rax
jne 0x1400d0668
call fcn.1400057e0
mov qword [rbp - 0x80], rax
lock inc dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov dword [rbp - 0x40], 0x20
lea rax, [rbp + 0x404]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x60c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x40]
movsx edx, si
call fcn.140004bd0
nop
mov qword [rbp - 0x80], r12
mov eax, 0xffffffff
lock xadd dword [rbp - 0x78], eax
cmp eax, 1
js 0x1400d06cb
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x78], eax
cmp eax, 1
jns 0x1400d06b7
lock inc dword [rbp - 0x78]
lea rax, [rsp + 0x48]
mov qword [rbp - 0x28], rax
lea rdx, [0x140141ad4]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov rbx, rax
lea rdx, [0x14014f0f0]
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov r9, rbx
mov r8, rax
mov rdx, rdi
call fcn.1400cfbd0
mov rsi, r12
test al, al
setne sil
lea rcx, [rbp + 0x400]
jmp 0x1400d0a9c
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x820], eax
mov dword [rbp + 0x824], 0x5b
mov r9, 0xffffffffffffffff
lea r8, str.PLGM_GETPASSWORD
mov edx, 0x102
lea rcx, [rbp + 0x826]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401606c0]
mov edx, 0x104
lea rcx, [rbp + 0x824]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, [0x14014f048]
mov edx, 0x104
lea rcx, [rbp + 0xa2c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x1400d0838
mov dword [rbp - 0x68], r12d
call fcn.1400057e0
mov qword [rbp - 0x70], rax
lock inc dword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
test rax, rax
jne 0x1400d07cc
call fcn.1400057e0
mov qword [rbp - 0x70], rax
lock inc dword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov dword [rbp - 0x30], 0x20
lea rax, [rbp + 0x824]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xa2c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x30]
movsx edx, si
call fcn.140004bd0
nop
mov qword [rbp - 0x70], r12
mov eax, 0xffffffff
lock xadd dword [rbp - 0x68], eax
cmp eax, 1
js 0x1400d0834
nop dword [rax + rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x68], eax
cmp eax, 1
jns 0x1400d0820
lock inc dword [rbp - 0x68]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x14a0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140149400]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400d089c
mov qword [rsp + 0x48], r12
lea r8, [0x140139efc]
mov edx, 0x400
lea rcx, [rbp + 0x14a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x1400d090c
mov dword [rbp - 0x38], 0x400
mov dword [rbp - 0x50], esi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x14a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, [0x140139ffc]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400d08de
cmp dword [rbp - 0x50], 1
je 0x1400d08f7
lea r8, [0x14013a044]
mov edx, 0x400
lea rcx, [rbp + 0x14a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400d090c
mov qword [rsp + 0x48], r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
jne 0x1400d092f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rcx, [rbp + 0x820]
jmp 0x1400d0a9c
movaps xmm0, xmmword [rbp + 0x14a0]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rbp + 0x14b0]
movsd qword [rdi + 0x10], xmm1
movzx eax, byte [rbp + 0x14b8]
mov byte [rdi + 0x18], al
lea rcx, [rbp + 0x820]
jmp 0x1400d0a9c
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0xc40], eax
mov dword [rbp + 0xc44], 0x5b
mov r9, 0xffffffffffffffff
lea r8, str.PLGM_COMPLETE_PASS
mov edx, 0x102
lea rcx, [rbp + 0xc46]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401606c0]
mov edx, 0x104
lea rcx, [rbp + 0xc44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, [0x14014f088]
mov edx, 0x104
lea rcx, [rbp + 0xe4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
add ecx, eax
je 0x1400d0a6d
mov dword [rbp - 0x58], r12d
call fcn.1400057e0
mov qword [rbp - 0x60], rax
lock inc dword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
test rax, rax
jne 0x1400d0a06
call fcn.1400057e0
mov qword [rbp - 0x60], rax
lock inc dword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov dword [rbp - 0x28], 0x20
lea rax, [rbp + 0xc44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0xe4c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x28]
movsx edx, si
call fcn.140004bd0
nop
mov qword [rbp - 0x60], r12
mov eax, 0xffffffff
lock xadd dword [rbp - 0x58], eax
cmp eax, 1
js 0x1400d0a69
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rbp - 0x58], eax
cmp eax, 1
jns 0x1400d0a55
lock inc dword [rbp - 0x58]
cmp qword [rdi + 8], 0
jne 0x1400d0a8b
lea rcx, [r14 - 0x480]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov qword [rdi + 8], rax
mov rcx, rdi
call qword [sym.imp.bdhtmldialogs_sc.dll_void___cdecl_CheckPassword_class_CPlgPasswordProtectedCommData____ptr64_]
nop
lea rcx, [rbp + 0xc40]
call fcn.1400091b0
nop
lea rcx, [rbp + 0x1060]
call fcn.1400091b0
mov rax, rsi
mov rcx, qword [rbp + 0x18a0]
xor rcx, rsp
call fcn.140071e30
add rsp, 0x19b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret