Function at 0x4de5a0
Capabilities:
Reference wmi statements

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x4dea5b
push rbp
mov rbp, rsp
sub rsp, 0xb0
movq qword [rsp + 0xa8], xmm15
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rdi
mov byte [rsp + 0x3f], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00504a40]
call sym.runtime.newobject
mov qword [rsp + 0x98], rax
lea rax, [0x00508840]
call sym.runtime.newobject
mov qword [rsp + 0x90], rax
lea rax, [0x005019e0]
call sym.runtime.newobject
mov qword [rsp + 0xa0], rax
lea rax, [0x00502820]
nop dword [rax]
call sym.runtime.newobject
lea rcx, [sym.github.com_yusufpapurcu_wmi._Client_.coinitService.func1]
mov qword [rax], rcx
cmp dword [0x00682e70], 0
jne 0x4de672
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
jmp 0x4de69a
call sym.runtime.gcWriteBarrier3
mov rcx, qword [rsp + 0xa0]
mov qword [r11], rcx
mov rdx, qword [rsp + 0x90]
mov qword [r11 + 8], rdx
mov rbx, qword [rsp + 0x98]
mov qword [r11 + 0x10], rbx
mov qword [rsp + 0x70], rax
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rbx
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x78], xmm15
mov qword [rsp + 0x88], 0
lea rsi, [sym.github.com_yusufpapurcu_wmi._Client_.coinitService.func2]
mov qword [rsp + 0x78], rsi
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rax
lea rsi, [rsp + 0x78]
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0x3f], 1
xor eax, eax
call sym.github.com_go_ole_go_ole.coInitializeEx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
test rax, rax
je 0x4de776
lea rsi, [0x00541f40]
cmp rax, rsi
jne 0x4dea25
mov rcx, qword [rbx]
nop
test rcx, rcx
je 0x4de776
cmp rcx, 1
je 0x4de776
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
lea rax, [0x00516b57]
mov ebx, 0x1a
call sym.github.com_go_ole_go_ole_oleutil.CreateObject
cmp dword [0x00682e70], 0
jne 0x4de79a
mov rsi, qword [rsp + 0x98]
jmp 0x4de7b1
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsi]
mov qword [r11 + 8], rdi
mov qword [rsi], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
nop
test rbx, rbx
jne 0x4de9da
mov rax, qword [rsi]
test rax, rax
je 0x4de981
mov rbx, qword [0x005fda08]
nop dword [rax]
call sym.github.com_go_ole_go_ole.queryInterface
cmp dword [0x00682e70], 0
jne 0x4de7f8
mov r10, qword [rsp + 0x90]
jmp 0x4de80f
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r10, qword [rsp + 0x90]
mov r12, qword [r10]
mov qword [r11 + 8], r12
mov qword [r10], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
nop dword [rax]
test rbx, rbx
jne 0x4de936
mov rax, qword [r10]
lea rbx, [0x00511cf4]
mov ecx, 0xd
mov edi, 1
mov rsi, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0xd8]
call sym.github.com_go_ole_go_ole._IDispatch_.InvokeWithOptionalArgs
cmp dword [0x00682e70], 0
jne 0x4de86d
mov rsi, qword [rsp + 0xa0]
jmp 0x4de884
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsi]
mov qword [r11 + 8], rdi
mov qword [rsi], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
test rbx, rbx
jne 0x4de8eb
mov rax, qword [rsi]
cmp word [rax], 9
je 0x4de8a3
xor eax, eax
jmp 0x4de8a7
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x40], xmm15
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
mov rax, qword [0x005ed760]
mov rcx, qword [0x005ed768]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
mov rbx, qword [0x00541f48]
lea rcx, [0x004f7900]
call sym.runtime.panicdottypeI
nop
call sym.runtime.deferreturn
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0xb0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
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]
jmp sym.github.com_yusufpapurcu_wmi._Client_.coinitService