Function at 0x486a40
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x486a86
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0041d300
movzx ecx, al
test ecx, ecx
jne 0x486a86
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0041d300
movzx edx, al
test edx, edx
je 0x486a8b
jmp 0x486c81
push 0x536c74
lea eax, [ebp - 0x24]
push eax
call fcn.00448fe0
add esp, 4
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0041bc20
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0041d100
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 8]
push ecx
push str._s_u.png
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call fcn.0041e770
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.00449870
push 0x536c9c
lea ecx, [ebp - 0xc]
call fcn.0041d0c0
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486b63
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call fcn.0045e980
add esp, 0x14
test eax, eax
je 0x486b39
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00449890
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d120
lea ecx, [ebp - 0x28]
call fcn.0041d100
lea ecx, [ebp - 0xc]
call fcn.0041d2b0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0041d1c0
test eax, eax
je 0x486b63
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x486baf
lea ecx, [ebp - 8]
call fcn.0041d2b0
push eax
call fcn.00430310
add esp, 4
push 0x3e8
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0041d2b0
push eax
call fcn.004d9990
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x486bda
lea ecx, [ebp - 0xc]
call fcn.0041d100
lea ecx, [ebp - 8]
call fcn.0041d100
jmp 0x486c81
push 0x536ca0
lea ecx, [ebp - 0xc]
call fcn.0041d140
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call fcn.0045e980
add esp, 0x14
test eax, eax
je 0x486c26
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00449890
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d120
lea ecx, [ebp - 0x2c]
call fcn.0041d100
lea ecx, [ebp - 0xc]
call fcn.0041d2b0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0041d1c0
test eax, eax
je 0x486c62
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.0041d100
lea ecx, [ebp - 8]
call fcn.0041d100
jmp 0x486c81
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc]
call fcn.0041d100
lea ecx, [ebp - 8]
call fcn.0041d100
xor ecx, ecx
jne 0x486a5a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret 4