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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015eab8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x14]
cmp dword [eax - 0xc], 0
jne 0x1007f3ac
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007f542
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x10172dc0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1001aad0
test al, al
jne 0x1007f397
push 0
push 0x10172dc0
mov ecx, esi
call fcn.1000adf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007f54c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [0x101c03f8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push str._s_buytry
push eax
call fcn.10012500
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003fef0
add esp, 0x18
mov byte [ebp - 4], 2
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007f556
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push dword [edi + 0xc]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push dword [ebp - 0x18]
push str._s_s.ico
push eax
call fcn.10012500
add esp, 0x10
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007f442
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007f560
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0xbb8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.1005d480
add esp, 0x14
test eax, eax
jne 0x1007f49a
push str.CInstaller::_DownloadPushIcon__SyncHttpDownloadFile_failed.
call fcn.10049c80
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
push 0x10172dc0
call fcn.1000b130
jmp 0x1007f4b1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.1000bc60
mov edi, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f4d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f4f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007f50e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1007f52d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3