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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2cc
push esi
push edi
mov ecx, 0x510279
call fcn.004b7c9d
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4078a7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403070
push 0x4e48f0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0
call fcn.0040c7a0
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x14], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x2d8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
push ecx
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x10]
mov edi, eax
cmp ecx, 8
jb 0x407962
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407958
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c81
push ecx
push edx
call fcn.004b7c8f
add esp, 8
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x4079b7
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4079ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c81
push ecx
push edx
call fcn.004b7c8f
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edi, 0xffffffff
je 0x407c71
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x4e48f8
lea eax, [ebp - 0x2ac]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407a16
test dx, dx
je 0x407a12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407a16
add eax, 4
add ecx, 4
test dx, dx
jne 0x4079f0
xor eax, eax
jmp 0x407a1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x407c4d
mov eax, 0x4e48fc
lea ecx, [ebp - 0x2ac]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x407a56
test dx, dx
je 0x407a52
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x407a56
add ecx, 4
add eax, 4
test dx, dx
jne 0x407a30
xor eax, eax
jmp 0x407a5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x407c4d
mov ecx, esi
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407a80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x84]
call fcn.00403070
push 0x4e4834
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 1
call fcn.0040c7a0
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.0040c7a0
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x407b76
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407b6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c81
push ecx
push edx
call fcn.004b7c8f
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 5
cmp ecx, 8
jb 0x407bcb
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407bc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c81
push ecx
push edx
call fcn.004b7c8f
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
test byte [ebp - 0x2d8], 0x10
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x70], 7
je 0x407c01
cmp dword [ebp - 0x28], 8
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00407860
add esp, 4
jmp 0x407c10
cmp dword [ebp - 0x28], 8
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x407c4d
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407c43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c81
push ecx
push edx
call fcn.004b7c8f
add esp, 8
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4079e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004bebbf
int3