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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d54c8
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 0x4168e1
cmp word [ecx], 0
je 0x4168e1
push ecx
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00415980
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 0x41670c
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.00419fe0
mov ebx, dword [ebp + 8]
test edi, edi
je 0x416875
push edi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00414f30
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.00419ec0
lea ecx, [ebp - 0x58]
call fcn.00415b40
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 0x416875
nop dword [eax + eax]
mov edx, 0x4f4344
lea ecx, [ebp - 0x27c]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x416796
test ax, ax
je 0x416792
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x416796
add ecx, 4
add edx, 4
test ax, ax
jne 0x416770
xor eax, eax
jmp 0x41679b
sbb eax, eax
or eax, 1
test eax, eax
je 0x416858
mov eax, 0x4f4348
lea ecx, [ebp - 0x27c]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4167d6
test dx, dx
je 0x4167d2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4167d6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4167b0
xor eax, eax
jmp 0x4167db
sbb eax, eax
or eax, 1
test eax, eax
je 0x416858
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.00415fc0
add esp, 4
lea ecx, [ebp - 0x58]
test byte [ebp - 0x2a8], 0x10
je 0x41683b
cmp dword [ebp - 0x44], 8
mov edx, dword [ebp - 0x2ac]
cmovae ecx, dword [ebp - 0x58]
push 1
push ebx
call fcn.00416680
add esp, 8
jmp 0x41684a
cmp dword [ebp - 0x44], 8
mov dl, bl
cmovae ecx, dword [ebp - 0x58]
call fcn.00416470
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00415b40
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x416760
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x41688d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dl, 1
cmovae ecx, dword [ebp - 0x28]
call fcn.00416470
jmp 0x41689f
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 0x4168b4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00415a10
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 0x4168dd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00415a10
mov eax, esi
jmp 0x4168e6
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.00493bec
mov esp, ebp
pop ebp
ret