Function at 0x40de70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x40e1f9
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
add eax, 0x10
push esi
mov dword [ebp - 4], eax
call fcn.00409f10
test al, al
jne 0x40dec9
test esi, esi
jne 0x40deaa
xor ecx, ecx
jmp 0x40debf
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40deb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0040a960
mov esi, dword [ebp - 4]
push ebx
push 0x4a18d0
push esi
call fcn.0046c6d2
add esp, 8
test eax, eax
jne 0x40dee3
xor ebx, ebx
jmp 0x40df2a
push 0x4a18ec
push esi
call fcn.0046c6d2
add esp, 8
test eax, eax
jne 0x40defa
lea ebx, [eax + 1]
jmp 0x40df2a
push 0x4a1908
push esi
call fcn.0046c6d2
add esp, 8
test eax, eax
jne 0x40df11
lea ebx, [eax + 2]
jmp 0x40df2a
push str.FORCE_UPDATE
push esi
call fcn.0046c6d2
add esp, 8
test eax, eax
jne 0x40e1d3
lea ebx, [eax + 3]
push str.079B2A6C_DC82_42E3_94B6_9B36E683D464
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
jne 0x40df4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40e1d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40df7e
push 0x4a1998
push 0x4a19b4
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40df7e
push 0
push 0x3f2
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
mov dword [ebp - 4], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x4c6e6c
push 0
call fcn.0040bd60
push 0x200
call fcn.0044a090
mov edi, eax
add esp, 4
test edi, edi
je 0x40dfe8
push ebx
lea ecx, [edi + 0xc]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_AsusUpdateDlg_.0
call fcn.00413030
lea ebx, [edi + 0xc]
test ebx, ebx
je 0x40e053
jmp 0x40dfef
xor edi, edi
mov ebx, 0xc
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x40dffc
cmp dword [eax + 4], 0
jne 0x40e053
test edi, edi
je 0x40e00e
lock inc dword [edi + 4]
mov eax, ebx
lock inc dword [edi + 8]
mov edx, edi
jmp 0x40e012
xor eax, eax
xor edx, edx
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edx
test ecx, ecx
je 0x40e02e
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40e02e
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x40e053
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x40e053
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40e053
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x40e079
call fcn.00449c25
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x40e079
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40e0de
push 0
push 0
push eax
call fcn.00449d27
lea eax, [ebx + 8]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40e203
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 0x10]
push 0x4c402c
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4c4044]
mov dword [ebx + 8], eax
push 0x4c402c
mov dword [0x4c4044], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x40d480
push dword [ebp + 8]
push 0x81
push dword [0x4c742c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test edi, edi
je 0x40e104
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x40e104
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x40e104
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [0x4c6d90]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4c6ea4]
test edi, edi
je 0x40e166
cmp dword [edi + 4], 0
jle 0x40e134
mov eax, dword [edi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [0x4c6ea4]
test edi, edi
je 0x40e166
mov eax, dword [edi]
test eax, eax
je 0x40e14d
push eax
call fcn.0046b65c
add esp, 4
mov dword [edi], 0
push 0xc
push edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0044a0c0
add esp, 8
push ebx
mov dword [0x4c6ea4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x4c6ea0]
test edi, edi
je 0x40e1bf
mov eax, dword [edi]
test eax, eax
je 0x40e196
push eax
call fcn.0046b65c
add esp, 4
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x40e1ad
push eax
call fcn.0046b65c
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
mov dword [edi + 8], 0
call fcn.0044a0c0
add esp, 8
mov ecx, 0x4c6e6c
call fcn.0040d590
call dword [sym.imp.ole32.dll_CoUninitialize]
xor edi, edi
jmp 0x40e1d6
or edi, 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
pop ebx
test eax, eax
jg 0x40e1ef
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004046b0
push 1
push 0xc0000005
call fcn.00407e70
int3