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

Disassembly:
sub esp, 0x264
mov eax, dword [0x40d0fc]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
mov ebx, dword [esp + 0x270]
push esi
mov esi, dword [esp + 0x270]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.004073cf
mov dword [esp + 0x18], eax
test bl, 8
je 0x40762e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x47b628], eax
jmp 0x407813
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x40764b
test eax, eax
je 0x40779e
test bl, 2
je 0x4077a6
push esi
push 0x45edd0
call fcn.00407a7a
test ebp, ebp
je 0x40766c
push str..
push 0x45edd0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x407672
push esi
call fcn.00407c5d
xor eax, eax
cmp word [esi], ax
jne 0x407683
cmp word [0x45edd0], 0x5c
jne 0x40768f
push 0x40ab14
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0x45edd0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x407786
mov ebp, dword [esp + 0x10]
push 0x2e
pop eax
cmp word [esp + 0x4c], ax
jne 0x4076e3
cmp word [esp + 0x4e], 0
je 0x407761
cmp word [esp + 0x4e], ax
jne 0x4076e3
cmp word [esp + 0x50], 0
je 0x407761
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x18]
call fcn.00407a7a
test byte [esp + 0x20], 0x10
je 0x40770a
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x407761
push ebx
push esi
call fcn.004075de
jmp 0x407761
push esi
push str.Delete:_DeleteFile___s__
call fcn.0040744b
pop ecx
pop ecx
push edi
push esi
call fcn.0040731c
push esi
test eax, eax
jne 0x40775a
test edi, edi
je 0x407746
push str.Delete:_DeleteFile_on_Reboot___s__
call fcn.0040744b
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.004068ba
xor eax, eax
push eax
push esi
call fcn.00406e0e
jmp 0x407761
push str.Delete:_DeleteFile_failed___s__
call fcn.0040744b
inc dword [0x47b628]
pop ecx
pop ecx
jmp 0x407761
push 0xfffffffffffffff2
call fcn.004068ba
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4076c1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x407812
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax - 2], cx
cmp dword [esp + 0x1c], ecx
jne 0x4077a6
push esi
push str.RMDir:_RemoveDirectory_invalid_input___s__
jmp 0x4077fc
push esi
call fcn.00407366
test eax, eax
je 0x407812
push esi
call fcn.004072ed
push esi
push str.RMDir:_RemoveDirectory___s__
call fcn.0040744b
pop ecx
pop ecx
mov eax, edi
or eax, 1
push eax
push esi
call fcn.0040731c
push esi
test eax, eax
jne 0x40780b
test edi, edi
je 0x4077f7
push str.RMDir:_RemoveDirectory_on_Reboot___s__
call fcn.0040744b
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.004068ba
xor eax, eax
push eax
push esi
call fcn.00406e0e
jmp 0x407812
push str.RMDir:_RemoveDirectory_failed___s__
call fcn.0040744b
inc dword [0x47b628]
pop ecx
pop ecx
jmp 0x407812
push 0xffffffffffffffe5
call fcn.004068ba
pop ebp
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00408fb1
add esp, 0x264
ret 8