Function at 0x1400af360
Capabilities:
Connect to wmi namespace via wbemlocator
Get file version info
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rcx
xor edi, edi
cmp dword [rcx + 0x30], edi
jne 0x1400af55e
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1400af3f2
mov dword [r14 + 0x30], edi
mov rcx, r14
call fcn.1400b0130
xor eax, eax
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1401d0310
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1400af431
cmp eax, 0x80010119
jne 0x1400af3b4
lea rsi, [r14 + 0x38]
mov qword [rsp + 0x20], rsi
lea r9, [0x140245cf0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140245d00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400af3b4
mov ecx, Ordinal_27
call fcn.1401d0330
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400af499
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.rootCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400afbc9
jmp 0x1400af49c
mov rbx, rdi
mov qword [rbp - 0x58], rbx
test rbx, rbx
je 0x1400afbd4
mov rcx, qword [rsi]
lea rsi, [r14 + 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + Ordinal_26]
mov r15d, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400af519
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400af4fa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400af50c
call fcn.1401d0398
mov qword [rbx + 8], rdi
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1401d0398
test r15d, r15d
js 0x1400af3b4
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1400af3b4
mov dword [r14 + 0x30], 1
mov qword [rsp + 0x60], rdi
mov ecx, Ordinal_27
call fcn.1401d0330
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400af596
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_Process
call fcn.1401d13c0
mov qword [rbx], rax
jmp 0x1400af599
mov rbx, rdi
mov qword [rbp - 0x50], rbx
test rbx, rbx
je 0x1400afbd4
mov ecx, Ordinal_27
call fcn.1401d0330
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400af5d9
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, [0x140245f2c]
call fcn.1401d13c0
mov qword [rsi], rax
jmp 0x1400af5dc
mov rsi, rdi
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x1400afbdf
mov rcx, qword [r14 + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdi
mov r9d, Ordinal_50
mov r8, qword [rbx]
mov rdx, qword [rsi]
call qword [rax + SHCreateDirectory]
mov r15d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x1400af654
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400af634
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400af646
call fcn.1401d0398
mov qword [rsi + 8], rdi
mov edx, Ordinal_27
mov rcx, rsi
call fcn.1401d0398
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400af693
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400af674
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400af686
call fcn.1401d0398
mov qword [rbx + 8], rdi
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1401d0398
test r15d, r15d
js 0x1400af3b8
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edi
mov rbx, qword [r14 + 0x18]
mov rsi, qword [r14 + 0x20]
cmp rbx, rsi
je 0x1400af6c4
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rbx, 8
cmp rbx, rsi
jne 0x1400af6b2
mov rax, qword [r14 + 0x18]
cmp rax, qword [r14 + 0x20]
je 0x1400af6d2
mov qword [r14 + 0x20], rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400af91e
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rsp + 0x58], 0
je 0x1400af919
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x30]
xor r8d, r8d
lea rdx, [0x140245f30]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x18]
xor r8d, r8d
lea rdx, str.ProcessId
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ExecutablePath
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov ecx, 0x428
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov qword [rsp + 0x78], rax
xor edx, edx
mov r8d, 0x428
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [rbp - 0x10]
mov dword [r12], ecx
cmp word [rbp - 0x70], 1
je 0x1400af8aa
mov r13, qword [rbp - 0x68]
xor edx, edx
mov rcx, r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1400af8aa
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400af8a1
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x80]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400af8a1
mov eax, dword [rsp + 0x70]
and eax, 0xfffffffc
cmp eax, 4
jb 0x1400af8a1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rax, qword [rbp - 0x80]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea r8, str.StringFileInfo_04x_04xFileDescription
mov edx, 0x40
lea rcx, [rbp + 0x50]
call fcn.1400abed0
test eax, eax
js 0x1400af8a1
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400af8a1
mov r8, qword [rbp - 0x78]
mov edx, 0x104
lea rcx, [r12 + 0x20c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [r12 + 4]
mov r8, qword [rbp - 0x28]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rdx, qword [r14 + 0x20]
cmp rdx, qword [r14 + 0x28]
je 0x1400af8d2
mov qword [rdx], r12
add qword [r14 + 0x20], 8
jmp 0x1400af8e0
lea r8, [rsp + 0x78]
lea rcx, [r14 + 0x18]
call fcn.14008b400
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1400af6e0
jmp 0x1400af91e
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x60], rdi
mov ecx, Ordinal_27
call fcn.1401d0330
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400af95c
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_PerfFormattedData_PerfProc_Process
call fcn.1401d13c0
mov qword [rbx], rax
jmp 0x1400af95f
mov rbx, rdi
mov qword [rbp - 0x40], rbx
test rbx, rbx
je 0x1400afbd4
mov ecx, Ordinal_27
call fcn.1401d0330
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400af99f
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, [0x140245f2c]
call fcn.1401d13c0
mov qword [rsi], rax
jmp 0x1400af9a2
mov rsi, rdi
mov qword [rbp - 0x38], rsi
test rsi, rsi
je 0x1400afbbe
mov rcx, qword [r14 + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdi
mov r9d, Ordinal_50
mov r8, qword [rbx]
mov rdx, qword [rsi]
call qword [rax + SHCreateDirectory]
mov r12d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x1400afa1a
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400af9fa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], rdi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400afa0c
call fcn.1401d0398
mov qword [rsi + 8], rdi
mov edx, Ordinal_27
mov rcx, rsi
call fcn.1401d0398
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400afa59
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400afa3a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400afa4c
call fcn.1401d0398
mov qword [rbx + 8], rdi
mov edx, Ordinal_27
mov rcx, rbx
call fcn.1401d0398
test r12d, r12d
js 0x1400af3b8
mov qword [rsp + 0x50], rdi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400afbae
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rsp + 0x58], 0
je 0x1400afba9
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
xor r8d, r8d
lea rdx, str.IDProcess
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rax, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x20]
cmp rax, rcx
je 0x1400afb76
mov edx, dword [rbp + 0x38]
mov rbx, qword [rax]
cmp dword [rbx], edx
je 0x1400afaf5
add rax, 8
cmp rax, rcx
jne 0x1400afae0
jmp 0x1400afb76
test rbx, rbx
je 0x1400afb76
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x18]
xor r8d, r8d
lea rdx, str.WorkingSetPrivate
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
xor r8d, r8d
lea rdx, str.PercentProcessorTime
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
mov qword [rbx + 0x420], rax
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
mov qword [rbx + 0x418], rax
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x1400afa80
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, 1
jmp 0x1400af3c2
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, 1
jmp 0x1400af3c2
mov ecx, 0x8007000e
call fcn.1401d13b0
nop
mov ecx, 0x8007000e
call fcn.1401d13b0
nop
mov ecx, 0x8007000e
call fcn.1401d13b0
nop
mov ecx, 0x8007000e
call fcn.1401d13b0
int3