Function at 0x452a4e
Capabilities:
Delete file

Disassembly:
push 0x228
mov eax, 0x5b46ec
call fcn.0056beab
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
push esi
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], edi
call fcn.00453540
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xb0]
sub eax, dword [esi + 0xac]
push 0x5c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x204], edi
test eax, eax
je 0x452b80
mov eax, dword [ebp - 0x20c]
push edi
call fcn.0047efb8
test al, al
jne 0x452bf3
mov edi, dword [ebp - 0x204]
mov ebx, dword [esi + 0xac]
imul edi, edi, 0x5c
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
add ebx, edi
push eax
call fcn.00453d98
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xac]
lea eax, [ebp - 0x30]
add ecx, edi
push eax
call fcn.004528a7
mov edi, eax
test edi, edi
je 0x452b40
lea eax, [ebp - 0x204]
lea esi, [ebp - 0x220]
call fcn.004e8c96
cmp edi, 4
je 0x452b25
cmp edi, 3
jne 0x452b40
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x452b31
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x452c0b
push 1
xor edi, edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00404589
mov ecx, dword [ebp - 0x208]
mov eax, dword [ecx + 0xb0]
sub eax, dword [ecx + 0xac]
push 0x5c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x204]
mov esi, dword [ebp - 0x208]
cmp dword [ebp - 0x204], eax
jb 0x452abb
mov eax, dword [ebp - 0x20c]
push edi
call fcn.0047efb8
test al, al
jne 0x452bf3
cmp dword [ebp - 0x38], 8
mov ebx, dword [ebp - 0x4c]
jae 0x452b9c
lea ebx, [ebp - 0x4c]
call fcn.004803ea
test al, al
jne 0x452c9c
lea eax, [ebp - 0x1ac]
push eax
call fcn.00403aba
mov esi, eax
push str.Cannot_create_path_for_package:
push esi
mov byte [ebp - 4], 5
call fcn.0040635f
push esi
lea ecx, [ebp - 0x4c]
call fcn.00411d36
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov eax, esi
call fcn.00403b24
mov byte [ebp - 4], 6
push 0x28a
mov ecx, str.srcPackageManager.cpp
lea eax, [ebp - 0x68]
call fcn.0040277f
lea ebx, [ebp - 0x114]
call fcn.0048b438
push 0x6077b8
mov eax, ebx
push eax
call fcn.00566ed2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00403aba
mov edi, eax
push str.Cannot_delete_incorrect_package_file_
push edi
mov byte [ebp - 4], 3
call fcn.0040635f
push edi
lea ecx, [ebp - 0x30]
call fcn.00411d36
add esp, 0xc
push str.:_DeleteFile_failed_with
push edi
call fcn.0040635f
pop ecx
pop ecx
push esi
push edi
call fcn.004109e7
lea eax, [ebp - 0x68]
push eax
mov eax, edi
call fcn.00403b24
mov byte [ebp - 4], 4
test esi, esi
jle 0x452c6f
and esi, 0xffff
or esi, 0x80070000
push 1
push 0x27c
push str.srcPackageManager.cpp
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0047d385
push 0x60763c
lea eax, [ebp - 0x114]
jmp 0x452c05
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x220]
mov dword [ebp - 0x204], edi
sar eax, 2
mov dword [ebp - 0x230], eax
cmp eax, edi
jbe 0x452dba
lea eax, [esi + 0x90]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x204]
mov edi, dword [eax + ecx*4]
mov ebx, dword [ebp - 0x224]
lea eax, [ebp - 0x84]
push 0x5cb7ec
push eax
call fcn.00410581
mov ebx, edi
imul ebx, ebx, 0x5c
mov byte [ebp - 4], 7
mov edx, dword [esi + 0xac]
add edx, ebx
add edx, 0x1c
push edx
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
mov dword [ebp - 0x228], ebx
call fcn.00410706
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 9
call fcn.00404589
mov esi, dword [ebp - 0x208]
add ebx, dword [esi + 0xac]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
call fcn.00453d98
pop ecx
pop ecx
push dword [ebp - 0x20c]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x210]
mov byte [ebp - 4], 0xa
push dword [eax + 0xc]
lea ecx, [ebp - 0x68]
call fcn.0044b0e3
mov ecx, dword [esi + 0xac]
add ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x30]
push eax
call fcn.004528a7
test eax, eax
jne 0x452e2c
push 1
lea esi, [ebp - 0x30]
call fcn.00404589
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00404589
inc dword [ebp - 0x204]
mov eax, dword [ebp - 0x204]
mov esi, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x230]
jb 0x452ccb
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x220], eax
je 0x452e0d
mov eax, esi
lea esi, [ebp - 0x1e4]
call fcn.0045374e
lea edi, [ebp - 0x234]
mov byte [ebp - 4], 0xe
call fcn.00480ae2
mov ecx, dword [eax]
mov dword [ebp - 0x124], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov edx, esi
push edx
call dword [eax + 4]
mov ebx, esi
call fcn.00440889
push 1
xor edi, edi
lea esi, [ebp - 0x4c]
call fcn.00404589
lea esi, [ebp - 0x220]
call fcn.0043460f
call fcn.0056bf2e
ret 4
push dword [esi]
lea eax, [ebp - 0x200]
push eax
call fcn.00451f19
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x1ac]
push eax
mov byte [ebp - 4], 0xb
call fcn.00403aba
mov esi, eax
push str.Check_failed_for_file_
push esi
mov byte [ebp - 4], 0xc
call fcn.0040635f
push esi
lea ecx, [ebp - 0x30]
call fcn.00411d36
add esp, 0xc
push str._of_package_
push esi
call fcn.0040635f
push esi
mov ecx, edi
call fcn.00411d36
add esp, 0xc
push str.._Installation_aborted.
push esi
call fcn.0040635f
pop ecx
pop ecx
lea eax, [ebp - 0x84]
push eax
mov eax, esi
call fcn.00403b24
mov byte [ebp - 4], 0xd
push 0x2a2
mov ecx, str.srcPackageManager.cpp
lea eax, [ebp - 0x84]
jmp 0x452bee