Function at 0x427184
Capabilities:
Get common file path
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfc
lea eax, [ebp - 0x104]
mov dword [ebp - 0x824], ecx
push 0
push eax
mov dword [ebp - 0x108], 0x5c3a43
call fcn.006390b0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x820]
add esp, 0xc
mov dword [ebp - 0x814], 0x400
mov dword [ebp - 0x81c], 0x208
push eax
push 0x20019
push 0
push str.SoftwarePaltalk
push SysReAllocString
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x427253
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push str.InstallerAppDir
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x820]
mov esi, eax
call ebx
test esi, esi
jne 0x427253
push 3
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.00650b7d
add esp, 0x10
jmp 0x42727f
mov esi, 0x100
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x42727f
push 0x6cae30
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.006494f3
add esp, 0xc
push ecx
lea edx, [ebp - 0x208]
mov byte [ebp - 0x105], 0
lea ecx, [ebp - 0x108]
call fcn.00426922
pop ecx
test eax, eax
je 0x427404
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push str.SoftwareA.V.M.Paltalk_NGcommon_settingscoreuserscreds
push SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x42735b
xor ecx, ecx
mov dword [ebp - 0x814], 0x400
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x814]
mov dword [ebp - 0x81c], ecx
push eax
lea eax, [ebp - 0x608]
push eax
push ecx
push dword [ebp - 0x818]
call esi
test eax, eax
jne 0x427353
mov ebx, dword [ebp - 0x81c]
mov edi, dword [ebp - 0x824]
lea eax, [ebp - 0x208]
mov ecx, edi
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.00426fb2
xor eax, eax
mov dword [ebp - 0x814], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x814]
inc ebx
push eax
lea eax, [ebp - 0x608]
push eax
push ebx
push dword [ebp - 0x818]
call esi
test eax, eax
je 0x427306
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push dword [ebp - 0x818]
call ebx
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push str.SoftwarePaltalk
push SysReAllocString
call edi
test eax, eax
jne 0x427404
xor ecx, ecx
mov dword [ebp - 0x814], 0x400
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x814]
mov edi, ecx
push eax
lea eax, [ebp - 0x608]
push eax
push ecx
push dword [ebp - 0x818]
call esi
test eax, eax
jne 0x4273f7
mov ebx, dword [ebp - 0x824]
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.00426ddf
xor eax, eax
mov dword [ebp - 0x814], 0x400
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x814]
inc edi
push eax
lea eax, [ebp - 0x608]
push eax
push edi
push dword [ebp - 0x818]
call esi
test eax, eax
je 0x4273b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x818]
call ebx
xor eax, eax
inc eax
jmp 0x427406
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret