Function at 0x100154e0
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e3d03
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
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 edi, edx
mov esi, ecx
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.101a01b0
mov eax, dword [0x10279048]
add esp, 0xc
inc eax
mov dword [0x10279048], eax
cmp eax, 0xa
jbe 0x1001554b
dec eax
mov dword [0x10279048], eax
jmp 0x10015a08
test esi, esi
je 0x10015540
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.101aab48
add esp, 0xc
test eax, eax
je 0x10015a02
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10015a02
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.100031d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
mov esi, dword [ebp - 0x23c]
push esi
push 0x102285e4
call fcn.1001b700
lea ecx, [esi - 1]
cmp eax, ecx
je 0x100155ea
push 0x102285e4
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10004650
add esp, 0xc
lea ecx, [ebp - 0x24c]
push eax
call fcn.10007bd0
lea ecx, [ebp - 0x264]
call fcn.100032a0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x294]
call fcn.10006180
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
push 0x1022a964
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10004650
add esp, 0xc
lea ecx, [ebp - 0x294]
push eax
call fcn.10007bd0
lea ecx, [ebp - 0x264]
call fcn.100032a0
cmp dword [ebp - 0x280], 8
lea ecx, [ebp - 0x4e4]
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10015917
test byte [ebp - 0x4e4], 0x10
je 0x10015761
mov edx, 0x102285f0
lea ecx, [ebp - 0x4b8]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x100156ba
test ax, ax
je 0x100156b6
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x100156ba
add ecx, 4
add edx, 4
test ax, ax
jne 0x10015694
xor eax, eax
jmp 0x100156bf
sbb eax, eax
or eax, 1
test eax, eax
je 0x100157b0
mov ecx, 0x102285f4
lea eax, [ebp - 0x4b8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100156f8
test dx, dx
je 0x100156f4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100156f8
add eax, 4
add ecx, 4
test dx, dx
jne 0x100156d2
xor eax, eax
jmp 0x100156fd
sbb eax, eax
or eax, 1
test eax, eax
je 0x100157b0
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x27c]
call fcn.100031d0
push eax
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.1001ee20
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x1001573c
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.100154e0
lea ecx, [ebp - 0x264]
call fcn.100032a0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.100032a0
jmp 0x100157b0
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10004650
add esp, 0xc
lea ecx, [ebp - 0x234]
push eax
call fcn.10007bd0
lea ecx, [ebp - 0x27c]
call fcn.100032a0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov edx, edi
cmovae ecx, dword [ebp - 0x234]
call fcn.100146e0
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x4e4]
push eax
push ebx
call esi
test eax, eax
je 0x10015910
jmp 0x100157d0
test byte [ebp - 0x4e4], 0x10
lea eax, [ebp - 0x4b8]
je 0x100158b5
mov ecx, 0x102285f0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001580e
test dx, dx
je 0x1001580a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001580e
add eax, 4
add ecx, 4
test dx, dx
jne 0x100157e8
xor eax, eax
jmp 0x10015813
sbb eax, eax
or eax, 1
test eax, eax
je 0x100158fe
mov ecx, 0x102285f4
lea eax, [ebp - 0x4b8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001584c
test dx, dx
je 0x10015848
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001584c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015826
xor eax, eax
jmp 0x10015851
sbb eax, eax
or eax, 1
test eax, eax
je 0x100158fe
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x264]
call fcn.100031d0
push eax
lea edx, [ebp - 0x24c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.1001ee20
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x10015890
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.100154e0
lea ecx, [ebp - 0x27c]
call fcn.100032a0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.100032a0
jmp 0x100158fe
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10004650
add esp, 0xc
lea ecx, [ebp - 0x234]
push eax
call fcn.10007bd0
lea ecx, [ebp - 0x27c]
call fcn.100032a0
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov edx, edi
cmovae ecx, dword [ebp - 0x234]
call fcn.100146e0
lea eax, [ebp - 0x4e4]
push eax
push ebx
call esi
test eax, eax
jne 0x100157d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100159d4
test edi, edi
je 0x100159d4
push 4
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x4e8]
call fcn.1001adb0
push ecx
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 7
call fcn.1001af10
lea ecx, [ebp - 0x4e8]
cmp eax, 0xffffffff
jne 0x10015978
call fcn.1001ac80
jmp 0x100159a4
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.1001afc0
push eax
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 8
call fcn.1001ca30
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 7
call fcn.1001ae70
mov ecx, dword [ebp - 0x4e8]
cmp dword [ecx - 4], 1
jle 0x100159c4
push dword [ecx - 0xc]
lea ecx, [ebp - 0x4e8]
call fcn.1001cae0
mov ecx, dword [ebp - 0x4e8]
call fcn.100153d0
lea ecx, [ebp - 0x4e8]
call fcn.1001ae70
dec dword [0x10279048]
lea ecx, [ebp - 0x234]
call fcn.100032a0
lea ecx, [ebp - 0x294]
call fcn.100032a0
lea ecx, [ebp - 0x24c]
call fcn.100032a0
mov eax, 1
jmp 0x10015a0a
dec dword [0x10279048]
xor eax, eax
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