Function at 0x413180
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559efb
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0xa40]
mov edi, ecx
push str.Tool_GetMFNPuninstallDirPath
push eax
mov dword [ebp - 0xa48], edi
call fcn.0040ac70
add esp, 0xc
push 0x104
push str.dwMaxLength___d
lea ecx, [ebp - 0xa40]
push 1
push ecx
mov dword [ebp - 4], 0
call fcn.0040aed0
add esp, 0x10
call fcn.00442c4d
mov esi, dword [eax + 4]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.005373f0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x82e]
push edx
mov word [ebp - 0x830], cx
call fcn.005373f0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005373f0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xa36]
push eax
mov word [ebp - 0xa38], dx
call fcn.005373f0
add esp, 0xc
test esi, esi
je 0x41354d
test edi, edi
je 0x41354d
push 0x208
push 0
push edi
call fcn.005373f0
add esp, 0xc
push esi
lea esi, [ebp - 0xa38]
mov edi, 0x58a8c8
call fcn.0042c510
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x104
mov ecx, esi
push ecx
lea edx, [ebp - 0x420]
push edx
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Uninst.ini
call esi
push 0x58abe4
mov edi, eax
call esi
add edi, eax
lea eax, [ebp - 0x420]
push eax
call esi
add eax, edi
cmp eax, 0x104
jae 0x413460
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Uninst.ini
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x420]
push eax
push 0x104
lea ecx, [ebp - 0x830]
push ecx
push 0x58aac4
push str.PDL_NAME
push str.Profiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x58aac4
lea edx, [ebp - 0x830]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x413356
push 0
push str.return___08x
push 2
lea eax, [ebp - 0xa40]
push eax
jmp 0x41355d
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x626]
push edx
mov dword [ebp - 0xa44], 0
mov word [ebp - 0x628], cx
call fcn.005373f0
add esp, 0xc
push 0x104
push str.SOFTWARECanonPrnUninst
lea eax, [ebp - 0x628]
push eax
mov dword [ebp - 0xa4c], 1
mov dword [ebp - 0xa50], 0x104
call ebx
push 0x58abe4
call esi
lea ecx, [ebp - 0x628]
push ecx
mov edi, eax
call esi
lea edx, [ebp - 0x830]
push edx
add edi, eax
call esi
add eax, edi
cmp eax, 0x104
jae 0x413341
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xa44]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x628]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41354d
lea eax, [ebp - 0xa50]
push eax
mov eax, dword [ebp - 0xa44]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0xa4c]
push edx
push 0
push str.exePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x413475
mov eax, dword [ebp - 0xa44]
test eax, eax
je 0x413460
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa44], 0
push 0
push str.return___08x
push 2
lea ecx, [ebp - 0xa40]
push ecx
jmp 0x41355d
push str.PMON
call esi
push 0x58abe4
mov edi, eax
call esi
push 0x58abe4
add edi, eax
call esi
lea edx, [ebp - 0x218]
push edx
add edi, eax
call esi
add eax, edi
cmp eax, 0x104
jae 0x413532
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
call esi
push str.PMON
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x218]
push edx
call esi
mov esi, dword [ebp - 0xa48]
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call ebx
mov eax, dword [ebp - 0xa44]
test eax, eax
je 0x413500
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa44], 0
push 1
push esi
push str.lpMFNPuninstPath___s__return___08x
lea ecx, [ebp - 0xa40]
push 2
push ecx
call fcn.0040aed0
add esp, 0x14
lea ecx, [ebp - 0xa40]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
mov eax, 1
jmp 0x413579
mov eax, dword [ebp - 0xa44]
test eax, eax
je 0x41354d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa44], 0
push 0
push str.return___08x
push 2
lea edx, [ebp - 0xa40]
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [ebp - 0xa40]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005337cb
mov esp, ebp
pop ebp
ret