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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55d652
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x5b4450]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x5b4450]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x20]
push str.CUNINSTALLERApp::ExitInstance
push eax
mov ebx, ecx
call fcn.0040ac70
add esp, 0xc
mov dword [esp + 0x858], 0
cmp dword [ebx + 0x86c], 0
je 0x42bb31
xor edi, edi
call fcn.00410480
mov eax, dword [ebx + 0x160]
lea esi, [ebx + 0x160]
mov ecx, 0x58a8c8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42bb68
test dx, dx
je 0x42bb64
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42bb68
add eax, 4
add ecx, 4
test dx, dx
jne 0x42bb42
xor eax, eax
jmp 0x42bb6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x42bc19
push 0x58a8c8
lea ecx, [esp + 0x18]
call fcn.00401210
push str.uninst.ini
lea ecx, [esp + 0x1c]
push esi
push ecx
mov byte [esp + 0x864], 1
call fcn.004063e0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x85c], 2
call fcn.00401520
mov byte [esp + 0x858], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bbdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
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 + 0x858], 0
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 0x42bc19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00412ca0
mov ecx, dword [ebx + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebx + 0x144], 0
je 0x42bcb1
call fcn.0044033f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42bc4e
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x39
mov byte [esp + 0x85c], 3
call fcn.00440235
test eax, eax
je 0x42bc81
push 0x39
push eax
lea ecx, [esp + 0x1c]
call fcn.00401350
mov esi, dword [esp + 0x14]
mov edi, dword [ebx + 0x144]
push esi
call fcn.004062a0
lea eax, [esi - 0x10]
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bcb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebx + 0x648]
xor edi, edi
cmp esi, edi
je 0x42bcdc
call fcn.00442c4d
mov dword [eax + 0xc], esi
mov eax, dword [ebx + 0x64c]
cmp eax, edi
je 0x42bcdc
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x64c], edi
cmp dword [ebx + 0x5ec], edi
je 0x42bd0a
mov eax, dword [ebx + 0x5f4]
cmp eax, edi
je 0x42bcf3
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebx + 0x5ec]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x42bd0a
mov dword [ebx + 0x5ec], edi
cmp dword [ebx + 0x1cc], 1
jne 0x42be09
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x20
lea esi, [ebx + 0x3d8]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x646]
push ecx
mov word [esp + 0x648], ax
call fcn.005373f0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x43e]
push eax
mov word [esp + 0x440], dx
call fcn.005373f0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x30], cx
call fcn.005373f0
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x104
lea eax, [esp + 0x448]
push eax
push 0x104
lea ecx, [esp + 0x658]
push ecx
push esi
call fcn.00535da8
add esp, 0x24
push 0
push 0
lea edx, [esp + 0x43c]
push edx
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x34]
push 0x104
push ecx
call fcn.00536174
add esp, 0x18
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.InsCmn.dll
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x20
lea ecx, [esp + 0x28]
push ecx
call edi
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx + 0x118]
sub eax, 0x10
push eax
call fcn.004017c0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
push 0x5c
push esi
mov byte [esp + 0x860], 4
call fcn.00534819
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 8
push esi
call edi
push 0x5c
push esi
call fcn.00534819
add esp, 8
test eax, eax
jne 0x42be52
or eax, 0xffffffff
jmp 0x42be56
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00413a00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x85c], 5
call fcn.00401520
mov byte [esp + 0x858], 4
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 0x42be9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push esi
call edi
push 0x208
lea ecx, [esp + 0x230]
push 0
push ecx
call fcn.005373f0
add esp, 0xc
lea ecx, [esp + 0x22c]
call fcn.00411f20
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Canon_
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x22c]
push ecx
call edi
mov eax, dword [ebx + 0x5e4]
test eax, eax
je 0x42bf13
mov edx, dword [ebx + 0x148]
push 0
push edx
push 0x8001
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebx
call fcn.0044dd04
mov edi, eax
test edi, edi
jne 0x42bf26
mov edi, dword [ebx + 0x148]
push edi
push str.return___08x
lea eax, [esp + 0x24]
push 2
push eax
call fcn.0040aed0
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x858], 0xffffffff
call fcn.0040ae50
mov eax, edi
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.005337cb
mov esp, ebp
pop ebp
ret