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

Disassembly:
push 0xffffffffffffffff
push 0x616add
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, 0x6a3b18
test ecx, ecx
mov dword [esp + 0x2a8], edi
je 0x41d4b5
cmp esi, edi
je 0x41d4b5
push esi
lea ecx, [esp + 0x14]
call fcn.0040e580
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a8], bl
call fcn.00401070
push 0x6a3b18
lea ecx, [esp + 0x2c]
call fcn.00402380
mov eax, dword [esp + 0x10]
mov byte [esp + 0x2a8], 2
cmp eax, edi
jne 0x41d421
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x30]
push eax
call fcn.005e71bf
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x41d487
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.00402400
push eax
lea ecx, [esp + 0x2c]
call fcn.00402400
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005e71bf
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 0x41d4bd
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 0x41d4eb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2a8], eax
call fcn.00401070
or eax, ebp
jmp 0x41d700
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 0x41d6c5
mov bl, 5
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov word [esp + 0x14], di
mov edx, 0x6a112c
mov byte [esp + 0x2a8], 3
test edx, edx
je 0x41d657
cmp esi, edi
je 0x41d657
lea ecx, [esp + 0x7c]
test ecx, ecx
je 0x41d657
push edx
lea ecx, [esp + 0x48]
call fcn.00402380
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2ac], 4
call fcn.0040e580
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x28]
push edx
mov byte [esp + 0x2ac], bl
call fcn.0040e580
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 6
call fcn.00401070
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
call fcn.005e71bf
add esp, 4
lea ecx, [esp + 0x38]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x10], edi
je 0x41d614
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.00402400
push eax
lea ecx, [esp + 0x3c]
call fcn.00402400
push eax
lea ecx, [esp + 0x4c]
call fcn.00402400
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e71bf
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 0x41d674
cmp eax, edi
jne 0x41d66b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41d6a0
cmp eax, edi
jne 0x41d67c
lea eax, [esp + 0x14]
push eax
push 0x6a3b14
lea ecx, [esp + 0x18]
call fcn.0041aed0
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x41d697
lea eax, [esp + 0x14]
push eax
call fcn.0041d390
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 0x41d50b
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x6d2310]
cmp eax, edi
jne 0x41d6da
mov eax, 0x6d2314
push eax
call fcn.005e88a4
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