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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5648a6
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x5c0490]
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
xor ebx, ebx
push ebx
lea eax, [ebp - 0x84c]
push str.Tool_CheckCopyUninstall
push eax
call fcn.00401190
add esp, 0xc
mov dword [ebp - 4], ebx
call fcn.0044b52d
mov edi, dword [eax + 4]
mov ecx, dword [edi + 0x48]
push ecx
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x83c], ebx
call fcn.00404f00
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x834]
mov esi, dword [edx - 0xc]
cmp esi, ebx
jge 0x41b200
push 0x80070057
call fcn.00404160
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x41b223
push esi
lea ecx, [ebp - 0x834]
call fcn.00405520
mov edx, dword [ebp - 0x834]
lea eax, [esi + 1]
push eax
push edx
call fcn.0053e3f0
mov eax, dword [ebp - 0x834]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x41b1f6
mov dword [eax - 0xc], esi
mov edx, dword [ebp - 0x834]
xor ecx, ecx
mov word [edx + esi*2], cx
mov ecx, dword [ebp - 0x834]
cmp dword [ecx - 0xc], ebx
jl 0x41b278
push str._ncopy
push ecx
call fcn.0053d6a8
add esp, 8
cmp eax, ebx
je 0x41b278
sub eax, dword [ebp - 0x834]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41b449
push 0x206
lea ecx, [ebp - 0x82e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x830], ax
call fcn.00541d20
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x218], dx
call fcn.00541d20
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x420], cx
call fcn.00541d20
add esp, 0x24
push edi
lea esi, [ebp - 0x420]
mov edi, 0x5988ec
call fcn.00434460
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, esi
push eax
lea ecx, [ebp - 0x218]
push ecx
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
push edx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Uninst.ini
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x218]
push ecx
push 0x104
lea edx, [ebp - 0x830]
push edx
push str.item_not_found__
push str.PDL_NAME
push str.Profiles
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.item_not_found__
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41b449
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x626]
push edx
mov dword [ebp - 0x838], 0
mov word [ebp - 0x628], cx
call fcn.00541d20
add esp, 0xc
push str.SOFTWARECanonPrnUninst
lea eax, [ebp - 0x628]
push eax
mov dword [ebp - 0x844], 0x104
mov dword [ebp - 0x840], 1
call edi
lea ecx, [ebp - 0x628]
push ecx
call esi
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x628]
push eax
call ebx
lea ecx, [ebp - 0x838]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x628]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b449
lea eax, [ebp - 0x844]
push eax
mov eax, dword [ebp - 0x838]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x840]
push edx
push 0
push str.exePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41b43c
lea ecx, [ebp - 0x218]
push ecx
call esi
lea edx, [ebp - 0x420]
push edx
call esi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b43c
mov dword [ebp - 0x83c], 1
mov edx, dword [ebp - 0x838]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x83c]
push esi
push str.return___08x
lea eax, [ebp - 0x84c]
push 2
push eax
call fcn.00401410
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b48c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x84c]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
mov eax, esi
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.0053ca73
mov esp, ebp
pop ebp
ret