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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44ede6
push eax
mov eax, 0x110c
mov dword fs:[0], esp
call fcn.0043a440
mov eax, dword [0x458050]
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.00423810
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.0043abde
add esp, 8
lea ecx, [esp + 0x11c]
push ecx
call ebx
test eax, eax
je 0x428cf3
inc esi
cmp esi, 0xa
jl 0x428c63
mov eax, dword [esp + 0x10]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x428eb6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428eb6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
xor eax, eax
jmp 0x428f43
lea edx, [esp + 0x11c]
test edx, edx
jne 0x428d02
xor eax, eax
jmp 0x428d10
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.00403e10
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.00428a30
test eax, eax
jne 0x428d63
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428eb6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x428ea2
mov eax, dword [0x458050]
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.00423810
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.0043abde
add esp, 8
lea ecx, [esp + 0x11c]
push ecx
call ebx
test eax, eax
je 0x428e08
inc esi
cmp esi, 0xa
jl 0x428db4
jmp 0x428e37
lea edx, [esp + 0x11c]
test edx, edx
jne 0x428e17
xor eax, eax
jmp 0x428e25
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.00403e10
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.00428f60
add esp, 8
test eax, eax
jne 0x428ebd
mov eax, dword [esp + 0x14]
mov ecx, dword [0x458054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x428e8b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428e8b
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x428eb6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x428eb6
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
xor eax, eax
jmp 0x428f43
mov esi, dword [esp + 0x112c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
cmp eax, ecx
je 0x428f0e
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x428ee2
mov edx, dword [0x458054]
add eax, 0xfffffff4
cmp eax, edx
jne 0x428ee9
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x428ef7
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00403e10
jmp 0x428f0e
mov ecx, esi
call fcn.00403ed0
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.00403d80
lea ecx, [esp + 0x10]
mov dword [esp + 0x1124], 0xffffffff
call fcn.00403d80
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