Function at 0x42bb40
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ab6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
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 edi, edi
push edi
lea eax, [ebp - 0xa54]
mov esi, ecx
push str.Tool_UninstallColorProfile
push eax
mov dword [ebp - 0xa40], esi
call fcn.00401190
add esp, 0xc
push str.MSCMS.DLL
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0xa48], ebx
cmp ebx, edi
je 0x42bc46
push str.UninstallColorProfileW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4c], eax
test eax, eax
je 0x42bc3f
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00541d20
add esp, 0xc
xor eax, eax
push 0x81e
push eax
lea ecx, [ebp - 0xa36]
push ecx
mov word [ebp - 0xa38], ax
call fcn.00541d20
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.SpoolDriversCOLOR
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0053f97a
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebp - 0xa3c], 1
test eax, eax
jg 0x42bc92
mov edi, dword [ebp - 0xa3c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
push str.return___08x
lea edx, [ebp - 0xa54]
push 2
push edx
call fcn.00401410
add esp, 0x10
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], 0xffffffff
call fcn.00401370
mov eax, edi
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
mov esi, ecx
test edi, edi
js 0x42be39
cmp edi, eax
jge 0x42be39
mov ecx, dword [esi + 4]
mov esi, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42bcd1
cmp eax, dword [esi - 0x10]
jne 0x42bcd1
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42bd09
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x42be2a
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0053d708
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0xa44], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebx - 0xc]
test esi, esi
js 0x42be2f
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x42bd44
push esi
lea ecx, [ebp - 0xa44]
call fcn.00405520
mov ebx, dword [ebp - 0xa44]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.0053e3f0
add esp, 8
cmp esi, dword [ebx - 8]
jg 0x42be2f
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
cmp dword [ebx - 0xc], edx
jl 0x42bd80
push 0x59a1a4
push ebx
call fcn.0053d6a8
add esp, 8
test eax, eax
je 0x42bd80
sub eax, ebx
sar eax, 1
je 0x42bd9b
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42be0d
mov ecx, dword [ebx]
push ebx
jmp 0x42be06
call fcn.00420370
test eax, eax
je 0x42bded
push ebx
lea ecx, [ebp - 0x218]
push ecx
push str._s_s
lea edx, [ebp - 0xa38]
push 0x410
push edx
call fcn.0053ca82
add esp, 0x14
push 1
lea eax, [ebp - 0xa38]
push eax
push 0
call dword [ebp - 0xa4c]
test eax, eax
jne 0x42bded
lea ecx, [ebp - 0xa38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xa3c], eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42be0d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xa40]
mov eax, dword [ecx + 8]
inc edi
cmp edi, eax
jl 0x42bc90
mov ebx, dword [ebp - 0xa48]
jmp 0x42bc39
call fcn.00405640
push 0x80070057
call fcn.00404160
call fcn.004490bd
int3