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

Disassembly:
push ebp
lea ebp, [esp - 0x13f0]
mov eax, 0x1470
call fcn.0042c290
mov eax, dword [0x4546e0]
xor eax, ebp
mov dword [ebp + 0x13ec], eax
push ebx
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
lea eax, [ebp - 0x62]
push esi
push eax
mov word [ebp - 0x64], si
call fcn.0042b8b0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push esi
push 0x10
lea eax, [ebp - 0x64]
push eax
push esi
call ebx
push edi
lea eax, [ebp + 0x11e6]
push esi
push eax
mov word [ebp + 0x11e4], si
call fcn.0042b8b0
add esp, 0xc
push 1
push 0x17
lea eax, [ebp + 0x11e4]
push eax
push esi
call ebx
push edi
lea eax, [ebp + 0x3ae]
push esi
push eax
mov word [ebp + 0x3ac], si
call fcn.0042b8b0
lea eax, [ebp - 0x64]
push eax
mov esi, 0x104
lea eax, [ebp + 0x3ac]
push esi
push eax
call fcn.0042b9b3
push 0x449928
lea eax, [ebp + 0x3ac]
push esi
push eax
call fcn.0042b939
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x24
lea eax, [ebp + 0x3ac]
push eax
call ebx
and word [ebp + 0x7bc], 0
push edi
lea eax, [ebp + 0x7be]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp - 0x80]
push eax
call fcn.0040b6ea
add esp, 0x10
cmp dword [eax + 0x18], 8
jb 0x418396
mov eax, dword [eax + 4]
jmp 0x418399
add eax, 4
push eax
lea eax, [ebp + 0x7bc]
push esi
push eax
call fcn.0042b9b3
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.00401f6b
push 0x449a5c
lea eax, [ebp + 0x7bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x7bc]
push eax
call ebx
and word [ebp + 0xdd4], 0
push edi
lea eax, [ebp + 0xdd6]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp + 0x11e4]
push eax
lea eax, [ebp + 0xdd4]
push esi
push eax
call fcn.0042b9b3
push 0x4498bc
lea eax, [ebp + 0xdd4]
push esi
push eax
call fcn.0042b939
add esp, 0x24
lea eax, [ebp + 0xdd4]
push eax
call ebx
and word [ebp + 0xbcc], 0
push edi
lea eax, [ebp + 0xbce]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp + 0x11e4]
push eax
lea eax, [ebp + 0xbcc]
push esi
push eax
call fcn.0042b9b3
push 0x449878
lea eax, [ebp + 0xbcc]
push esi
push eax
call fcn.0042b939
add esp, 0x24
lea eax, [ebp + 0xbcc]
push eax
call ebx
and word [ebp + 0x9c4], 0
push edi
lea eax, [ebp + 0x9c6]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp + 0x11e4]
push eax
lea eax, [ebp + 0x9c4]
push esi
push eax
call fcn.0042b9b3
push 0x449b04
lea eax, [ebp + 0x9c4]
push esi
push eax
call fcn.0042b939
add esp, 0x24
lea eax, [ebp + 0x9c4]
push eax
call ebx
and word [ebp + 0x5b4], 0
push edi
lea eax, [ebp + 0x5b6]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp + 0x11e4]
push eax
lea eax, [ebp + 0x5b4]
push esi
push eax
call fcn.0042b9b3
push 0x449ae4
lea eax, [ebp + 0x5b4]
push esi
push eax
call fcn.0042b939
add esp, 0x24
lea eax, [ebp + 0x5b4]
push eax
call ebx
and word [ebp + 0x1a4], 0
push edi
lea eax, [ebp + 0x1a6]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp + 0x11e4]
push eax
lea eax, [ebp + 0x1a4]
push esi
push eax
call fcn.0042b9b3
push 0x449ac4
lea eax, [ebp + 0x1a4]
push esi
push eax
call fcn.0042b939
add esp, 0x24
lea eax, [ebp + 0x1a4]
push eax
call ebx
and word [ebp + 0xfdc], 0
push edi
lea eax, [ebp + 0xfde]
push 0
push eax
call fcn.0042b8b0
lea eax, [ebp + 0x11e4]
push eax
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b9b3
push 0x449904
lea eax, [ebp + 0xfdc]
push esi
push eax
call fcn.0042b939
add esp, 0x24
call dword [0x4545d0]
mov edi, eax
lea eax, [ebp + 0xfdc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41859f
xor eax, eax
jmp 0x4185ba
lea esi, [eax + eax]
mov eax, esi
call fcn.0042c100
mov eax, esp
push edi
push esi
lea ecx, [ebp + 0xfdc]
push ecx
push eax
call fcn.004010ff
push eax
call fcn.004312e4
xor eax, eax
pop ecx
inc eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x13ec]
xor ecx, ebp
call fcn.0042b92a
add ebp, 0x13f0
leave
ret