Function at 0x40fac0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4499d9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4611f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CInstallManager.0
mov dword [ebp - 4], 0xb
mov eax, dword [esi + 0x290]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40fb15
push eax
call edi
mov dword [esi + 0x290], 0
mov eax, dword [esi + 0x298]
test eax, eax
je 0x40fb2c
push eax
call edi
mov dword [esi + 0x298], 0
mov eax, dword [esi + 0x294]
test eax, eax
je 0x40fb43
push eax
call edi
mov dword [esi + 0x294], 0
mov eax, dword [esi + 0x29c]
test eax, eax
je 0x40fb5a
push eax
call edi
mov dword [esi + 0x29c], 0
mov ecx, esi
call fcn.0040ff00
mov byte [ebp - 4], 0xa
mov edx, dword [esi + 0x28c]
sub edx, 0x10
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40fb87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [esi + 0x284]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fbaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [esi + 0x278]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fbcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [esi + 0x270]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fbf0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [esi + 0x26c]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fc13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [esi + 0x268]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fc36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x260], 0
je 0x40fc49
mov dword [esi + 0x260], 0
mov dword [esi + 0x264], 0
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40fc61
push eax
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x40fc6b
push eax
call edi
cmp dword [esi + 0x40], 0
je 0x40fc7c
push 0
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 2
mov edi, dword [esi + 0x30]
test edi, edi
je 0x40fccb
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x40fcbd
lea ebx, [ebx]
mov ecx, edi
call fcn.0040cbc0
add edi, 0x2c
dec ebx
jne 0x40fcb0
push dword [esi + 0x30]
call fcn.004327d2
add esp, 4
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x2c]
sub edx, 0x10
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [esi + 0x24]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40fd09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x10]
call fcn.0041a850
push dword [esi + 0x10]
call fcn.00431c63
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret