Function at 0x140049360
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rsi, r8
mov r12d, edx
mov r13, rcx
xor edi, edi
mov r15d, edi
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x49]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov qword [rbp + 0x67], rdi
lea rcx, str.CWmiEventSink::Indicate_enter_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [r13 + 0x18]
mov qword [rbp + 0x7f], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r14d, edi
test r12d, r12d
jle 0x1400494dd
lea rbx, str.BIOSEvent
nop dword [rax]
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, str.InstanceName
call qword [rax + 0x20]
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, str.__Class
call qword [rax + 0x20]
mov rdx, qword [rbp - 9]
mov rax, rdi
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rbx + rax*2]
jne 0x1400494cd
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rbx + rax*2 + 2]
jne 0x1400494cd
add rax, 2
cmp rax, 0xa
jne 0x140049450
lea rcx, str.CWmiEventSink::Indicate_BIOSEvent_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x49]
xor r8d, r8d
lea rdx, str.Data
call qword [rax + 0x20]
test eax, eax
jne 0x1400494c7
movzx eax, word [rbp - 0x49]
cmp eax, 0xd
je 0x140049577
cmp eax, 0x2011
je 0x14004953f
lea rcx, str.CWmiEventSink::Indicate_other_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r15d, 0x80041001
inc r14d
add rsi, 8
cmp r14d, r12d
jl 0x140049400
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x14004950c
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, r15d
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.CWmiEventSink::Indicate_VT_ARRAYVT_UI1_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov word [rbp - 0x69], di
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x14004965b
lea rdx, [rbp - 0x69]
mov rcx, r13
call fcn.1400496b0
jmp 0x1400494cd
lea rcx, str.CWmiEventSink::Indicate_VT_UNKNOWN_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rbx, qword [rbp + 0x67]
mov rcx, qword [rbp - 0x41]
cmp rbx, rcx
je 0x1400495bc
test rcx, rcx
je 0x1400495aa
mov rax, qword [rcx]
lea r8, [rbp + 0x67]
lea rdx, [0x140285c10]
call qword [rax]
test eax, eax
jns 0x1400495ae
mov qword [rbp + 0x67], rdi
test rbx, rbx
je 0x1400495bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp + 0x67]
lea rcx, str.Bytes
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x51], rax
test rax, rax
je 0x140049650
mov rax, qword [rdi]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x31]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x20]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
mov word [rbp - 0x69], di
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x14004963c
lea rdx, [rbp - 0x69]
mov rcx, r13
call fcn.1400496b0
lea rbx, str.BIOSEvent
jmp 0x1400494cd
mov ecx, 0xa
mov word [rbp - 0x69], cx
mov dword [rbp - 0x61], eax
mov ecx, eax
call fcn.140005680
int3
mov ecx, 0x8007000e
call fcn.140005680
int3
mov ecx, 0xa
mov word [rbp - 0x69], cx
mov dword [rbp - 0x61], eax
mov ecx, eax
call fcn.140005680
int3