Function at 0x424290
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495bed
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
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 - 0x390], ecx
xor ebx, ebx
mov dword [ebp - 0x38c], ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00401890
push 0x250
lea eax, [ebp - 0x278]
push ebx
push eax
call fcn.00471be0
push 0x4acdf0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x398]
call fcn.00422ac0
add esp, 0x10
lea ecx, [ebp - 0x278]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x398]
mov esi, eax
mov dword [ebp - 0x384], esi
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x424334
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
jne 0x424340
xor esi, esi
jmp 0x4244a8
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov edi, dword [ebp - 0x384]
nop dword [eax]
test byte [ebp - 0x278], 0x10
je 0x4243ad
push 0x4acdf4
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x424488
push 0x4acdf8
lea eax, [ebp - 0x24c]
push eax
call esi
test eax, eax
je 0x424488
push ecx
lea eax, [ebp - 0x24c]
mov ecx, esp
push eax
lea edx, [ebp + 8]
call fcn.00422ac0
mov ecx, dword [ebp - 0x390]
add esp, 4
call fcn.00424290
add esp, 4
jmp 0x424488
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4243c4
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4243d8
call fcn.0041d700
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x4245e2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
or ebx, 1
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x38c], ebx
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424400
sub eax, edx
lea ecx, [ebp - 0x388]
mov edx, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
push dword [edx - 0xc]
call fcn.00423330
mov esi, dword [ebp - 0x388]
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
add esi, 0xfffffff0
mov edi, esp
mov ecx, esi
mov dword [ebp - 0x394], edi
call fcn.0041d470
add eax, 0x10
mov dword [edi], eax
call fcn.00423de0
and ebx, 0xfffffffe
mov byte [ebp - 4], 0
add esp, 4
mov dword [ebp - 0x38c], ebx
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42447c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x384]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424350
lea esi, [eax + 1]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x390], 0
je 0x4245a2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x4245a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
push str.trivial
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov ebx, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041ccc0
sub esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push 0x12d
push str.d:workqninstall_srccommonutilfunc.h
push str.int___cdecl_UtilFunc::DeleteFolder_class_ATL::CStringT_wchar_t_class_ATL::StrTraitATL_wchar_t_class_ATL::ChTraitsCRT_wchar_t______int_
push 8
push ecx
push eax
lea ecx, [ebp - 0x380]
call fcn.0041bed0
mov edi, eax
mov byte [ebp - 4], 3
mov al, byte [edi + 0xf8]
test al, al
je 0x424551
mov eax, dword [edi + 0x28]
mov edx, str.RemoveDirectory
mov eax, dword [eax + 0x54]
lea ecx, [eax + 0x10]
call fcn.0041d1c0
mov al, byte [edi + 0xf8]
test al, al
je 0x424551
mov eax, dword [edi + 0x28]
push ebx
mov ecx, dword [eax + 0x54]
add ecx, 0x10
call fcn.00411910
lea ecx, [ebp - 0x380]
call fcn.00412bf0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x424590
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424586
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4245ec
push edx
push ecx
call fcn.00459719
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4245c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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
int3