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

Disassembly:
push ebp
lea ebp, [esp - 0x3d4]
sub esp, 0x454
mov eax, dword [0x480900]
xor eax, ebp
mov dword [ebp + 0x3d0], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
cmp dword [ebx + 0x30], ecx
jne 0x445727
xor eax, eax
jmp 0x445b2a
cmp dword [ebx + 0x38], ecx
je 0x445720
cmp dword [ebx + 0x3c], ecx
je 0x445720
mov eax, dword [ebx + 0xb0]
mov esi, dword [ebx + 0x80]
sub eax, dword [ebx + 0xac]
sub esi, dword [ebx + 0x7c]
sar eax, 2
sar esi, 2
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x6c], eax
cmp eax, ecx
je 0x445766
cmp esi, eax
jb 0x445766
mov dword [ebp - 0x4c], eax
mov esi, eax
push 0x19
call fcn.004077ba
imul eax, esi
push 5
mov dword [ebp - 0x44], eax
call fcn.004077ba
mov edi, eax
add edi, dword [ebp - 0x44]
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x19
call fcn.004077ba
imul eax, eax, 7
cmp edi, eax
pop ecx
jle 0x4457c6
push 0x19
call fcn.004077ba
imul eax, eax, 7
push 5
mov dword [ebp - 0x44], eax
call fcn.004077ba
pop ecx
mov edi, eax
add edi, dword [ebp - 0x44]
pop ecx
mov dword [ebp - 0x50], edi
test esi, esi
jne 0x4457fe
push esi
mov ecx, ebx
call fcn.00444217
push 0x475f7c
lea ecx, [ebp - 0x44]
call fcn.0040b6b5
push esi
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00445520
lea ecx, [ebp - 0x44]
call fcn.00408318
xor eax, eax
inc eax
jmp 0x445b2a
push dword [ebx + 0x30]
lea ecx, [ebp - 0x60]
call fcn.004442ee
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x445822
push 0xffffffffffffffff
push 0xfffffffffffffffd
push 0
push 2
push 0x200
call fcn.00444012
cmp dword [ebx + 0xb8], 0
je 0x44584d
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 0x10
push edi
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push 0
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_SetWindowPos]
and dword [ebx + 0xb8], 0
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x38]
test ecx, ecx
jne 0x445861
push 0x80004003
call fcn.0044c560
lea eax, [ebp - 0x44]
push eax
call fcn.0040e217
mov ecx, dword [eax]
test ecx, ecx
je 0x445857
push edi
call fcn.00419480
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x445883
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x445857
push 1
lea eax, [ebp - 0x5c]
push eax
call fcn.0041d954
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x445857
push 0x200
call fcn.00444048
cmp esi, 2
jbe 0x4458c9
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x445857
push 0
push 3
call fcn.004193fc
and dword [ebp - 0x48], 0
test esi, esi
jbe 0x445aed
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x19
movsd dword es:[edi], dword [esi]
call fcn.004077ba
imul eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x58]
push 0x19
mov dword [ebp - 0x7c], eax
call fcn.004077ba
add eax, dword [ebp - 0x7c]
pop ecx
pop ecx
xor esi, esi
push esi
mov dword [ebp - 0x74], eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp - 0x48]
lea ecx, [ebx + 0x70]
call fcn.00411540
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b682
push 0x4856b8
push 0x58
call fcn.0045173d
pop ecx
pop ecx
cmp eax, esi
je 0x445943
lea ecx, [ebx + 0x3c]
push ecx
mov ecx, eax
call fcn.00447cc0
mov edi, eax
jmp 0x445945
xor edi, edi
cmp edi, esi
je 0x445ae2
lea eax, [ebx + 0x2c]
push eax
mov ecx, edi
call fcn.004477d5
push 1
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.00447834
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.004479f6
mov ecx, dword [ebx + 0x38]
cmp ecx, esi
je 0x445857
push dword [eax]
call fcn.00419480
mov eax, dword [ebp - 0x68]
cmp eax, esi
je 0x44598f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x70]
push eax
mov ecx, edi
call fcn.004479f6
mov ecx, dword [eax]
cmp ecx, esi
je 0x445857
push esi
push 0x4200
call fcn.004193fc
mov eax, dword [ebp - 0x70]
cmp eax, esi
je 0x4459bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 4
call fcn.004077ba
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00447853
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00447cfd
cmp dword [ebp - 0x6c], esi
je 0x4459f9
push dword [ebp - 0x48]
lea ecx, [ebx + 0xa0]
call fcn.00411540
push dword [eax]
mov ecx, edi
call fcn.0044780d
jmp 0x445ac9
lea esi, [ebx + 0x88]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 3
test eax, eax
jbe 0x445ac9
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00444c6d
add eax, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445ac9
lea eax, [ebp - 0x40]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x1c8]
push eax
push 0
push 0x4725b4
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00444c6d
lea ecx, [ebp + 0x1c8]
add eax, 4
push ecx
push dword [eax]
call fcn.00411dca
mov eax, dword [0x4845e8]
pop ecx
pop ecx
test eax, eax
je 0x445aab
push ecx
mov ecx, esp
push 0x475f7c
mov esi, eax
call fcn.0040e06c
push ecx
lea eax, [ebp + 0x1c8]
mov ecx, esp
push eax
call fcn.0040e06c
mov ecx, esi
call fcn.0041e0ef
test eax, eax
je 0x445aab
push eax
mov ecx, edi
call fcn.0044780d
lea eax, [ebp + 0x1c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445ac9
lea eax, [ebp + 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x44]
call fcn.00408318
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
jb 0x4458d5
jmp 0x445aed
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x64], esi
call fcn.00408318
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x445857
push 1
push 0
call fcn.004193fc
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x445857
call fcn.004194ce
push 1
mov ecx, ebx
call fcn.00444217
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x445b27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp + 0x3d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cbcc
add ebp, 0x3d4
leave
ret