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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590da8
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x5f1414]
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 esi, ecx
mov dword [ebp - 0x2c4], esi
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], 7
push eax
mov dword [ebp - 0x30], 0
call fcn.00410a40
push 3
push 0x5db4c4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040f640
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 0x41cd80
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
lea eax, [ebp - 0x2a8]
push eax
push edi
call ebx
test eax, eax
je 0x41cd80
mov cx, word [ebp - 0x27c]
cmp cx, 0x2e
je 0x41cb70
mov ax, word [ebp - 0x27a]
test ax, ax
je 0x41cb70
cmp ax, 0x2e
jne 0x41cbab
cmp word [ebp - 0x278], 0
je 0x41cb70
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test cx, cx
jne 0x41cbc8
xor ecx, ecx
jmp 0x41cbe0
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cbd1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00410890
xor eax, eax
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
push eax
je 0x41cc7f
call fcn.00410a40
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f8a0
push 1
push 0x5db4cc
lea ecx, [ebp - 0x28]
call fcn.0040f640
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x41cc60
mov eax, dword [ecx]
jmp 0x41cc62
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00410a40
mov ecx, esi
call fcn.0041cad0
jmp 0x41cd49
call fcn.00410a40
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f8a0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2ac], 7
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
cmp word [edx], ax
jne 0x41ccc9
xor ecx, ecx
jmp 0x41cce5
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ccd0
sub ecx, esi
mov esi, dword [ebp - 0x2c4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c0]
call fcn.00410890
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41cd2b
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2c0]
push eax
call fcn.0041cf70
mov eax, dword [ebp - 0x2ac]
cmp eax, 8
jb 0x41cd49
inc eax
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c0]
call fcn.00411000
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41cd5e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411000
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41cb70
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00411000
jmp 0x41cb70
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41cdb3
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41cdc8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00411000
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x41cded
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00411000
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.004fb4f0
mov esp, ebp
pop ebp
ret 0x18