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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44e976
push eax
mov eax, 0x110c
mov dword fs:[0], esp
call fcn.00439ff0
mov eax, dword [0x457050]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x91c]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x11c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x91c]
mov dword [esp + 0x1124], esi
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x1c]
push 0x80
push edx
call fcn.00423370
add esp, 8
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x91c]
lea edx, [esp + 0x11c]
push eax
push ecx
push edx
call ebp
lea eax, [esp + 0x11c]
push str..tmp
push eax
call fcn.0043a78e
add esp, 8
lea ecx, [esp + 0x11c]
push ecx
call ebx
test eax, eax
je 0x4288b3
inc esi
cmp esi, 0xa
jl 0x428823
mov eax, dword [esp + 0x10]
mov ecx, dword [0x457054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x428a76
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428a76
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
xor eax, eax
jmp 0x428b03
lea edx, [esp + 0x11c]
test edx, edx
jne 0x4288c2
xor eax, eax
jmp 0x4288d0
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x11c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00403d70
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edx
call fcn.004285f0
test eax, eax
jne 0x428923
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428a76
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x428a62
mov eax, dword [0x457050]
mov dword [esp + 0x14], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x91c]
mov byte [esp + 0x1124], 1
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x11c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x91c]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
xor esi, esi
rep stosd dword es:[edi], eax
lea edx, [esp + 0x1c]
push 0x80
push edx
call fcn.00423370
add esp, 8
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x91c]
lea edx, [esp + 0x11c]
push eax
push ecx
push edx
call ebp
lea eax, [esp + 0x11c]
push str..tmp
push eax
call fcn.0043a78e
add esp, 8
lea ecx, [esp + 0x11c]
push ecx
call ebx
test eax, eax
je 0x4289c8
inc esi
cmp esi, 0xa
jl 0x428974
jmp 0x4289f7
lea edx, [esp + 0x11c]
test edx, edx
jne 0x4289d7
xor eax, eax
jmp 0x4289e5
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x11c]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00403d70
mov edx, dword [esp + 0x14]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00428b20
add esp, 8
test eax, eax
jne 0x428a7d
mov eax, dword [esp + 0x14]
mov ecx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x428a4b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428a4b
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428a76
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428a76
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
xor eax, eax
jmp 0x428b03
mov esi, dword [esp + 0x112c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
cmp eax, ecx
je 0x428ace
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x428aa2
mov edx, dword [0x457054]
add eax, 0xfffffff4
cmp eax, edx
jne 0x428aa9
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x428ab7
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00403d70
jmp 0x428ace
mov ecx, esi
call fcn.00403e30
mov eax, dword [esp + 0x14]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1124], 0
call fcn.00403ce0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1124], 0xffffffff
call fcn.00403ce0
mov eax, 1
mov ecx, dword [esp + 0x111c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1118
ret 4