Function at 0x4078a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423fa5
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x434014]
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 ebx, ecx
mov dword [ebp - 0x298], ebx
mov edx, ebx
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4078f6
sub edx, ecx
lea ecx, [ebp - 0x40]
sar edx, 1
push edx
push ebx
call fcn.00404100
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 4
jb 0x407950
cmp edx, 8
lea esi, [ebp - 0x40]
push 8
cmovae esi, dword [ebp - 0x40]
lea edi, [ecx + 4]
push 0x42fd78
mov dword [ebp - 0x30], edi
lea eax, [esi + ecx*2]
push eax
call fcn.0040f920
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40796e
push 4
push 0x42fd78
mov byte [ebp - 0x294], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x294]
push 4
call fcn.00404940
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x29c], edi
cmp edi, 0xffffffff
jne 0x4079a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x407bab
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
push 0x42fd68
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x407b85
push 0x42fd6c
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x407b85
mov ecx, ebx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407a00
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404100
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, edx
cmp eax, 1
jb 0x407a4d
cmp esi, 8
lea eax, [ebp - 0x28]
lea ecx, [edx + 1]
mov ebx, 0x5c
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov word [eax + edx*2], bx
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x407a6b
push 1
push 0x42fd74
mov byte [ebp - 0x294], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x294]
push 1
call fcn.00404940
lea eax, [ebp - 0x264]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407a74
mov ebx, dword [ebp - 0x14]
sub eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, ebx
sar eax, 1
sub ecx, edx
cmp eax, ecx
ja 0x407ac5
lea edi, [edx + eax]
cmp ebx, 8
lea esi, [ebp - 0x28]
mov dword [ebp - 0x18], edi
cmovae esi, dword [ebp - 0x28]
add eax, eax
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [esi + edx*2]
push ecx
call fcn.0040f920
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x29c]
jmp 0x407ae3
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 0x2a0], 0
push ecx
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x28]
push eax
call fcn.00404940
mov ecx, dword [ebp - 0x290]
test cl, 1
je 0x407b0a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x290]
test cl, 0x10
je 0x407b21
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.004078a0
jmp 0x407b33
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407bd9
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407b79
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407b6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c47
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, dword [ebp - 0x298]
lea eax, [ebp - 0x290]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4079b0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x407c24
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407c1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c42
jmp 0x407c1a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x407c16
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407c0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c47
push edx
push ecx
call fcn.0040e74a
add esp, 8
xor esi, esi
jmp 0x407bab
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov eax, esi
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.0040e3a6
mov esp, ebp
pop ebp
ret
call fcn.0041260f
call fcn.0041260f
int3