Function at 0x140010350
Capabilities:
Reference sql statements

Disassembly:
jmp 0x14011fea0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
lea rdi, [rsp + 0x50]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xd8], 0
call fcn.14001a900
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14011ff56
mov ecx, 0x7e
call fcn.14000b130
jmp 0x1401203c4
lea r9, [rsp + 0x98]
lea r8, [0x14050d4b0]
lea rdx, [0x14050d4c8]
mov rcx, qword [rsp + 0x58]
call fcn.14000b590
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14011ff86
jmp 0x1401202b0
lea rcx, str.RootCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x150]
call qword [0x140613010]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140120010
jmp 0x1401202b0
mov rax, qword [rsp + 0x1a0]
add rax, 0xf8
mov rdx, rax
lea rcx, str.SELECT_Namespace_Provider_User___RELPATH___PATH_FROM_Msft_Providers_WHERE_HostProcessIdentifier_
call sym.ProcessHacker.exe_PhConcatStrings2
mov qword [rsp + 0x68], rax
lea rcx, [0x1404c7578]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x68]
call fcn.140008600
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x158]
call qword [0x140613010]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401200c8
jmp 0x1401202b0
mov ecx, 1
call sym.ProcessHacker.exe_PhCreateList
mov qword [rsp + 0x60], rax
xor eax, eax
cmp eax, 1
je 0x1401202b0
mov dword [rsp + 0x114], 0
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x114]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf8]
mov r8d, 1
mov edx, dword [rsp + 0x1a8]
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x160]
call qword [0x140613010]
test eax, eax
jge 0x140120145
jmp 0x1401202b0
cmp dword [rsp + 0x114], 0
jne 0x140120154
jmp 0x1401202b0
mov ecx, 0x30
call fcn.14001ab00
mov qword [rsp + 0x128], rax
lea rdx, str.Namespace
mov rcx, qword [rsp + 0xf8]
call fcn.140002f50
mov rcx, qword [rsp + 0x128]
mov qword [rcx + 0x18], rax
lea rdx, str.Provider
mov rcx, qword [rsp + 0xf8]
call fcn.140002f50
mov rcx, qword [rsp + 0x128]
mov qword [rcx + 0x10], rax
lea rdx, str.User
mov rcx, qword [rsp + 0xf8]
call fcn.140002f50
mov rcx, qword [rsp + 0x128]
mov qword [rcx + 0x28], rax
lea rdx, str.__PATH
mov rcx, qword [rsp + 0xf8]
call fcn.140002f50
mov rcx, qword [rsp + 0x128]
mov qword [rcx], rax
lea rdx, str.__RELPATH
mov rcx, qword [rsp + 0xf8]
call fcn.140002f50
mov rcx, qword [rsp + 0x128]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x168]
call qword [0x140613010]
mov rax, qword [rsp + 0x128]
cmp qword [rax + 0x18], 0
je 0x140120299
mov rax, qword [rsp + 0x128]
cmp qword [rax + 0x10], 0
je 0x140120299
mov qword [rsp + 0x138], 0
lea r8, [rsp + 0x138]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x128]
mov rcx, qword [rax + 0x18]
call fcn.140008350
test eax, eax
jl 0x140120299
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x138]
mov qword [rax + 0x20], rcx
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x60]
call sym.ProcessHacker.exe_PhAddItemList
jmp 0x1401200d7
cmp qword [rsp + 0x80], 0
je 0x1401202c9
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x78], 0
je 0x1401202dc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x70], 0
je 0x1401202ef
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x68], 0
je 0x140120301
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp qword [rsp + 0xd8], 0
je 0x140120339
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x170]
call qword [0x140613010]
cmp qword [rsp + 0xb8], 0
je 0x140120371
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x178]
call qword [0x140613010]
cmp qword [rsp + 0x98], 0
je 0x1401203a9
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x180]
call qword [0x140613010]
cmp dword [rsp + 0x50], 0
jl 0x1401203c0
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404c6d80]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x190
pop rdi
ret