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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
cmp byte [ecx + 4], 1
jne 0x4a72e6
mov ebx, ecx
mov dword [esp + 0x34], 0
push 0x58
call fcn.006507be
add esp, 4
mov esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x8000002c
mov dword [esp + 0x2c], 0x2a
add eax, 0x54
mov ecx, str.SELECT__FROM_Win32_Process_WHERE_Name__
cmp esi, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x4a74d4
mov edi, dword [ebp + 0xc]
push 0x54
push str.SELECT__FROM_Win32_Process_WHERE_Name__
push esi
call fcn.00654250
add esp, 0xc
mov word [esi + 0x54], 0
movsx eax, byte [edi + 0xb]
mov esi, ebx
test eax, eax
jns 0x4a71a0
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea ebx, [esp + 0x28]
mov ecx, ebx
push eax
push edi
call fcn.005cdf60
xor eax, eax
inc eax
mov ecx, ebx
push eax
push 0x73931c
call fcn.005cdf60
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov al, byte [ebx + 0xb]
mov byte [esp + 4], al
mov esi, dword [ebx]
push 0xc
call fcn.006507be
add esp, 4
mov edi, eax
mov dword [eax + 4], 0
xor eax, eax
inc eax
mov dword [edi + 8], eax
push 0x739320
call fcn.00650610
mov dword [esp + 8], eax
mov dword [edi], eax
test edi, edi
je 0x4a74d6
cmp byte [esp + 4], 0
lea eax, [edi + 8]
mov dword [esp + 4], eax
cmovs ebx, esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax + 0x50]
call dword [0x7a29f4]
lea eax, [esp + 0x34]
push eax
push 0
push 0x30
push ebx
push dword [esp + 0x18]
push esi
call ecx
mov ebx, eax
mov eax, dword [esp + 4]
lock dec dword [eax]
jne 0x4a725e
mov eax, dword [edi]
test eax, eax
je 0x4a7245
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x4a7255
push eax
call fcn.0065082c
add esp, 4
push edi
call fcn.006507ee
add esp, 4
test ebx, ebx
js 0x4a7300
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [edi], eax
lea ebx, [esp + 0x10]
mov dword [ebx], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
call dword [0x7a29f4]
push ebx
push edi
push 1
push 0xffffffffffffffff
push esi
call ecx
test eax, eax
je 0x4a73ec
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4a72b2
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
cmp byte [esp + 0x33], 0
jns 0x4a72c5
push dword [esp + 0x28]
call fcn.006507ee
add esp, 4
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4a72e3
mov dword [esp + 0x34], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.00650d60
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor eax, eax
dec eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], str.ExecQuery_failed_with_error_
mov dword [esp + 0x3c], 0x1e
lea esi, [esp + 0x10]
push ebx
push esi
call fcn.005363e0
add esp, 8
movsx eax, byte [esi + 0xb]
test eax, eax
jns 0x4a733d
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
test eax, eax
js 0x4a74d4
sete al
test esi, esi
setne cl
or cl, al
je 0x4a74d4
lea eax, [esp + 0x38]
lea edi, [esp + 0x1c]
push 2
push eax
push edi
call fcn.005dd120
add esp, 0xc
cmp byte [esp + 0x1b], 0
jns 0x4a7384
push dword [esp + 0x10]
call fcn.006507ee
add esp, 4
push 2
call fcn.005e3f20
add esp, 4
test al, al
je 0x4a73d0
lea esi, [esp + 0x38]
mov ecx, esi
push 2
push 0xf1
push str.....operadesktopwindowsprocess_monitorprocess_monitor_impl.cc
call fcn.0053b2e0
movsx eax, byte [esp + 0x27]
test eax, eax
cmovs eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
cmovs edi, dword [esp + 0x1c]
push eax
push edi
push ecx
call fcn.005b72e0
add esp, 0xc
mov ecx, esi
call fcn.0053b7a0
cmp byte [esp + 0x27], 0
jns 0x4a72b2
push dword [esp + 0x1c]
call fcn.006507ee
add esp, 4
jmp 0x4a72b2
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x38]
jmp 0x4a746d
mov ecx, esi
push edi
call fcn.004a8080
mov dword [esi + 4], eax
cmp byte [esp + 0x53], 0
jns 0x4a7414
push dword [esp + 0x48]
call fcn.006507ee
add esp, 4
cmp byte [esp + 0x47], 0
jns 0x4a7427
push dword [esp + 0x3c]
call fcn.006507ee
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4a7445
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
call dword [0x7a29f4]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push 1
push 0xffffffffffffffff
push esi
call ecx
test eax, eax
jne 0x4a7294
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.004a74e0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0x4a73f6
test eax, eax
je 0x4a74d4
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 0xc], ecx
movsd xmm0, qword [ebx]
movsd qword [eax + 4], xmm0
xorps xmm1, xmm1
movsd qword [ebx], xmm1
xor edx, edx
mov dword [ebx + 8], edx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x18], ecx
movsd xmm0, qword [ebx + 0xc]
movsd qword [eax + 0x10], xmm0
movsd qword [ebx + 0xc], xmm1
mov dword [ebx + 0x14], edx
movups xmm0, xmmword [ebx + 0x1c]
movups xmmword [eax + 0x20], xmm0
add eax, 0x30
jmp 0x4a73fe
ud2
push 0x8007000e
call fcn.006507a0