Function at 0x140002460
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rsi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14017f840]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r15
mov esi, r15d
mov qword [rbp - 0x71], r15
call fcn.1400019b0
test eax, eax
je 0x14000277a
movaps xmm0, xmmword [str.SELECT__FROM_Win32_NTEventlogFile]
lea rcx, [rbp - 0x19]
movaps xmm1, xmmword [0x1401450f0]
mov eax, dword [0x140145120]
movaps xmmword [rbp - 0x19], xmm0
movaps xmm0, xmmword [0x140145100]
movaps xmmword [rbp - 9], xmm1
movaps xmm1, xmmword [0x140145110]
mov dword [rbp + 0x27], eax
movzx eax, word [0x140145124]
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x110], rbx
movaps xmmword [rbp + 7], xmm0
movaps xmmword [rbp + 0x17], xmm1
mov qword [rsp + 0x118], rdi
mov word [rbp + 0x2b], ax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
test rax, rax
jne 0x140002518
mov eax, r15d
jmp 0x1400025be
lea rcx, [0x140144118]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x14000253e
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, r15d
jmp 0x1400025be
mov rcx, qword [rbp - 0x69]
lea rdx, [rbp - 0x71]
mov qword [rsp + 0x28], rdx
mov r9d, Ordinal_50
mov r8, r14
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
jns 0x1400025b9
movups xmm0, xmmword [str.ExecQuery]
mov eax, dword [0x140144130]
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x49], eax
movups xmmword [rbp - 0x59], xmm0
call fcn.1400016d0
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r15d
jmp 0x1400025be
mov eax, 1
mov r14, qword [rsp + 0x120]
test eax, eax
je 0x140002750
mov rcx, qword [rbp - 0x71]
mov qword [rbp - 0x79], r15
mov dword [rbp - 0x2d], r15d
test rcx, rcx
je 0x140002730
test esi, esi
jne 0x140002730
mov rax, qword [rcx]
lea rdx, [rbp - 0x2d]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x79]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 0x2d], r15d
je 0x14000272c
mov rcx, qword [rbp - 0x79]
lea r9, [rbp - 0x59]
mov qword [rsp + 0x28], r15
lea rdx, str.FileName
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp word [rbp - 0x59], 1
je 0x14000271d
mov rcx, qword [rbp - 0x51]
lea rdx, str.System
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x140002709
lea rcx, [rbp - 0x59]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x79]
lea r9, [rbp - 0x59]
mov qword [rsp + 0x28], r15
lea rdx, str.Sources
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdi, qword [rbp - 0x51]
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x140002709
lea r8, [rbp - 0x25]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea r8, [rbp - 0x29]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov ebx, dword [rbp - 0x29]
sub ebx, dword [rbp - 0x25]
inc ebx
mov dword [rbp - 0x31], r15d
test ebx, ebx
jle 0x140002709
nop
lea r8, [rbp - 0x41]
mov rcx, rdi
lea rdx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov rcx, qword [rbp - 0x41]
lea rdx, str.vboxvideo
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140002704
mov eax, dword [rbp - 0x31]
inc eax
mov dword [rbp - 0x31], eax
cmp eax, ebx
jl 0x1400026d0
jmp 0x140002709
mov esi, 1
lea rcx, [rbp - 0x59]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
jne 0x1400025e3
jmp 0x140002730
mov rcx, qword [rbp - 0x71]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x69]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rbx, qword [rsp + 0x110]
mov eax, esi
mov rdi, qword [rsp + 0x118]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400cb320
add rsp, 0xf0
pop r15
pop rsi
pop rbp
ret
mov eax, esi
jmp 0x140002762