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

Disassembly:
push 0x3bc
mov eax, 0x4d20be
call fcn.004a9f73
mov dword [ebp - 0x3c4], edx
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ebp + 8]
jb 0x452f2e
mov ecx, dword [ecx]
push ecx
push ecx
call fcn.00457036
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x452f44
xor al, al
jmp 0x45336b
xor ebx, ebx
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x244], bl
lea eax, [ebp - 0x214]
mov dword [ebp - 4], ebx
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x453028
lea ecx, [ebp - 0x214]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452f82
sub ecx, edx
cmp byte [ebp + ecx - 0x215], 0x5c
jne 0x452fa9
dec ecx
cmp ecx, 0x200
jae 0x453023
mov byte [ebp + ecx - 0x214], bl
lea eax, [ebp - 0x214]
push eax
call fcn.00404843
pop ecx
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x244]
call fcn.004047ca
lea ecx, [ebp - 0x244]
call fcn.0045c677
test eax, eax
jne 0x453078
push 0x64
pop edx
lea ecx, [ebp - 0x274]
call fcn.0045b59c
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.00403ba6
pop ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.004036f5
push ebx
push 1
lea ecx, [ebp - 0x22c]
call fcn.00404b60
lea ecx, [ebp - 0x274]
jmp 0x45306d
call fcn.004a6d2c
push 0x64
pop edx
lea ecx, [ebp - 0x22c]
call fcn.0045b59c
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.00403ba6
pop ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.004036f5
push ebx
push 1
lea ecx, [ebp - 0x274]
call fcn.00404b60
lea ecx, [ebp - 0x22c]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00404b60
lea eax, [ebp - 0x3bc]
or edx, 0xffffffff
push eax
mov ecx, esi
mov bl, 1
call fcn.004570f2
pop ecx
mov ecx, dword [ebp - 0x3bc]
xor eax, eax
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x3c0], eax
test ecx, ecx
jle 0x45322f
lea ecx, [ebp - 0x3bc]
mov edx, eax
push ecx
mov ecx, esi
call fcn.004570f2
lea edx, [ebp - 0x244]
mov dword [esp], 0x4ecf28
lea ecx, [ebp - 0x274]
call fcn.00403ad6
pop ecx
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x22c]
call fcn.00403ba6
pop ecx
push 0
push 1
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 5
call fcn.00404b60
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
mov edx, dword [ebp - 0x3c0]
cmovae eax, dword [ebp - 0x22c]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.00457130
add esp, 0xc
test eax, eax
jne 0x453200
mov edx, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x25c]
push 0x4ecf28
call fcn.00403ad6
pop ecx
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x28c]
call fcn.00403ba6
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x453168
mov eax, dword [eax]
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x22c]
mov edx, eax
cmovae ecx, dword [ebp - 0x22c]
call fcn.00452d05
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.00404b60
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00404860
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004037b4
push 0
push 1
lea ecx, [ebp - 0x25c]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.00404b60
mov eax, dword [ebp - 0x3c0]
inc eax
mov dword [ebp - 0x3c0], eax
cmp eax, dword [ebp - 0x3c8]
jl 0x4530a8
jmp 0x45322f
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
xor bl, bl
lea ecx, [ebp - 0x22c]
push 1
mov byte [ebp - 4], bl
call fcn.00404b60
mov ecx, esi
call fcn.004571ab
test al, al
je 0x453241
call fcn.00457161
jmp 0x453246
call fcn.0045a8d5
test bl, bl
je 0x45335a
and dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
mov byte [ebp - 4], 9
xor esi, esi
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x45334b
and dword [ebp - 0x3c0], esi
push 0x4ecf28
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x28c]
call fcn.00403ad6
pop ecx
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [edi]
add ecx, dword [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00403bd8
pop ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004036f5
push 0
push 1
lea ecx, [ebp - 0x25c]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 9
call fcn.00404b60
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x453331
test al, 0x10
je 0x453316
lea ecx, [ebp - 0x22c]
call fcn.0045c8f0
jmp 0x453331
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [edi + 4]
inc esi
sub eax, dword [edi]
push 0x18
pop ecx
cdq
idiv ecx
add dword [ebp - 0x3c0], ecx
cmp esi, eax
jb 0x453285
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x244]
call fcn.00404b60
mov al, bl
call fcn.004a9f22
ret