Function at 0x14008f0e0
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r15, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rbx, [r15 + 0x10]
mov qword [rsp + 0x20], rbx
lea r9, [0x14030d280]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14030d2b0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x14008f189
mov dword [rsp + 0x30], eax
lea rax, str.Failed_to_create_IWbemLocator_object_hResult__0x_X_n
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 3]
lea r8, [0x1404675c0]
mov edx, 0x86
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedwmiregistrywatcher.cpp
call fcn.140039f30
mov eax, edi
jmp 0x14008f6c1
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.140202bf8
mov rdi, rax
mov qword [rsp + 0x60], rax
xor ebx, ebx
test rax, rax
je 0x14008f1d4
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.rootdefault
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14008f6f9
jmp 0x14008f1d7
mov rdi, rbx
mov qword [rbp - 0x10], rdi
test rdi, rdi
je 0x14008f704
lea r12, [r15 + 0x18]
mov qword [rsp + 0x58], r12
mov rax, qword [rsi]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
mov esi, eax
mov r14d, 0xffffffff
mov ecx, r14d
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14008f263
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008f244
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008f256
call fcn.140202ee8
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140202ee8
test esi, esi
jns 0x14008f29f
mov dword [rsp + 0x30], esi
lea rax, str.Could_not_connect_to__rootdefault_hResult__0x_X_n
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 3
lea r8, [0x1404675c0]
mov edx, 0x98
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedwmiregistrywatcher.cpp
call fcn.140039f30
jmp 0x14008f6bf
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14008f303
mov dword [rsp + 0x30], eax
lea rax, str.Could_not_set_proxy_blanket_hResult__0x_X_n
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 3
lea r8, [0x1404675c0]
mov edx, 0xa9
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedwmiregistrywatcher.cpp
call fcn.140039f30
lea rdi, [r15 + 0x20]
mov qword [rsp + 0x20], rdi
lea r9, [0x14030d2a0]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x14030d2c0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov qword [r15 + 0x48], r15
mov rax, qword [r15 + 0x38]
lea rcx, [r15 + 0x38]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea r8, [r15 + 0x28]
lea rdx, [r15 + 0x38]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
mov rcx, qword [r15 + 0x28]
lea rdx, [r15 + 0x30]
mov qword [rsp + 0x50], rdx
mov rax, qword [rcx]
mov r8, rdx
lea rdx, [0x14030d290]
mov rax, qword [rax]
call qword [case.0x14004487d.0]
lea r8, [r15 + 0x50]
lea rdx, str.SELECT__FROM_RegistryValueChangeEvent_WHERE_Hive__HKEY_LOCAL_MACHINE_AND_KeyPath__
lea rcx, [rbp]
call fcn.140082720
nop
mov r8d, shutdown
lea rdx, str._AND_ValueName__
mov rcx, rax
call fcn.14003b2f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [r15 + 0x70]
cmp qword [r15 + 0x88], 8
jb 0x14008f3d9
mov rdx, qword [r15 + 0x70]
mov r8, qword [r15 + 0x80]
lea rcx, [rbp - 0x38]
call fcn.14003b2f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r8d, 1
lea rdx, [0x140338a18]
lea rcx, [rbp - 0x58]
call fcn.14003b2f0
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rbp - 0x58]
call fcn.14003b0f0
nop
lea rcx, [rbp - 0x38]
call fcn.14003b0f0
nop
lea rcx, [rbp]
call fcn.14003b0f0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], bx
mov r8d, 2
lea rdx, [0x140338b58]
lea rcx, [rsp + 0x68]
call fcn.14003b160
nop
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
mov r8d, 1
lea rdx, [0x140328454]
lea rcx, [rbp - 0x78]
call fcn.14003b160
nop
mov rdi, rbx
mov r12, qword [rbp - 0x60]
mov r15, qword [rbp - 0x68]
mov r13, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x78]
nop dword [rax]
lea r9, [rbp - 0x78]
cmp r12, 8
cmovae r9, r13
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
mov qword [rsp + 0x20], r15
mov r8, rdi
mov rdx, qword [rbp + 0x30]
call fcn.14005f110
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008f532
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r9, qword [rsp + 0x68]
mov qword [rsp + 0x20], rsi
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140081f20
mov rsi, qword [rsp + 0x78]
add rdi, rsi
jmp 0x14008f4d0
lea rcx, [rbp - 0x78]
call fcn.14003b0f0
nop
lea rcx, [rsp + 0x68]
call fcn.14003b0f0
mov rax, qword [rsp + 0x58]
mov rsi, qword [rax]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14008e7c0
mov r15, rax
mov ecx, 0x18
call fcn.140202bf8
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14008f5a5
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, [0x140338b54]
call fcn.140203d80
mov qword [rdi], rax
jmp 0x14008f5a8
mov rdi, rbx
mov qword [rbp - 8], rdi
test rdi, rdi
je 0x14008f6ee
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
mov rax, qword [r15]
test rax, rax
je 0x14008f5ca
mov r8, qword [rax]
jmp 0x14008f5cd
mov r8, rbx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9d, 0x80
mov rdx, qword [rdi]
mov rcx, rsi
mov rax, qword [rax + 0xb8]
call qword [case.0x14004487d.0]
mov esi, eax
mov ecx, r14d
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14008f633
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008f613
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008f625
call fcn.140202ee8
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140202ee8
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14008f67e
lock xadd dword [rdi + 0x10], r14d
cmp r14d, 1
jne 0x14008f67e
test rdi, rdi
je 0x14008f67e
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008f65f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008f671
call fcn.140202ee8
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140202ee8
test esi, esi
jns 0x14008f6b6
mov dword [rsp + 0x30], esi
lea rax, str.ExecNotificationQueryAsync_failed_hResult__0x_X_n
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 3
lea r8, [0x1404675c0]
mov edx, SetErrorInfo
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedwmiregistrywatcher.cpp
call fcn.140039f30
nop
lea rcx, [rbp + 0x20]
call fcn.14003b0f0
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140203cb0
nop
mov ecx, 0x8007000e
call fcn.140203cb0
nop
mov ecx, 0x8007000e
call fcn.140203cb0
int3