Function at 0x140058560
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x3a0
mov rax, qword [0x1403d8618]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rsi, rcx
mov qword [rsp + 0x80], rcx
xor r12d, r12d
xor edx, edx
xor ecx, ecx
call qword [0x1402ca1a8]
test eax, eax
js 0x14005887a
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov r14d, 0xffffffff
mov edx, r14d
xor ecx, ecx
call qword [0x1402ca1b0]
test eax, eax
jns 0x1400585f0
call qword [0x1402ca1c0]
jmp 0x14005887a
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140314fd0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402d1d80]
call qword [0x1402ca1b8]
mov rbx, qword [rsp + 0x60]
test eax, eax
cmovs rbx, r12
mov qword [rsp + 0x60], rbx
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140058640
cmp eax, 0x80004002
jne 0x1400588a8
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x140058917
mov rax, qword [rbx]
mov r15, qword [rax + 0x18]
mov qword [rsp + 0x50], r12
mov ecx, 0x18
call fcn.14029d728
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140058697
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x140314ec8]
call qword [0x1402c3a90]
mov qword [rdi], rax
test rax, rax
je 0x1400588b0
jmp 0x14005869a
mov rdi, r12
mov qword [rsp + 0x90], rdi
test rdi, rdi
je 0x1400588bb
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rbx
call r15
mov ebx, eax
lock xadd dword [rdi + 0x10], r14d
cmp r14d, 1
jne 0x140058716
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400586f7
call qword [0x1402c3a88]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140058709
call fcn.14029da84
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14029da84
test ebx, ebx
js 0x1400588c5
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x50]
call qword [0x1402ca1a0]
test eax, eax
js 0x1400588ee
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x14005876b
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r8, str.SELECT__FROM_CIM_OperatingSystem
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400581b0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400587ef
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.1400583b0
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xb8]
call fcn.140058080
lea rcx, [rsi + 0x20]
mov rdx, rax
call qword [0x1402c5620]
lea rcx, [rsp + 0xb8]
call qword [0x1402c58e0]
nop
lea rcx, [rsp + 0xa0]
call qword [0x1402c3aa0]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400587fb
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140058930
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140058c40
mov rax, qword [rsi]
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call qword [rax + 0x70]
lea rcx, [rsi + 0x70]
mov rdx, rax
call fcn.1400575a0
lea rcx, [rsp + 0xd0]
call fcn.140055e80
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140058851
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140058862
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14005886c
call qword [0x1402ca1c0]
mov rcx, rsi
call fcn.140055be0
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.14029d460
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov ecx, eax
call fcn.14029e720
nop
mov ecx, 0x8007000e
call fcn.14029e720
nop
mov ecx, 0x8007000e
call fcn.14029e720
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
lea rcx, [rsp + 0xe8]
call fcn.140057f60
lea rdx, [0x140391d78]
lea rcx, [rsp + 0xe8]
call fcn.14029ea84
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x108]
call fcn.140057f60
lea rdx, [0x140391d78]
lea rcx, [rsp + 0x108]
call fcn.14029ea84
mov ecx, 0x80004003
call fcn.14029e720
int3