Function at 0x42548c
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 0x425ae6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x4312c8]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x4312c8]
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.00403916
push 0x42bb3c
lea ecx, [esp + 0x20]
mov dword [esp + 0x1e4], edi
call fcn.004038f1
mov byte [esp + 0x1e0], 1
lea eax, [esp + 0x1c]
lea esi, [esp + 0x70]
mov dword [esp + 0x18], 1
call fcn.0042506b
push 2
pop ebx
test al, al
jne 0x425547
push 0x42bb40
lea ecx, [esp + 0x3c]
call fcn.004038f1
mov dword [esp + 0x1e0], ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 3
call fcn.0042506b
mov byte [esp + 0x17], 1
test al, al
je 0x42554c
mov byte [esp + 0x17], 0
test byte [esp + 0x18], bl
je 0x425563
and dword [esp + 0x18], 0xfffffffd
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00404329
mov dword [esp + 0x1e0], edi
test byte [esp + 0x18], 1
je 0x42557d
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.00404329
cmp byte [esp + 0x17], 0
je 0x425593
push 0x42bb44
lea eax, [esp + 0x74]
push eax
call fcn.0040393f
push 0x42bb48
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004055b3
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4255b5
mov eax, dword [eax + 4]
jmp 0x4255b8
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.00404329
cmp esi, 0xffffffff
jne 0x42560e
xor bl, bl
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.00404329
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.0040f3c4
mov esp, ebp
pop ebp
ret
test byte [esp + 0x8c], 0x10
je 0x4256b6
push 0x42bb4c
lea ecx, [esp + 0x3c]
call fcn.004038f1
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e4], 3
call fcn.004038f1
lea eax, [esp + 0x38]
lea edx, [esp + 0x1c]
mov byte [esp + 0x1e0], 4
call fcn.00425089
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
lea ecx, [esp + 0x24]
inc bl
call fcn.00404329
push edi
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e8], 0
call fcn.00404329
test bl, bl
je 0x4256f1
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004055b3
push eax
mov byte [esp + 0x1f0], 5
call fcn.0042548c
add esp, 0x10
mov byte [esp + 0x1e0], 0
jmp 0x4256e5
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004055b3
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4256db
mov eax, dword [eax + 4]
jmp 0x4256de
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.00404329
lea eax, [esp + 0x8c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42560e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x425721
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne bl
jmp 0x4255dc