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

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
mov esi, dword [esp + 0x460]
push edi
push esi
lea eax, [esp + 0x25c]
mov ebp, ecx
push eax
mov dword [esp + 0x18], ebp
call fcn.00407720
push esi
lea ecx, [esp + 0x360]
push ecx
mov ecx, ebp
call fcn.004076b0
lea eax, [esp + 0x258]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407e40
sub eax, edx
cmp byte [esp + eax + 0x258], 0x5c
je 0x407e72
lea edi, [esp + 0x258]
dec edi
jmp 0x407e60
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407e60
mov dx, word [0x42e028]
mov word [edi], dx
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407faa
lea esp, [esp]
mov edi, 0x42e168
lea esi, [esp + 0x40]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x407f88
mov edi, 0x42e164
lea esi, [esp + 0x40]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x407f88
test byte [esp + 0x14], 0x10
jne 0x407f88
mov edi, 0x42e734
lea esi, [esp + 0x35c]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x407f2b
xor eax, eax
jmp 0x407ef0
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x407ef0
lea eax, [esp + 0x40]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407f10
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407f21
jmp 0x407f69
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x407f30
lea eax, [esp + 0x35c]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407f50
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407f61
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x154]
rep movsb byte es:[edi], byte [esi]
push eax
mov ecx, ebp
call fcn.00407bb0
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407e90
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x464]
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4080b6
mov ebx, dword [esp + 0x468]
jmp 0x407fd0
mov edi, 0x42e168
lea esi, [esp + 0x40]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40809b
mov edi, 0x42e164
lea esi, [esp + 0x40]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40809b
test byte [esp + 0x14], 0x10
je 0x40809b
test bl, bl
je 0x40809b
xor eax, eax
jmp 0x408020
mov cl, byte [esp + eax + 0x258]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x408020
lea eax, [esp + 0x40]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408040
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408051
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x154]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408071
mov eax, dword [str..]
mov cl, byte [0x42e308]
mov dword [edi], eax
push ebx
lea edx, [esp + 0x158]
mov byte [edi + 4], cl
mov ecx, dword [esp + 0x14]
push edx
call fcn.00407e00
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407fd0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x450
ret 8