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

Disassembly:
jmp 0x1400cfb20
push rbp
push rdi
mov eax, 0x1538
call fcn.1400a04ba
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x3be
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14022f6c0]
xor rax, rbp
mov qword [rbp + 0x14e8], rax
lea rcx, [0x14024250e]
call fcn.1400a1a40
movzx eax, byte [0x14022ff2e]
test eax, eax
jne 0x1400cfb73
jmp 0x1400cffa4
mov dword [rbp + 0x64], 0
lea rax, [rbp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rbp + 0x1b4], 0x104
lea rax, [rbp + 0x200]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rbp + 0x620]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rbp + 0xa40]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rbp + 0xe54], 0x400
mov dword [rbp + 0xe74], 0x400
mov dword [rbp + 0xe94], 0x400
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareMartin_PrikrylWinSCP_2Configuration
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400cfc1d
jmp 0x1400cffa4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.UseMasterPassword
lea rdx, str.Security
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400cfc78
cmp qword [rbp + 8], 0
je 0x1400cfc73
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 8], 0
jmp 0x1400cffa4
cmp dword [rbp + 0x24], 0
je 0x1400cfc9c
cmp qword [rbp + 8], 0
je 0x1400cfc97
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 8], 0
jmp 0x1400cffa4
cmp qword [rbp + 8], 0
je 0x1400cfcb5
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
lea rdx, str.SoftwareMartin_PrikrylWinSCP_2Sessions
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400cfce4
jmp 0x1400cffa4
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1b4]
lea r8, [rbp + 0x90]
mov edx, dword [rbp + 0x64]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rbp + 0x1d4], eax
cmp dword [rbp + 0x1d4], 0
je 0x1400cfd50
cmp qword [rbp + 8], 0
je 0x1400cfd4b
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 8], 0
jmp 0x1400cffa4
lea rdx, str.Site:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400a0e06
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.1400a0e06
lea rdx, [0x1400a0cbc]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 rax, [rbp + 0xe54]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.HostName
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400cfdf7
lea rdx, str.Host:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400a0e06
lea rdx, [rbp + 0x200]
mov rcx, rax
call fcn.1400a0e06
lea rdx, [0x1400a0cbc]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 rax, [rbp + 0xe74]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x620]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.UserName
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400cfe6c
lea rdx, str.Username:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400a0e06
lea rdx, [rbp + 0x620]
mov rcx, rax
call fcn.1400a0e06
lea rdx, [0x1400a0cbc]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 rax, [rbp + 0xe94]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.Password
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400cff10
lea r9, [rbp + 0xa40]
lea r8, [rbp + 0x620]
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0xeb8]
call fcn.1400a019f
nop
lea rdx, str.Password:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400a02fd
lea rdx, [rbp + 0xeb8]
mov rcx, rax
call fcn.1400a1761
lea rdx, [0x1400a00f0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0xeb8]
call fcn.1400a04ec
mov dword [rbp + 0x1b4], 0x104
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1b4]
lea r8, [rbp + 0x90]
mov edx, dword [rbp + 0x64]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rbp + 0x1d4], eax
lea rdx, [0x1400a0cbc]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call qword [sym.imp.MSVCP140D.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]
cmp dword [rbp + 0x1d4], 0x103
jne 0x1400cfd50
cmp qword [rbp + 8], 0
je 0x1400cffa4
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 8], 0
lea rcx, [rbp - 0x40]
lea rdx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.1400a15c2
mov rcx, qword [rbp + 0x14e8]
xor rcx, rbp
call fcn.1400a0ca3
lea rsp, [rbp + 0x14f8]
pop rdi
pop rbp
ret