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

Disassembly:
push 0x5b0
mov eax, 0x1005baf7
call fcn.10040d9a
mov eax, dword [ebp + 8]
mov esi, ecx
add esi, 8
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x448], eax
jb 0x10015c97
mov eax, dword [esi + 4]
jmp 0x10015c9a
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 [0x100747b4]
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.10028aa2
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x428], 8
mov eax, dword [ebp - 0x43c]
jae 0x10015d27
lea eax, [ebp - 0x43c]
push eax
call fcn.10027f28
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x10015f39
cmp eax, 0xffffffff
je 0x10015f39
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x18], 8
jb 0x10015d5f
mov eax, dword [esi + 4]
jmp 0x10015d62
lea eax, [esi + 4]
push eax
push str.cache_file_path:_ls
call fcn.1003b6a0
lea eax, [ebp - 0x528]
push esi
push eax
call fcn.10013eb4
add esp, 0x10
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x10015d8c
mov eax, dword [eax + 4]
jmp 0x10015d8f
add eax, 4
push eax
lea eax, [ebp - 0x50c]
push eax
call fcn.100177d0
push ebx
push 1
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 4
call fcn.10004d05
cmp dword [ebp - 0x4b4], ebx
jne 0x10015deb
push str.open_cache_file_err
call fcn.1003b6a0
pop ecx
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 1
call fcn.1001787f
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1003e7a1
jmp 0x10015f4b
push ebx
push ebx
lea eax, [ebp - 0x464]
call fcn.10030a94
lea eax, [ebp - 0x5bc]
push eax
mov byte [ebp - 4], 7
call fcn.1002c84b
push eax
lea ecx, [ebp - 0x464]
lea esi, [ebp - 0x50c]
mov byte [ebp - 4], 8
call fcn.1002c955
mov bl, al
neg bl
sbb bl, bl
lea eax, [ebp - 0x5bc]
inc bl
mov byte [ebp - 4], 7
call fcn.1002f0fb
test bl, bl
je 0x10015e8b
push str.parser_cache_file_err
call fcn.1003b6a0
pop ecx
lea esi, [ebp - 0x464]
mov byte [ebp - 4], 4
call fcn.1002fd55
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 1
call fcn.1001787f
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1003e7a1
pop ecx
lea eax, [ebp - 0x444]
call fcn.100011b0
push 0
jmp 0x10015f58
lea edx, [ebp - 0x464]
lea ecx, [ebp - 0x47c]
call fcn.100153d9
mov ebx, dword [ebp - 0x448]
mov esi, eax
mov eax, ebx
mov byte [ebp - 4], 9
call fcn.100175b5
lea esi, [ebp - 0x47c]
mov byte [ebp - 4], 7
call fcn.1001866b
push dword [ebp - 0x47c]
call fcn.1003f52e
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.1003b6a0
pop ecx
pop ecx
lea esi, [ebp - 0x464]
mov byte [ebp - 4], 4
call fcn.1002fd55
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 1
call fcn.1001787f
lea eax, [ebp - 0x4b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1003e7a1
pop ecx
lea eax, [ebp - 0x444]
call fcn.100011b0
push 0
push 1
lea esi, [ebp - 0x440]
call fcn.10004dfd
xor eax, eax
inc eax
jmp 0x10015f67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.start_in_session_err:_d
call fcn.1003b6a0
pop ecx
pop ecx
lea eax, [ebp - 0x444]
call fcn.100011b0
push ebx
push 1
lea esi, [ebp - 0x440]
call fcn.10004dfd
xor eax, eax
call fcn.10040e1d
ret 4