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

Disassembly:
push 0xffffffffffffffff
push 0x1004c11b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007ff50]
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 [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x10003627
cmp eax, 0x80010119
jne 0x100038ae
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
lea edi, [esi + 4]
push edi
push 0x10055bac
push 0x17
push 0
push 0x10058670
call ebx
test eax, eax
jl 0x100038ae
mov edi, dword [edi]
push str.ROOTCIMV2
lea ecx, [esp + 0x34]
call fcn.10001de0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x28], 0
je 0x1000366b
mov eax, dword [eax]
jmp 0x1000366d
xor eax, eax
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
lea ebp, [esi + 8]
push ebp
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push edi
call edx
lea ecx, [esp + 0x30]
mov edi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.10003580
test edi, edi
jl 0x100038ae
mov eax, dword [ebp]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x100038ae
lea eax, [esi + 0xc]
push eax
push 0x10055bbc
push 0x17
push 0
push 0x10058690
call ebx
test eax, eax
jl 0x100038ae
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x28], 1
je 0x10003707
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, eax
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMProcessEventSink::constructor_class_GameMgr::GMWMIProcessEventHandler__]
mov edi, eax
jmp 0x10003709
xor edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
mov dword [esp + 0x2c], 0xffffffff
call eax
lea ebx, [esi + 0x18]
push edi
mov ecx, ebx
call fcn.100015b0
mov eax, dword [esi + 0xc]
mov ebx, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
lea edi, [esi + 0x10]
push edi
push ebx
push eax
call edx
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, dword [eax]
add esi, 0x14
push esi
push 0x100585b0
push edi
call ecx
mov dword [esp + 0x1c], 0
mov ebx, dword [ebp]
push str.SELECT_FROM_Win32_Process
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 2
call fcn.10001d50
mov edi, eax
push 0x10055cb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.10001d50
mov ecx, dword [edi]
test ecx, ecx
mov edx, dword [esi]
mov byte [esp + 0x28], 4
je 0x1000378f
mov ecx, dword [ecx]
jmp 0x10003791
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x1000379b
mov eax, dword [eax]
jmp 0x1000379d
xor eax, eax
mov edi, dword [ebx]
push edx
mov edx, dword [edi + 0x54]
push 0
push 0x80
push ecx
push eax
push ebx
call edx
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.10003580
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.10003580
test edi, edi
jl 0x100038ae
mov edi, dword [ebp]
push str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
lea ecx, [esp + 0x18]
call fcn.10001d50
mov ebx, eax
push 0x10055cb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 5
call fcn.10001d50
mov ecx, dword [ebx]
test ecx, ecx
mov edx, dword [esi]
mov byte [esp + 0x28], 6
je 0x10003807
mov ecx, dword [ecx]
jmp 0x10003809
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x10003813
mov eax, dword [eax]
jmp 0x10003815
xor eax, eax
mov ebx, dword [edi]
push edx
push 0
push 0x80
push ecx
push eax
mov eax, dword [ebx + 0x5c]
push edi
call eax
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.10003580
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.10003580
test edi, edi
jl 0x100038ae
mov ebp, dword [ebp]
push str.SELECT__FROM___InstanceDeletionEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
lea ecx, [esp + 0x1c]
call fcn.10001d50
mov edi, eax
push 0x10055cb0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 7
call fcn.10001d50
mov ecx, dword [edi]
test ecx, ecx
mov esi, dword [esi]
mov byte [esp + 0x28], 8
je 0x1000387b
mov ecx, dword [ecx]
jmp 0x1000387d
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x10003887
mov eax, dword [eax]
jmp 0x10003889
xor eax, eax
mov edx, dword [ebp]
push esi
push 0
push 0x80
push ecx
push eax
mov eax, dword [edx + 0x5c]
push ebp
call eax
lea ecx, [esp + 0x14]
call fcn.10003580
lea ecx, [esp + 0x18]
call fcn.10003580
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