Function at 0x417176
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x139c
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
mov edi, str.NavicatGetProfileDetails
push edi
push str._s___Entered__type_d__location_s
call fcn.00449974
add esp, 0x10
lea eax, [ebp - 0x1394]
xor ebx, ebx
mov dword [ebp - 0x139c], ebx
mov byte [ebp - 0x7d4], bl
push eax
push 0x20019
push ebx
push esi
push SysReAllocString
mov byte [ebp - 0xfa4], bl
mov byte [ebp - 0x3ec], bl
mov byte [ebp - 0x138c], bl
mov byte [ebp - 0xbbc], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x417204
push eax
push esi
push edi
push str._s_:_Failed_to_open_profile_key__s__Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
jmp 0x4173e1
push esi
push edi
push str._s___Now_getting_all_profile_details_from_location_s
call fcn.00449974
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1390]
add esp, 0xc
mov dword [ebp - 0x1390], 0x3e8
push eax
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x1398]
push eax
push ebx
push 0x685870
push dword [ebp - 0x1394]
call edi
test eax, eax
je 0x41726d
push eax
push esi
mov esi, str.NavicatGetProfileDetails
push esi
push str._s_:_Failed_to_find_Password_in_the_registry__s___Error0x_.8x
call fcn.00449974
add esp, 0x10
push dword [ebp - 0x1394]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4171fd
lea eax, [ebp - 0x3ec]
mov esi, str.NavicatGetProfileDetails
push eax
push esi
push str._s___Found_encoded_password_s
call fcn.00449974
push 0x3e8
lea eax, [ebp - 0xfa4]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.0040c31e
add esp, 0x18
test eax, eax
jne 0x4172bd
lea eax, [ebp - 0x3ec]
push eax
push esi
push str._s___Failed_to_decrypt_navicat_password_s
call fcn.00449974
add esp, 0xc
jmp 0x4173d3
lea eax, [ebp - 0x1390]
mov dword [ebp - 0x1390], 0x3e8
push eax
lea eax, [ebp - 0x138c]
push eax
lea eax, [ebp - 0x1398]
push eax
push ebx
push str.UserName
push dword [ebp - 0x1394]
call edi
lea eax, [ebp - 0x1390]
mov dword [ebp - 0x1390], 0x3e8
push eax
lea eax, [ebp - 0xbbc]
push eax
lea eax, [ebp - 0x1398]
push eax
push ebx
push str.Host
push dword [ebp - 0x1394]
call edi
lea eax, [ebp - 0x1390]
mov dword [ebp - 0x1390], 4
push eax
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x1398]
push eax
push ebx
push str.Port
push dword [ebp - 0x1394]
call edi
test eax, eax
lea eax, [ebp - 0xbbc]
jne 0x417370
push dword [ebp - 0x139c]
push eax
push str._s:_d
lea eax, [ebp - 0x7d4]
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x417385
push eax
lea eax, [ebp - 0x7d4]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
lea eax, [ebp - 0xfa4]
push eax
lea eax, [ebp - 0x138c]
push eax
lea eax, [ebp - 0x7d4]
push eax
push esi
push str._s___Adding_to_list__Host_s__User_s__Pass_s
call fcn.00449974
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0xfa4]
push ecx
push eax
lea eax, [ebp - 0x138c]
push eax
lea eax, [ebp - 0x7d4]
push eax
push ecx
push dword [ebp + 8]
push 6
call fcn.00412c85
xor ebx, ebx
add esp, 0x34
inc ebx
push dword [ebp - 0x1394]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret