Function at 0x4425c5
Capabilities:
Delete file

Disassembly:
push 0x228
mov eax, 0x5b6113
call fcn.0056ce95
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.004430b7
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 0x4426f7
mov eax, dword [ebp - 0x20c]
push edi
call fcn.0047bae8
test al, al
jne 0x44276a
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.00443b95
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.0044241e
mov edi, eax
test edi, edi
je 0x4426b7
lea eax, [ebp - 0x204]
lea esi, [ebp - 0x220]
call fcn.00409a53
cmp edi, 4
je 0x44269c
cmp edi, 3
jne 0x4426b7
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4426a8
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x442782
push 1
xor edi, edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0040b028
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 0x442632
mov eax, dword [ebp - 0x20c]
push edi
call fcn.0047bae8
test al, al
jne 0x44276a
cmp dword [ebp - 0x38], 8
mov ebx, dword [ebp - 0x4c]
jae 0x442713
lea ebx, [ebp - 0x4c]
call fcn.004765cc
test al, al
jne 0x442813
lea eax, [ebp - 0x1ac]
push eax
call fcn.00409ac6
mov esi, eax
push str.Cannot_create_path_for_package:
push esi
mov byte [ebp - 4], 5
call fcn.0040fa1f
push esi
lea ecx, [ebp - 0x4c]
call fcn.0040fbd3
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 6
push 0x297
mov ecx, str.srcPackageManager.cpp
lea eax, [ebp - 0x68]
call fcn.00401f44
lea ebx, [ebp - 0x114]
call fcn.00485ad3
push 0x5ffbe4
mov eax, ebx
push eax
call fcn.005676bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00409ac6
mov edi, eax
push str.Cannot_delete_incorrect_package_file_
push edi
mov byte [ebp - 4], 3
call fcn.0040fa1f
push edi
lea ecx, [ebp - 0x30]
call fcn.0040fbd3
add esp, 0xc
push str.:_DeleteFile_failed_with
push edi
call fcn.0040fa1f
pop ecx
pop ecx
push esi
push edi
call fcn.0040d432
lea eax, [ebp - 0x68]
push eax
mov eax, edi
call fcn.00409b30
mov byte [ebp - 4], 4
test esi, esi
jle 0x4427e6
and esi, 0xffff
or esi, 0x80070000
push 1
push 0x289
push str.srcPackageManager.cpp
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00482fec
push 0x5ffba8
lea eax, [ebp - 0x114]
jmp 0x44277c
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 0x442931
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 0x5c3dbc
push eax
call fcn.0040cf5b
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.0040d0e0
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 9
call fcn.0040b028
mov esi, dword [ebp - 0x208]
add ebx, dword [esi + 0xac]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
call fcn.00443b95
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.0043bbe1
mov ecx, dword [esi + 0xac]
add ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x30]
push eax
call fcn.0044241e
test eax, eax
jne 0x4429a3
push 1
lea esi, [ebp - 0x30]
call fcn.0040b028
push 1
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.0040b028
inc dword [ebp - 0x204]
mov eax, dword [ebp - 0x204]
mov esi, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x230]
jb 0x442842
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x220], eax
je 0x442984
mov eax, esi
lea esi, [ebp - 0x1e4]
call fcn.004432ca
lea edi, [ebp - 0x234]
mov byte [ebp - 4], 0xe
call fcn.00476f76
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.004409f5
push 1
xor edi, edi
lea esi, [ebp - 0x4c]
call fcn.0040b028
lea esi, [ebp - 0x220]
call fcn.004c601a
call fcn.0056cf18
ret 4
push dword [esi]
lea eax, [ebp - 0x200]
push eax
call fcn.0044184d
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x1ac]
push eax
mov byte [ebp - 4], 0xb
call fcn.00409ac6
mov esi, eax
push str.Check_failed_for_file_
push esi
mov byte [ebp - 4], 0xc
call fcn.0040fa1f
push esi
lea ecx, [ebp - 0x30]
call fcn.0040fbd3
add esp, 0xc
push str._of_package_
push esi
call fcn.0040fa1f
push esi
mov ecx, edi
call fcn.0040fbd3
add esp, 0xc
push str.._Installation_aborted.
push esi
call fcn.0040fa1f
pop ecx
pop ecx
lea eax, [ebp - 0x84]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 0xd
push 0x2af
mov ecx, str.srcPackageManager.cpp
lea eax, [ebp - 0x84]
jmp 0x442765