Function at 0x4141e0
Capabilities:
Check if file exists
Delete directory
Delete file
Delete registry key
Delete registry value
Get common file path
Move file
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5884f9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1494
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x1490], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x14a8]
mov dword fs:[0], eax
xor esi, esi
push esi
push str.Tool_UninstallDelete
push esi
lea ecx, [esp + 0x40]
call fcn.0044ca70
add esp, 0xc
push 0x208
mov dword [esp + 0x14b4], esi
lea eax, [esp + 0x58]
push esi
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0055ca80
add esp, 0xc
call fcn.0046d2d8
mov edi, dword [eax + 4]
push 0x206
lea edx, [esp + 0x87a]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
mov word [esp + 0x880], cx
call fcn.0055ca80
add esp, 0xc
push 0x208
lea eax, [esp + 0x58]
push esi
push eax
call fcn.0055ca80
add esp, 0xc
call fcn.00461e32
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4142c5
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x14b0], 1
call fcn.00461e32
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4142f7
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x14b0], 2
mov eax, dword [edi + 0x130]
mov cl, byte [eax + 0x6c]
mov ebx, 8
test cl, cl
je 0x41445c
cmp dword [eax + 0xf0], esi
je 0x4143c6
cmp dword [eax + 0xf4], ebx
jb 0x414341
mov edx, dword [eax + 0xe0]
jmp 0x414347
lea edx, [eax + 0xe0]
cmp edx, esi
jne 0x41434f
xor eax, eax
jmp 0x414365
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414354
sub eax, esi
sar eax, 1
xor esi, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004039c0
mov eax, dword [edi + 0x130]
cmp dword [eax + 0xf4], ebx
jb 0x414386
mov edx, dword [eax + 0xe0]
jmp 0x41438c
lea edx, [eax + 0xe0]
cmp edx, esi
jne 0x4143a2
xor eax, eax
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004039c0
jmp 0x41447c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4143a7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004039c0
jmp 0x41447c
cmp dword [eax + 0xbc], ebx
jb 0x4143d6
mov edx, dword [eax + 0xa8]
jmp 0x4143dc
lea edx, [eax + 0xa8]
cmp edx, esi
jne 0x4143e4
xor eax, eax
jmp 0x414401
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4143f0
sub eax, esi
sar eax, 1
xor esi, esi
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004039c0
mov eax, dword [edi + 0x130]
cmp dword [eax + 0xbc], ebx
jb 0x414422
mov edx, dword [eax + 0xa8]
jmp 0x414428
lea edx, [eax + 0xa8]
cmp edx, esi
jne 0x41443b
xor eax, eax
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004039c0
jmp 0x41447c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414440
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.004039c0
jmp 0x41447c
lea ecx, [edi + 0xe0]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404890
add edi, 0xe4
push edi
lea ecx, [esp + 0x18]
call fcn.00404890
mov esi, dword [esp + 0x24]
cmp dword [esi - 0xc], 0
je 0x4144aa
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push str.SOFTWARECanonPrnUninst
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41452a
push 1
push str.return___08x
lea eax, [esp + 0x3c]
push 2
push eax
call fcn.0044cd10
mov byte [esp + 0x14c0], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144e8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
or edx, 0xffffffff
lea ecx, [esi + 0xc]
mov byte [esp + 0x14b0], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41450c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14b0], 0xffffffff
call fcn.0044cc70
mov eax, 1
jmp 0x415160
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push esi
mov edi, 1
push eax
mov dword [esp + 0x30], 0x208
mov dword [esp + 0x34], edi
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
push 0
push edi
push ecx
mov dword [esp + 0x30], 0x208
call ebx
push 0x200
lea edx, [esp + 0x12a0]
push 0
push edx
call fcn.0055ca80
mov eax, dword [esp + 0x1c]
add esp, 0xc
push esi
push eax
mov dword [esp + 0x54], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x10]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x12b0]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x4145eb
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push 0xf003f
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41464e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push str.return___08x
lea edx, [esp + 0x3c]
push 2
push edx
call fcn.0044cd10
add edi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x14b0], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4144e8
mov ecx, dword [edi]
push edi
jmp 0x4144e1
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.exePath
mov edi, 0x208
mov esi, 1
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
call ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x878]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.IcnPath
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
call ebx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.0041a0a0
mov eax, dword [esp + 0x18]
add esp, 8
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, str.SOFTWARECanonPrnUninst
mov esi, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041a290
test eax, eax
je 0x4146ff
cmp dword [esp + 0x20], 1
jne 0x4146ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4146ff
mov edi, str.SOFTWARECANON_
call fcn.0041a290
test eax, eax
je 0x4146ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push 0xf003f
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4147f0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.exePath
mov edi, 0x208
mov esi, 1
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
call ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x878]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.IcnPath
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
call ebx
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.0041a0a0
mov edx, dword [esp + 0x18]
add esp, 8
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, str.SOFTWARECanonPrnUninst
mov esi, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041a290
test eax, eax
je 0x4147df
cmp dword [esp + 0x20], 1
jne 0x4147df
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
push esi
call ebx
test eax, eax
jne 0x4147df
mov edi, str.SOFTWARECANON_
call fcn.0041a290
test eax, eax
je 0x4147df
push edi
push esi
call ebx
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov esi, dword [esp + 0x40]
mov edx, dword [esi + 0x130]
mov al, byte [edx + 0x6c]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp + 0x3c], 1
test al, al
jne 0x414b2e
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa86]
push ecx
mov word [esp + 0xa88], ax
call fcn.0055ca80
add esp, 0xc
mov dword [esp + 0x10], 0
mov edx, dword [esi + 0xe0]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea eax, [esp + 0xa84]
push str._sUninstall_s
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0xa88]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4148df
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.Publisher
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.DisplayName
push ecx
call esi
mov edx, dword [esp + 0x10]
push str.DisplayVersion
push edx
call esi
mov eax, dword [esp + 0x10]
push str.DisplayIcon
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.UninstallString
push ecx
call esi
lea edx, [esp + 0xa7c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [esp + 0x10]
push eax
call edi
push 0x208
lea ecx, [esp + 0x260]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
call fcn.004588b0
mov ecx, eax
call fcn.00458d10
test eax, eax
jne 0x414b2e
call fcn.00415190
mov esi, eax
push str.Canon_Printer_Uninstaller
push esi
push str._s_s
push esi
call ebx
add esp, 0x10
test esi, esi
je 0x4149db
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xe0]
push str..LNK
push str.Uninstaller
push eax
push esi
lea ecx, [esp + 0x26c]
push str._s_s__s_s
push ecx
call ebx
add esp, 0x18
lea edx, [esp + 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41497d
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x414984
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, 1
jmp 0x414988
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push str..LNK
push str.Uninstaller
push ecx
push esi
lea edx, [esp + 0x26c]
push str._s_s__s_s
push edx
call ebx
add esp, 0x18
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4149df
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4149d7
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4149df
xor edi, edi
jmp 0x4149df
mov edi, dword [esp + 0x28]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x208
lea edx, [esp + 0xe90]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
push 0x208
lea eax, [esp + 0x260]
push 0
push eax
call fcn.0055ca80
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
lea ecx, [esp + 0x874]
push ecx
lea edx, [esp + 0x260]
push edx
call esi
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x24]
call fcn.00403340
mov byte [esp + 0x14b0], 3
mov ecx, dword [esp + 0x20]
push 0x5c
push ecx
call fcn.005589fd
add esp, 8
test eax, eax
jne 0x414a5d
or eax, 0xffffffff
jmp 0x414a63
sub eax, dword [esp + 0x20]
sar eax, 1
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.0040a240
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x14b4], 4
call fcn.00404890
mov byte [esp + 0x14b0], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0xe90]
push edx
call esi
lea eax, [esp + 0x25c]
push eax
mov dword [esp + 0x40], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414b06
cmp word [esp + 0x25c], 0
je 0x414b06
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x414afe
lea edx, [esp + 0xe8c]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x414b06
mov dword [esp + 0x3c], 0
mov byte [esp + 0x14b0], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x208
lea ecx, [esp + 0x670]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
push 0x208
lea edx, [esp + 0xc88]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
push 0x208
lea eax, [esp + 0x468]
push 0
push eax
call fcn.0055ca80
add esp, 0xc
push 0x208
lea ecx, [esp + 0x1098]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
push 0x104
lea edx, [esp + 0x1098]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x130]
cmp byte [ecx + 0x6c], 0
je 0x414e28
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x30]
call fcn.00403340
mov byte [esp + 0x14b0], 5
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414be7
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov byte [esp + 0x14b0], 6
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414c19
push 0x80004005
call fcn.004025a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
mov bl, 7
mov byte [esp + 0x14b0], bl
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x414c58
push pe_nt_image_headers32
lea ecx, [esp + 0x48]
call fcn.00403a70
mov esi, dword [esp + 0x44]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 3
or eax, ecx
jge 0x414c79
push 3
lea ecx, [esp + 0x2c]
call fcn.00403a70
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
push esi
push 3
push edi
push ecx
call fcn.00557258
mov eax, dword [edi - 8]
add esp, 0x24
push eax
push edi
call fcn.00558a2b
add esp, 8
test eax, eax
js 0x414e79
cmp eax, dword [edi - 8]
jg 0x414e79
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00558a2b
add esp, 8
test eax, eax
js 0x414e79
cmp eax, dword [esi - 8]
jg 0x414e79
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0040a2c0
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x14b4], 8
call fcn.00404890
mov byte [esp + 0x14b0], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414d35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x414e79
cmp ecx, edx
jg 0x414e79
cmp word [eax + ecx*2], 0x5c
jne 0x414da5
lea eax, [edx - 1]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040a240
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x14b4], 9
call fcn.00404890
mov byte [esp + 0x14b0], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414da1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
push 0x104
push ecx
call fcn.005579b2
add esi, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x14b0], 6
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x414ddc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x14b0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14b0], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
mov ebx, dword [esp + 0x40]
je 0x414e91
cmp dword [ebx + 0x5d0], 0
jne 0x414e91
lea ecx, [esp + 0x1094]
push 0x5c
push ecx
call fcn.005589fd
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, eax
add esp, 8
lea edx, [esp + 0x54]
lea eax, [esp + 0x66c]
test esi, esi
je 0x414e83
push esi
push edx
push 0x5b7940
push eax
call edi
add esp, 0x10
xor ecx, ecx
mov word [esi], cx
jmp 0x414eb3
push 0x80070057
call fcn.004025a0
push 0x5b9300
push edx
push str._s_s
push eax
jmp 0x414eae
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x5b9300
lea ecx, [esp + 0x58]
push ecx
push str._s_s
lea edx, [esp + 0x678]
push edx
call edi
add esp, 0x10
push str.Uninst.ini
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xc8c]
push str._s_s
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
add esp, 0x10
push 0x104
lea edx, [esp + 0x468]
push edx
call esi
push 0x104
lea eax, [esp + 0x468]
push eax
call esi
test eax, eax
jne 0x414f7b
push eax
push str.return___08x
lea ecx, [esp + 0x3c]
push 2
push ecx
call fcn.0044cd10
mov byte [esp + 0x14c0], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414f38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14b0], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x14b0], 0xffffffff
call fcn.0044cc70
xor eax, eax
jmp 0x415160
push str.UNINSTAL.tmp
lea ecx, [esp + 0x468]
push ecx
mov edx, ecx
push str._s_s
push edx
call edi
add esp, 0x10
push 0x80
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x464]
push ecx
call esi
lea edx, [esp + 0x66c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415032
cmp dword [ebx + 0x5d0], 0
lea eax, [esp + 0x66c]
je 0x41500d
push eax
call esi
test eax, eax
jne 0x415032
push eax
push str.return___08x
push 2
lea ecx, [esp + 0x40]
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.004037a0
lea ecx, [esp + 0x24]
call fcn.004037a0
jmp 0x414f60
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
lea edx, [esp + 0x468]
push edx
push eax
call esi
test eax, eax
je 0x415056
push 4
push 0
lea ecx, [esp + 0x46c]
push ecx
call esi
lea eax, [esp + 0xc84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415066
lea ecx, [esp + 0xc84]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
jmp 0x41506b
push 0
push str.return___08x
push 2
lea edx, [esp + 0x40]
push edx
jmp 0x414fee
mov esi, 1
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403340
lea eax, [esp + 0x28]
lea ecx, [ebx + 0x110]
push eax
mov byte [esp + 0x14b4], 0xa
call fcn.00404890
mov byte [esp + 0x14b0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4150b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 1
jne 0x4150e5
lea ecx, [ebx + 0x1c0]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [ebx + 0x3c8]
push str._s_s
push eax
call edi
mov dword [ebx + 0x1bc], esi
mov esi, dword [esp + 0x4c]
add esp, 0x10
push esi
push str.return___08x
lea ecx, [esp + 0x3c]
push 2
push ecx
call fcn.0044cd10
mov byte [esp + 0x14c0], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415122
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14b0], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41514a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x14b0], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [esp + 0x14a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1490]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret