Function at 0x4195f7
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 0x41a2ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x422244]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x422244]
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.00402fa7
push 0x41dc5c
lea ecx, [esp + 0x20]
mov dword [esp + 0x1e4], edi
call fcn.00402f85
mov byte [esp + 0x1e0], 1
lea eax, [esp + 0x1c]
lea esi, [esp + 0x70]
mov dword [esp + 0x18], 1
call fcn.0041946a
test al, al
push 2
pop ebx
jne 0x4196b2
push 0x41dc60
lea ecx, [esp + 0x3c]
call fcn.00402f85
mov dword [esp + 0x1e0], ebx
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 3
call fcn.0041946a
test al, al
mov byte [esp + 0x17], 1
je 0x4196b7
mov byte [esp + 0x17], 0
test byte [esp + 0x18], bl
je 0x4196ce
and dword [esp + 0x18], 0xfffffffd
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00403a1e
mov dword [esp + 0x1e0], edi
test byte [esp + 0x18], 1
je 0x4196e8
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.00403a1e
cmp byte [esp + 0x17], 0
je 0x4196fe
push 0x41dc64
lea eax, [esp + 0x74]
push eax
call fcn.00402fd7
push 0x41dc68
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00404ba1
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x419720
mov eax, dword [eax + 4]
jmp 0x419723
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.00403a1e
cmp esi, 0xffffffff
jne 0x419779
xor bl, bl
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.00403a1e
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.0040afb2
mov esp, ebp
pop ebp
ret
test byte [esp + 0x8c], 0x10
je 0x419821
push 0x41dc6c
lea ecx, [esp + 0x3c]
call fcn.00402f85
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e4], 3
call fcn.00402f85
lea eax, [esp + 0x38]
lea edx, [esp + 0x1c]
mov byte [esp + 0x1e0], 4
call fcn.00419488
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
lea ecx, [esp + 0x24]
inc bl
call fcn.00403a1e
push edi
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e8], 0
call fcn.00403a1e
test bl, bl
je 0x41985c
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00404ba1
push eax
mov byte [esp + 0x1f0], 5
call fcn.004195f7
add esp, 0x10
mov byte [esp + 0x1e0], 0
jmp 0x419850
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00404ba1
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x419846
mov eax, dword [eax + 4]
jmp 0x419849
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.00403a1e
lea eax, [esp + 0x8c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419779
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x41988c
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne bl
jmp 0x419747