Function at 0x1001614a
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x5b0
mov eax, 0x1005d74b
call fcn.1004262a
mov eax, dword [ebp + 8]
mov esi, ecx
add esi, 8
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x448], eax
jb 0x10016172
mov eax, dword [esi + 4]
jmp 0x10016175
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [ebp - 0x21c], ax
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov word [ebp - 0x424], ax
push ebx
lea eax, [ebp - 0x424]
push eax
push dword [0x100777b4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.__ls____ls__GetDeviceInUserSession
lea ecx, [ebp - 0x440]
call fcn.10028d88
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x428], 8
mov eax, dword [ebp - 0x43c]
jae 0x10016202
lea eax, [ebp - 0x43c]
push eax
call fcn.100280c0
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x10016414
cmp eax, 0xffffffff
je 0x10016414
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x18], 8
jb 0x1001623a
mov eax, dword [esi + 4]
jmp 0x1001623d
lea eax, [esi + 4]
push eax
push str.cache_file_path:_ls
call fcn.1003b928
lea eax, [ebp - 0x528]
push esi
push eax
call fcn.1001438f
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x10016267
mov eax, dword [eax + 4]
jmp 0x1001626a
add eax, 4
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.10017cae
push ebx
push 1
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 4
call fcn.10004d1a
cmp dword [ebp - 0x4b4], ebx
jne 0x100162c6
push str.open_cache_file_err
call fcn.1003b928
pop ecx
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 1
call fcn.10017d5d
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004003d
jmp 0x10016426
push ebx
push ebx
lea eax, [ebp - 0x464]
call fcn.10031e83
lea eax, [ebp - 0x5bc]
push eax
mov byte [ebp - 4], 7
call fcn.1002dc11
push eax
lea ecx, [ebp - 0x464]
lea esi, [ebp - 0x50c]
mov byte [ebp - 4], 8
call fcn.1002dd1b
mov bl, al
neg bl
sbb bl, bl
lea eax, [ebp - 0x5bc]
inc bl
mov byte [ebp - 4], 7
call fcn.100304dc
test bl, bl
je 0x10016366
push str.parser_cache_file_err
call fcn.1003b928
pop ecx
lea esi, [ebp - 0x464]
mov byte [ebp - 4], 4
call fcn.10031144
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 1
call fcn.10017d5d
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004003d
pop ecx
lea eax, [ebp - 0x444]
call fcn.100011b0
push 0
jmp 0x10016433
lea edx, [ebp - 0x464]
lea ecx, [ebp - 0x47c]
call fcn.100158b4
mov ebx, dword [ebp - 0x448]
mov esi, eax
mov eax, ebx
mov byte [ebp - 4], 9
call fcn.10017a93
lea esi, [ebp - 0x47c]
mov byte [ebp - 4], 7
call fcn.10018b73
push dword [ebp - 0x47c]
call fcn.10040dca
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
pop ecx
cdq
mov ecx, 0x98
idiv ecx
push eax
push str.device_size:_d
call fcn.1003b928
pop ecx
pop ecx
lea esi, [ebp - 0x464]
mov byte [ebp - 4], 4
call fcn.10031144
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 1
call fcn.10017d5d
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004003d
pop ecx
lea eax, [ebp - 0x444]
call fcn.100011b0
push 0
push 1
lea esi, [ebp - 0x440]
call fcn.10004e12
xor eax, eax
inc eax
jmp 0x10016442
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.start_in_session_err:_d
call fcn.1003b928
pop ecx
pop ecx
lea eax, [ebp - 0x444]
call fcn.100011b0
push ebx
push 1
lea esi, [ebp - 0x440]
call fcn.10004e12
xor eax, eax
call fcn.100426ad
ret 4