Function at 0x42cd80
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov dword [esp + 0x10], ecx
mov eax, dword [0x5f3024]
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 0x42cdf2
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 0x42cdf2
push 0
push 0x186a0
call fcn.00561e60
add esp, 8
dec esi
jne 0x42cdd0
sub esp, 0x24
movaps xmm0, xmmword [0x5d4350]
movups xmmword [esp + 0x10], xmm0
movdqa xmm0, xmmword [0x5d4360]
movdqu xmmword [esp], xmm0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x42cf5e
mov byte [esp + 0xf], bl
xor ebx, ebx
lea eax, [esp + 0x5c]
mov dword [eax], ebx
push eax
push 0x5af020
push 1
push ebx
push 0x5af030
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42cfb1
mov dword [esp + 0x58], ebx
mov edi, dword [esp + 0x5c]
push 0xc
call fcn.0050d4fe
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 0x42d613
test esi, esi
je 0x42d613
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
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
lock dec dword [esi + 8]
jne 0x42cef0
mov eax, dword [esi]
test eax, eax
je 0x42ced7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42cee7
push eax
call fcn.0050d56c
add esp, 4
push esi
call fcn.0050d52e
add esp, 4
test ebx, ebx
js 0x42d014
mov eax, dword [esp + 0x58]
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
movdqa xmm0, xmmword [0x5d4370]
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 0x42d05d
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov edx, dword [esp + 0x10]
lea esi, [edx + 4]
movzx eax, byte [edx + 0xf]
test al, al
jns 0x42d0ad
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
jmp 0x42d0b2
mov esi, eax
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d144
lea edi, [esp + 0x60]
mov ecx, edi
push 2
push 0x1d5
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x2e
push str.Failed_to_initialize_security._Error_code__0x
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push esi
call fcn.0042aaf0
mov ecx, edi
call fcn.00458c70
jmp 0x42d144
mov esi, eax
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d126
lea edi, [esp + 0x60]
mov ecx, edi
push 2
push 0x1dd
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x26
push str.Failed_to_create_IWbemLocator_object.
push eax
call fcn.0053f210
add esp, 0xc
push 0xd
push str.Err_code__0x
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push esi
call fcn.0042aaf0
mov ecx, edi
call fcn.00458c70
jmp 0x42d126
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d108
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x1e6
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x22
push str.Could_not_connect._Error_code__0x
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0042aaf0
mov ecx, esi
jmp 0x42d0a6
mov esi, eax
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d108
lea edi, [esp + 0x60]
mov ecx, edi
push 2
push 0x1ee
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x2c
push str.Could_not_set_proxy_blanket._Error_code__0x
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push esi
call fcn.0042aaf0
mov ecx, edi
call fcn.00458c70
jmp 0x42d108
and eax, 0x7f
mov ecx, esi
lea ebx, [esp + 0x48]
push ebx
push 2
push 0x5d49dc
push 1
push 0x5d49e2
push eax
push ecx
call fcn.00468df0
add esp, 0x1c
test al, al
jne 0x42d15a
cmp byte [esp + 0x53], 0
jns 0x42d0ea
push dword [esp + 0x48]
call fcn.0050d52e
add esp, 4
mov esi, dword [esp + 0x54]
test esi, esi
je 0x42d108
mov dword [esp + 0x54], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov esi, dword [esp + 0x58]
test esi, esi
je 0x42d126
mov dword [esp + 0x58], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x42d144
mov dword [esp + 0x5c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.0050db32
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], esi
xor eax, eax
dec eax
lea edi, [esp + 0x3c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
push str.SELECT__FROM_Win32_Process_WHERE_ExecutablePath__
call fcn.0053f3e0
lea esi, [esp + 0x24]
push 0x5d49dc
push ebx
push esi
call fcn.0042edf0
add esp, 0xc
mov ecx, esi
push 0x15
push 0x5d4566
call fcn.00451980
mov edx, dword [eax + 8]
lea ecx, [esp + 0x30]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
push 1
push 0x5d4a50
call fcn.00451980
mov ecx, dword [eax + 8]
lea edx, [esp + 0x60]
mov dword [edx + 8], ecx
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov ebx, edx
movzx eax, byte [edx + 0xb]
mov edx, eax
and edx, 0x7f
test al, al
cmovs edx, dword [ebx + 4]
mov eax, dword [ebx]
cmovns eax, ebx
mov ecx, edi
push edx
push eax
call fcn.00451980
cmp byte [ebx + 0xb], 0
jns 0x42d20d
push dword [esp + 0x60]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x3b], 0
jns 0x42d220
push dword [esp + 0x30]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x2f], 0
jns 0x42d233
push dword [esp + 0x24]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x47], 0
jns 0x42d23e
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
push 0xc
call fcn.0050d4fe
add esp, 4
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test edi, edi
je 0x42d271
test eax, eax
je 0x42d613
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
test esi, esi
je 0x42d613
mov dword [esp + 0x18], esi
push 0xc
call fcn.0050d4fe
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 1
push 0x5d4a54
call fcn.0050d350
mov dword [edi], eax
test edi, edi
je 0x42d613
mov ebx, eax
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov ecx, dword [eax + 0x50]
call dword [section..00cfg]
lea eax, [esp + 0x54]
push eax
push 0
push 0x30
push dword [esp + 0x28]
push ebx
push esi
call ecx
mov dword [esp + 0x10], eax
lock dec dword [edi + 8]
mov bl, byte [esp + 0xf]
mov esi, dword [esp + 0x18]
jne 0x42d313
mov eax, dword [edi]
test eax, eax
je 0x42d2fa
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x42d30a
push eax
call fcn.0050d56c
add esp, 4
push edi
call fcn.0050d52e
add esp, 4
lock dec dword [esi + 8]
mov edi, dword [esp + 0x10]
jne 0x42d349
mov eax, dword [esi]
test eax, eax
je 0x42d330
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42d340
push eax
call fcn.0050d56c
add esp, 4
push esi
call fcn.0050d52e
add esp, 4
test edi, edi
js 0x42d532
xor eax, eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov dword [esi], eax
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push esi
lea eax, [esp + 0x28]
push eax
push 1
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
jne 0x42d44d
lea ecx, [esp + 0x60]
mov byte [esp + 0xf], bl
mov dword [esp + 0x30], 0xffffffff
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x60], 0
mov edi, dword [esp + 0x24]
mov esi, ecx
call fcn.00432ac0
mov ebx, eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
xor edx, edx
push edx
lea eax, [esp + 0x34]
push eax
push ebx
mov bl, byte [esp + 0x1b]
push edx
push str.ProcessId
push edi
call ecx
cmp word [esp + 0x60], 1
je 0x42d41c
push dword [esp + 0x68]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x42d3fc
mov ebx, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x24]
mov bl, 1
test edi, edi
je 0x42d41c
mov dword [esp + 0x24], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push edi
call ecx
mov ecx, esi
call fcn.0046aa50
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push 1
push 0xffffffffffffffff
push edi
call ecx
mov ecx, esi
test eax, eax
je 0x42d385
test bl, 1
je 0x42d5d9
xor eax, eax
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
push 0x15
push 0x5d4566
lea eax, [esp + 0x38]
push eax
call fcn.004cf1f0
lea ebx, [esp + 0x60]
push ebx
call fcn.004dace0
add esp, 4
mov eax, dword [esp + 0x64]
mov esi, 0x4c4b40
add esi, dword [esp + 0x60]
adc eax, 0
seto cl
mov edi, eax
sar edi, 0x1f
test cl, cl
cmovne esi, edi
add edi, 0x80000000
test cl, cl
cmove edi, eax
lea eax, [esp + 0x30]
push eax
call fcn.00560810
add esp, 4
test al, al
jne 0x42d4f9
push 0
push 0xc350
call fcn.00561e60
add esp, 8
push ebx
call fcn.004dace0
add esp, 4
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x60], esi
sbb eax, edi
jl 0x42d4af
lea eax, [esp + 0x30]
push eax
call fcn.00560810
add esp, 4
test al, al
je 0x42d580
push 0
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d5d0
lea esi, [esp + 0x60]
mov ecx, esi
push 0
push 0x228
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x2d
push str.browser_assistant.exe_should_be_writable_now.
jmp 0x42d5c0
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d5f7
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x203
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x1e
push str.ExecQuery_failed_with_error_
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042aaf0
mov ecx, esi
call fcn.00458c70
jmp 0x42d5f7
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x42d5d0
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x225
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x68]
push 0x33
push str.After_closing_assistant_its_executable_is_still_not
push eax
call fcn.0053f210
add esp, 0xc
push 8
push str.writable
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, esi
call fcn.00458c70
lea ecx, [esp + 0x30]
call fcn.004ceef0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x42d5f7
mov dword [esp + 0x24], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
cmp byte [esp + 0x47], 0
jns 0x42d0d7
push dword [esp + 0x3c]
call fcn.0050d52e
add esp, 4
jmp 0x42d0d7
push 0x8007000e
call fcn.0050d4e0
int3