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

Disassembly:
push 0x278
mov eax, 0x4652b4
call fcn.00460279
and dword [ebp - 4], 0
mov eax, dword [0x48220c]
mov ecx, 0x48220c
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x26c], ebx
lea eax, [ebp - 0x264]
push eax
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x270], esp
mov esi, 0x46aab4
push esi
push eax
call fcn.00404846
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x274], esp
push 0x46ac58
push eax
call fcn.00404846
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
mov edi, esp
call fcn.004015bb
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 1
call fcn.00401b0d
add esp, 0x10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
call fcn.0040178c
cmp dword [ebp - 0x268], 0xffffffff
jne 0x402ddf
lea eax, [ebx - 0x10]
call fcn.0040178c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
xor eax, eax
call fcn.004602c3
ret
mov ecx, 0x46ab98
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402c4b
test dx, dx
je 0x402c47
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402c4b
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c25
xor eax, eax
jmp 0x402c50
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402ddf
mov ecx, 0x46ac60
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402c89
test dx, dx
je 0x402c85
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402c89
add eax, 4
add ecx, 4
test dx, dx
jne 0x402c63
xor eax, eax
jmp 0x402c8e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402ddf
push ecx
mov eax, esp
mov dword [ebp - 0x280], esp
push esi
push eax
call fcn.00404846
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x27c], esp
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.00404846
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x278], esp
mov edi, esp
call fcn.004015bb
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 1
call fcn.00401b0d
add esp, 0x10
lea edi, [ebp - 0x26c]
mov byte [ebp - 4], 6
call fcn.00401444
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
call fcn.0040178c
test byte [ebp - 0x264], 0x10
push ecx
mov dword [ebp - 0x278], esp
je 0x402d41
mov ebx, dword [ebp - 0x26c]
lea eax, [ebx - 0x10]
mov edi, esp
call fcn.004015bb
add eax, 0x10
mov dword [edi], eax
call fcn.00402b45
pop ecx
jmp 0x402ddf
mov eax, esp
push esi
push eax
call fcn.00404846
push ecx
mov byte [ebp - 4], 7
mov eax, esp
mov dword [ebp - 0x27c], esp
lea ecx, [ebp - 0x238]
push ecx
push eax
call fcn.00404846
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x280], esp
mov edi, esp
call fcn.004015bb
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 1
call fcn.00401b0d
add esp, 0x10
lea edi, [ebp - 0x26c]
mov byte [ebp - 4], 9
call fcn.00401444
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
call fcn.0040178c
mov ebx, dword [ebp - 0x26c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call edi
test eax, eax
jne 0x402ddf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x402ddf
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call edi
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402c1a
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
test eax, eax
jne 0x402e2f
lea eax, [ebx - 0x10]
call fcn.0040178c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, esi
jmp 0x402c14
inc esi
jmp 0x402e15