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

Disassembly:
push 0x3bc
mov eax, 0x4d3290
call fcn.004aaeb3
mov dword [ebp - 0x3c8], edx
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c0], eax
jb 0x455ced
mov ecx, dword [ecx]
push ecx
push ecx
call fcn.0045998f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x455d03
xor al, al
jmp 0x45612f
xor ebx, ebx
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], ebx
mov byte [ebp - 0x240], bl
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ebx
push eax
mov edi, 0x200
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x455de4
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455d42
sub ecx, edx
cmp byte [ebp + ecx - 0x211], 0x5c
jne 0x455d65
dec ecx
cmp ecx, edi
jae 0x455ddf
mov byte [ebp + ecx - 0x210], bl
lea eax, [ebp - 0x210]
push eax
call fcn.004041c8
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.0040414f
lea ecx, [ebp - 0x240]
call fcn.0045efd2
test eax, eax
jne 0x455e34
push 0x64
pop edx
lea ecx, [ebp - 0x258]
call fcn.0045def5
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.0040360e
pop ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004033c5
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.004044e5
lea ecx, [ebp - 0x258]
jmp 0x455e29
call fcn.004a7a9c
push 0x64
pop edx
lea ecx, [ebp - 0x228]
call fcn.0045def5
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.0040360e
pop ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004033c5
push ebx
push 1
lea ecx, [ebp - 0x258]
call fcn.004044e5
lea ecx, [ebp - 0x228]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.004044e5
lea eax, [ebp - 0x3b8]
mov bl, 1
push eax
or edx, 0xffffffff
mov byte [ebp - 0x3b9], bl
mov ecx, esi
call fcn.00459a4b
mov eax, dword [ebp - 0x3b8]
xor edi, edi
mov dword [ebp - 0x3c4], eax
pop ecx
test eax, eax
jle 0x455fed
lea eax, [ebp - 0x3b8]
mov edx, edi
push eax
mov ecx, esi
call fcn.00459a4b
lea edx, [ebp - 0x240]
mov dword [esp], 0x4edea8
lea ecx, [ebp - 0x258]
call fcn.0040353e
pop ecx
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x228]
call fcn.0040360e
pop ecx
push 0
push 1
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 5
call fcn.004044e5
push 0x10
pop ebx
cmp dword [ebp - 0x214], ebx
lea eax, [ebp - 0x228]
push ecx
cmovae eax, dword [ebp - 0x228]
mov edx, edi
push ecx
push eax
mov ecx, esi
call fcn.00459a89
add esp, 0xc
test eax, eax
jne 0x455fbf
mov edx, dword [ebp - 0x3c8]
lea ecx, [ebp - 0x270]
push 0x4edea8
call fcn.0040353e
pop ecx
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x288]
call fcn.0040360e
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], ebx
jb 0x455f21
mov eax, dword [eax]
cmp dword [ebp - 0x214], ebx
lea ecx, [ebp - 0x228]
mov edx, eax
cmovae ecx, dword [ebp - 0x228]
call fcn.0045565b
mov ebx, eax
lea ecx, [ebp - 0x288]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.004044e5
inc bl
jne 0x455fd9
lea eax, [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x270]
call fcn.004041e5
mov ecx, dword [ebp - 0x3c0]
push eax
mov byte [ebp - 4], 8
call fcn.00445ab5
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.004044e5
inc edi
cmp edi, dword [ebp - 0x3c4]
jl 0x455e64
mov bl, byte [ebp - 0x3b9]
jmp 0x455fed
cmp dword [ebp - 0x214], ebx
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
xor bl, bl
lea ecx, [ebp - 0x228]
push 1
mov byte [ebp - 4], bl
call fcn.004044e5
mov ecx, esi
call fcn.00459b04
test al, al
je 0x455fff
call fcn.00459aba
jmp 0x456004
call fcn.0045d22e
test bl, bl
je 0x45611e
and dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov esi, dword [ebp - 0x3c0]
xor edi, edi
mov byte [ebp - 4], 9
push 0x18
pop ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cdq
idiv ecx
test eax, eax
je 0x45610f
and dword [ebp - 0x3c0], edi
push 0x4edea8
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x288]
call fcn.0040353e
pop ecx
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi]
add ecx, dword [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00403640
pop ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.004033c5
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 9
call fcn.004044e5
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4560f5
test al, 0x10
je 0x4560da
lea ecx, [ebp - 0x228]
call fcn.0045f267
jmp 0x4560f5
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 4]
inc edi
sub eax, dword [esi]
push 0x18
pop ecx
cdq
idiv ecx
add dword [ebp - 0x3c0], ecx
cmp edi, eax
jb 0x456049
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x240]
call fcn.004044e5
mov al, bl
call fcn.004aae62
ret