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

Disassembly:
push 0xffffffffffffffff
push 0x60d6dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
mov word [esp + 0x20], di
mov esi, dword [esp + 0x2b0]
mov ecx, 0x6be8f8
test ecx, ecx
mov dword [esp + 0x2a8], edi
je 0x41d235
cmp esi, edi
je 0x41d235
push esi
lea ecx, [esp + 0x14]
call fcn.0040e020
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a8], bl
call fcn.00401070
push 0x6be8f8
lea ecx, [esp + 0x2c]
call fcn.00402350
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2a8], 2
cmp eax, edi
jne 0x41d1a1
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x30]
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x41d207
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x10]
call fcn.004023d0
push eax
lea ecx, [esp + 0x2c]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a8], bl
call fcn.00401070
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 0
call fcn.00401070
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2b0]
xor edi, edi
cmp eax, edi
jne 0x41d23d
lea eax, [esp + 0x20]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x34], ebp
jne 0x41d26b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a8], eax
call fcn.00401070
or eax, ebp
jmp 0x41d480
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x50]
push eax
push ebp
call ebx
lea ecx, [esp + 0x50]
push ecx
push ebp
call ebx
test eax, eax
je 0x41d445
mov bl, 5
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov word [esp + 0x14], di
mov edx, 0x6bc11c
mov byte [esp + 0x2a8], 3
test edx, edx
je 0x41d3d7
cmp esi, edi
je 0x41d3d7
lea ecx, [esp + 0x7c]
test ecx, ecx
je 0x41d3d7
push edx
lea ecx, [esp + 0x48]
call fcn.00402350
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2ac], 4
call fcn.0040e020
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x2ac], bl
call fcn.0040e020
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 6
call fcn.00401070
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x28]
call fcn.004023d0
push eax
call fcn.005de123
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.004023d0
push eax
call fcn.005de123
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x10], edi
je 0x41d394
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x28]
call fcn.004023d0
push eax
lea ecx, [esp + 0x3c]
call fcn.004023d0
push eax
lea ecx, [esp + 0x4c]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005de123
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2a8], bl
call fcn.00401070
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a8], 4
call fcn.00401070
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a8], 3
call fcn.00401070
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x34]
xor edi, edi
mov edx, dword [esp + 0x50]
and edx, 0x10
cmp dl, 0x10
je 0x41d3f4
cmp eax, edi
jne 0x41d3eb
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41d420
cmp eax, edi
jne 0x41d3fc
lea eax, [esp + 0x14]
push eax
push 0x6be8f4
lea ecx, [esp + 0x18]
call fcn.0041a640
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x41d417
lea eax, [esp + 0x14]
push eax
call fcn.0041d110
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 0
call fcn.00401070
lea eax, [esp + 0x50]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d28b
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x6ec760]
cmp eax, edi
jne 0x41d45a
mov eax, 0x6ec764
push eax
call fcn.005df804
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.00401070
xor eax, eax
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret