Function at 0x48bcc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5c7004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0048bb60
nop
test eax, eax
jne 0x48bd1c
mov eax, 0x7e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1c]
mov edx, 0x59d1dc
push ecx
push 0x59d1ec
mov ecx, eax
call fcn.004c1620
mov esi, eax
test esi, esi
js 0x48c216
push str.RootCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x18]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
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 - 0x50], ecx
mov ecx, esi
push eax
call dword [0x55890c]
call esi
mov esi, eax
or ebx, 0xffffffff
test esi, esi
js 0x48c1ed
push edi
push str.SELECT_Namespace_Provider_User___PATH_FROM_Msft_Providers_WHERE_HostProcessIdentifier_
call sym.ProcessHacker.exe_PhConcatStrings2
mov esi, eax
push 0x5946a4
mov dword [ebp - 0x4c], esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x5c], edi
test esi, esi
je 0x48bda9
mov ecx, dword [esi + 4]
jmp 0x48bdab
xor ecx, ecx
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
push 0x30
mov esi, dword [ecx]
push eax
push edi
push ecx
mov esi, dword [esi + 0x50]
mov ecx, esi
mov dword [ebp - 0x58], eax
call dword [0x55890c]
call esi
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
js 0x48c1cb
mov eax, dword ds:[ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 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 0x48c1cb
cmp dword [ebp - 0xc], 0
je 0x48c1c8
lea eax, ds:[ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
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
mov dword [ebp - 0x40], 0
call dword [0x55890c]
call esi
test eax, eax
js 0x48beb3
mov esi, dword [ebp - 0x24]
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x48be60
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48be60
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea edi, [ecx + ecx]
lea eax, [edi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x40], ebx
lea ecx, [ebx + 8]
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov word [ecx + edi], ax
test esi, esi
je 0x48bea9
push edi
push esi
push dword [ebx + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword ds:[ebp - 0x10]
lea ecx, [ebp - 0x2c]
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
mov dword [ebp - 0x3c], 0
call dword [0x55890c]
call esi
test eax, eax
js 0x48bf46
mov esi, dword [ebp - 0x24]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48bef4
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea edi, [ecx + ecx]
lea eax, [edi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea ecx, [ebx + 8]
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov word [ecx + edi], ax
test esi, esi
je 0x48bf39
push edi
push esi
push dword [ebx + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, ds:[ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
xor edi, edi
push edi
push edi
mov esi, dword [eax]
push ecx
push edi
push str.User
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
mov dword [ebp - 0x38], edi
call dword [0x55890c]
call esi
test eax, eax
js 0x48bfd3
mov esi, dword [ebp - 0x24]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48bf80
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + ecx]
lea eax, [ebx + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov edi, eax
mov dword [ebp - 0x38], eax
lea ecx, [edi + 8]
xor eax, eax
mov dword [edi], ebx
mov dword [edi + 4], ecx
mov word [ecx + ebx], ax
test esi, esi
je 0x48bfc9
push ebx
push esi
push dword [edi + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
push ebx
push ebx
mov esi, dword [eax]
push ecx
push ebx
push str.__PATH
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
mov dword [ebp - 0x48], ebx
call dword [0x55890c]
nop
call esi
test eax, eax
js 0x48c069
mov esi, dword [ebp - 0x24]
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c010
push dword [0x5cd4f8]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov dword [ebp - 0x34], eax
lea eax, [ecx*2 + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ebx, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
lea ecx, [ebx + 8]
xor edx, edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov word [ecx + eax], dx
test esi, esi
je 0x48c05f
push eax
push esi
push dword [ebx + 4]
call fcn.00537fe0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x48c115
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x48c115
nop
test edi, edi
je 0x48c115
test ebx, ebx
je 0x48c13c
push 0
push eax
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
call sym.ProcessHacker.exe_PhEqualStringRef
mov edi, edi
test al, al
je 0x48c119
push 0
push esi
mov esi, dword [ebp - 0x44]
push dword [esi]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x48c119
push 0
push edi
push dword [esi + 0xc]
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x48c119
push dword [ebx + 4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push dword [ebp - 0x54]
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x18]
mov edi, eax
push 0
push 0
push dword [ebp - 0x10]
mov esi, dword [ecx]
push 0
push 0
push edi
mov esi, dword [esi + 0x60]
push ebx
push ecx
mov ecx, esi
call dword [0x55890c]
call esi
push edi
mov dword [ebp - 0x30], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp - 0x48]
jmp 0x48c119
test ebx, ebx
je 0x48c133
lea ecx, [ebx - 8]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48c12e
call fcn.004c1f60
mov edi, dword [ebp - 0x38]
jmp 0x48c136
or ebx, 0xffffffff
test edi, edi
je 0x48c151
jmp 0x48c13f
or ebx, 0xffffffff
lea ecx, [edi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48c151
call fcn.004c1f60
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48c16a
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48c16a
call fcn.004c1f60
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x48c185
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48c185
mov edi, edi
call fcn.004c1f60
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 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
mov edi, edi
test eax, eax
jns 0x48be10
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x48c1d9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword ds:[ebp - 0x5c]
test eax, eax
je 0x48c1ef
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x48c1ef
mov edi, eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x48c1fd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x48c218
lea ecx, [eax - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x48c218
call fcn.004c1f60
jmp 0x48c218
mov edi, eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48c22f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x48c248
mov eax, dword ds:[ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x48c25f
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55890c]
call esi
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534c91
mov esp, ebp
pop ebp
ret 4