Function at 0x423de0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495b85
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4c206c]
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
mov dword [ebp - 4], 0
call fcn.0041d700
mov ecx, eax
test ecx, ecx
je 0x42426d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x138], eax
push str..tmp
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.0041d970
test al, al
jne 0x423e5c
push 4
push str..tmp
lea ecx, [ebp - 0x138]
call fcn.0041dc20
push 0
mov byte [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call ebx
mov edi, eax
or esi, 0xffffffff
test edi, edi
jne 0x42420f
lea eax, [ebp - 0x138]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x134]
call fcn.00422b90
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 7
push str.trivial
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push 0xe1
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::DeleteFileW_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______
push 2
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041bed0
mov edi, eax
mov byte [ebp - 4], 5
cmp byte [edi + 0xf8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
je 0x423f15
mov ecx, dword [edi + 0x28]
mov edx, 0x4acd94
mov ecx, dword [ecx + 0x54]
add ecx, 0x10
call fcn.0041d1c0
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.00423cf0
lea ecx, [ebp - 0x130]
call fcn.00412bf0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x423f60
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423f56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424277
push edx
push ecx
call fcn.00459719
add esp, 8
push dword [ebp - 0x134]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42403e
push dword [ebp - 0x134]
call ebx
test eax, eax
jne 0x42403e
push 7
push str.trivial
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push 0xe7
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::DeleteFileW_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______
push 2
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041bed0
mov esi, eax
mov byte [ebp - 4], 7
cmp byte [esi + 0xf8], 0
mov edi, dword [ebp - 0x134]
je 0x423ff0
mov ecx, dword [esi + 0x28]
mov edx, 0x4acda8
mov ecx, dword [ecx + 0x54]
add ecx, 0x10
call fcn.0041d1c0
push edi
mov ecx, esi
call fcn.00423cf0
lea ecx, [ebp - 0x130]
call fcn.00412bf0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4240ff
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4240f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42427c
jmp 0x4240f5
push dword [ebp - 0x134]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 7
push str.trivial
test eax, eax
jne 0x42412a
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
push 0xef
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::DeleteFileW_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______
push 2
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041bed0
mov esi, eax
mov byte [ebp - 4], 9
cmp byte [esi + 0xf8], 0
mov ebx, dword [ebp - 0x134]
mov edi, dword [ebp + 8]
je 0x4240c9
mov ecx, dword [esi + 0x28]
mov edx, 0x4acdc4
mov ecx, dword [ecx + 0x54]
add ecx, 0x10
call fcn.0041d1c0
push edi
mov ecx, esi
call fcn.00423cf0
mov esi, eax
cmp byte [esi + 0xf8], 0
je 0x4240ef
mov ecx, dword [esi + 0x28]
mov edx, 0x4acdd4
mov ecx, dword [ecx + 0x54]
add ecx, 0x10
call fcn.0041d1c0
push ebx
jmp 0x423ff1
push edx
push ecx
call fcn.00459719
add esp, 8
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x134]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424123
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
jmp 0x42420f
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push 0xf5
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::DeleteFileW_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______
push 2
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041bed0
mov edi, eax
mov byte [ebp - 4], 0xb
cmp byte [edi + 0xf8], 0
mov ebx, dword [ebp - 0x134]
je 0x42417f
mov ecx, dword [edi + 0x28]
mov edx, 0x4acdd8
mov ecx, dword [ecx + 0x54]
add ecx, 0x10
call fcn.0041d1c0
push ebx
mov ecx, edi
call fcn.00423cf0
lea ecx, [ebp - 0x130]
call fcn.00412bf0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4241ca
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4241c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42427c
push edx
push ecx
call fcn.00459719
add esp, 8
push 4
push 0
push dword [ebp - 0x134]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 2
mov edi, eax
mov edx, dword [ebp - 0x134]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42420f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x138]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424230
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42424f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.004591b7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041dc00
call fcn.00474c79
call fcn.00474c79
int3