Function at 0x535db0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5ec880
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [esi + 0x1c], eax
call dword [0x610ad0]
test eax, eax
jge 0x535e07
cmp eax, 0x80010119
jne 0x536088
lea edi, [esi + 4]
push edi
push 0x62cba0
push 0x17
push 0
push 0x610d5c
call dword [0x610adc]
test eax, eax
jl 0x536088
mov ebp, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov edi, str.ROOTCIMV2
call fcn.004ea930
mov dword [esp + 0x28], 0
mov eax, dword [eax]
test eax, eax
je 0x535e4a
mov eax, dword [eax]
jmp 0x535e4c
xor eax, eax
mov edx, dword [ebp]
lea ebx, [esi + 8]
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [edx + 0xc]
push ebp
call eax
lea edi, [esp + 0x30]
mov ebp, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.004eaa90
test ebp, ebp
jl 0x536088
mov eax, dword [ebx]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [0x610af4]
test eax, eax
jl 0x536088
lea ebp, [esi + 0xc]
push ebp
push 0x62cbb0
push 0x17
xor edi, edi
push edi
push 0x610d7c
call dword [0x610adc]
cmp eax, edi
jl 0x536088
push 0x10
call fcn.005e694e
add esp, 4
cmp eax, edi
je 0x535ee0
mov ecx, dword [esi + 0x1c]
mov dword [eax + 4], edi
mov dword [eax], 0x62d7f0
mov dword [eax + 0xc], ecx
mov edi, eax
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x535ef7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x18], edi
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, edi
lea edi, [esi + 0x10]
push edi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx]
add esi, 0x14
push esi
push 0x610c9c
push edi
call edx
mov dword [esp + 0x1c], 0
push str.SELECT_FROM_Win32_Process
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 1
mov ebp, dword [ebx]
push eax
call fcn.00535a70
mov edi, eax
push 0x62cad4
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x30], 2
call fcn.00535a70
mov byte [esp + 0x28], 3
mov ecx, dword [edi]
test ecx, ecx
mov edx, dword [esi]
je 0x535f66
mov ecx, dword [ecx]
jmp 0x535f68
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x535f72
mov eax, dword [eax]
jmp 0x535f74
xor eax, eax
mov edi, dword [ebp]
push edx
mov edx, dword [edi + 0x54]
push 0
push 0x80
push ecx
push eax
push ebp
call edx
lea edi, [esp + 0x30]
mov ebp, eax
call fcn.004eaa90
lea edi, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004eaa90
test ebp, ebp
jl 0x536088
mov edi, dword [ebx]
push str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
lea eax, [esp + 0x18]
push eax
call fcn.00535a70
mov ebp, eax
push 0x62cad4
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x30], 4
call fcn.00535a70
mov byte [esp + 0x28], 5
mov ecx, dword [ebp]
test ecx, ecx
mov edx, dword [esi]
je 0x535fe1
mov ecx, dword [ecx]
jmp 0x535fe3
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x535fed
mov eax, dword [eax]
jmp 0x535fef
xor eax, eax
mov ebp, dword [edi]
push edx
mov edx, dword [ebp + 0x5c]
push 0
push 0x80
push ecx
push eax
push edi
call edx
lea edi, [esp + 0x30]
mov ebp, eax
call fcn.004eaa90
lea edi, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004eaa90
test ebp, ebp
jl 0x536088
mov ebx, dword [ebx]
push str.SELECT__FROM___InstanceDeletionEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
lea eax, [esp + 0x1c]
push eax
call fcn.00535a70
mov edi, eax
push 0x62cad4
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x30], 6
call fcn.00535a70
mov byte [esp + 0x28], 7
mov ecx, dword [edi]
test ecx, ecx
mov esi, dword [esi]
je 0x536056
mov ecx, dword [ecx]
jmp 0x536058
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x536062
mov eax, dword [eax]
jmp 0x536064
xor eax, eax
mov edx, dword [ebx]
push esi
push 0
push 0x80
push ecx
push eax
mov eax, dword [edx + 0x5c]
push ebx
call eax
lea edi, [esp + 0x14]
call fcn.004eaa90
lea edi, [esp + 0x18]
call fcn.004eaa90
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4