Function at 0x140031c80
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xb0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rbp, rcx
xor r14d, r14d
mov qword [rsp + 0x100], r14
mov r12, qword [rcx + 0x88]
call qword [0x1400f24e0]
mov esi, eax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
or r13d, 0xffffffff
mov r9d, r13d
lea r8, str.MSSmBios_RawSMBiosTables
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [rax - 1]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x140031d1f
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea r8, str.MSSmBios_RawSMBiosTables
xor edx, edx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x140031d1f
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rbx, r14
mov qword [rsp + 0x88], rbx
test rbx, rbx
jne 0x140031d37
mov ecx, 0x8007000e
call fcn.140001950
nop
mov rax, qword [r12]
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rbx
mov rcx, r12
call qword [rax + 0x90]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r12d, 1
call fcn.1400628f8
mov r11, rax
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
jne 0x140031d8b
mov ecx, 0x80004005
call fcn.140001950
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x108], rdi
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x14003207e
mov dword [rsp + 0xf0], r14d
mov qword [rsp + 0xf8], r14
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xf8]
mov edx, 0x2710
mov r8d, 1
call qword [rax + 0x20]
cmp eax, 1
je 0x140031ff0
cmp dword [rsp + 0xf0], 0
je 0x140031ff0
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rsp + 0xf8]
lea rcx, str.InstanceName
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140032073
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x20]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xf8]
lea rcx, str.Size
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140032068
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x20]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x70]
lea rdx, str.RtkMute:_GetSMBIOSTable_____Instance_Name:__ls_with_size__ul_n
lea rcx, [rsp + 0x108]
call fcn.140001e50
mov rdi, qword [rsp + 0x108]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rsi, qword [rsp + 0xf8]
lea rcx, str.SMBiosData
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14003205d
mov rax, qword [rsi]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x20]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jne 0x140032010
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp qword [rbp + 0xf0], 0
jne 0x140031fb4
mov ecx, dword [rsp + 0x40]
call fcn.140062334
mov qword [rbp + 0xf0], rax
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140092740
mov r8, qword [rbp + 0xf0]
mov edx, dword [rsp + 0x40]
mov rcx, rbp
call fcn.140032200
mov rcx, qword [rbp + 0xf0]
call fcn.14006233c
mov qword [rbp + 0xf0], r14
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x140031ff3
mov r12d, r14d
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x140032006
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test r12d, r12d
je 0x14003207e
jmp 0x140031da0
lea rcx, str.RtkMute:__GetSMBIOSTable___failed_to_get_SMBiosData___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x140032055
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov word [rbp + 8], 0
jmp 0x14003207e
mov ecx, 0x8007000e
call fcn.140001950
nop
mov ecx, 0x8007000e
call fcn.140001950
int3
mov ecx, 0x8007000e
call fcn.140001950
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], r13d
add r13d, 0xffffffff
test r13d, r13d
jg 0x14003209b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x1400320ae
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add rsp, 0xb0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret