Function at 0x423c0e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
and dword [esp + 8], 0
and dword [esp + 0x10], 0
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [esp + 0x14]
call fcn.00401994
push 0x4be2e4
lea eax, [esp + 0x14]
lea ecx, [esp + 0x40]
call fcn.0041e0dd
mov eax, dword [eax]
pop ecx
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.0040151c
cmp dword [esp + 0x18], 0xffffffff
jne 0x423c78
mov dword [esp + 0x1c], 1
jmp 0x423f04
test byte [esp + 0x48], 0x10
je 0x423d10
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpW]
push 0x4b9aa0
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x423edb
push 0x4be2e8
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x423edb
lea eax, [esp + 0x74]
push 0x4bcc40
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x3c]
call fcn.0041e0dd
pop ecx
lea ecx, [esp + 0x2c]
call fcn.0041e0dd
push dword [ebp + 0x18]
mov eax, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00423c0e
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x18
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.0040151c
test esi, esi
je 0x423efa
jmp 0x423edb
cmp dword [ebp + 0x14], 0
je 0x423d3f
push dword [ebp + 0x18]
or dword [esp + 0x18], 1
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x4c]
call fcn.0041e0dd
pop ecx
push eax
call dword [ebp + 0x14]
test eax, eax
pop ecx
pop ecx
jne 0x423d3f
mov bl, 1
jmp 0x423d41
xor bl, bl
test byte [esp + 0x14], 1
je 0x423d59
mov eax, dword [esp + 0x44]
and dword [esp + 0x14], 0xfffffffe
add eax, 0xfffffff0
call fcn.0040151c
test bl, bl
jne 0x423edb
cmp dword [ebp + 0xc], 0
je 0x423dd2
lea eax, [esp + 0x74]
push eax
call fcn.0048ab31
cmp eax, 4
pop ecx
jle 0x423dd2
lea eax, [esp + eax*2 + 0x6c]
push 0x4be2f0
push eax
call fcn.0048bf4f
test eax, eax
pop ecx
pop ecx
jne 0x423dd2
lea edi, [esp + 0x20]
call fcn.00423f68
lea eax, [esp + 0x74]
push eax
mov eax, edi
push eax
call fcn.0040536e
mov esi, dword [esp + 0x20]
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x423dca
cmp dword [ebp + 0x10], edi
je 0x423dca
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
lea eax, [esi - 0x10]
call fcn.0040151c
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
call fcn.0041e0dd
pop ecx
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.0040151c
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
call fcn.0041e0dd
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.0040151c
test esi, esi
jne 0x423edb
mov eax, dword [0x4de4b4]
mov ecx, 0x4de4b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push str._s_s_d__x
push eax
call fcn.0041e0ca
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x50]
call fcn.0041e0dd
mov edi, dword [esp + 0x3c]
mov eax, dword [eax]
push edi
push eax
call fcn.0048e312
mov esi, eax
mov eax, dword [esp + 0x58]
add esp, 0x20
add eax, 0xfffffff0
call fcn.0040151c
xor ebx, ebx
cmp esi, ebx
jne 0x423ea4
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
jmp 0x423ed3
cmp dword [ebp + 0x10], ebx
je 0x423ed3
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.0041e0dd
pop ecx
push 4
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.0040151c
lea eax, [edi - 0x10]
call fcn.0040151c
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x423c78
mov dword [esp + 0x1c], 1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
lea eax, [esi - 0x10]
call fcn.0040151c
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret