Function at 0x140020320
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x110], xmm6
mov qword [rbp + 0x108], 0xfffffffffffffffe
test rdx, rdx
je 0x14002098a
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0xf0], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0x8000000000
mov qword [rbp - 0x38], rax
mov word [rbp - 0x30], 0
lea rax, vtable.H.0
mov qword [rbp - 0x48], rax
mov ecx, 0x18
call fcn.1400f0f04
mov r14, rax
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_VideoController
call qword [0x14021a870]
mov qword [r14], rax
test rax, rax
je 0x1400209a6
mov rbx, rax
mov qword [rbp + 0xd0], r14
mov ecx, 0x18
call fcn.1400f0f04
mov r14, rax
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
lea rcx, [0x140214c16]
call qword [0x14021a870]
mov qword [r14], rax
test rax, rax
je 0x1400209b7
mov qword [rbp + 0x100], r14
mov rcx, qword [rdi]
mov r10, qword [rcx + 0xa0]
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rax
mov r8, rbx
mov r9d, gethostbyname
call r10
mov edi, eax
mov rax, r14
add rax, 0x10
lock dec dword [rax]
jne 0x140020474
mov rcx, qword [r14]
test rcx, rcx
je 0x14002045e
call qword [0x14021a878]
mov qword [r14], 0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14002046c
call fcn.1400f0f5c
mov rcx, r14
call fcn.1400f0f54
mov rbx, qword [rbp + 0xd0]
test rbx, rbx
je 0x1400204b1
lock dec dword [rbx + 0x10]
jne 0x1400204b1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002049b
call qword [0x14021a878]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400204a9
call fcn.1400f0f5c
mov rcx, rbx
call fcn.1400f0f54
test edi, edi
js 0x14002098a
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14002098a
lea r14, [rbp + 0xfc]
lea rdi, [rbp + 0x100]
vxorps xmm6, xmm6, xmm6
lea rbx, str.Caption
lea r13, [rbp + 0xd0]
movabs r15, 0x100002600
mov dword [rbp + 0xfc], 0
mov qword [rbp + 0x100], 0
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
mov edx, 0xffffffff
mov r8d, 1
mov r9, rdi
call qword [rax + 0x20]
test eax, eax
jne 0x140020978
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x140020978
cmp dword [rbp + 0xfc], 0
je 0x140020972
vmovaps xmmword [rbp + 0xd0], xmm6
mov qword [rbp + 0xe0], 0
mov rax, qword [rcx]
mov r12, rbx
vmovups xmmword [rsp + 0x20], xmm6
mov rdx, r12
xor r8d, r8d
mov r9, r13
call qword [rax + 0x20]
test eax, eax
js 0x1400205d2
movzx eax, word [rbp + 0xd0]
cmp eax, 3
je 0x1400206da
cmp eax, 8
jne 0x140020732
mov rbx, rdi
mov rdi, r14
mov rax, qword [rbp + 0xd8]
test rax, rax
lea rcx, [0x14021415c]
cmove rax, rcx
lea r14, [rax + 2]
nop dword [rax]
movzx r13d, word [rax]
cmp r13, 0x20
ja 0x14002065a
bt r15, r13
jae 0x14002065a
add rax, 2
add r14, 2
jmp 0x1400205b0
mov rcx, rsi
call fcn.14015b9f4
mov r8w, 0x20
mov dx, WSAGetLastError
lea rcx, [0x14020d9b6]
jmp 0x140020605
mov word [rsi + rax*2], dx
inc rax
movzx edx, word [rcx - 2]
mov r8d, edx
movzx edx, word [rcx]
add rcx, 2
movzx r9d, dx
lea r10d, [r9 - 9]
cmp r10d, 2
jb 0x140020930
test r9d, r9d
je 0x1400208d9
cmp r9d, 0xd
je 0x140020930
cmp r8w, 0x20
jne 0x140020650
cmp dx, 0x20
je 0x1400205fb
cmp rax, 0x1ff
jb 0x1400205f0
jmp 0x1400205fb
cmp rax, 0x1fe
jbe 0x1400205f0
jmp 0x1400205fb
mov rcx, rsi
call fcn.14015b9f4
mov cx, 0x20
jmp 0x140020688
mov word [rsi + rax*2], r13w
inc rax
movzx r13d, word [r14 - 2]
mov ecx, r13d
movzx r13d, word [r14]
add r14, 2
movzx edx, r13w
lea r8d, [rdx - 9]
cmp r8d, 2
jb 0x140020940
test edx, edx
je 0x14002083a
cmp edx, 0xd
je 0x140020940
cmp cx, 0x20
jne 0x1400206d0
cmp r13w, 0x20
je 0x14002067d
cmp rax, 0x1ff
jb 0x140020670
jmp 0x14002067d
cmp rax, 0x1fe
jbe 0x140020670
jmp 0x14002067d
mov r8d, dword [rbp + 0xd8]
lea rcx, [rbp - 0x48]
lea rdx, [0x14020d9ac]
call fcn.140011ed0
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1400208df
mov rbx, rdi
mov rdi, r14
lea r14, [rax + 2]
nop dword [rax + rax]
movzx r13d, word [rax]
cmp r13, 0x20
ja 0x1400207ba
bt r15, r13
jae 0x1400207ba
add rax, 2
add r14, 2
jmp 0x140020710
mov rcx, rsi
call fcn.14015b9f4
mov r8w, 0x20
mov dx, WSAGetLastError
lea rcx, [0x14020d9b6]
jmp 0x140020765
mov word [rsi + rax*2], dx
inc rax
movzx edx, word [rcx - 2]
mov r8d, edx
movzx edx, word [rcx]
add rcx, 2
movzx r9d, dx
lea r10d, [r9 - 9]
cmp r10d, 2
jb 0x140020950
test r9d, r9d
je 0x1400208d9
cmp r9d, 0xd
je 0x140020950
cmp r8w, 0x20
jne 0x1400207b0
cmp dx, 0x20
je 0x14002075b
cmp rax, 0x1ff
jb 0x140020750
jmp 0x14002075b
cmp rax, 0x1fe
jbe 0x140020750
jmp 0x14002075b
mov rcx, rsi
call fcn.14015b9f4
mov cx, 0x20
jmp 0x1400207e8
mov word [rsi + rax*2], r13w
inc rax
movzx r13d, word [r14 - 2]
mov ecx, r13d
movzx r13d, word [r14]
add r14, 2
movzx edx, r13w
lea r8d, [rdx - 9]
cmp r8d, 2
jb 0x140020960
test edx, edx
je 0x1400208c5
cmp edx, 0xd
je 0x140020960
cmp cx, 0x20
jne 0x140020830
cmp r13w, 0x20
je 0x1400207dd
cmp rax, 0x1ff
jb 0x1400207d0
jmp 0x1400207dd
cmp rax, 0x1fe
jbe 0x1400207d0
jmp 0x1400207dd
mov word [rsi + rax*2], 0
mov rcx, rsi
call fcn.14015b9f4
mov r8w, 0x20
mov dx, 0x7c
lea rcx, [0x14020d9bc]
mov r14, rdi
mov rdi, rbx
lea rbx, str.Caption
lea r13, [rbp + 0xd0]
jmp 0x140020883
mov word [rsi + rax*2], dx
inc rax
movzx edx, word [rcx - 2]
mov r8d, edx
movzx edx, word [rcx]
add rcx, 2
movzx r9d, dx
lea r10d, [r9 - 9]
cmp r10d, 2
jb 0x140020970
test r9d, r9d
je 0x1400208d9
cmp r9d, 0xd
je 0x140020970
cmp r8w, 0x20
jne 0x1400208bb
cmp dx, 0x20
je 0x140020879
cmp rax, 0x1ff
jb 0x14002086e
jmp 0x140020879
cmp rax, 0x1fe
jbe 0x14002086e
jmp 0x140020879
mov r14, rdi
mov rdi, rbx
lea rbx, str.Caption
lea r13, [rbp + 0xd0]
mov word [rsi + rax*2], 0
mov rcx, r13
call qword [0x14021a880]
mov rcx, r12
call fcn.14015b9f4
cmp word [r12 + rax*2 + 2], 0
lea r12, [r12 + rax*2 + 2]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx]
jne 0x14002055f
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
jne 0x1400204f3
jmp 0x14002098a
jmp 0x140020930
jmp 0x140020940
jmp 0x140020950
jmp 0x140020960
jmp 0x140020970
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14002098a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
vmovaps xmm6, xmmword [rbp + 0x110]
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0xe8], r14
mov ecx, 0x8007000e
call fcn.1400f11b0
mov qword [rbp + 0xe8], r14
mov ecx, 0x8007000e
call fcn.1400f11b0
int3