Function at 0x41b2f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a72f
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4c4184]
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 esi, dword [ebp + 0x10]
mov dword [ebp - 0x144], esi
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41b96c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x148], eax
mov eax, 0x4a13dc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x148]
test eax, 0xffff0000
jne 0x41b36a
movzx eax, ax
push eax
call fcn.0041a570
jmp 0x41b376
push 0
push 0x4a13dc
call fcn.0040a960
push 0
push dword [ebx + 0x48]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov edi, 0xffffffff
sub eax, 4
je 0x41b5d8
sub eax, 1
je 0x41b52e
sub eax, 1
jne 0x41b8f0
mov eax, dword [0x4c6eac]
test eax, eax
je 0x41b412
cmp dword [eax + 4], 3
jl 0x41b412
push 0
push 0
push 0x4a0d84
push 0x390
push str.AsusUpdateDlg::OnFinal
push 3
lea ecx, [ebp - 0x140]
call fcn.00413ac0
mov esi, eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 0xa
push str.FAILED
push ecx
call fcn.004160f0
mov ecx, dword [0x4c6eac]
add esp, 8
push esi
call fcn.004163e0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.004151d0
mov esi, dword [ebp - 0x144]
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41b976
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xb
test esi, esi
je 0x41b466
test esi, 0xffff0000
jne 0x41b450
movzx eax, si
lea ecx, [ebp - 0x14c]
push eax
call fcn.0041a570
jmp 0x41b475
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b455
sub ecx, edx
sar ecx, 1
jmp 0x41b468
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x14c]
call fcn.0040a960
mov esi, dword [ebp - 0x14c]
push str.IDS_TRY_AGAIN_LATER
push esi
mov byte [ebp - 4], 0xc
call fcn.0046c6d2
add esp, 8
test eax, eax
jne 0x41b4b2
push 0x5814
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebx + 0x48]
call eax
jmp 0x41b4e5
push dword [ebp - 0x144]
mov eax, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebx + 0x48]
call eax
push 0x5809
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.00415690
mov edx, dword [ebp - 0x144]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b502
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x48]
call eax
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b8f0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b8f0
mov eax, dword [0x4c6eac]
test eax, eax
je 0x41b58f
cmp dword [eax + 4], 4
jl 0x41b58f
push 0
push 0
push 0x4a0d84
push 0x38c
push str.AsusUpdateDlg::OnFinal
push 4
lea ecx, [ebp - 0x140]
call fcn.00413ac0
mov esi, eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 8
push str.UPDATED
push ecx
call fcn.004160f0
mov ecx, dword [0x4c6eac]
add esp, 8
push esi
call fcn.004163e0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.004151d0
push 0x580d
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 9
call fcn.00415690
mov edx, dword [ebp - 0x144]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b8f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41b8f0
mov ecx, dword [ebx + 0x1d0]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x1cc]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41b609
mov ecx, ebx
call fcn.004207c0
mov esi, dword [ebp - 0x148]
jmp 0x41b937
test esi, esi
setne al
mov byte [ebx + 0x1f0], al
mov ecx, dword [0x4c6eac]
test ecx, ecx
je 0x41b69b
cmp dword [ecx + 4], 4
jl 0x41b69b
push 0
push 0
push 0x4a0d84
push 0x361
push str.AsusUpdateDlg::OnFinal
push 4
lea ecx, [ebp - 0x140]
call fcn.00413ac0
mov edi, eax
lea esi, [edi + 0x28]
mov byte [ebp - 4], 2
push str.NEARLY_UPDATED_and_reboot_is
push esi
call fcn.004160f0
mov edx, dword [esi]
add esp, 8
mov ecx, esi
mov edx, dword [edx + 4]
or dword [edx + esi + 0x14], 0x4000
movzx eax, byte [ebx + 0x1f0]
push eax
call fcn.00415f40
mov ecx, dword [0x4c6eac]
push edi
call fcn.004163e0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.004151d0
mov al, byte [ebx + 0x1f0]
or edi, 0xffffffff
test al, al
je 0x41b8a5
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xd8]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x580e
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push dword [eax]
lea ecx, [ebx + 0xd4]
mov byte [ebp - 4], 3
call fcn.0041f9f0
mov edx, dword [ebp - 0x144]
mov esi, eax
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41b701
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp esi, eax
jle 0x41b73d
mov dword [ebp - 0x144], 0
push esi
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.004178c0
push dword [ebp - 0x144]
lea ecx, [ebx + 0xd4]
call fcn.0041f9b0
mov byte [ebp - 4], 1
push 0x580f
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push dword [eax]
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 5
call fcn.0041f9f0
mov edx, dword [ebp - 0x144]
mov esi, eax
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41b784
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp esi, eax
jle 0x41b7c0
mov dword [ebp - 0x144], 0
push esi
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.004178c0
push dword [ebp - 0x144]
lea ecx, [ebx + 0x120]
call fcn.0041f9b0
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0xd8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call esi
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x124]
call esi
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x20]
sub esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
cmp ecx, esi
jne 0x41b805
mov eax, edx
sub eax, dword [ebp - 0x30]
cmp ecx, eax
je 0x41b85d
sub edx, dword [ebp - 0x30]
mov ecx, 0x320
sub ecx, edx
mov eax, 0x55555556
sub ecx, esi
imul ecx
push 1
push 0x24
push esi
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
mov edi, edx
shr edi, 0x1f
push 0x1f4
add edi, edx
push edi
push dword [ebx + 0xd8]
call esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x30]
push 1
push 0x24
push ecx
push 0x1f4
lea eax, [eax + edi*2]
push eax
push dword [ebx + 0x124]
call esi
or edi, 0xffffffff
push 0x5810
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebx + 0x48]
call eax
mov edx, dword [ebp - 0x144]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b899
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x48]
call eax
push 0x57ff
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00419410
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 7
call fcn.00415690
mov edx, dword [ebp - 0x144]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b8e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.0041f3b0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xa8]
call esi
push 5
push dword [ebx + 0xd8]
call esi
push 5
push dword [ebx + 0x124]
call esi
push 0
push dword [ebx + 0x44]
call esi
mov esi, dword [ebp - 0x148]
push esi
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x44]
call eax
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41b94c
mov ecx, dword [esi]
push esi
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.0044a466
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
int3