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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5128
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x520078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x2ac], edi
test ecx, ecx
je 0x4164c1
cmp word [ecx], 0
je 0x4164c1
push ecx
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00415560
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], esi
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4162ec
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.00419bc0
mov ebx, dword [ebp + 8]
test edi, edi
je 0x416455
push edi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00414b10
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.00419aa0
lea ecx, [ebp - 0x58]
call fcn.00415720
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416455
nop dword [eax + eax]
mov edx, 0x4f4344
lea ecx, [ebp - 0x27c]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x416376
test ax, ax
je 0x416372
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x416376
add ecx, 4
add edx, 4
test ax, ax
jne 0x416350
xor eax, eax
jmp 0x41637b
sbb eax, eax
or eax, 1
test eax, eax
je 0x416438
mov eax, 0x4f4348
lea ecx, [ebp - 0x27c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4163b6
test dx, dx
je 0x4163b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4163b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x416390
xor eax, eax
jmp 0x4163bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x416438
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
push eax
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00415ba0
add esp, 4
lea ecx, [ebp - 0x58]
test byte [ebp - 0x2a8], 0x10
je 0x41641b
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x2ac]
cmovae ecx, dword [ebp - 0x58]
push 1
push ebx
call fcn.00416260
add esp, 8
jmp 0x41642a
cmp dword [ebp - 0x44], 8
mov dl, bl
cmovae ecx, dword [ebp - 0x58]
call fcn.00416050
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00415720
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416340
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x41646d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dl, 1
cmovae ecx, dword [ebp - 0x28]
call fcn.00416050
jmp 0x41647f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x416494
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004155f0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4164bd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004155f0
mov eax, esi
jmp 0x4164c6
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049384c
mov esp, ebp
pop ebp
ret