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

Disassembly:
push 0x3bc
mov eax, 0x4d31fa
call fcn.004aaeb3
mov dword [ebp - 0x3c4], edx
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ebp + 8]
jb 0x455884
mov ecx, dword [ecx]
push ecx
push ecx
call fcn.0045998f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45589a
xor al, al
jmp 0x455cc1
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 0x45597e
lea ecx, [ebp - 0x214]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4558d8
sub ecx, edx
cmp byte [ebp + ecx - 0x215], 0x5c
jne 0x4558ff
dec ecx
cmp ecx, 0x200
jae 0x455979
mov byte [ebp + ecx - 0x214], bl
lea eax, [ebp - 0x214]
push eax
call fcn.004041c8
pop ecx
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x244]
call fcn.0040414f
lea ecx, [ebp - 0x244]
call fcn.0045efd2
test eax, eax
jne 0x4559ce
push 0x64
pop edx
lea ecx, [ebp - 0x274]
call fcn.0045def5
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.0040360e
pop ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.004033c5
push ebx
push 1
lea ecx, [ebp - 0x22c]
call fcn.004044e5
lea ecx, [ebp - 0x274]
jmp 0x4559c3
call fcn.004a7a9c
push 0x64
pop edx
lea ecx, [ebp - 0x22c]
call fcn.0045def5
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.0040360e
pop ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.004033c5
push ebx
push 1
lea ecx, [ebp - 0x274]
call fcn.004044e5
lea ecx, [ebp - 0x22c]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.004044e5
lea eax, [ebp - 0x3bc]
or edx, 0xffffffff
push eax
mov ecx, esi
mov bl, 1
call fcn.00459a4b
pop ecx
mov ecx, dword [ebp - 0x3bc]
xor eax, eax
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x3c0], eax
test ecx, ecx
jle 0x455b85
lea ecx, [ebp - 0x3bc]
mov edx, eax
push ecx
mov ecx, esi
call fcn.00459a4b
lea edx, [ebp - 0x244]
mov dword [esp], 0x4edea8
lea ecx, [ebp - 0x274]
call fcn.0040353e
pop ecx
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x22c]
call fcn.0040360e
pop ecx
push 0
push 1
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 5
call fcn.004044e5
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.00459a89
add esp, 0xc
test eax, eax
jne 0x455b56
mov edx, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x25c]
push 0x4edea8
call fcn.0040353e
pop ecx
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x28c]
call fcn.0040360e
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x455abe
mov eax, dword [eax]
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x22c]
mov edx, eax
cmovae ecx, dword [ebp - 0x22c]
call fcn.0045565b
push 0
push 1
lea ecx, [ebp - 0x28c]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.004044e5
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004041e5
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00445ab5
push 0
push 1
lea ecx, [ebp - 0x25c]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.004044e5
mov eax, dword [ebp - 0x3c0]
inc eax
mov dword [ebp - 0x3c0], eax
cmp eax, dword [ebp - 0x3c8]
jl 0x4559fe
jmp 0x455b85
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.004044e5
mov ecx, esi
call fcn.00459b04
test al, al
je 0x455b97
call fcn.00459aba
jmp 0x455b9c
call fcn.0045d22e
test bl, bl
je 0x455cb0
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 0x455ca1
and dword [ebp - 0x3c0], esi
push 0x4edea8
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x28c]
call fcn.0040353e
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.00403640
pop ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004033c5
push 0
push 1
lea ecx, [ebp - 0x25c]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 9
call fcn.004044e5
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 0x455c87
test al, 0x10
je 0x455c6c
lea ecx, [ebp - 0x22c]
call fcn.0045f267
jmp 0x455c87
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 0x455bdb
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x244]
call fcn.004044e5
mov al, bl
call fcn.004aae62
ret