Function at 0x48d698
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x30
push 0x12c
mov eax, 0x508928
call fcn.004e43cd
mov esi, ecx
mov dword [ebp + 0x20], esi
lea ecx, [ebp - 0xd4]
call fcn.00437853
and dword [ebp - 4], 0
mov ebx, 0x510f7c
push ebx
lea ecx, [ebp + 0x28]
call fcn.004018fe
add esi, 0x7b4
mov edi, 0x104
push edi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00406c4c
push eax
push edi
mov dword [ebp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp + 0x30]
call fcn.004e4610
pop ecx
cmp eax, 3
jbe 0x48d70c
push 0x5c
push dword [ebp + 0x30]
call fcn.004e4e06
pop ecx
pop ecx
mov byte [eax], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00404b5a
mov edi, str.Images
push edi
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.00402344
add esp, 0xc
push eax
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 2
call fcn.00401bc7
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401285
push 0x511320
lea eax, [ebp + 0x30]
push esi
push eax
call fcn.00402344
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00401bc7
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401285
call fcn.004b85b3
push eax
lea ecx, [ebp + 0x30]
call fcn.00406877
push 0x553708
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 4
call fcn.00401bc7
mov ecx, dword [ebp + 0x20]
lea eax, [ebp + 0x30]
add ecx, 0x1a4
push eax
call fcn.00401bc7
push ebx
lea ecx, [ebp + 0x2c]
call fcn.004018fe
mov ebx, dword [ebp + 0x20]
add ebx, 0x1a4
push ebx
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 5
call fcn.00401bc7
push 0x5c
lea ecx, [ebp + 0x2c]
call fcn.00401ec8
cmp eax, 0xffffffff
je 0x48d7f9
push eax
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 0x2c]
call fcn.00402255
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 6
call fcn.00401bc7
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401285
push edi
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.00402344
add esp, 0xc
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 7
call fcn.00401bc7
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401285
push 0x290
push dword [ebp + 0x20]
lea ecx, [ebp - 0xd4]
push 2
call fcn.004377f8
push dword [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call edi
test eax, eax
je 0x48d9b8
push dword [esi]
lea ecx, [ebp - 0xd4]
call fcn.0043777f
push dword [ebx]
lea ecx, [ebp - 0xd4]
call fcn.004377af
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 8]
push eax
xor ebx, ebx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 8], ebx
call fcn.004379b1
push dword [esi]
call edi
test eax, eax
je 0x48d899
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 0x2c]
call edi
mov esi, 0x210
test eax, eax
je 0x48d8f3
lea ecx, [ebp - 0x70]
call fcn.00437853
push esi
push ebx
push 3
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.004377f8
push dword [ebp + 0x2c]
lea ecx, [ebp - 0x70]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x14], ebx
call fcn.0043777f
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x70]
call fcn.004379b1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00437897
push dword [ebp + 0x28]
call edi
test eax, eax
je 0x48d9b8
lea ecx, [ebp - 0x70]
call fcn.00437853
push 0x214
push dword [ebp + 0x20]
lea ecx, [ebp - 0x70]
push 2
mov byte [ebp - 4], 9
call fcn.004377f8
push dword [ebp + 0x28]
lea ecx, [ebp - 0x70]
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
call fcn.0043777f
push dword [ebp + 0x2c]
lea ecx, [ebp - 0x70]
call fcn.004377af
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004379b1
lea ecx, [ebp - 0x138]
call fcn.00437853
push esi
push ebx
push 3
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xa
call fcn.004377f8
push dword [ebp + 0x28]
lea ecx, [ebp - 0x138]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 4], ebx
call fcn.0043777f
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x138]
call fcn.004379b1
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 9
call fcn.00437897
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00437897
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
call fcn.00401285
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.00437897
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x34
leave
ret