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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140070030]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x21], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140003f15
mov r8d, 0x1a
lea rdx, str.Falha_ao_inicializar_a_COM
lea rcx, [0x1400700b0]
call fcn.140003d00
xor ebx, ebx
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
xor r8d, r8d
lea rdx, [0x140055b1b]
mov rcx, rdi
call fcn.140003d00
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140052ce0
lea r11, [rsp + 0xe0]
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
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rsi, 0xffffffffffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x140003f7f
call qword [sym.imp.ole32.dll_CoUninitialize]
lea r8d, [rbx + 0x24]
lea rdx, str.Falha_ao_inicializar_a_seguran
lea rcx, [0x1400700b0]
call fcn.140003d00
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
jmp 0x140003ed3
mov qword [rbp - 0x31], rbx
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [0x140055958]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140055948]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140003fe0
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r8d, 0x2a
lea rdx, str.Falha_ao_criar_a_inst
lea rcx, [0x1400700b0]
call fcn.140003d00
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140003ed3
mov qword [rbp - 0x39], rbx
mov rax, qword [rbp - 0x31]
mov rcx, qword [rax]
mov r15, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.140052fa0
mov r14, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140004039
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rbx
mov dword [r14 + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
je 0x14000440a
jmp 0x14000403c
mov r14, rbx
mov qword [rbp - 0x51], r14
test r14, r14
je 0x140004415
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
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 [r14]
mov rcx, qword [rbp - 0x31]
call r15
mov r15d, eax
mov ecx, esi
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x1400040b5
mov rcx, qword [r14]
test rcx, rcx
je 0x140004096
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], rbx
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400040a8
call fcn.140052d00
mov qword [r14 + 8], rbx
mov edx, 0x18
mov rcx, r14
call fcn.140052d00
test r15d, r15d
jns 0x1400040fa
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r8d, 0x21
lea rdx, str.Falha_ao_conectar_ao_servidor_WMI
lea rcx, [0x1400700b0]
call fcn.140003d00
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140003ed3
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 [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140004175
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r8d, 0x30
lea rdx, str.Falha_ao_definir_as_op
lea rcx, [0x1400700b0]
call fcn.140003d00
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140003ed3
mov qword [rbp - 0x29], rbx
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax]
mov r13, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.140052fa0
mov r14, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400041c7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rbx
mov dword [r14 + 0x10], 1
lea rcx, str.SELECT_LastBootUpTime_FROM_Win32_OperatingSystem_WHERE_Primarytrue
call fcn.1400529b0
mov qword [r14], rax
jmp 0x1400041ca
mov r14, rbx
mov qword [rbp - 0x49], r14
test r14, r14
je 0x140004415
mov r12, qword [r14]
mov ecx, 0x18
call fcn.140052fa0
mov r15, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14000421a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rax
mov qword [r15 + 8], rbx
mov dword [r15 + 0x10], 1
lea rcx, [0x140055ce8]
call fcn.1400529b0
mov qword [r15], rax
jmp 0x14000421d
mov r15, rbx
mov qword [rbp - 0x41], r15
test r15, r15
je 0x1400043ff
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
mov r8, r12
mov rdx, qword [r15]
mov rcx, qword [rbp - 0x39]
call r13
mov r12d, eax
mov ecx, esi
lock xadd dword [r15 + 0x10], ecx
cmp ecx, 1
jne 0x14000428c
mov rcx, qword [r15]
test rcx, rcx
je 0x14000426c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r15], rbx
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14000427e
call fcn.140052d00
mov qword [r15 + 8], rbx
mov edx, 0x18
mov rcx, r15
call fcn.140052d00
nop
mov eax, esi
lock xadd dword [r14 + 0x10], eax
cmp eax, 1
jne 0x1400042c9
mov rcx, qword [r14]
test rcx, rcx
je 0x1400042aa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], rbx
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1400042bc
call fcn.140052d00
mov qword [r14 + 8], rbx
mov edx, 0x18
mov rcx, r14
call fcn.140052d00
test r12d, r12d
jns 0x140004318
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r8d, 0x23
lea rdx, str.Falha_ao_executar_a_consulta_do_WMI
lea rcx, [0x1400700b0]
call fcn.140003d00
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140003ed3
mov qword [rbp - 0x21], rbx
mov dword [rbp - 1], ebx
mov qword [rbp + 7], rbx
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400043c7
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov r8d, 1
mov edx, esi
call qword [rax + 0x20]
cmp dword [rbp - 1], 0
je 0x1400043c7
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x19]
xor r8d, r8d
lea rdx, str.LastBootUpTime
call qword [rax + 0x20]
test eax, eax
jns 0x14000439c
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
jne 0x140004340
jmp 0x1400043c7
mov rcx, qword [rbp - 0x11]
call fcn.140052890
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400043a5
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140003d00
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 7]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140003ee5
mov ecx, 0x8007000e
call fcn.140052880
nop
mov ecx, 0x8007000e
call fcn.140052880
nop
mov ecx, 0x8007000e
call fcn.140052880
int3