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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f529b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x55a3d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1cc], eax
xor ebx, ebx
mov eax, 0xf
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
push str..
lea ecx, [ebp - 0x68]
push edi
push ecx
mov byte [ebp - 4], 1
call fcn.00407a00
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040f1c0
mov esi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], esi
jb 0x407b73
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b5907
add esp, 4
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x407b7e
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1c8], eax
cmp eax, 0xffffffff
je 0x407d93
jmp 0x407ba0
cmp byte [ebp - 0x198], 0x2e
je 0x407d30
mov eax, dword [ebp - 0x1cc]
cmp eax, ebx
je 0x407bef
cmp dword [ebp + 0x10], ebx
jne 0x407bef
lea ecx, [ebp - 0x198]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407be2
cmp dl, bl
je 0x407bde
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407be2
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x407bc2
xor eax, eax
jmp 0x407be7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x407d30
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x30]
call fcn.004118b0
push 0x5110d8
lea edx, [ebp - 0x84]
push edi
push edx
call fcn.00407a00
add esp, 0xc
lea ecx, [ebp - 0x198]
push ecx
push eax
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 3
call fcn.00407970
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x407c82
cmp dword [ebp - 0x1c], 0x10
jb 0x407c42
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], 0x10
jae 0x407c69
mov eax, dword [esi + 0x10]
inc eax
push eax
lea edx, [ebp - 0x30]
push esi
push edx
call fcn.004b5c40
add esp, 0xc
jmp 0x407c70
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x1c], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp - 0x54], 0x10
jb 0x407c94
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b5907
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
jb 0x407cba
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b5907
add esp, 4
test byte [ebp - 0x1c4], 0x10
je 0x407d1a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1cc]
inc edx
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00407ae0
add esp, 0xc
mov esi, 0x10
test al, al
jne 0x407d30
cmp dword [ebp - 0x38], esi
jb 0x407cf5
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x1c], esi
jb 0x407d13
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b5907
add esp, 4
xor al, al
jmp 0x407dc4
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x30]
jae 0x407d26
lea ecx, [ebp - 0x30]
call fcn.0040af40
mov esi, 0x10
mov eax, dword [ebp - 0x1c8]
lea edx, [ebp - 0x1c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407ba0
mov eax, dword [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x407ce4
cmp dword [ebp + 0x10], ebx
je 0x407d93
cmp dword [edi + 0x14], esi
jb 0x407d72
mov eax, dword [edi]
jmp 0x407d74
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x407d93
lea ecx, [ebp - 0x4c]
call fcn.00411880
lea ecx, [ebp - 0x30]
call fcn.00411880
xor al, al
jmp 0x407dc4
cmp dword [ebp - 0x38], esi
jb 0x407da4
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x1c], esi
jb 0x407dc2
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004b5907
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b58f8
mov esp, ebp
pop ebp
ret