Function at 0x42ff00
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x587796
mov eax, dword fs:[0]
push eax
sub esp, 0xe78
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0xe70], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0xe88]
mov dword fs:[0], eax
push 0
mov ebx, ecx
push str.CUNINSTALLERApp::ExitInstance
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], ebx
call fcn.0044ca70
add esp, 0xc
mov dword [esp + 0xe90], 0
cmp dword [ebx + 0x8b8], 0
je 0x42ff76
xor edi, edi
call fcn.004158c0
mov eax, dword [ebx + 0x154]
lea esi, [ebx + 0x154]
mov ecx, 0x5b69a4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ffad
test dx, dx
je 0x42ffa9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ffad
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ff87
xor eax, eax
jmp 0x42ffb2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x43005e
push 0x5b69a4
lea ecx, [esp + 0x14]
call fcn.00403340
push str.uninst.ini
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0xe9c], 1
call fcn.0040a380
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe94], 2
call fcn.00404890
mov byte [esp + 0xe90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430022
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [esp + 0xe90], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43005e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00417db0
cmp dword [ebx + 0x138], 0
je 0x4300e9
call fcn.00461e32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x430086
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 + 0x10], esi
push 0x39
mov byte [esp + 0xe94], 3
call fcn.00461d28
test eax, eax
je 0x4300b9
push 0x39
push eax
lea ecx, [esp + 0x18]
call fcn.004035f0
mov esi, dword [esp + 0x10]
mov edi, dword [ebx + 0x138]
push esi
call fcn.0040d0d0
lea eax, [esi - 0x10]
mov byte [esp + 0xe90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4300e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebx + 0x694]
test esi, esi
je 0x430116
call fcn.0046d2d8
mov dword [eax + 0xc], esi
mov eax, dword [ebx + 0x698]
test eax, eax
je 0x430116
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x698], 0
cmp dword [ebx + 0x1bc], 1
jne 0x430489
mov eax, dword [ebx + 0x8d4]
cmp dword [eax - 0xc], 0
lea edi, [ebx + 0x8d4]
jge 0x43013a
or eax, 0xffffffff
jmp 0x430155
push 0x5b7bf4
push eax
call fcn.00556fbe
add esp, 8
test eax, eax
jne 0x430151
or eax, 0xffffffff
jmp 0x430155
sub eax, dword [edi]
sar eax, 1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x43032a
push 0x208
lea edx, [esp + 0xc78]
push 0
push edx
call fcn.0055ca80
add esp, 0xc
push 0x208
lea eax, [esp + 0xa70]
push 0
push eax
call fcn.0055ca80
add esp, 0xc
push 0x208
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x104
lea edx, [esp + 0xa80]
push edx
push 0x104
lea eax, [esp + 0xc90]
push eax
lea esi, [ebx + 0x3c8]
push esi
call fcn.00557258
add esp, 0x24
push 0
push 0
lea ecx, [esp + 0xa74]
push ecx
lea edx, [esp + 0xc80]
push edx
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.00558c88
add esp, 0x18
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 0x28]
call fcn.004702f8
push edi
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0xe9c], 4
call fcn.00430fd0
add esp, 0xc
mov byte [esp + 0xe90], 5
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0047039f
mov edi, eax
mov byte [esp + 0xe90], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430273
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
je 0x430317
lea ecx, [esp + 0x28]
call fcn.0046ff4a
mov edx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
test eax, eax
jne 0x43030b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004705e2
mov eax, dword [eax]
push 0x20
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4302d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004705e2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43030b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x430281
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov byte [esp + 0xe90], 0
call fcn.0047032a
jmp 0x430342
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x20
lea esi, [ebx + 0x3c8]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x666]
push edx
mov word [esp + 0x668], cx
call fcn.0055ca80
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x86e]
push ecx
mov word [esp + 0x870], ax
call fcn.0055ca80
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x256]
push eax
mov word [esp + 0x258], dx
call fcn.0055ca80
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x104
lea ecx, [esp + 0x878]
push ecx
push 0x104
lea edx, [esp + 0x678]
push edx
push esi
call fcn.00557258
add esp, 0x24
push 0
push 0
lea eax, [esp + 0x86c]
push eax
lea ecx, [esp + 0x668]
push ecx
lea edx, [esp + 0x25c]
push 0x104
push edx
call fcn.00558c88
add esp, 0x18
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [esp + 0x18], 0
je 0x43045c
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x4e]
push edx
mov word [esp + 0x50], cx
call fcn.0055ca80
add esp, 0xc
lea eax, [esp + 0x24c]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.UninstLocale.ini
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x20
lea eax, [esp + 0x48]
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.InsCmn.dll
lea edx, [esp + 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x20
lea eax, [esp + 0x250]
push eax
call edi
lea ecx, [esp + 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx + 0x110]
sub eax, 0x10
push eax
call fcn.00404900
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], esi
push 0x5c
mov bl, 6
push esi
mov byte [esp + 0xe98], bl
call fcn.005589fd
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x5c
push esi
call fcn.005589fd
add esp, 8
test eax, eax
jne 0x4304d1
or eax, 0xffffffff
jmp 0x4304d5
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.0040a240
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe94], 7
call fcn.00404890
mov byte [esp + 0xe90], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43051d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edi
call esi
push 0x208
lea ecx, [esp + 0x458]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
test byte [0x60aea0], 1
jne 0x430572
or dword [0x60aea0], 1
mov byte [esp + 0xe90], 8
call fcn.00458180
push 0x58b2e0
call fcn.005597b9
add esp, 4
mov byte [esp + 0xe90], bl
lea edx, [esp + 0x454]
push edx
call fcn.00458920
lea eax, [esp + 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Canon_
lea ecx, [esp + 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x454]
push edx
call esi
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x5d4]
test eax, eax
je 0x4305cd
mov ecx, dword [ebx + 0x13c]
push 0
push ecx
push 0x8001
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebx
call fcn.00470982
mov esi, eax
test esi, esi
jne 0x4305e0
mov esi, dword [ebx + 0x13c]
push esi
push str.return___08x
lea edx, [esp + 0x28]
push 2
push edx
call fcn.0044cd10
lea eax, [edi - 0x10]
add esp, 0x10
mov byte [esp + 0xe90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xe90], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [esp + 0xe88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe70]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret