Function at 0x40ef59
Capabilities:
Terminate process

Disassembly:
push 0x41c
mov eax, 0x453bee
call fcn.0043bfe8
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 0x40f228
cmp dword [0x473b28], edi
je 0x40f161
lea ecx, [ebp - 0x418]
mov esi, 0x80004005
call fcn.00406380
mov dword [ebp - 4], edi
push 0x456fec
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40efcb
mov esi, 0xa0080004
jmp 0x40f0f3
push 0x456fd0
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40efe5
mov esi, 0xa0080003
jmp 0x40f0f3
push 0x4573c4
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40efff
mov esi, 0x80070032
jmp 0x40f0f3
push 0x4573a8
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f019
mov esi, 0x8007000e
jmp 0x40f0f3
push 0x4573e0
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f033
mov esi, 0x80070057
jmp 0x40f0f3
push edi
push 0x470674
push 0x46ff84
push edi
push ebx
call fcn.00438989
add esp, 0x14
test eax, eax
je 0x40f056
mov esi, 0xa0080002
jmp 0x40f0f3
push 0x4572ec
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f06e
mov esi, dword [ebx + 8]
jmp 0x40f0f3
push 0x457598
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f093
mov esi, dword [ebx + 0xc]
cmp esi, edi
jle 0x40f0f3
and esi, 0xffff
or esi, 0x80070000
jmp 0x40f0f3
push 0x4576c0
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f0ae
mov esi, dword [ebx + 8]
or esi, 0xa0090000
jmp 0x40f0f3
push 0x45b7ec
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f0c9
mov esi, dword [ebx + 8]
or esi, 0x10000000
jmp 0x40f0f3
push 0x45738c
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f0e0
mov esi, 0xa0080001
jmp 0x40f0f3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
push dword [eax]
lea ecx, [ebp - 0x418]
call fcn.0040b46a
mov eax, dword [ebp - 0x418]
cmp dword [eax - 0xc], edi
jne 0x40f11a
push edi
lea ecx, [ebp - 0x414]
call fcn.0040154d
mov byte [ebp - 4], 1
mov dword [ebp - 0x41c], 1
jmp 0x40f120
lea eax, [ebp - 0x418]
push dword [eax]
mov ecx, dword [0x473b28]
push esi
call fcn.00413512
mov dword [ebp - 4], edi
test byte [ebp - 0x41c], 1
je 0x40f14c
and dword [ebp - 0x41c], 0xfffffffe
lea ecx, [ebp - 0x414]
call fcn.00401b5d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.00401b5d
mov esi, dword [ebp - 0x420]
mov eax, dword [esi + 0x19c]
cmp eax, edi
je 0x40f17c
mov esi, ebx
mov edi, eax
call fcn.00409f34
mov esi, dword [ebp - 0x420]
xor edi, edi
push 0x4573a8
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
jne 0x40f1a0
push 0x45b7ec
mov ecx, ebx
call fcn.0042c8eb
test eax, eax
je 0x40f228
mov edx, dword [esi + 0x19c]
cmp edx, edi
je 0x40f1b7
push edi
push str.InstallBroken
call fcn.00406328
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 0x40f1f5
call fcn.0040e602
mov dword [ebp - 4], 2
mov eax, dword [eax]
push 0x10
push eax
lea eax, [ebp - 0x410]
push eax
jmp 0x40f20b
call fcn.0040e602
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.00401b5d
push 1
call fcn.004385fd
xor eax, eax
inc eax
mov dword [esi + 0xa4], eax
mov esi, dword [0x4739a8]
mov dword [0x473a30], eax
call fcn.0040a1e2
cmp ebx, edi
je 0x40f25d
push dword [ebp - 0x428]
mov ecx, dword [ebp - 0x420]
push ebx
call fcn.0043224e
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
call fcn.0043c06b
ret 8