Function at 0x1400dece0
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.1400b3040
sub rsp, rax
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x18a0], rax
mov rdi, r8
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x1060], eax
lea r9, [rbx - 1]
lea r8, str.CMainDialog::OnPluginRequest
mov edx, 0x102
lea rcx, [rbp + 0x1064]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x1064]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [rbx - 1]
lea r8, str.CMainDialog::OnPluginRequest
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
lea esi, [rbx + 1]
lea r12, str.____s
add ecx, eax
je 0x1400dee3a
mov dword [rsp + 0x50], ebx
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400dedc9
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rbp - 0x48], 0x20
lea rax, [rbp + 0x1064]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x126c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x48]
movsx edx, si
call fcn.140004c90
nop
mov qword [rsp + 0x48], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x1400dee35
nop dword [rax + rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x1400dee20
lock inc dword [rsp + 0x50]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x1400deebb
mov dword [rsp + 0x60], ebx
call fcn.140005ad0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov dword [rsp + 0x40], esi
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x1400dee7a
call fcn.140005ad0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov dword [rbp - 0x44], 0x10
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r15d
lea rax, str.wp_d_lp_d
mov qword [rsp + 0x28], rax
lea rax, [0x1401704f8]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x44]
movsx edx, bx
call fcn.140004c90
nop
mov eax, dword [rsp + 0x40]
test al, 1
je 0x1400deefa
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
js 0x1400deef5
nop
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
jns 0x1400deee0
lock inc dword [rsp + 0x60]
mov rax, r15
sub rax, 0xa0
je 0x1400df4a6
sub rax, 1
je 0x1400df275
sub rax, 1
je 0x1400df13e
sub rax, 1
je 0x1400df0c0
cmp rax, 0xca5
je 0x1400df07b
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, [0x140183930]
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, [0x1401703b8]
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x1400df03f
mov dword [rsp + 0x70], ebx
call fcn.140005ad0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x1400defd6
call fcn.140005ad0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov dword [rbp - 0x40], 0x20
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x1ec]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x40]
movsx edx, si
call fcn.140004c90
nop
mov qword [rsp + 0x68], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x1400df03a
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x1400df025
lock inc dword [rsp + 0x70]
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x1400df072
nop dword [rax]
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1400df065
mov rdx, rdi
mov ecx, r15d
call qword [case.0x140077645.0]
add rbx, 0xa0
cmp rbx, qword [r14 + 0x48]
jne 0x1400df050
lea rcx, [rbp - 0x20]
jmp 0x1400df5e7
mov rbx, qword [r14 + 0x40]
cmp rbx, qword [r14 + 0x48]
je 0x1400df5ed
nop dword [rax]
mov eax, dword [rbx + 0x28]
cmp dword [rdi], eax
jne 0x1400df0ae
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1400df0ae
mov rdx, rdi
mov ecx, 0xd48
call qword [case.0x140077645.0]
add rbx, 0xa0
cmp rbx, qword [r14 + 0x48]
jne 0x1400df090
jmp 0x1400df5ed
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.0x140077645.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 0x1400df108
mov rsi, rbx
jmp 0x1400df5ed
test rdi, rdi
jne 0x1400df124
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 0x1400df5ed
movups xmm0, xmmword [rbp + 0x1480]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x1490]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400df5ed
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, [0x140183930]
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, [0x1401703f8]
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x1400df258
mov dword [rbp - 0x80], ebx
call fcn.140005ad0
mov qword [rsp + 0x78], rax
lock inc dword [rbp - 0x80]
mov rax, qword [rsp + 0x78]
test rax, rax
jne 0x1400df1ea
call fcn.140005ad0
mov qword [rsp + 0x78], rax
lock inc dword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov dword [rbp - 0x3c], 0x20
lea rax, [rbp + 0x404]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x60c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x3c]
movsx edx, si
call fcn.140004c90
nop
mov qword [rsp + 0x78], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x80], eax
cmp eax, 1
js 0x1400df254
nop dword [rax + rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 0x80], eax
cmp eax, 1
jns 0x1400df240
lock inc dword [rbp - 0x80]
mov rdx, rdi
call fcn.1400de7d0
mov rsi, rbx
test al, al
setne sil
lea rcx, [rbp + 0x400]
jmp 0x1400df5e7
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, [0x140183930]
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, [0x140170438]
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x1400df388
mov dword [rbp - 0x70], ebx
call fcn.140005ad0
mov qword [rbp - 0x78], rax
lock inc dword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
test rax, rax
jne 0x1400df31e
call fcn.140005ad0
mov qword [rbp - 0x78], rax
lock inc dword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov dword [rbp - 0x38], 0x20
lea rax, [rbp + 0x824]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0xa2c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x38]
movsx edx, si
call fcn.140004c90
nop
mov qword [rbp - 0x78], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x70], eax
cmp eax, 1
js 0x1400df384
nop dword [rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 0x70], eax
cmp eax, 1
jns 0x1400df370
lock inc dword [rbp - 0x70]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x14a0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x50], rbx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x14016a158]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400df3e9
mov qword [rbp - 0x50], rbx
lea r8, [0x140157814]
mov edx, 0x400
lea rcx, [rbp + 0x14a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x1400df456
mov dword [rbp - 0x34], 0x400
mov dword [rbp - 0x58], esi
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x14a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
xor r8d, r8d
lea rdx, [0x1401577ac]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400df42a
cmp dword [rbp - 0x58], 1
je 0x1400df443
lea r8, [0x1401577c4]
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 [rbp - 0x50]
test rcx, rcx
je 0x1400df456
mov qword [rbp - 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
jne 0x1400df479
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 0x1400df5e7
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 0x1400df5e7
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, [0x140183930]
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, [0x140170478]
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 [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x1400df5b8
mov dword [rbp - 0x60], ebx
call fcn.140005ad0
mov qword [rbp - 0x68], rax
lock inc dword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
test rax, rax
jne 0x1400df54f
call fcn.140005ad0
mov qword [rbp - 0x68], rax
lock inc dword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
mov dword [rbp - 0x30], 0x20
lea rax, [rbp + 0xc44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0xe4c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x30]
movsx edx, si
call fcn.140004c90
nop
mov qword [rbp - 0x68], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x60], eax
cmp eax, 1
js 0x1400df5b4
nop
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 0x60], eax
cmp eax, 1
jns 0x1400df5a0
lock inc dword [rbp - 0x60]
cmp qword [rdi + 8], 0
jne 0x1400df5d6
lea rcx, [r14 - 0x480]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140077645.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.140004e30
nop
lea rcx, [rbp + 0x1060]
call fcn.140004e30
mov rax, rsi
mov rcx, qword [rbp + 0x18a0]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x19b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret