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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586316
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x5eb770]
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
mov esi, ecx
push str.Tool_UninstallColorProfile
push edi
lea ecx, [ebp - 0xa54]
mov dword [ebp - 0xa40], esi
call fcn.0044ca70
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 0x428106
push str.UninstallColorProfileW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4c], eax
test eax, eax
je 0x4280ff
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0055ca80
add esp, 0xc
xor edx, edx
push 0x81e
push edx
lea eax, [ebp - 0xa36]
push eax
mov word [ebp - 0xa38], dx
call fcn.0055ca80
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.SpoolDriversCOLOR
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00559142
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [ebp - 0xa3c], 1
test eax, eax
jg 0x428152
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.0044cd10
add esp, 0x10
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
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.0055649d
mov esp, ebp
pop ebp
ret
mov esi, ecx
test edi, edi
js 0x4282f9
cmp edi, eax
jge 0x4282f9
mov eax, dword [esi + 4]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
lea eax, [eax + edi*4]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x428191
cmp eax, dword [esi - 0x10]
jne 0x428191
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4281c9
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 0x4282ea
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.0055701e
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 0x4282ef
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x428204
push esi
lea ecx, [ebp - 0xa44]
call fcn.00403a70
mov ebx, dword [ebp - 0xa44]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.005578a9
add esp, 8
cmp esi, dword [ebx - 8]
jg 0x4282ef
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
cmp dword [ebx - 0xc], edx
jl 0x428240
push 0x5bbd44
push ebx
call fcn.00556fbe
add esp, 8
test eax, eax
je 0x428240
sub eax, ebx
sar eax, 1
je 0x42825b
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 0x4282cd
mov ecx, dword [ebx]
push ebx
jmp 0x4282c6
call fcn.0041c620
test eax, eax
je 0x4282ad
push ebx
lea ecx, [ebp - 0x218]
push ecx
push str._s_s
lea edx, [ebp - 0xa38]
push 0x410
push edx
call fcn.005578c0
add esp, 0x14
push 1
lea eax, [ebp - 0xa38]
push eax
push 0
call dword [ebp - 0xa4c]
test eax, eax
jne 0x4282ad
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 0x4282cd
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 0x428150
mov ebx, dword [ebp - 0xa48]
jmp 0x4280f9
call fcn.00403b90
push 0x80070057
call fcn.004025a0
call fcn.004624e2
int3