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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10127d2e
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2e0]
push 0
mov dword [ebp - 0x2f4], edi
push eax
mov dword [ebp - 0x2ec], 0
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x2e0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esi]
mov dword [ebp - 4], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10069f40
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10069f56
call fcn.100088b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1006a1ed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ec], 2
mov dword [ebp - 0x2e8], eax
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
push 7
lea eax, [ebp - 0x2e8]
push str.update_
push eax
call fcn.1002f820
mov esi, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2e0]
add esp, 0x14
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10069fbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1006a1f7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x1006a001
movzx eax, ax
lea ecx, [ebp - 0x2e4]
push eax
call fcn.10008a30
jmp 0x1006a032
lea ecx, [ebp - 0x2e0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a010
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.1000b940
push dword [ebp - 0x2e4]
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x1006a0c4
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100e67c0
push 0x64
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x2e4]
call fcn.10098fd0
add esp, 0x18
cmp dword [ebx + 0x10], 0
je 0x1006a0c4
lea eax, [ebp - 0x74]
mov ecx, ebx
push eax
call fcn.100714f0
test eax, eax
jne 0x1006a0c4
mov eax, dword [ebp - 0x2e4]
add eax, 0xfffffff0
push eax
call fcn.10008570
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
add esp, 4
mov eax, dword [ebp - 0x2e4]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1006a1cf
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1006a1cf
push 0
push dword [ebp + 0x18]
lea eax, [ebp - 0x2e4]
push 0
push eax
push dword [ebp - 0x2f0]
call fcn.1003e630
add esp, 0x14
test eax, eax
je 0x1006a16b
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.100e67c0
push 0x64
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 0x2e4]
call fcn.10098fd0
add esp, 0x18
cmp dword [ebx + 0x10], 0
je 0x1006a152
lea eax, [ebp - 0xd8]
mov ecx, ebx
push eax
call fcn.100714f0
test eax, eax
je 0x1006a152
push dword [ebp - 0x2e4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1006a201
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
jmp 0x1006a188
mov eax, dword [ebp - 0x2e4]
add eax, 0xfffffff0
push eax
call fcn.10008570
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x1006a1ad
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1006a20b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 4
mov eax, 0x101308ac
mov ecx, edi
test eax, 0xffff0000
jne 0x1006a1a1
movzx eax, ax
push eax
call fcn.10008a30
jmp 0x1006a1ad
push 0
push 0x101308ac
call fcn.1000b940
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1006a1cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3