Function at 0x4de180
Capabilities:
Reference wmi statements

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4de45b
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd8], r10
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xd0], r9
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rbx
lea rdx, [rax + 0x28]
mov qword [rsp + 0x28], rdx
mov r11, rax
xor eax, eax
mov r12d, 1
lock cmpxchg dword [r11 + 0x28], r12d
sete r12b
test r12b, r12b
jne 0x4de24a
mov rax, rdx
call sym.sync._Mutex_.lockSlow
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xd8]
mov r11, qword [rsp + 0xa0]
cmp qword [r11 + 0x10], 0
je 0x4de411
cmp qword [r11 + 0x18], 0
jne 0x4de2a4
nop
mov ebx, 0xffffffff
lock xadd dword [r11 + 0x28], ebx
dec ebx
test ebx, ebx
je 0x4de276
mov rax, rdx
call sym.sync._Mutex_.unlockSlow
lea rax, [0x00517d10]
mov ebx, 0x1d
xor ecx, ecx
xor edi, edi
mov rsi, rdi
call sym.fmt.Errorf
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
add rsp, 0x90
pop rbp
ret
lea rax, [0x00503ae0]
call sym.runtime.newobject
mov qword [rsp + 0x88], rax
xor ebx, ebx
lea rax, [0x004f1560]
call sym.runtime.makechan
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
cmp dword [0x00682e70], 0
je 0x4de365
lea rax, [0x00503ae0]
mov rbx, qword [rsp + 0x88]
lea rcx, [rsp + 0x30]
nop dword [rax + rax]
call sym.runtime.wbMove
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x30], xmm0
mov qword [rsp + 0x70], rcx
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdx + 0x18]
lea rbx, [rsp + 0x70]
call sym.runtime.chansend1
nop
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0xa0]
lock xadd dword [rcx + 0x28], ebx
dec ebx
test ebx, ebx
je 0x4de3ce
mov rax, qword [rsp + 0x28]
call sym.sync._Mutex_.unlockSlow
movups xmmword [rsp + 0x78], xmm15
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + 0x38]
lea rbx, [rsp + 0x78]
call sym.runtime.chanrecv2
test al, al
je 0x4de404
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
add rsp, 0x90
pop rbp
ret
xor eax, eax
xor ebx, ebx
add rsp, 0x90
pop rbp
ret
nop
mov ebx, 0xffffffff
lock xadd dword [r11 + 0x28], ebx
dec ebx
nop
test ebx, ebx
je 0x4de42c
mov rax, rdx
call sym.sync._Mutex_.unlockSlow
lea rax, [0x00518df5]
mov ebx, 0x20
xor ecx, ecx
xor edi, edi
mov rsi, rdi
nop
call sym.fmt.Errorf
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rbx
add rsp, 0x90
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
jmp sym.github.com_yusufpapurcu_wmi._SWbemServices_.Query