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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x458d36
push eax
mov eax, 0x110c
mov dword fs:[0], esp
call fcn.00443b20
mov eax, dword [0x463058]
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.0042d450
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.0044460b
add esp, 8
lea ecx, [esp + 0x11c]
push ecx
call ebx
test eax, eax
je 0x432823
inc esi
cmp esi, 0xa
jl 0x432793
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4329e6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4329e6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
xor eax, eax
jmp 0x432a73
lea edx, [esp + 0x11c]
test edx, edx
jne 0x432832
xor eax, eax
jmp 0x432840
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.00432560
test eax, eax
jne 0x432893
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4329e6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x4329d2
mov eax, dword [0x463058]
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.0042d450
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.0044460b
add esp, 8
lea ecx, [esp + 0x11c]
push ecx
call ebx
test eax, eax
je 0x432938
inc esi
cmp esi, 0xa
jl 0x4328e4
jmp 0x432967
lea edx, [esp + 0x11c]
test edx, edx
jne 0x432947
xor eax, eax
jmp 0x432955
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.00432a90
add esp, 8
test eax, eax
jne 0x4329ed
mov eax, dword [esp + 0x14]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4329bb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4329bb
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4329e6
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4329e6
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
xor eax, eax
jmp 0x432a73
mov esi, dword [esp + 0x112c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
cmp eax, ecx
je 0x432a3e
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x432a12
mov edx, dword [0x46305c]
add eax, 0xfffffff4
cmp eax, edx
jne 0x432a19
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x432a27
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00403e10
jmp 0x432a3e
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