Function at 0x419820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b878
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4cb06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2a8], ebx
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x419893
mov eax, dword [ebx + 0x1c4]
inc eax
mov dword [ebx + 0x1c4], eax
cmp eax, 2
jle 0x41987c
mov dword [ebx + 0x1c4], 0
xor eax, eax
push dword [ebx + 0x1ac]
lea ecx, [ebx + 0x178]
push eax
call fcn.0041cd00
jmp 0x419d9a
cmp eax, 2
jne 0x419d9a
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4d07bc]
cmp eax, dword [ecx + 4]
jle 0x4198f5
push 0x4d07bc
call fcn.0045d618
add esp, 4
cmp dword [0x4d07bc], 0xffffffff
jne 0x4198f5
mov ecx, 0x4d07c0
mov dword [0x4d07c0], 0
call fcn.00403680
push 0x4a17b0
call fcn.0045d974
add esp, 4
push 0x4d07bc
call fcn.0045d5ce
add esp, 4
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 4], 0
call fcn.00403580
mov ecx, eax
test ecx, ecx
je 0x419e40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.0043c7e0
mov esi, dword [ebp - 0x2a0]
cmp dword [0x4d0768], esi
jge 0x419a7d
lea ecx, [ebx + 0xd4]
push esi
call fcn.0041e620
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00403680
push 0xc3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00410810
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.00403680
push esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
push esi
push eax
call fcn.00410540
mov edi, dword [ebp - 0x1c]
add esp, 8
add edi, 0xfffffff0
mov byte [ebp - 0x291], 0
mov dword [ebp - 0x298], esp
mov dword [ebp - 0x2a4], edi
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0xc]
mov edx, eax
shr ecx, 0x1f
test cl, cl
jne 0x4199d1
cmp edx, dword [edi]
jne 0x4199d1
mov eax, edi
lea ecx, [edi + 0xc]
lock inc dword [ecx]
jmp 0x419a18
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [edi + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x29c], ecx
test ecx, ecx
je 0x419e4a
mov eax, dword [edi + 4]
add edi, 0x10
mov dword [ecx + 4], eax
add ecx, 0x10
mov eax, dword [ebp - 0x2a4]
mov edx, dword [eax + 4]
inc edx
push edx
push edi
call fcn.00403720
mov edi, dword [ebp - 0x2a4]
add esp, 8
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x298]
add eax, 0x10
mov dl, byte [ebp - 0x291]
mov dword [ecx], eax
lea ecx, [ebx + 0x104]
call fcn.0043bdc0
mov eax, dword [ebp - 0x2a0]
add esp, 4
mov dword [0x4d0768], eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x419a5d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x419a79
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
mov ecx, 0x4d07c0
call fcn.0041a080
test al, al
je 0x419b99
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov byte [ebp - 0x291], 0
mov dword [ebp - 0x29c], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0xc]
mov edx, eax
shr ecx, 0x1f
test cl, cl
jne 0x419ac8
cmp edx, dword [edi]
jne 0x419ac8
mov eax, edi
lea ecx, [edi + 0xc]
lock inc dword [ecx]
jmp 0x419b06
mov eax, dword [edx]
mov ecx, edx
push 2
push dword [edi + 4]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x298], ecx
test ecx, ecx
je 0x419e4f
mov eax, dword [edi + 4]
add edi, 0x10
mov dword [ecx + 4], eax
add ecx, 0x10
mov edx, dword [esi - 0xc]
inc edx
push edx
push edi
call fcn.00403720
mov eax, dword [ebp - 0x298]
lea edi, [esi - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x29c]
add eax, 0x10
mov dl, byte [ebp - 0x291]
mov dword [ecx], eax
lea ecx, [ebx + 0x108]
call fcn.0043bdc0
mov ecx, dword [0x4d07c0]
add esp, 4
add ecx, 0xfffffff0
mov dword [ebp - 0x29c], ecx
cmp edi, ecx
je 0x419b99
lea eax, [ecx + 0xc]
mov dword [ebp - 0x298], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x419b8b
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x419b8b
mov ecx, edi
call fcn.004037b0
mov edi, eax
mov edx, dword [ebp - 0x298]
or ecx, 0xffffffff
mov byte [ebp - 4], 6
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419b7d
mov esi, dword [ebp - 0x29c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [0x4d07c0], eax
jmp 0x419b99
push dword [edi + 4]
mov ecx, 0x4d07c0
push esi
call fcn.0041a420
mov al, byte [0x4d06ad]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
test al, al
je 0x419be6
inc dword [0x4d0764]
cmp dword [ebx + 0x100], 0x64
je 0x419be6
lea eax, [ebp - 0x2c]
mov dword [ebx + 0x100], 0x64
push eax
push dword [ebx + 0xd8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0xd8]
call esi
cmp dword [0x4d0764], 2
jle 0x419d78
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0
push dword [ebx + 4]
call esi
mov eax, dword [0x4d06b0]
test eax, eax
je 0x419dba
mov eax, dword [0x4d06b0]
xor ebx, ebx
cmp eax, 9
push 0x12c
lea eax, [ebp - 0x160]
setne bl
push 0
push eax
add ebx, 0xd9
call fcn.00475700
add esp, 8
lea ecx, [ebp - 0x160]
push 0
push 0xff
push ebx
push 0x80
push 1
call fcn.0041d130
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x160]
call fcn.0040f450
mov esi, dword [0x4d06b0]
lea ecx, [ebp - 0x160]
call fcn.0040ec00
test esi, esi
je 0x419dfa
cmp esi, 8
jne 0x419eab
mov ebx, dword [ebp - 0x2a8]
push 0x23
push str.install_succeeded__reboot_required_
mov ecx, 0x4d06b8
call fcn.0041a420
push 0
lea ecx, [ebx + 0x104]
mov edx, 0xd8
call fcn.0043b710
add esp, 4
lea ecx, [ebx + 0x108]
mov edx, 0xc6
push 0
call fcn.0043b710
add esp, 4
lea ecx, [ebx + 0x140]
mov edx, 0xc7
push 0
call fcn.0043b710
add esp, 4
lea eax, [ebp - 0x2b8]
push 0x4cbf18
push eax
call fcn.004038b0
push 0
push eax
lea ecx, [ebx + 0x108]
call fcn.00403940
push 0x4cbf28
lea eax, [ebp - 0x2c8]
push eax
call fcn.004038b0
push 0
push eax
lea ecx, [ebx + 0x140]
call fcn.00403940
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push dword [0x4d06bc]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xd8]
call esi
push 5
push dword [ebx + 0x110]
call esi
push 1
push dword [ebx + 0x140]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [ebx + 0x140]
call esi
push dword [ebx + 0x140]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov dword [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419d9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045d468
mov esp, ebp
pop ebp
ret 0x10
mov al, byte [0x4d06ac]
test al, al
je 0x419dd5
call fcn.004212b0
test al, al
jne 0x419e00
mov al, 1
mov ecx, 0x4d06b4
xchg byte [ecx], al
mov al, byte [0x4d06ae]
test al, al
jne 0x419c92
mov al, byte [0x4d06b4]
test al, al
jne 0x419e54
cmp byte [0x4d0661], al
je 0x419e00
call fcn.0042ec70
jmp 0x419e00
mov ebx, dword [ebp - 0x2a8]
push 0x11
push 0x4b2f10
mov ecx, 0x4d06b8
call fcn.0041a420
push 0
lea ecx, [ebx + 0x104]
mov edx, 0xd8
call fcn.0043b710
add esp, 4
lea ecx, [ebx + 0x108]
mov edx, 0xc5
push 0
call fcn.0043b710
add esp, 4
jmp 0x419d20
push 0x80004005
call fcn.004036f0
call fcn.00403710
call fcn.00403710
push 0x12c
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.00475700
add esp, 8
lea ecx, [ebp - 0x290]
push 0
push 0xff
push 0xdb
push 0x80
push 1
call fcn.0041d130
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x290]
call fcn.0040f450
lea ecx, [ebp - 0x290]
call fcn.0040ec00
mov esi, 3
push str.install_failed
mov ecx, 0x4cbce0
call fcn.0040e1e0
mov edx, str.SendShutdownTelemetry
mov ecx, eax
call fcn.004496c0
add esp, 4
push esi
call fcn.00481b01
int3