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

Disassembly:
sub esp, 0x348
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x35c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call dword [0x1001c35c]
mov cl, byte [esp + eax + 0x13]
add esp, 4
cmp cl, 0x5c
je 0x1000e5a7
mov edi, 0x1001c064
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x254]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1001c060
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebp, eax
test ebp, ebp
je 0x1000e766
cmp ebp, 0xffffffff
je 0x1000e766
mov ebx, dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov edi, 1
mov esi, str..
lea eax, [esp + 0x140]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000e65e
test cl, cl
je 0x1000e65a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000e65e
add eax, 2
add esi, 2
test cl, cl
jne 0x1000e63a
xor eax, eax
jmp 0x1000e663
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e737
mov esi, 0x1001c058
lea eax, [esp + 0x140]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000e69b
test cl, cl
je 0x1000e697
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000e69b
add eax, 2
add esi, 2
test cl, cl
jne 0x1000e677
xor eax, eax
jmp 0x1000e6a0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e737
lea edi, [esp + 0x254]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x140]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x114]
mov ecx, edx
and eax, 0x10
and ecx, 3
cmp al, 0x10
rep movsb byte es:[edi], byte [esi]
jne 0x1000e72a
lea ecx, [esp + 0x10]
push ecx
call fcn.1000e530
mov edi, eax
add esp, 4
test edi, edi
je 0x1000e752
lea edx, [esp + 0x10]
push edx
call ebx
jmp 0x1000e735
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov edi, eax
test edi, edi
je 0x1000e752
lea ecx, [esp + 0x114]
push ecx
push ebp
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x1000e62e
push ebp
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x348
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x348
ret