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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e3d68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x102683e0]
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 - 0x2cc], edx
mov ebx, ecx
mov dword [ebp - 0x2d0], ebx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [ebx], ax
jne 0x10015a9c
xor ecx, ecx
jmp 0x10015aaf
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015aa0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x58]
call fcn.10003c10
push 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
mov esi, dword [ebp - 0x48]
push esi
push 0x102285e4
call fcn.1001d650
lea ecx, [esi - 1]
cmp eax, ecx
je 0x10015b37
push 0x102285e4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x10015b26
cmp dword [ebp - 0x44], 8
jb 0x10015b09
push dword [ebp - 0x58]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.10003640
cmp dword [ebp - 0x2c], 8
jb 0x10015b37
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [ebx], ax
jne 0x10015b54
xor ecx, ecx
jmp 0x10015b6f
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015b60
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x70]
call fcn.10003c10
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 0x1022a95c
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x10015bdd
cmp dword [ebp - 0x5c], 8
jb 0x10015bc0
push dword [ebp - 0x70]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.10003640
cmp dword [ebp - 0x2c], 8
jb 0x10015bee
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x2c8], eax
cmp eax, 0xffffffff
je 0x10016019
test byte [ebp - 0x2c0], 0x10
lea eax, [ebp - 0x294]
je 0x10015d42
mov ecx, 0x102285f0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10015c5a
test dx, dx
je 0x10015c56
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015c5a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015c34
xor eax, eax
jmp 0x10015c5f
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015dcc
mov ecx, 0x102285f4
lea eax, [ebp - 0x294]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10015c98
test dx, dx
je 0x10015c94
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015c98
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015c72
xor eax, eax
jmp 0x10015c9d
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015dcc
test edi, edi
je 0x10015cfe
mov esi, dword [edi]
lea edx, [ebp - 0x294]
mov byte [ebp - 0x2c4], 0
lea ecx, [ebp - 0x2c4]
push dword [ebp - 0x2c4]
push esi
push dword [esi]
call fcn.10020420
add esp, 0xc
cmp dword [ebp - 0x2c4], esi
je 0x10015cfe
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x10015cfa
mov eax, dword [eax]
xor edx, edx
jmp 0x10015d26
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x10015d21
mov eax, dword [eax]
mov edx, 1
push edi
mov ecx, eax
call fcn.10015a40
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.100032a0
jmp 0x10015dcc
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10015d8a
cmp dword [ebp - 0x14], 8
jb 0x10015d6d
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10003640
cmp dword [ebp - 0x2c], 8
jb 0x10015d9b
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
cmp dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x28]
jne 0x10015dbd
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10015dcc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c8]
call ebx
test eax, eax
je 0x10016007
lea esp, [esp]
test byte [ebp - 0x2c0], 0x10
lea eax, [ebp - 0x294]
je 0x10015f23
mov ecx, 0x102285f0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10015e2e
test dx, dx
je 0x10015e2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015e2e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015e08
xor eax, eax
jmp 0x10015e33
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015ff0
mov ecx, 0x102285f4
lea eax, [ebp - 0x294]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10015e6c
test dx, dx
je 0x10015e68
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015e6c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015e46
xor eax, eax
jmp 0x10015e71
sbb eax, eax
or eax, 1
test eax, eax
je 0x10015ff0
test edi, edi
je 0x10015ed2
mov esi, dword [edi]
lea edx, [ebp - 0x294]
mov byte [ebp - 0x2c4], 0
lea ecx, [ebp - 0x2d4]
push dword [ebp - 0x2c4]
push esi
push dword [esi]
call fcn.10020420
add esp, 0xc
cmp dword [ebp - 0x2d4], esi
je 0x10015ed2
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x10015ece
mov eax, dword [eax]
xor edx, edx
jmp 0x10015efa
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x10015ef5
mov eax, dword [eax]
mov edx, 1
push edi
mov ecx, eax
call fcn.10015a40
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x10015ff0
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
jmp 0x10015ff0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10004650
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10015faa
cmp dword [ebp - 0x14], 8
jb 0x10015f4e
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [esi + 0x14], 8
jae 0x10015f80
mov eax, dword [esi + 0x10]
inc eax
je 0x10015f8b
add eax, eax
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.101a0440
add esp, 0xc
jmp 0x10015f8b
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x2c], 8
jb 0x10015fbb
push dword [ebp - 0x40]
call fcn.101a02f0
add esp, 4
cmp dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x28]
jne 0x10015fdd
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10015ff0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c8]
call ebx
test eax, eax
jne 0x10015df0
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x2cc], 0
mov esi, dword [ebp - 0x2d0]
jne 0x10016033
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1001603a
push 4
push 0
push esi
call ebx
cmp dword [ebp - 0x14], 8
jb 0x1001604b
push dword [ebp - 0x28]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x10016070
push dword [ebp - 0x70]
call fcn.101a02f0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], cx
jb 0x10016095
push dword [ebp - 0x58]
call fcn.101a02f0
add esp, 4
mov eax, 1
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.101a0193
mov esp, ebp
pop ebp
ret