Function at 0x42218e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1c
mov eax, 0x461f50
call fcn.00449ec2
push str.CheckUpgradeConditions...
lea ecx, [ebp - 0x1c]
call fcn.0040130b
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
call fcn.0041e6d0
test eax, eax
jne 0x422591
mov dword [ebp - 0x14], ebx
call fcn.004366fe
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d53
push str.UpgradeConditionsOneMustBeMet
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0040130b
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
push ecx
push eax
call fcn.00433c79
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
cmp eax, ebx
je 0x4222f0
push str.Found_UpgradeConditionsOneMustBeMet:
lea ecx, [ebp - 0x20]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040f821
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov dword [ebp - 0x18], ebx
jmp 0x42226b
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jne 0x422486
push 0x486920
lea ecx, [ebp - 0x1c]
call fcn.0040130b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea ebx, [ebp - 0x1c]
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042eac8
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x4222bf
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0042295e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebp - 0x18], 0xffffffff
jne 0x422269
cmp dword [ebp - 0x14], 0
jne 0x422484
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
jmp 0x422594
call fcn.004366fe
push eax
lea ecx, [ebp - 0x20]
call fcn.00411d53
mov byte [ebp - 4], 7
call fcn.004366fe
push eax
lea ecx, [ebp - 0x1c]
call fcn.00411d53
mov byte [ebp - 4], 8
call fcn.004366fe
push eax
lea ecx, [ebp - 0x14]
call fcn.00411d53
mov byte [ebp - 4], 9
call fcn.004366fe
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d53
push str.MinOS
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0040130b
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
mov eax, dword [esi + 4]
push ecx
push eax
call fcn.00433c79
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push str.MinMemory
lea ecx, [ebp - 0x24]
call fcn.0040130b
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 4]
push ecx
push eax
call fcn.00433c79
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push str.MinSP
lea ecx, [ebp - 0x24]
call fcn.0040130b
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
mov eax, dword [esi + 4]
push ecx
push eax
call fcn.00433c79
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push str.MaxOS
lea ecx, [ebp - 0x24]
call fcn.0040130b
mov byte [ebp - 4], 0xe
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00433c79
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042f37f
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
test eax, eax
jne 0x422458
call fcn.004017c4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [edi - 0x10]
jmp 0x4222e4
call fcn.004017c4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004017c4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x422486
xor ebx, ebx
call fcn.004366fe
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d53
push str.UpgradeConditionsAllMustBeMet
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
call fcn.0040130b
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
mov eax, dword [esi + 4]
push ecx
push eax
call fcn.00433c79
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x42257b
push str.Found_UpgradeConditionsAllMustBeMet:
lea ecx, [ebp - 0x24]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push 2
mov byte [ebp - 4], 0x11
call fcn.0040f821
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x24]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov dword [ebp - 0x1c], ebx
jmp 0x422512
xor ebx, ebx
push 0x486920
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.0040130b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea ebx, [ebp - 0x24]
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.0042eac8
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x422566
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0042295e
cmp dword [ebp - 0x14], 0
je 0x42259a
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x422510
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
inc eax
call fcn.00449f9a
ret
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x4222de