Function at 0x1400b6040
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor ebx, ebx
mov qword [rbp - 0x41], r8
mov r13d, ebx
mov qword [rbp - 0x11], rbx
mov r14d, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x21], rbx
mov r12, r8
mov qword [rbp - 0x29], rbx
mov r15, rdx
mov dword [rbp + 0x17], ebx
mov rdi, rcx
call fcn.1400b5640
test rax, rax
jne 0x1400b60a5
lea eax, ds:[rbx + 0x7e]
jmp 0x1400b63d2
lea r9, [rbp - 0x11]
mov qword [rsp + 0x118], rsi
lea r8, [0x1401f5370]
mov rcx, rax
lea rdx, [0x1401f5360]
call fcn.1400fb1e0
mov esi, eax
test eax, eax
js 0x1400b637d
test rdi, rdi
je 0x1400b60dc
mov rcx, qword [rdi + 8]
jmp 0x1400b60df
mov rcx, rbx
nop
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword ds:[rbp - 0x11]
lea r8, [rbp - 0x19]
mov qword [rsp + 0x40], r8
mov rdx, rax
mov qword [rbp - 0x31], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov rax, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f654f.0]
mov esi, eax
mov edi, 0xffffffff
test eax, eax
js 0x1400b6332
test r15, r15
je 0x1400b6142
mov rdx, qword ds:[r15 + 8]
jmp 0x1400b6145
mov rdx, rbx
lea rcx, str.SELECT_clsid_FROM___Win32Provider_WHERE_Name___s
call sym.ProcessHacker.exe_PhFormatString
lea rcx, [0x1401ebd48]
mov r14, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
test r14, r14
je 0x1400b6174
mov rcx, qword [r14 + 8]
jmp 0x1400b6177
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp - 0x19]
lea rdx, [rbp - 0x21]
mov r12, rax
mov qword [rsp + 0x28], rdx
mov r9d, 0x30
mov qword [rsp + 0x20], rbx
mov r8, r12
mov rdx, r15
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
call qword [case.0x1400f654f.0]
mov esi, eax
test eax, eax
js 0x1400b630d
mov rcx, qword [rbp - 0x21]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov r8d, 1
mov edx, edi
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
mov esi, eax
test eax, eax
js 0x1400b630d
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x29]
lea r9, [rbp - 1]
mov qword [rsp + 0x28], rbx
lea rdx, str.CLSID
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400b623a
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400b6230
call sym.ProcessHacker.exe_PhCreateString
mov r13, rax
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test r13, r13
je 0x1400b630d
mov r8, qword [r13 + 8]
lea rax, [0x1401da108]
lea r9, [0x1401b84cc]
mov qword [rsp + 0x20], rax
lea rdx, str.CLSID_
mov ecx, 4
call sym.ProcessHacker.exe_PhConcatStrings
mov r9, rax
mov qword [rbp - 0x39], rax
mov edx, 0x20019
mov dword [rsp + 0x20], ebx
mov r8, 0xfffffffffffffff9
lea rcx, [rbp - 9]
call sym.ProcessHacker.exe_PhOpenKey
mov esi, eax
or esi, 0x10000000
jl 0x1400b62f4
mov rcx, qword [rbp - 9]
xor edx, edx
call sym.ProcessHacker.exe_PhQueryRegistryString
mov rbx, rax
test rax, rax
je 0x1400b62ea
mov rcx, rax
call sym.ProcessHacker.exe_PhExpandEnvironmentStrings
test rax, rax
je 0x1400b62ea
mov rcx, rbx
mov rbx, rax
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b62ea
call fcn.1400fbcc0
mov rcx, qword [rbp - 9]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x39]
mov eax, edi
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b630d
call fcn.1400fbcc0
test r12, r12
je 0x1400b631b
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test r15, r15
je 0x1400b632e
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r12, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400b6346
nop dword [rax + rax]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r13, r13
je 0x1400b6365
lea rcx, [r13 - 0x10]
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b6365
nop dword [rax + rax]
call fcn.1400fbcc0
test r14, r14
je 0x1400b637d
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400b637d
call fcn.1400fbcc0
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400b6393
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400b63a9
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400b63bf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
nop
test esi, esi
js 0x1400b63c8
mov qword [r12], rbx
mov eax, esi
mov rsi, qword [rsp + 0x118]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret