Function at 0x1400cd970
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 8], rax
mov r15, rdx
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
lea edx, [rbx - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ecx, eax
mov edx, 0x80000000
add eax, edx
test edx, eax
jne 0x1400cd9f2
cmp ecx, 0x80010119
je 0x1400cd9f2
xor eax, eax
jmp 0x1400cde9d
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x38], rbx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1403a66b8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1403a66a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400cde8b
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x40], rbx
mov rsi, qword [rbp - 0x38]
mov ecx, 0x18
call fcn.140282c3c
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400cda77
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x1400cded1
jmp 0x1400cda7a
mov rdi, rbx
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x1400cdedc
mov rax, qword [rsi]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x40], rcx
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 [rdi]
mov rcx, rsi
call qword [rax + 0x18]
mov esi, eax
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400cdaf7
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400cdad8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400cdaea
call fcn.140282c34
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140282c34
mov qword [rsp + 0x60], rbx
test esi, esi
js 0x1400cde7b
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 - 0x40]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400cde7b
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x48], rbx
mov r14, qword [rbp - 0x40]
mov ecx, 0x18
call fcn.140282c3c
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400cdb81
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.SELECT_Index__MACAddress__Name_FROM_Win32_NetworkAdapter_where_AdapterTypeId0
call fcn.1402840e0
mov qword [rdi], rax
jmp 0x1400cdb84
mov rdi, rbx
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x1400cdee7
mov ecx, 0x18
call fcn.140282c3c
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400cdbce
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rbx
mov dword [rsi + 0x10], 1
lea rcx, [0x1403dbd8c]
call fcn.1402840e0
mov qword [rsi], rax
jmp 0x1400cdbd1
mov rsi, rbx
mov qword [rsp + 0x68], rsi
test rsi, rsi
je 0x1400cdec6
mov rax, qword [r14]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov rcx, r14
call qword [rax + 0xa0]
mov r14d, eax
mov eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x1400cdc47
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400cdc28
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rbx
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400cdc3a
call fcn.140282c34
mov qword [rsi + 8], rbx
mov edx, 0x18
mov rcx, rsi
call fcn.140282c34
mov qword [rsp + 0x68], rbx
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400cdc8b
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400cdc6c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400cdc7e
call fcn.140282c34
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140282c34
mov qword [rsp + 0x58], rbx
test r14d, r14d
js 0x1400cde6b
mov word [r15], bx
lea rcx, [rbp - 0x18]
call fcn.14000c320
nop
mov edi, 0x7fffffff
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], ebx
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x58]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x1400cde4c
mov esi, 8
cmp dword [rbp - 0x50], 0
je 0x1400cde4c
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, str.Index
call qword [rax + 0x20]
test eax, eax
js 0x1400cddfe
cmp dword [rbp - 0x28], edi
jge 0x1400cddfe
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
test eax, eax
js 0x1400cdd83
cmp si, word [rsp + 0x78]
jne 0x1400cdd83
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400cdd83
mov r8, qword [rbp - 0x80]
mov edx, sendto
mov rcx, r15
call fcn.1400cbb20
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [rbp - 0x28]
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x20]
test eax, eax
js 0x1400cddf4
cmp si, word [rbp - 0x70]
jne 0x1400cddf4
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400cddf4
mov rdx, qword [rbp - 0x68]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400cdde0
lea rcx, [rbp - 0x18]
call fcn.14000d3a0
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400cde19
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], ebx
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x58]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400cdce4
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400cde5c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov ebx, 1
lea rcx, [rbp - 0x18]
call fcn.14000c300
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400cde7b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400cde8b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400cde9b
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
nop
mov ecx, 0x8007000e
call fcn.1402840d0
int3