Function at 0x4024cb
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x4a1060]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x20
mov eax, 0x47d5eb
call fcn.00477fa0
and dword [ebp - 4], 0
mov eax, dword [0x4a444c]
mov ecx, 0x4a444c
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
lea eax, [ebp]
push eax
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x18], esp
mov esi, 0x483bec
push esi
push eax
call fcn.00403b58
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x1c], esp
push 0x483d48
push eax
call fcn.00403b58
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x25c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.004012c8
add esp, 0x10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00403c45
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40274f
lea eax, [ebx - 0x10]
call fcn.00403c45
mov eax, dword [ebp + 0x25c]
add eax, 0xfffffff0
call fcn.00403c45
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.0045a985
add ebp, 0x254
leave
ret
mov ecx, 0x483cd0
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4025eb
test dx, dx
je 0x4025e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4025eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4025c5
xor eax, eax
jmp 0x4025f0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40274f
mov ecx, 0x483d50
lea eax, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402626
test dx, dx
je 0x402622
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402626
add eax, 4
add ecx, 4
test dx, dx
jne 0x402600
xor eax, eax
jmp 0x40262b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40274f
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push esi
push eax
call fcn.00403b58
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x24], esp
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.00403b58
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x25c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.004012c8
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00402ed6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00403c45
test byte [ebp], 0x10
push ecx
mov dword [ebp - 0x20], esp
je 0x4026c3
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
call fcn.004024cb
pop ecx
jmp 0x40274f
mov eax, esp
push esi
push eax
call fcn.00403b58
push ecx
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x24], esp
lea ecx, [ebp + 0x2c]
push ecx
push eax
call fcn.00403b58
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x25c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004012c8
add esp, 0x10
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00402ed6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00403c45
mov ebx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call edi
test eax, eax
jne 0x40274f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40274f
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4025bd
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 0x25c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
test eax, eax
jne 0x40279c
lea eax, [ebx - 0x10]
call fcn.00403c45
mov eax, dword [ebp + 0x25c]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, esi
jmp 0x40259a
inc esi
jmp 0x40277f