Function at 0x4a7810
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe0
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 1
jne 0x4a79d4
mov edi, ecx
mov ebx, dword [ebp + 8]
add ecx, 0x10
lea eax, [ebp - 0x20]
mov dword [eax], ebx
lea edx, [ebp - 0xc8]
lea esi, [ebp - 0xbc]
push edx
push eax
push 0x73803c
push ebx
push esi
call fcn.004a82c0
mov ecx, dword [esi]
cmp dword [ecx + 0x1c], 0
mov dword [ebp - 0xcc], ecx
je 0x4a7a0c
mov edi, dword [ebp + 0xc]
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
cmp esi, eax
jb 0x4a792a
add ecx, 0x20
mov edx, dword [ecx]
sub esi, edx
sar esi, 2
lea ebx, [esi + 1]
cmp ebx, 0x40000000
jae 0x4a7ef2
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp ecx, ebx
cmovbe ecx, ebx
cmp eax, 0x7ffffffc
mov ebx, 0x3fffffff
cmovb ebx, ecx
test ebx, ebx
je 0x4a7926
cmp ebx, 0x40000000
jae 0x4a7f01
lea eax, [ebx*4]
push eax
call fcn.006507be
add esp, 4
shl esi, 2
add esi, eax
mov ecx, dword [ebp - 0xcc]
je 0x4a7ef0
lea ebx, [eax + ebx*4]
mov dword [esi], edi
lea edi, [esi + 4]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [ecx + 0x24]
sub ecx, eax
sub esi, ecx
push ecx
push eax
push esi
call fcn.00654250
mov ecx, dword [ebp - 0xcc]
add esp, 0xc
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], edi
mov dword [ecx + 0x28], ebx
test eax, eax
je 0x4a7939
push eax
call fcn.006507ee
mov ecx, dword [ebp - 0xcc]
add esp, 4
jmp 0x4a7939
xor eax, eax
jmp 0x4a78cb
test esi, esi
je 0x4a7ef0
mov dword [esi], edi
add esi, 4
mov edi, esi
mov dword [ecx + 0x24], edi
mov bl, 1
jmp 0x4a79d6
push 2
call fcn.005e3f20
add esp, 4
test al, al
je 0x4a798f
lea esi, [ebp - 0xbc]
mov ecx, esi
push 2
push 0x122
push str.....operadesktopwindowsprocess_monitorprocess_monitor_impl.cc
call fcn.0053b2e0
lea eax, [ebp - 0xb4]
push 0x2f
push str.ExecNotificationQueryAsync_failed_with_error_
push eax
call fcn.005b72e0
add esp, 0xc
mov ecx, eax
push ebx
call fcn.0047ce80
mov ecx, esi
call fcn.0053b7a0
cmp byte [ebp - 0x15], 0
jns 0x4a79a0
push dword [ebp - 0x20]
call fcn.006507ee
add esp, 4
mov esi, dword [ebp - 0x14]
test esi, esi
mov edi, dword [ebp - 0xe8]
je 0x4a79c2
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
test edi, edi
je 0x4a79d4
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push edi
call ecx
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
add esp, 0xe0
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x7bc788], 1
jmp 0x4a7a92
push dword [edx + 4]
push dword [edx]
call fcn.005cde60
jmp 0x4a7a6f
lea eax, [ecx + 0x1c]
mov dword [ebp - 0xd4], eax
push 0x74e632
push 0x1c
call fcn.00546440
add esp, 8
mov ebx, eax
test eax, eax
je 0x4a7a95
mov dword [ebx + 8], 1
mov dword [ebx], 0x732680
mov esi, dword [0x7adefc]
test esi, esi
je 0x4a7a4f
mov eax, dword [esi]
mov ecx, dword [eax + 4]
call dword [0x7a29f4]
push esi
call ecx
mov dword [ebx], 0x732660
lea ecx, [ebx + 0xc]
mov edx, dword [ebp + 8]
cmp byte [edx + 0xb], 0
js 0x4a7a00
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x7b4788]
bt ecx, eax
jae 0x4a79ef
push edi
call fcn.00545e50
add esp, 4
mov dword [ebx + 0x18], edi
lea esi, [ebp - 0x14]
mov dword [esi], 0
mov dword [ebp - 0xd8], edi
mov edi, dword [edi + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
call dword [0x7a29f4]
push esi
push ebx
push edi
call ecx
mov edi, dword [ebp - 0xd4]
mov esi, dword [edi]
test esi, esi
je 0x4a7ad7
mov dword [edi], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [0x7a29f4]
push edi
push 0x726430
push ebx
call ecx
push 0xe8
call fcn.006507be
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], reloc.WS2_32.dll_WSACleanup
mov dword [ebp - 0x1c], 0x72
add eax, 0xe4
mov ecx, str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_ProcessAND_TargetInstance.Name__
cmp esi, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x4a7ef0
mov dword [ebp - 0xe8], ebx
push 0xe4
push str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_ProcessAND_TargetInstance.Name__
push esi
call fcn.00654250
add esp, 0xc
mov word [esi + 0xe4], 0
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + 0xb]
mov edx, ecx
test eax, eax
mov esi, dword [ebp - 0xd8]
jns 0x4a7b60
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lea ebx, [ebp - 0x20]
mov ecx, ebx
push eax
push edx
call fcn.005cdf60
xor edi, edi
inc edi
mov ecx, ebx
push edi
push 0x73931c
call fcn.005cdf60
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov al, byte [ebx + 0xb]
mov byte [ebp - 0xdc], al
mov eax, dword [ebx]
mov dword [ebp - 0xd0], eax
push 0xc
call fcn.006507be
add esp, 4
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], edi
push 0x739320
call fcn.00650610
mov dword [ebp - 0xec], eax
mov dword [esi], eax
test esi, esi
je 0x4a7ef7
cmp byte [ebp - 0xdc], 0
lea eax, [esi + 8]
mov dword [ebp - 0xdc], eax
cmovs ebx, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xe4]
mov eax, dword [edi]
mov ecx, dword [eax + 0x5c]
call dword [0x7a29f4]
push dword [ebp - 0xe0]
push 0
push 0x80
push ebx
push dword [ebp - 0xec]
push edi
call ecx
mov ebx, eax
mov eax, dword [ebp - 0xdc]
lock dec dword [eax]
mov edi, dword [ebp - 0xd8]
jne 0x4a7c52
mov eax, dword [esi]
test eax, eax
je 0x4a7c39
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4a7c49
push eax
call fcn.0065082c
add esp, 4
push esi
call fcn.006507ee
add esp, 4
test ebx, ebx
js 0x4a7943
push 0xe8
call fcn.006507be
add esp, 4
mov esi, eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc0], reloc.WS2_32.dll_WSACleanup
mov dword [ebp - 0xc4], 0x72
add eax, 0xe4
mov ecx, str.SELECT__FROM___InstanceDeletionEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_ProcessAND_TargetInstance.Name__
cmp esi, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x4a7ef0
push 0xe4
push str.SELECT__FROM___InstanceDeletionEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_ProcessAND_TargetInstance.Name__
push esi
call fcn.00654250
add esp, 0xc
mov word [esi + 0xe4], 0
mov ecx, dword [ebp + 8]
movsx eax, byte [ecx + 0xb]
mov esi, edi
test eax, eax
js 0x4a7ccc
mov edx, ecx
jmp 0x4a7cd1
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lea ebx, [ebp - 0xc8]
mov ecx, ebx
push eax
push edx
call fcn.005cdf60
mov ecx, ebx
xor edi, edi
inc edi
push edi
push 0x73931c
call fcn.005cdf60
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov al, byte [ebx + 0xb]
mov byte [ebp - 0xd0], al
mov eax, dword [ebx]
mov dword [ebp - 0xe4], eax
push 0xc
call fcn.006507be
add esp, 4
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax + 8], edi
push 0x739320
call fcn.00650610
mov dword [ebp - 0xe0], eax
mov dword [esi], eax
test esi, esi
je 0x4a7ef7
cmp byte [ebp - 0xd0], 0
lea eax, [esi + 8]
mov dword [ebp - 0xd0], eax
cmovs ebx, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xd8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x5c]
call dword [0x7a29f4]
push dword [ebp - 0xd4]
push 0
push 0x80
push ebx
push dword [ebp - 0xe0]
push edi
call ecx
mov edi, eax
mov eax, dword [ebp - 0xd0]
lock dec dword [eax]
mov ebx, dword [ebp - 0xe8]
jne 0x4a7dc6
mov eax, dword [esi]
test eax, eax
je 0x4a7dad
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4a7dbd
push eax
call fcn.0065082c
add esp, 4
push esi
call fcn.006507ee
add esp, 4
test edi, edi
mov ecx, dword [ebp - 0xcc]
js 0x4a7e47
cmp byte [ebp - 0xbd], 0
jns 0x4a7ded
push dword [ebp - 0xc8]
call fcn.006507ee
mov ecx, dword [ebp - 0xcc]
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x4a7e04
push dword [ebp - 0x20]
call fcn.006507ee
mov ecx, dword [ebp - 0xcc]
add esp, 4
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4a7e26
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
mov ecx, dword [ebp - 0xcc]
test ebx, ebx
je 0x4a7869
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push ebx
call ecx
mov ecx, dword [ebp - 0xcc]
jmp 0x4a7869
push 2
call fcn.005e3f20
add esp, 4
test al, al
je 0x4a7e93
lea esi, [ebp - 0xbc]
mov ecx, esi
push 2
push 0x130
push str.....operadesktopwindowsprocess_monitorprocess_monitor_impl.cc
call fcn.0053b2e0
lea eax, [ebp - 0xb4]
push 0x2f
push str.ExecNotificationQueryAsync_failed_with_error_
push eax
call fcn.005b72e0
add esp, 0xc
mov ecx, eax
push edi
call fcn.0047ce80
mov ecx, esi
call fcn.0053b7a0
cmp byte [ebp - 0xbd], 0
jns 0x4a7eaa
push dword [ebp - 0xc8]
call fcn.006507ee
add esp, 4
cmp byte [ebp - 0x15], 0
jns 0x4a7ebb
push dword [ebp - 0x20]
call fcn.006507ee
add esp, 4
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4a7ed7
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push esi
call ecx
test ebx, ebx
je 0x4a79d4
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [0x7a29f4]
push ebx
jmp 0x4a79d2
ud2
call fcn.0047f8b0
push 0x8007000e
call fcn.006507a0
call fcn.006837b0
int3