Function at 0x425f69
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4265da
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x4322c8]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4322c8]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x1c], edi
call fcn.004031b3
push 0x42ca50
lea ecx, [esp + 0x20]
mov dword [esp + 0x1e4], edi
call fcn.0040318e
mov byte [esp + 0x1e0], 1
lea eax, [esp + 0x1c]
lea esi, [esp + 0x70]
mov dword [esp + 0x18], 1
call fcn.00425b48
push 2
pop ebx
test al, al
jne 0x426024
push 0x42ca54
lea ecx, [esp + 0x3c]
call fcn.0040318e
mov dword [esp + 0x1e0], ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 3
call fcn.00425b48
mov byte [esp + 0x17], 1
test al, al
je 0x426029
mov byte [esp + 0x17], 0
test byte [esp + 0x18], bl
je 0x426040
and dword [esp + 0x18], 0xfffffffd
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.0040397b
mov dword [esp + 0x1e0], edi
test byte [esp + 0x18], 1
je 0x42605a
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.0040397b
cmp byte [esp + 0x17], 0
je 0x426070
push 0x42ca58
lea eax, [esp + 0x74]
push eax
call fcn.004031e6
push 0x42ca5c
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00404c95
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x426092
mov eax, dword [eax + 4]
jmp 0x426095
add eax, 4
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push edi
push 1
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.0040397b
cmp esi, 0xffffffff
jne 0x4260eb
xor bl, bl
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.0040397b
mov al, bl
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0040fca4
mov esp, ebp
pop ebp
ret
test byte [esp + 0x8c], 0x10
je 0x426193
push 0x42ca60
lea ecx, [esp + 0x3c]
call fcn.0040318e
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e4], 3
call fcn.0040318e
lea eax, [esp + 0x38]
lea edx, [esp + 0x1c]
mov byte [esp + 0x1e0], 4
call fcn.00425b66
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
lea ecx, [esp + 0x24]
inc bl
call fcn.0040397b
push edi
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e8], 0
call fcn.0040397b
test bl, bl
je 0x4261ce
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00404c95
push eax
mov byte [esp + 0x1f0], 5
call fcn.00425f69
add esp, 0x10
mov byte [esp + 0x1e0], 0
jmp 0x4261c2
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00404c95
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4261b8
mov eax, dword [eax + 4]
jmp 0x4261bb
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.0040397b
lea eax, [esp + 0x8c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4260eb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x4261fe
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne bl
jmp 0x4260b9