Function at 0x6e195c
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x6e1c6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x6e1c8c
mov eax, ebx
call fcn.004aa394
test al, al
je 0x6e1b8a
cmp byte [esi + 0x288], 0
je 0x6e1b8a
mov dl, 1
mov eax, dword [0x492bcc]
call fcn.00498728
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x6e1b83
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 0x28c]
call fcn.0054deb4
dec eax
test eax, eax
jl 0x6e1a52
inc eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov eax, dword [esi + 0x28c]
mov edx, ebx
call fcn.0054deec
mov edx, 3
call fcn.0054d9ac
test al, al
je 0x6e1a4c
mov edx, ebx
mov eax, esi
call sym.StartupControl.exe__Acshellctrls_TacCustomShellListView_GetFolder_qqri
lea edx, [ebp - 0x21c]
call sym.StartupControl.exe__Acshellctrls_TacShellFolder_PathName_qqrv
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0xc]
jne 0x6e1a0f
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x6e1b67
push 0x6e1ca8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x224]
call fcn.004aab6c
push dword [ebp - 0x224]
push 0x6e1d18
lea eax, [ebp - 0x220]
mov edx, 3
call fcn.004c2fc0
mov eax, dword [ebp - 0x220]
call sym.StartupControl.exe__Acntutils_CustomRequest_qqrx20System_UnicodeString
test al, al
je 0x6e1b58
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6e1b58
inc eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea ecx, [ebp - 0x228]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x228]
call fcn.004ab478
test al, al
je 0x6e1b12
lea ecx, [ebp - 0x22c]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x230], edi
mov eax, dword [ebp - 0x230]
call fcn.004c2a84
push eax
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x6e1b4e
lea ecx, [ebp - 0x234]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x234]
call sym.StartupControl.exe__Acntutils_acDirExists_qqrx20System_UnicodeString
test al, al
je 0x6e1b4e
lea ecx, [ebp - 0x238]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x238]
mov dl, 1
call sym.StartupControl.exe__Acntutils_ClearDir_qqrx20System_UnicodeStringo
inc ebx
dec dword [ebp - 0xc]
jne 0x6e1abe
mov eax, esi
call sym.StartupControl.exe__Acshellctrls_TacCustomShellListView_Refresh_qqrv
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x6e1b6d
mov eax, dword [ebp - 4]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e1c41
mov eax, dword [ebp - 8]
call fcn.004c09bc
ret
mov edx, 0x6e1d2c
mov eax, ebx
call fcn.004aa394
test al, al
je 0x6e1bac
mov eax, esi
call sym.StartupControl.exe__Acshellctrls_TacCustomShellListView_EditText_qqrv
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x6e1c41
mov edx, 0x6e1d48
mov eax, ebx
call fcn.004aa394
test al, al
je 0x6e1c41
lea eax, [ebp - 0x216]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea edx, [ebp - 0x23c]
lea eax, [ebp - 0x216]
call fcn.004abfd8
mov edx, dword [ebp - 0x23c]
lea eax, [esi + 0x48c]
call fcn.004c29f8
mov eax, esi
call fcn.005524a0
call fcn.0054dd18
mov edx, eax
mov eax, esi
call sym.StartupControl.exe__Acshellctrls_TacCustomShellListView_GetFolder_qqri
lea edx, [ebp - 0x244]
call sym.StartupControl.exe__Acshellctrls_TacShellFolder_PathName_qqrv
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.004ab9a8
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 0x216]
call fcn.004abd20
lea eax, [ebp - 0x216]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e1c76
lea eax, [ebp - 0x244]
mov edx, 5
call fcn.004c29f0
lea eax, [ebp - 0x22c]
mov edx, 5
call fcn.004c29f0
ret