Function at 0x413970
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov dword [esp + 4], ecx
mov eax, dword [0x5c1040]
xor eax, ebp
mov dword [esp + 0x108], eax
push str.Opera_Browser_Assistant_Main_Window
push str.Opera_Browser_Assistant_Main_Window_Class
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
setne bl
je 0x4139e2
xor ecx, ecx
push ecx
push ecx
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 0x14
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push str.Opera_Browser_Assistant_Main_Window
push str.Opera_Browser_Assistant_Main_Window_Class
call edi
test eax, eax
je 0x4139e2
push 0
push 0x186a0
call fcn.0043de70
add esp, 8
dec esi
jne 0x4139c0
sub esp, 0x24
movsd xmm0, qword [0x59ae10]
movups xmmword [esp + 0x10], xmm0
movq xmm0, qword [0x59ae20]
movdqu xmmword [esp], xmm0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x413bc7
mov byte [esp + 3], bl
xor ebx, ebx
lea eax, [esp + 0x5c]
mov dword [eax], ebx
push eax
push 0x58b020
push 1
push ebx
push 0x58b030
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x413cb4
mov dword [esp + 0x58], ebx
mov edi, dword [esp + 0x5c]
push 0xc
call fcn.004f190e
add esp, 4
mov esi, eax
mov dword [eax + 4], ebx
mov dword [eax + 8], 1
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x414320
test esi, esi
je 0x414320
mov ebx, eax
lea eax, [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call dword [0x5bb424]
sub esp, 0x24
lea eax, [esp + 0x7c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], edi
call ecx
mov ebx, eax
mov eax, dword [esp + 8]
lock dec dword [eax]
jne 0x413aeb
mov eax, dword [esi]
test eax, eax
je 0x413ad2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x413ae2
push eax
call fcn.004f197c
add esp, 4
push esi
call fcn.004f193e
add esp, 4
test ebx, ebx
js 0x413c1a
mov eax, dword [esp + 0x58]
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
movdqa xmm0, xmmword [0x59ae30]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 3
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x413d13
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
pxor xmm0, xmm0
movq qword [esp + 0x48], xmm0
mov edx, dword [esp + 4]
lea esi, [edx + 4]
movsx eax, byte [edx + 0xf]
mov ecx, esi
test eax, eax
jns 0x413b5c
mov eax, dword [edx + 8]
test eax, eax
js 0x414311
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x413b68
test eax, eax
jne 0x41430a
lea edi, [esp + 0x48]
push edi
push 2
push 0x59b46a
push 1
push 0x59b470
push eax
push ecx
call fcn.0043e9a0
add esp, 0x1c
test al, al
jne 0x413d61
cmp byte [esp + 0x53], 0
jns 0x413ba0
push dword [esp + 0x48]
call fcn.004f193e
add esp, 4
mov esi, dword [esp + 0x54]
test esi, esi
je 0x413c62
mov dword [esp + 0x54], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x5bb424]
push esi
call ecx
jmp 0x413c62
mov esi, eax
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x413c9e
lea edi, [esp + 0x60]
mov ecx, edi
push 2
push 0x1fb
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x2e
push str.Failed_to_initialize_security._Error_code__0x
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411da0
mov ecx, edi
call fcn.00450200
jmp 0x413c9e
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x413c62
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x20c
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x22
push str.Could_not_connect._Error_code__0x
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00411da0
mov ecx, esi
call fcn.00450200
mov esi, dword [esp + 0x58]
test esi, esi
je 0x413c80
mov dword [esp + 0x58], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x5bb424]
push esi
call ecx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x413c9e
mov dword [esp + 0x5c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x5bb424]
push esi
call ecx
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.004f1eb0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x413c80
lea edi, [esp + 0x60]
mov ecx, edi
push 2
push 0x203
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x26
push str.Failed_to_create_IWbemLocator_object.
push eax
call fcn.00499a00
add esp, 0xc
push 0xd
push str.Err_code__0x
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411da0
mov ecx, edi
call fcn.00450200
jmp 0x413c80
mov esi, eax
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x413c62
lea edi, [esp + 0x60]
mov ecx, edi
push 2
push 0x214
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x2c
push str.Could_not_set_proxy_blanket._Error_code__0x
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push esi
call fcn.00411da0
mov ecx, edi
jmp 0x413c5d
xor ebx, ebx
dec ebx
lea ecx, [esp + 0x3c]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
push 0x59b474
call fcn.00416000
movsx edx, byte [esp + 0x53]
mov ecx, edx
test edx, edx
jns 0x413d89
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ebx, [ecx + 2]
cmp ebx, 0x7ffffff8
jae 0x41432f
cmp ebx, 4
jbe 0x41429f
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
or ebx, 3
inc ebx
js 0x41432a
lea eax, [ebx + ebx]
push eax
call fcn.004f190e
add esp, 4
or ebx, 0x80000000
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test dl, dl
jns 0x413df5
mov edi, dword [esp + 0x48]
lea ebx, [eax + ecx*2]
cmp edi, eax
jb 0x413e04
cmp ebx, edi
ja 0x414303
test ecx, ecx
je 0x413e15
add ecx, ecx
push ecx
push edi
push eax
call fcn.004f53a0
add esp, 0xc
cmp ebx, 0x59b46a
ja 0x413e2b
lea eax, [ebx + 4]
cmp eax, 0x59b46a
ja 0x414303
mov dword [ebx], 0x5c005c
mov word [ebx + 4], 0
lea ecx, [esp + 0x20]
push 0x15
push 0x59afdc
call fcn.004a97c0
movsd xmm0, qword [eax]
lea ecx, [esp + 0x30]
movsd qword [ecx], xmm0
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
xor edi, edi
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
push 1
push 0x59b4de
call fcn.004a97c0
movq xmm0, qword [eax]
lea ebx, [esp + 0x60]
movq qword [ebx], xmm0
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov dword [eax + 8], edi
pxor xmm0, xmm0
movq qword [eax], xmm0
movsx eax, byte [ebx + 0xb]
test eax, eax
cmovs eax, dword [ebx + 4]
mov edx, dword [ebx]
cmovns edx, ebx
lea edi, [esp + 0x3c]
mov ecx, edi
push eax
push edx
call fcn.004a97c0
cmp byte [ebx + 0xb], 0
jns 0x413ebc
push dword [esp + 0x60]
call fcn.004f193e
add esp, 4
cmp byte [esp + 0x3b], 0
jns 0x413ecf
push dword [esp + 0x30]
call fcn.004f193e
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x413ee2
push dword [esp + 0x20]
call fcn.004f193e
add esp, 4
cmp byte [esp + 0x47], 0
jns 0x413eed
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
push 0xc
call fcn.004f190e
add esp, 4
mov ebx, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 4], ebx
mov dword [ebx], eax
test edi, edi
je 0x413f28
test eax, eax
je 0x414320
mov dword [esp + 0xc], eax
cmp dword [esp + 4], 0
je 0x414320
push 0xc
call fcn.004f190e
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push 0x59b4e2
call fcn.004f1760
mov dword [esp + 0x18], eax
mov dword [edi], eax
test edi, edi
je 0x414320
mov eax, dword [esp + 4]
add eax, 8
mov dword [esp + 0x14], eax
lea eax, [edi + 8]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x50]
call dword [0x5bb424]
lea eax, [esp + 0x54]
push eax
push 0
push 0x30
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebx
call ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
lock dec dword [eax]
mov bl, byte [esp + 3]
jne 0x413fdb
mov eax, dword [edi]
test eax, eax
je 0x413fc2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x413fd2
push eax
call fcn.004f197c
add esp, 4
push edi
call fcn.004f193e
add esp, 4
mov eax, dword [esp + 0x14]
lock dec dword [eax]
jne 0x414014
mov edi, dword [esp + 4]
mov eax, dword [edi]
test eax, eax
je 0x413ffb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41400b
push eax
call fcn.004f197c
add esp, 4
push edi
call fcn.004f193e
add esp, 4
mov edi, dword [esp + 8]
test edi, edi
js 0x41417a
mov dword [esp + 4], esi
xor eax, eax
mov dword [esp + 0x20], eax
lea esi, [esp + 0x1c]
mov dword [esi], eax
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [0x5bb424]
push esi
lea eax, [esp + 0x24]
push eax
push 1
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
je 0x4141c4
test bl, 1
je 0x414140
xor ebx, ebx
dec ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 4]
push 0x15
push 0x59afdc
lea eax, [esp + 0x38]
push eax
call fcn.004bd830
lea eax, [esp + 0x60]
push eax
call fcn.004b0580
add esp, 4
mov esi, 0x4c4b40
add esi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
adc eax, 0
mov edi, SysReAllocString
cmovno edi, eax
cmovo esi, ebx
lea ebx, [esp + 0x60]
lea eax, [esp + 0x30]
push eax
call fcn.0053b420
add esp, 4
test al, al
jne 0x4140f7
push 0
push 0xc350
call fcn.0043de70
add esp, 8
push ebx
call fcn.004b0580
add esp, 4
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x60], esi
sbb eax, edi
jl 0x4140ad
lea eax, [esp + 0x30]
push eax
call fcn.0053b420
add esp, 4
test al, al
je 0x4142ba
push 0
call fcn.004bb790
add esp, 4
test al, al
je 0x414137
lea esi, [esp + 0x60]
mov ecx, esi
push 0
push 0x24e
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x2d
push str.browser_assistant.exe_should_be_writable_now.
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
call fcn.00450200
lea ecx, [esp + 0x30]
call fcn.004bcaf0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41415e
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x5bb424]
push esi
call ecx
cmp byte [esp + 0x47], 0
jns 0x413b8d
push dword [esp + 0x3c]
call fcn.004f193e
add esp, 4
jmp 0x413b8d
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x41415e
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x229
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x1e
push str.ExecQuery_failed_with_error_
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411da0
mov ecx, esi
call fcn.00450200
jmp 0x41415e
lea ecx, [esp + 0x60]
jmp 0x414211
mov dword [esp + 0x20], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [0x5bb424]
push edi
call ecx
mov ecx, esi
call fcn.0043c7a0
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [0x5bb424]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
push 1
push 0xffffffffffffffff
push edi
call ecx
mov ecx, esi
test eax, eax
jne 0x414054
mov byte [esp + 3], bl
mov dword [esp + 0x30], 0xffffffff
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x60], 0
mov ebx, dword [esp + 0x20]
mov esi, ecx
call fcn.004194a0
mov edi, eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [0x5bb424]
xor edx, edx
push edx
lea eax, [esp + 0x34]
push eax
push edi
push edx
push str.ProcessId
push ebx
mov bl, byte [esp + 0x1b]
call ecx
cmp word [esp + 0x60], 1
je 0x4141e0
push dword [esp + 0x68]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x41428c
mov edi, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
mov bl, 1
test edi, edi
jne 0x4141ca
jmp 0x4141e0
pxor xmm0, xmm0
lea eax, [esp + 0x20]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [eax + 0xb], bl
jmp 0x413ded
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x414137
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x24b
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.0044fd30
lea eax, [esp + 0x68]
push 0x33
push str.After_closing_assistant_its_executable_is_still_not
push eax
call fcn.00499a00
add esp, 0xc
push 8
push str.writable
jmp 0x414127
push str....._third_partylibc_srcinclude__stringchar_traits.h:223:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
jmp 0x414316
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x414316
push str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x59a9a3
call fcn.00523170
push 0x8007000e
call fcn.004f18f0
call fcn.005221d0
lea ecx, [esp + 0x20]
call fcn.005221b0
int3