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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xca0]
sub rsp, 0xda0
mov rax, qword [0x1400e6010]
xor rax, rsp
mov qword [rbp + 0xc90], rax
cmp byte [0x1400e8818], 0
je 0x14000e16d
xor esi, esi
mov edi, esi
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x48], 0x104
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x490]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x890]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x50], 0x400
mov dword [rsp + 0x54], 0x400
mov dword [rsp + 0x58], 0x400
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareMartin_PrikrylWinSCP_2Configuration
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e16d
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 0x10]
lea r8, str.UseMasterPassword
lea rdx, str.Security
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000e15d
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x4c], esi
jne 0x14000e162
test rcx, rcx
je 0x14000deb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x40]
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
jne 0x14000e16d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000e15d
nop dword [rax]
lea rdx, str.Site:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140009890
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.140009890
mov rcx, rax
lea rdx, [0x140009b00]
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 rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x490]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, str.HostName
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14000dfbc
lea rdx, str.Host:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140009890
mov rcx, rax
lea rdx, [rbp + 0x490]
call fcn.140009890
mov rcx, rax
lea rdx, [0x140009b00]
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 rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, str.UserName
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14000e029
lea rdx, str.Username:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140009890
mov rcx, rax
lea rdx, [rbp + 0x90]
call fcn.140009890
mov rcx, rax
lea rdx, [0x140009b00]
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 rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x890]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9d, 2
lea r8, str.Password
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14000e107
lea r9, [rbp + 0x890]
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x490]
lea rcx, [rsp + 0x60]
call fcn.14000fda0
nop
lea rdx, str.Password:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005220
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.14000c350
mov rcx, rax
lea rdx, [0x1400053f0]
call qword [sym.imp.MSVCP140.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
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000e107
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e195
call fcn.1400c6a2c
mov dword [rsp + 0x48], 0x104
inc edi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x80]
mov edx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
lea rdx, [0x140009b00]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
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]
cmp ebx, 0x103
jne 0x14000df20
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000e16d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xc90]
xor rcx, rsp
call fcn.1400c69d0
lea r11, [rsp + 0xda0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3