Function at 0x1400b57a0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push r13
lea rbp, [rsp - 0x3f]
sub rsp, 0xe8
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r13d, r13d
mov qword [rbp - 0x51], r8
mov esi, r13d
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov rbx, rdx
mov qword [rbp - 1], r13
mov qword [rbp - 0x49], rcx
call fcn.1400b5640
test rax, rax
jne 0x1400b57f3
lea eax, [r13 + 0x7e]
jmp 0x1400b6012
lea r9, [rbp + 0xf]
mov qword [rsp + 0x128], rdi
lea r8, [0x1401f5370]
mov rcx, rax
lea rdx, [0x1401f5360]
call fcn.1400fb1e0
mov edi, eax
test eax, eax
js 0x1400b5fc2
mov qword [rsp + 0xe0], r12
lea rcx, str.RootCIMV2
mov qword [rsp + 0xd0], r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp + 7]
mov qword [rsp + 0x40], rdx
mov r15, rax
mov qword [rbp - 0x29], rax
xor r9d, r9d
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov rax, qword [rcx]
mov rdx, r15
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r13
mov rax, qword [rax + 0x18]
call qword [case.0x1400f654f.0]
mov edi, eax
mov r12, 0xffffffffffffffff
test eax, eax
js 0x1400b5f86
mov rdx, rbx
mov qword [rsp + 0xd8], r14
lea rcx, str.SELECT_Namespace_Provider_User___PATH_FROM_Msft_Providers_WHERE_HostProcessIdentifier_
call sym.ProcessHacker.exe_PhConcatStrings2
lea rcx, [0x1401ebd48]
mov qword [rbp - 0x41], rax
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x39], rax
mov rbx, rax
test rsi, rsi
je 0x1400b58cb
mov rcx, qword [rsi + 8]
jmp 0x1400b58ce
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 7]
mov r9d, 0x30
mov r14, rax
mov qword [rbp - 0x31], rax
mov r8, r14
mov rdx, qword [rcx]
mov rax, qword [rdx + 0xa0]
lea rdx, [rbp - 1]
mov qword [rsp + 0x28], rdx
mov rdx, rbx
mov qword [rsp + 0x20], r13
call qword [case.0x1400f654f.0]
mov dword [rbp - 0x55], eax
mov edi, eax
test eax, eax
js 0x1400b5f5b
mov rcx, qword ds:[rbp - 1]
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], r13d
lea r9, [rbp - 0x21]
mov qword [rsp + 0x20], rdx
mov r8d, 1
mov edx, r12d
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400b5f5b
xor r14d, r14d
cmp dword [rbp + 0x17], 0
je 0x1400b5f48
lea rcx, ds:[rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x21]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x28], r14
lea rdx, str.Namespace
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov r13, r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400b59ef
mov rdi, qword [rbp - 0x11]
mov rbx, r12
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400b59a0
mov rdx, qword [0x1402418e8]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r13, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r14w
test rdi, rdi
je 0x1400b59e5
mov rcx, qword ds:[rax + 8]
mov r8, rbx
mov rdx, rdi
call fcn.140188690
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword ds:[rbp - 0x21]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x28], r14
lea rdx, str.Provider
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov r15, r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400b5a7f
mov rdi, qword [rbp - 0x11]
mov rbx, r12
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400b5a31
mov rdx, qword [0x1402418e8]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r15, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r14w
test rdi, rdi
je 0x1400b5a75
mov rcx, qword [rax + 8]
mov r8, rbx
mov rdx, rdi
call fcn.140188690
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x21]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x28], r14
lea rdx, str.User
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rsi, r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400b5b0f
mov rdi, qword [rbp - 0x11]
mov rbx, r12
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400b5ac0
mov rdx, qword [0x1402418e8]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r14w
test rdi, rdi
je 0x1400b5b05
mov rcx, qword ds:[rax + 8]
mov r8, rbx
mov rdx, rdi
call fcn.140188690
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword ds:[rbp - 0x21]
lea r9, [rbp - 0x19]
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea rdx, str.__PATH
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400b5ba6
mov rdi, qword [rbp - 0x11]
mov rbx, r12
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400b5b51
mov rdx, qword [0x1402418e8]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r14, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
test rdi, rdi
je 0x1400b5b96
mov rcx, qword [r14 + 8]
mov r8, rbx
mov rdx, rdi
call fcn.140188690
lea rcx, ds:[rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test r13, r13
je 0x1400b5e7d
test r15, r15
je 0x1400b5e7d
nop dword [rax + rax]
test rsi, rsi
je 0x1400b5e7d
test r14, r14
je 0x1400b5ea5
mov r11, qword ds:[rbp - 0x51]
mov rcx, qword [r11 + 8]
mov r8, qword [rcx]
cmp r8, qword [r13]
jne 0x1400b5e85
movzx r10d, byte [0x140244611]
mov r9, r8
mov rcx, qword [rcx + 8]
mov rdx, qword [r13 + 8]
cmp r10b, 1
jb 0x1400b5c42
shr r9, 4
test r9, r9
je 0x1400b5c39
nop
movdqu xmm0, xmmword [rdx]
movdqu xmm1, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400b5e85
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400b5c10
shr r8, 1
and r8d, 7
jmp 0x1400b5c71
shr r9, 3
test r9, r9
je 0x1400b5c6a
nop dword [rax + rax]
mov rax, qword [rdx]
cmp qword [rcx], rax
jne 0x1400b5e85
add rcx, 8
add rdx, 8
sub r9, 1
jne 0x1400b5c50
shr r8, 1
and r8d, 3
test r8, r8
je 0x1400b5c97
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp ax, word [rdx + rcx]
jne 0x1400b5e85
add rcx, 2
sub r8, 1
jne 0x1400b5c80
mov rcx, qword ds:[r11]
mov r8, qword [rcx]
cmp r8, qword [r15]
jne 0x1400b5e85
mov rcx, qword [rcx + 8]
mov r9, r8
mov rdx, qword [r15 + 8]
cmp r10b, 1
jb 0x1400b5d02
shr r9, 4
test r9, r9
je 0x1400b5cf9
nop word [rax + rax]
movdqu xmm0, xmmword [rdx]
movdqu xmm1, xmmword [rcx]
pcmpeqd xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1400b5e85
add rcx, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400b5cd0
shr r8, 1
and r8d, 7
jmp 0x1400b5d31
shr r9, 3
test r9, r9
je 0x1400b5d2a
nop dword [rax + rax]
mov rax, qword [rdx]
cmp qword [rcx], rax
jne 0x1400b5e85
add rcx, 8
add rdx, 8
sub r9, 1
jne 0x1400b5d10
shr r8, 1
and r8d, 3
test r8, r8
je 0x1400b5d57
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp ax, word [rdx + rcx]
jne 0x1400b5e85
add rcx, 2
sub r8, 1
jne 0x1400b5d40
mov rax, qword ds:[r11 + 0x18]
mov r8, qword [rax]
cmp r8, qword [rsi]
jne 0x1400b5e85
mov rax, qword [rax + 8]
mov r9, r8
mov rdx, qword [rsi + 8]
cmp r10b, 1
jb 0x1400b5dc3
shr r9, 4
test r9, r9
je 0x1400b5dba
nop word [rax + rax]
movdqu xmm1, xmmword [rdx]
movdqu xmm0, xmmword [rax]
pcmpeqd xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
jne 0x1400b5e85
add rax, 0x10
add rdx, 0x10
sub r9, 1
jne 0x1400b5d90
shr r8, 1
and r8d, 7
jmp 0x1400b5df1
shr r9, 3
test r9, r9
je 0x1400b5dea
nop dword [rax]
mov rcx, qword [rdx]
cmp qword [rax], rcx
jne 0x1400b5e85
add rax, 8
add rdx, 8
sub r9, 1
jne 0x1400b5dd0
shr r8, 1
and r8d, 3
test r8, r8
je 0x1400b5e13
sub rdx, rax
nop dword [rax]
movzx ecx, word [rax]
cmp cx, word [rdx + rax]
jne 0x1400b5e85
add rax, 2
sub r8, 1
jne 0x1400b5e00
mov rcx, qword [r14 + 8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp - 0x49]
mov rdi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword ds:[rbp + 7]
xor r8d, r8d
mov qword [rsp + 0x38], r8
mov rbx, rax
mov qword [rsp + 0x30], r8
xor r9d, r9d
mov rdx, qword [rcx]
mov rax, qword [rdx + 0xc0]
mov rdx, qword [rbp - 0x21]
mov qword [rsp + 0x28], rdx
mov rdx, rdi
mov qword [rsp + 0x20], r8
mov r8, rbx
call qword [case.0x1400f654f.0]
mov rcx, rbx
mov dword [rbp - 0x55], eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1400b5e85
nop dword [rax]
test r14, r14
je 0x1400b5e9b
lea rcx, [r14 - 0x10]
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b5e9b
call fcn.1400fbcc0
nop dword [rax + rax]
test rsi, rsi
je 0x1400b5ebb
lea rcx, [rsi - 0x10]
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b5ebb
call fcn.1400fbcc0
nop dword [rax + rax]
test r15, r15
je 0x1400b5edb
lea rcx, [r15 - 0x10]
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b5edb
call fcn.1400fbcc0
nop dword [rax + rax]
test r13, r13
je 0x1400b5efb
lea rcx, [r13 - 0x10]
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b5efb
call fcn.1400fbcc0
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 0x17]
xor r14d, r14d
mov qword [rsp + 0x20], rdx
mov dword [rbp + 0x17], r14d
lea r9, [rbp - 0x21]
mov edx, r12d
mov rax, qword [rcx]
lea r8d, [r14 + 1]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
nop dword [rax + rax]
test eax, eax
jns 0x1400b5951
mov edi, dword [rbp - 0x55]
mov rsi, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x39]
mov r14, qword [rbp - 0x31]
mov r15, qword [rbp - 0x29]
nop dword [rax + rax]
test r14, r14
je 0x1400b5f6e
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r14, qword [rsp + 0xd8]
test rbx, rbx
je 0x1400b5f86
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r15, r15
je 0x1400b5f94
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r15, qword ss:[rsp + 0xd0]
test rsi, rsi
je 0x1400b5fba
lea rcx, [rsi - 0x10]
lock xadd dword [rcx + 8], r12d
cmp r12d, 1
jne 0x1400b5fba
call fcn.1400fbcc0
mov r12, qword [rsp + 0xe0]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400b5fd8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword ds:[rbp + 7]
test rcx, rcx
je 0x1400b5ff2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400b6008
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov eax, edi
mov rdi, qword [rsp + 0x128]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0xe8
pop r13
pop rsi
pop rbx
pop rbp
ret