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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4359e7
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4433ec]
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 esi, dword [ebp + 8]
push esi
push str._s__.
lea eax, [ebp - 0x11c]
push 0x104
push eax
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2f4], esi
call fcn.0041ce0f
push 0x140
xor ebx, ebx
lea ecx, [ebp - 0x2ec]
push ebx
push ecx
call fcn.00423450
add esp, 0x1c
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x2f0], eax
lea edi, [ebx + 0xf]
mov edx, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2ec]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x2fc], eax
mov ecx, 0x43bd08
lea eax, [ebp - 0x2c0]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415810
cmp dl, bl
je 0x41580c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415810
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4157f0
xor eax, eax
jmp 0x415815
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415aa4
mov ecx, 0x43bd0c
lea eax, [ebp - 0x2c0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415848
cmp dl, bl
je 0x415844
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415848
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x415828
xor eax, eax
jmp 0x41584d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x415aa4
push ebx
push 0x43a501
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x138], bl
call fcn.00407e40
push esi
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
mov dword [ebp - 4], ebx
call fcn.0040eec0
add esp, 0xc
push eax
mov eax, 0x43c44c
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 1
call fcn.0040d480
add esp, 4
push eax
lea eax, [ebp - 0x2c0]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 2
call fcn.0040d480
add esp, 4
mov esi, eax
lea edx, [ebp - 0x138]
cmp edx, esi
je 0x415938
cmp dword [ebp - 0x124], 0x10
jb 0x4158e7
mov eax, dword [ebp - 0x138]
push eax
call fcn.0041b77e
add esp, 4
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x138], bl
cmp dword [esi + 0x14], 0x10
jae 0x415916
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x138]
push esi
push ecx
call fcn.0041bb00
add esp, 0xc
jmp 0x415920
mov edx, dword [esi]
mov dword [ebp - 0x138], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x128], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x124], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp - 0x15c], 0x10
jb 0x415950
mov edx, dword [ebp - 0x170]
push edx
call fcn.0041b77e
add esp, 4
cmp dword [ebp - 0x178], 0x10
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
jb 0x41597a
mov eax, dword [ebp - 0x18c]
push eax
call fcn.0041b77e
add esp, 4
cmp dword [ebp - 0x194], 0x10
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
jb 0x4159a4
mov ecx, dword [ebp - 0x1a8]
push ecx
call fcn.0041b77e
add esp, 4
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ebx
mov byte [ebp - 0x154], bl
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 4
call fcn.004070e0
cmp dword [ebp - 0x124], 0x10
mov esi, dword [ebp - 0x138]
jae 0x4159e4
lea esi, [ebp - 0x138]
call fcn.004156a0
test eax, eax
je 0x415a36
mov eax, dword [ebp - 0x138]
mov esi, 0x10
cmp dword [ebp - 0x124], esi
jae 0x415a06
lea eax, [ebp - 0x138]
push eax
push 0x43c450
call fcn.0041cebb
mov eax, dword [ebp - 0x154]
add esp, 8
cmp dword [ebp - 0x140], esi
jae 0x415a28
lea eax, [ebp - 0x154]
mov ecx, dword [ebp - 0x2f8]
push eax
call fcn.00415740
jmp 0x415a57
cmp dword [ebp - 0x140], 0x10
mov eax, dword [ebp - 0x154]
jae 0x415a4b
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, 0x10
cmp dword [ebp - 0x140], esi
jb 0x415a6e
mov eax, dword [ebp - 0x154]
push eax
call fcn.0041b77e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], ebx
mov byte [ebp - 0x154], bl
cmp dword [ebp - 0x124], esi
jb 0x415a9e
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.0041b77e
add esp, 4
mov esi, dword [ebp - 0x2f4]
cmp dword [ebp - 0x2fc], ebx
jne 0x4157c8
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x415ada
push esi
push 0x43c45c
call fcn.0041cebb
add esp, 8
xor eax, eax
jmp 0x415adf
mov eax, 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.0041b499
mov esp, ebp
pop ebp
ret 4