Function at 0x40ede8
Capabilities:
Terminate process

Disassembly:
push 0x41c
mov eax, 0x453b7f
call fcn.0043bf97
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x41c], edi
mov dword [ebp - 0x424], edi
je 0x40f0b7
cmp dword [0x473b28], edi
je 0x40eff0
lea ecx, [ebp - 0x418]
mov esi, 0x80004005
call fcn.00401b4d
mov dword [ebp - 4], edi
push 0x456fec
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ee5a
mov esi, 0xa0080004
jmp 0x40ef82
push 0x456fd0
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ee74
mov esi, 0xa0080003
jmp 0x40ef82
push 0x4573c4
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ee8e
mov esi, 0x80070032
jmp 0x40ef82
push 0x4573a8
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40eea8
mov esi, 0x8007000e
jmp 0x40ef82
push 0x4573e0
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40eec2
mov esi, 0x80070057
jmp 0x40ef82
push edi
push 0x470674
push 0x46ff84
push edi
push ebx
call fcn.00438939
add esp, 0x14
test eax, eax
je 0x40eee5
mov esi, 0xa0080002
jmp 0x40ef82
push 0x4572ec
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40eefd
mov esi, dword [ebx + 8]
jmp 0x40ef82
push 0x457598
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ef22
mov esi, dword [ebx + 0xc]
cmp esi, edi
jle 0x40ef82
and esi, 0xffff
or esi, 0x80070000
jmp 0x40ef82
push 0x4576c0
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ef3d
mov esi, dword [ebx + 8]
or esi, 0xa0090000
jmp 0x40ef82
push 0x45b6f4
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ef58
mov esi, dword [ebx + 8]
or esi, 0x10000000
jmp 0x40ef82
push 0x45738c
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40ef6f
mov esi, 0xa0080001
jmp 0x40ef82
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
push dword [eax]
lea ecx, [ebp - 0x418]
call fcn.0040b30b
mov eax, dword [ebp - 0x418]
cmp dword [eax - 0xc], edi
jne 0x40efa9
push edi
lea ecx, [ebp - 0x414]
call fcn.0040154d
mov byte [ebp - 4], 1
mov dword [ebp - 0x41c], 1
jmp 0x40efaf
lea eax, [ebp - 0x418]
push dword [eax]
mov ecx, dword [0x473b28]
push esi
call fcn.004134d1
mov dword [ebp - 4], edi
test byte [ebp - 0x41c], 1
je 0x40efdb
and dword [ebp - 0x41c], 0xfffffffe
lea ecx, [ebp - 0x414]
call fcn.00401b87
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.00401b87
mov esi, dword [ebp - 0x420]
mov eax, dword [esi + 0x19c]
cmp eax, edi
je 0x40f00b
mov esi, ebx
mov edi, eax
call fcn.00409dda
mov esi, dword [ebp - 0x420]
xor edi, edi
push 0x4573a8
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
jne 0x40f02f
push 0x45b6f4
mov ecx, ebx
call fcn.0042c8ab
test eax, eax
je 0x40f0b7
mov edx, dword [esi + 0x19c]
cmp edx, edi
je 0x40f046
push edi
push str.InstallBroken
call fcn.004062d4
pop ecx
pop ecx
mov eax, dword [ebx]
push edi
push 0x200
lea ecx, [ebp - 0x410]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
lea eax, [ebp - 0x414]
push eax
push 0x473988
je 0x40f084
call fcn.0040e497
mov dword [ebp - 4], 2
mov eax, dword [eax]
push 0x10
push eax
lea eax, [ebp - 0x410]
push eax
jmp 0x40f09a
call fcn.0040e497
mov dword [ebp - 4], 3
mov eax, dword [eax]
push 0x10
push eax
push str.Out_of_memory_
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x414]
call fcn.00401b87
push 1
call fcn.004385ad
xor eax, eax
inc eax
mov dword [esi + 0xa4], eax
mov esi, dword [0x4739a8]
mov dword [0x473a30], eax
call fcn.0040a077
cmp ebx, edi
je 0x40f0ec
push dword [ebp - 0x428]
mov ecx, dword [ebp - 0x420]
push ebx
call fcn.00432201
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
call fcn.0043c01a
ret 8