Function at 0x1000fe30
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x20
mov eax, 0x10042097
call fcn.10021ea5
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 8]
push dword [esi]
push str.CDirTreeCmd::Execute___entered__param___s.
call fcn.10003e3a
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.10002687
add eax, 0x10
add esp, 0xc
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
lea ebx, [ebp + 8]
call fcn.1000fd6b
mov ebx, eax
call fcn.1000fdb9
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
push 0x20
push eax
mov dword [ebp - 0x1c], 1
call fcn.1001ef2c
pop ecx
pop ecx
test eax, eax
je 0x1000ff0b
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x1000ff0b
mov edi, eax
cmp eax, esi
jge 0x1000fee2
test eax, eax
js 0x1000ff2c
cmp eax, dword [ecx - 0xc]
jg 0x1000ff2c
cmp word [ecx + eax*2], 0x20
jne 0x1000feba
inc eax
cmp eax, esi
jl 0x1000fea1
cmp eax, esi
jge 0x1000fee2
lea ecx, [ebp - 0x18]
push ecx
mov edx, eax
lea ecx, [ebp + 8]
call fcn.100042f8
push dword [eax]
call fcn.10020b03
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x1c], eax
call fcn.10002c37
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.10002289
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.100023d5
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
lea ebx, [ebp + 8]
call fcn.1000fdb9
call fcn.1000fd6b
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x1000ff36
push str.CDirTreeCmd::Execute__:_invalid_path.
jmp 0x1001012e
push 0x80070057
call fcn.10002c51
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10010129
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10010129
push 0x1004d678
lea ecx, [ebp - 0x18]
call fcn.100021a3
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x28], esp
push str..tmp
call fcn.100021a3
lea eax, [ebp - 0x18]
push eax
lea edi, [ebp - 0x14]
call fcn.10001b47
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
jne 0x1000ffa9
lea ecx, [eax - 0x10]
call fcn.10002c37
jmp 0x10010134
lea esi, [ebp - 0x10]
call fcn.10001e59
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x1000ffcd
lea ecx, [eax - 0x10]
call fcn.10002c37
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x1000ff9f
lea esi, [ebp - 0x28]
call fcn.10001eca
mov esi, eax
push str.DirTree_
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.100021a3
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.10004316
push 0x1004d680
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 8
call fcn.1000436d
add esp, 0x18
mov byte [ebp - 4], 9
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.1000fa64
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10002c37
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10002c37
push dword [ebp - 0x1c]
call fcn.10004e4d
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10005238
test al, al
je 0x10010104
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.10038530
add esp, 0xc
test eax, eax
je 0x100100fb
push 0x100581b4
lea ecx, [ebp - 0x1c]
call fcn.100023ad
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000fa0b
push 0x1004aa2c
lea ecx, [ebp - 0x18]
call fcn.100021a3
mov byte [ebp - 4], 0xb
movzx eax, word [0x1005bb58]
mov edi, dword [ebp - 0x1c]
mov esi, dword [esi + 8]
push eax
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov ebx, esp
push edi
call fcn.10002687
pop ecx
push 2
lea ecx, [ebp - 0x18]
push ecx
add eax, 0x10
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, edi
call fcn.10002c37
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002c37
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10002c37
xor eax, eax
jmp 0x10010142
push str.CDirTreeCmd::Execute__:_path_not_exist.
call fcn.10003e3a
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10002c37
or eax, 0xffffffff
call fcn.10021f44
ret 4