Function at 0x4c8040
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov edi, dword [ebp + 8]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0xe0], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
cmp byte [ecx + 4], 0
je 0x4c8376
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
push 0x60
call fcn.0064cd3e
add esp, 4
mov esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x80000030
mov dword [esp + 0x2c], 0x2a
push 0x54
push str.SELECT__FROM_Win32_Process_WHERE_Name__
push eax
call fcn.00650080
add esp, 0xc
mov word [esi + 0x54], 0
movzx eax, byte [edi + 0xb]
mov esi, ebx
test al, al
jns 0x4c80c2
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [esp + 0x28]
mov ecx, ebx
push eax
push edi
call fcn.005df8c0
mov ecx, ebx
push 0x745b2c
call fcn.0053be70
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov al, byte [ebx + 0xb]
mov byte [esp + 7], al
mov esi, dword [ebx]
push 0xc
call fcn.0064cd3e
add esp, 4
mov edi, eax
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], 1
push 0x745b30
call fcn.0064cb90
mov dword [esp + 8], eax
mov dword [edi], eax
test edi, edi
je 0x4c83d3
cmp byte [esp + 7], 0
cmovs ebx, esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax + 0x50]
call dword [section..00cfg]
lea eax, [esp + 0x34]
push eax
push 0
push 0x30
push ebx
push dword [esp + 0x18]
push esi
call ecx
mov ebx, eax
lock dec dword [edi + 8]
jne 0x4c817e
mov eax, dword [edi]
test eax, eax
je 0x4c815e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4c8175
push eax
call fcn.0064cdac
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.0064cd6e
add esp, 4
test ebx, ebx
js 0x4c82be
xor esi, esi
lea eax, [esp + 0x1c]
mov dword [eax], esi
lea ebx, [esp + 0x10]
mov dword [ebx], esi
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push ebx
lea eax, [esp + 0x20]
push eax
push 1
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
jne 0x4c8294
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.004c83e0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x4c821e
mov edx, dword [esp + 0x38]
mov dword [eax], edx
movsd xmm0, qword [ebx]
movsd qword [eax + 4], xmm0
mov edx, dword [ebx + 8]
mov dword [eax + 0xc], edx
mov dword [ebx + 4], esi
mov dword [ebx], esi
mov dword [ebx + 8], esi
lea edi, [esp + 0x48]
movsd xmm0, qword [edi]
movsd qword [eax + 0x10], xmm0
mov edx, dword [edi + 8]
mov dword [eax + 0x18], edx
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
movups xmm0, xmmword [ebx + 0x1c]
movups xmmword [eax + 0x20], xmm0
add eax, 0x30
mov dword [ecx + 4], eax
jmp 0x4c8237
push edi
call fcn.004c8ee0
cmp byte [esp + 0x53], 0
jns 0x4c8237
push dword [esp + 0x48]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0x47], 0
jns 0x4c824a
push dword [esp + 0x3c]
call fcn.0064cd6e
add esp, 4
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4c8268
mov dword [esp + 0x1c], 0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push edi
call ecx
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push 1
push 0xffffffffffffffff
push edi
call ecx
test eax, eax
lea edi, [esp + 0x38]
je 0x4c81c0
mov esi, dword [esp + 0x1c]
test esi, esi
mov edi, dword [ebp + 8]
je 0x4c8345
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
jmp 0x4c8345
xor eax, eax
dec eax
lea ecx, [esp + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea edi, [esp + 0x38]
mov dword [edi], str.ExecQuery_failed_with_error_
mov dword [edi + 4], 0x1e
lea esi, [esp + 0x10]
push ebx
mov ebx, ecx
push esi
call fcn.00546140
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
mov ecx, dword [esi]
cmovns ecx, esi
mov dword [edi + 8], ecx
cmovs eax, dword [esi + 4]
mov dword [edi + 0xc], eax
push edi
push 2
push ebx
call fcn.005eaea0
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x4c8321
push dword [esp + 0x10]
call fcn.0064cd6e
add esp, 4
push 2
call fcn.005e42f0
add esp, 4
test al, al
mov edi, dword [ebp + 8]
jne 0x4c8390
cmp byte [esp + 0x27], 0
jns 0x4c8345
push dword [esp + 0x1c]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x4c8358
push dword [esp + 0x28]
call fcn.0064cd6e
add esp, 4
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4c8376
mov dword [esp + 0x34], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [esp + 0xe0]
xor ecx, ebp
call fcn.0064d372
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea esi, [esp + 0x38]
mov ecx, esi
push 2
push 0xf0
push str.....operadesktopwindowsprocess_monitorprocess_monitor_impl.cc
call fcn.005417e0
movzx eax, byte [esp + 0x27]
test al, al
cmovs eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
cmovs ebx, dword [esp + 0x1c]
push eax
push ebx
push ecx
call fcn.0067fe70
add esp, 0xc
mov ecx, esi
call fcn.00541c20
jmp 0x4c8332
push 0x8007000e
call fcn.0064cd20
int3