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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c548
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4d0018]
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 dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x40793a
mov bl, 1
jmp 0x407bf2
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + ecx]
mov edx, ecx
inc ecx
cmp word [eax + 0x4ac4cc], 0
jne 0x407940
mov esi, dword [ebp + 0xc]
cmp edx, esi
ja 0x407986
test edx, edx
je 0x407986
mov ecx, esi
sub ecx, edx
cmp ecx, esi
jae 0x4079ba
mov edx, 0x4ac4cc
nop dword [eax + eax]
mov eax, dword [ebp + 8]
mov ax, word [eax + ecx*2]
cmp ax, word [edx]
jne 0x407986
inc ecx
add edx, 2
cmp ecx, esi
jb 0x407970
jmp 0x4079ba
push 0x4ac4cc
lea ecx, [ebp - 0x20]
call fcn.00408990
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.004083d0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4079b7
push eax
call fcn.0047ecd0
add esp, 4
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
test esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
cmove edx, eax
mov dword [ebp - 0x14], 7
mov ecx, edx
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4079e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408620
push 0x4ac53c
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x294]
call fcn.00408a70
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x407a1b
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x280]
mov esi, eax
cmp edx, 8
jb 0x407a6b
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407a61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c20
push edx
push ecx
call fcn.0047ef02
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
cmp esi, 0xffffffff
je 0x407bba
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
test byte [ebp - 0x278], 0x10
lea eax, [ebp - 0x24c]
je 0x407b20
push 0x4ac544
push eax
call fcn.00489fb2
add esp, 8
test eax, eax
je 0x407b8a
lea eax, [ebp - 0x24c]
push 0x4ac548
push eax
call fcn.00489fb2
add esp, 8
test eax, eax
je 0x407b8a
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2ac]
call fcn.00408a70
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x407b05
mov eax, dword [eax]
sub esp, 0x10
mov ecx, esp
push eax
call fcn.00408990
call fcn.004078f0
add esp, 0x10
mov byte [ebp - 4], 2
test al, al
jmp 0x407b43
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2ac]
call fcn.00408a70
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x407b3a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov edx, dword [ebp - 0x298]
sete bl
cmp edx, 8
jb 0x407b86
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407b7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c20
push edx
push ecx
call fcn.0047ef02
add esp, 8
test bl, bl
jne 0x407bb3
lea eax, [ebp - 0x278]
push eax
push esi
call edi
test eax, eax
jne 0x407aa0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
jmp 0x407bbc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407bf2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407be8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c25
push edx
push ecx
call fcn.0047ef02
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x407c02
push eax
call fcn.0047ecd0
add esp, 4
mov al, bl
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.0047ecc2
mov esp, ebp
pop ebp
ret
call fcn.00489d37
call fcn.00489d37
int3