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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 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 + 0x3f], 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 0x1400ce421
cmp ecx, 0x80010119
je 0x1400ce421
xor eax, eax
jmp 0x1400ce7ea
mov qword [rbp + 0x37], rbx
lea rax, [rbp + 0x37]
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 0x1400ce7d9
mov qword [rbp + 0x2f], rbx
mov rsi, qword [rbp + 0x37]
mov ecx, 0x18
call fcn.140282c3c
mov rdi, rax
mov qword [rbp + 0x27], rax
test rax, rax
je 0x1400ce49d
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 0x1400ce81e
jmp 0x1400ce4a0
mov rdi, rbx
mov qword [rbp - 0x19], rdi
test rdi, rdi
je 0x1400ce829
mov rax, qword [rsi]
lea rcx, [rbp + 0x2f]
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 0x1400ce51c
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400ce4fd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400ce50f
call fcn.140282c34
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140282c34
test esi, esi
js 0x1400ce7c9
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 + 0x2f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400ce7c9
mov qword [rbp + 0x1f], rbx
mov r14, qword [rbp + 0x2f]
mov ecx, 0x18
call fcn.140282c3c
mov rdi, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1400ce59c
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_SerialNumber_FROM_Win32_BIOS
call fcn.1402840e0
mov qword [rdi], rax
jmp 0x1400ce59f
mov rdi, rbx
mov qword [rbp - 0x11], rdi
test rdi, rdi
je 0x1400ce834
mov ecx, 0x18
call fcn.140282c3c
mov rsi, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1400ce5e7
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 0x1400ce5ea
mov rsi, rbx
mov qword [rbp - 9], rsi
test rsi, rsi
je 0x1400ce813
mov rax, qword [r14]
lea rcx, [rbp + 0x1f]
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 0x1400ce660
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400ce640
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rbx
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400ce652
call fcn.140282c34
mov qword [rsi + 8], rbx
mov edx, 0x18
mov rcx, rsi
call fcn.140282c34
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400ce69f
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400ce680
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400ce692
call fcn.140282c34
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140282c34
test r14d, r14d
js 0x1400ce7b6
mov word [r15], bx
mov qword [rbp + 0x27], rbx
mov dword [rbp + 0x17], ebx
mov rcx, qword [rbp + 0x1f]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x27]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x1400ce788
mov edi, 8
cmp dword [rbp + 0x17], 0
je 0x1400ce788
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x27]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
js 0x1400ce73f
cmp di, word [rbp - 1]
jne 0x1400ce73f
mov rcx, qword [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400ce73f
mov r8, qword [rbp + 7]
mov edx, 0x40
mov rcx, r15
call fcn.1400cbb20
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x1400ce759
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp + 0x27], rbx
mov dword [rbp + 0x17], ebx
mov rcx, qword [rbp + 0x1f]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x27]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jns 0x1400ce6e0
mov rdx, qword [rbp + 0x1f]
test rdx, rdx
je 0x1400ce7a2
mov qword [rbp + 0x1f], rbx
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rbp + 0x1f]
mov ebx, 1
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x1400ce7ba
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rbp + 0x1f]
test rdx, rdx
je 0x1400ce7c9
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x1400ce7d9
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x1400ce7e8
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0xc0]
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