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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ce488
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x1024bd20]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x264]
push eax
call fcn.100224c2
push 0x10201d48
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10024277
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [ebp - 0x27c]
or edi, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 0x26c], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1015708c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x26c]
cmp eax, 0xffffffff
je 0x101573bc
mov ebx, dword [ebp - 0x26c]
jmp 0x101570a0
mov ecx, 0x101da4b8
lea eax, [ebp - 0x234]
jmp 0x101570b0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x101570d6
test dx, dx
je 0x101570d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x101570d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x101570b0
xor eax, eax
jmp 0x101570db
sbb eax, eax
or eax, 1
test eax, eax
je 0x1015739f
mov eax, 0x10201d54
lea ecx, [ebp - 0x234]
mov edi, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10157116
test dx, dx
je 0x10157112
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10157116
add ecx, 4
add eax, 4
test dx, dx
jne 0x101570f0
xor eax, eax
jmp 0x1015711b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1015739f
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x264]
push 0x101d8914
push eax
je 0x101571e7
lea eax, [ebp - 0x290]
push eax
call fcn.10024277
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10024277
add esp, 0x18
mov edx, dword [ebp - 0x290]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10157186
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x268]
cmp dword [eax - 4], 1
jle 0x101571a6
push dword [eax - 0xc]
lea ecx, [ebp - 0x268]
call fcn.1000ba60
mov eax, dword [ebp - 0x268]
push eax
call fcn.10156ff0
add esp, 4
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x268]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1015739f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1015739f
lea eax, [ebp - 0x270]
push eax
call fcn.10024277
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.10024277
add esp, 0x18
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x284]
test eax, eax
mov ecx, edi
sete bl
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1015723a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1015725d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x10157399
push 0x101d8914
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.10024277
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10024277
push str._.tmp
push eax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 6
push eax
call fcn.10024277
mov esi, eax
push 0x101d8914
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.10024277
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x28c]
push eax
call fcn.10024277
add esp, 0x3c
push dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x28c]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1015730d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x274]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10157330
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10157353
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x280]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10157376
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x288]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10157399
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x26c]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101570a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x101573e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1017868e
mov esp, ebp
pop ebp
ret