Function at 0x140008350
Capabilities:
Reference sql statements

Disassembly:
jmp 0x14011f940
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
lea rdi, [rsp + 0x50]
mov ecx, 0x58
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x124], 0
call fcn.14001a900
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14011fa1b
mov eax, 0x7e
jmp 0x14011fe66
lea r9, [rsp + 0xa8]
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 0x14011fa4b
jmp 0x14011fd2e
mov rcx, qword [rsp + 0x1c0]
call fcn.140008600
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0xc8]
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 + 0x88]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x170]
call qword [0x140613010]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14011fae4
jmp 0x14011fd2e
mov rcx, qword [rsp + 0x1c8]
call fcn.140008600
mov rdx, rax
lea rcx, str.SELECT_clsid_FROM___Win32Provider_WHERE_Name___s
call sym.ProcessHacker.exe_PhFormatString
mov qword [rsp + 0x80], rax
lea rcx, [0x1404c7578]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x80]
call fcn.140008600
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x178]
call qword [0x140613010]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14011fba7
jmp 0x14011fd2e
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x124]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x108]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x180]
call qword [0x140613010]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x14011fc45
lea rdx, str.CLSID
mov rcx, qword [rsp + 0x108]
call fcn.140002f50
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x188]
call qword [0x140613010]
cmp qword [rsp + 0x78], 0
je 0x14011fd2e
mov rcx, qword [rsp + 0x78]
call fcn.140008600
lea rcx, [0x1403ce5e8]
mov qword [rsp + 0x20], rcx
lea r9, [0x1403c83b0]
mov r8, rax
lea rdx, str.CLSID_
mov ecx, 4
call sym.ProcessHacker.exe_PhConcatStrings
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, 0xfffffffffffffff9
mov edx, 1
lea rcx, [rsp + 0x148]
call sym.ProcessHacker.exe_PhOpenKey
bts eax, 0x1c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x14011fd21
xor edx, edx
mov rcx, qword [rsp + 0x148]
call sym.ProcessHacker.exe_PhQueryRegistryString
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14011fd13
mov rax, qword [rsp + 0x68]
mov rcx, rax
call sym.ProcessHacker.exe_PhExpandEnvironmentStrings
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x14011fd13
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x68]
call fcn.1400040d0
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x158]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp qword [rsp + 0x98], 0
je 0x14011fd47
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x90], 0
je 0x14011fd60
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x88], 0
je 0x14011fd79
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x78], 0
je 0x14011fd8b
mov rcx, qword [rsp + 0x78]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp qword [rsp + 0x80], 0
je 0x14011fda3
mov rcx, qword [rsp + 0x80]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp qword [rsp + 0xe8], 0
je 0x14011fddb
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x190]
call qword [0x140613010]
cmp qword [rsp + 0xc8], 0
je 0x14011fe13
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x198]
call qword [0x140613010]
cmp qword [rsp + 0xa8], 0
je 0x14011fe4b
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x1a0]
call qword [0x140613010]
cmp dword [rsp + 0x50], 0
jl 0x14011fe62
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404c6b90]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x1b0
pop rdi
ret