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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a656
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x5b4450]
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.0040ac70
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
call fcn.00442c4d
test ebx, ebx
je 0x424b4b
push str.UninstallColorProfileW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4c], eax
test eax, eax
je 0x424b44
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.005373f0
add esp, 0xc
xor eax, eax
push 0x81e
push eax
lea ecx, [ebp - 0xa36]
push ecx
mov word [ebp - 0xa38], ax
call fcn.005373f0
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.0053659f
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebp - 0xa3c], 1
test eax, eax
jg 0x424b94
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.0040aed0
add esp, 0x10
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
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.005337cb
mov esp, ebp
pop ebp
ret
mov esi, ecx
test edi, edi
js 0x424d3b
cmp edi, eax
jge 0x424d3b
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 0x424bd3
cmp eax, dword [esi - 0x10]
jne 0x424bd3
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424c0b
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 0x424d2c
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.005339f7
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 0x424d31
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x424c46
push esi
lea ecx, [ebp - 0xa44]
call fcn.00401760
mov ebx, dword [ebp - 0xa44]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.0053615d
add esp, 8
cmp esi, dword [ebx - 8]
jg 0x424d31
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
cmp dword [ebx - 0xc], edx
jl 0x424c82
push 0x58f768
push ebx
call fcn.00535a9a
add esp, 8
test eax, eax
je 0x424c82
sub eax, ebx
sar eax, 1
je 0x424c9d
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 0x424d0f
mov ecx, dword [ebx]
push ebx
jmp 0x424d08
call fcn.004174f0
test eax, eax
je 0x424cef
push ebx
lea ecx, [ebp - 0x218]
push ecx
push str._s_s
lea edx, [ebp - 0xa38]
push 0x410
push edx
call fcn.00535c9d
add esp, 0x14
push 1
lea eax, [ebp - 0xa38]
push eax
push 0
call dword [ebp - 0xa4c]
test eax, eax
jne 0x424cef
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 0x424d0f
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 0x424b92
mov ebx, dword [ebp - 0xa48]
jmp 0x424b3e
call fcn.00401830
push 0x80070057
call fcn.004010a0
call fcn.004409a4
int3