Function at 0x48c5c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5c7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0048bb60
test eax, eax
jne 0x48c5fd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
mov edx, 0x59d1dc
push ecx
push 0x59d1ec
mov ecx, eax
call fcn.004c1620
test eax, eax
js 0x48c9d9
push str.RootCIMV2
nop
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp - 0x18]
push edx
push 0
push 0
mov esi, dword [eax]
push 0x80
push 0
push 0
mov esi, dword [esi + 0xc]
push 0
push ecx
mov dword [ebp - 0x34], ecx
mov ecx, esi
push eax
call dword [0x55890c]
call esi
test eax, eax
js 0x48c9b1
lea eax, [edi + 0x8c]
push eax
push str.SELECT_Namespace_Provider_User_FROM_Msft_Providers_WHERE_HostProcessIdentifier_
call sym.ProcessHacker.exe_PhConcatStrings2
mov esi, eax
push 0x5946a4
mov dword [ebp - 0x30], esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x48c689
mov eax, dword [esi + 4]
jmp 0x48c68b
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0x30
mov esi, dword [eax]
push ecx
push edi
mov dword [ebp - 0x40], ecx
mov esi, dword [esi + 0x50]
mov ecx, esi
push eax
call dword [0x55890c]
call esi
test eax, eax
js 0x48c994
push dword [0x5cd4fc]
push 0xc
call sym.ProcessHacker.exe_PhCreateObject
mov ebx, eax
push 4
push 4
push dword [0x5cd55c]
mov dword [ebp - 0x38], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 1
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebx + 8], eax
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
mov esi, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55890c]
call esi
test eax, eax
js 0x48c994
lea esp, [esp]
cmp dword [ebp - 8], 0
je 0x48c991
push 0x10
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x28]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push str.Namespace
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55890c]
call esi
test eax, eax
js 0x48c7d6
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c781
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [ebp - 0x2c], eax
add eax, 0xa
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 8]
xor edx, edx
mov dword [esi], ecx
mov dword [esi + 4], eax
mov word [eax + ecx], dx
test ebx, ebx
je 0x48c7c9
push ecx
push ebx
push dword [esi + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [edi + 4], esi
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, ds:[ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x28]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push str.Provider
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55890c]
call esi
test eax, eax
js 0x48c868
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c814
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [ebp - 0x2c], eax
add eax, 0xa
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 8]
xor edx, edx
mov dword [esi], ecx
mov dword [esi + 4], eax
mov word [eax + ecx], dx
test ebx, ebx
je 0x48c85c
push ecx
push ebx
push dword [esi + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [edi], esi
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x28]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push str.User
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55890c]
call esi
test eax, eax
js 0x48c8f6
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c8a0
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [ebp - 0x2c], eax
add eax, 0xa
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 8]
xor edx, edx
mov dword [esi], ecx
mov dword [esi + 4], eax
mov word [eax + ecx], dx
test ebx, ebx
je 0x48c8e9
push ecx
push ebx
push dword [esi + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], esi
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48c930
mov edx, dword [edi]
test edx, edx
je 0x48c930
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
call fcn.0048c280
test eax, eax
js 0x48c930
mov eax, dword [ebp - 0x2c]
mov dword [edi + 8], eax
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
cmp ecx, eax
jne 0x48c95b
add eax, eax
mov dword [ebx + 4], eax
shl eax, 2
push eax
push dword [ebx + 8]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [ebx]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
mov dword [eax + ecx*4], edi
lea ecx, [ebp - 8]
inc dword [ebx]
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
mov esi, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x55890c]
call esi
test eax, eax
jns 0x48c720
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x48c9a6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x48c9b1
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48c9bf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x48c9d9
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48c9d9
call fcn.004c1f60
mov ecx, dword ds:[ebp - 0x10]
test ecx, ecx
je 0x48c9f4
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48ca0b
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x48ca28
mov ecx, dword ds:[edx]
push edx
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534c91
mov esp, ebp
pop ebp
ret