Function at 0x140023f50
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov rsi, rcx
xor eax, eax
mov qword [rbp + 0x7f], rax
mov r14, qword [rcx + 0x88]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov r15d, 0xffffffff
mov r9d, r15d
lea r8, str.MSSmBios_RawSMBiosTables
xor edx, edx
lea ecx, [rax + 3]
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 0x140023fe0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, str.MSSmBios_RawSMBiosTables
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x140024450
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x140024459
mov rax, qword [r14]
lea rcx, [rbp + 0x7f]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rbx
mov rcx, r14
call qword [rax + 0x90]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r14d, 1
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14002446f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x77], rax
mov r12d, 0x364
lea r13d, [r12 + 1]
nop word [rax + rax]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400243bb
xor ebx, ebx
mov dword [rbp + 0x67], ebx
mov qword [rbp + 0x6f], rbx
mov rax, qword [rcx]
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x6f]
mov edx, 0x2710
lea r8d, [rbx + 1]
call qword [rax + 0x20]
cmp eax, 1
je 0x1400243a0
cmp dword [rbp + 0x67], ebx
je 0x1400243a0
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 - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp + 0x6f]
lea rcx, str.InstanceName
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 9], rax
test rax, rax
je 0x140024464
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]
mov rdi, qword [rbp + 0x6f]
lea rcx, str.Size
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x140024445
mov rax, qword [rdi]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x69]
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 [rbp - 0x61]
mov r8, qword [rbp - 0x29]
lea rdx, str.RtkMute:_GetSMBIOSTable_____Instance_Name:__ls_with_size__ul_n
lea rcx, [rbp + 0x77]
call fcn.140004e30
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x51]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rbp + 0x6f]
lea rcx, str.SMBiosData
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 7], rax
test rax, rax
je 0x140024485
mov rax, qword [rdi]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x51]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x20]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x1400243fc
mov qword [rbp - 0x39], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp qword [rsi + 0xf0], 0
jne 0x140024369
mov ecx, dword [rbp - 0x61]
call fcn.14004a5b0
mov qword [rsi + 0xf0], rax
mov r8d, dword [rbp - 0x61]
mov rdx, qword [rbp - 0x39]
mov rcx, rax
call fcn.1401e6370
mov rbx, qword [rsi + 0xf0]
mov edi, dword [rbp - 0x61]
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14002447a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r11, rax
xor r10d, r10d
test edi, edi
je 0x140024333
nop word [rax + rax]
mov r9d, r10d
movzx eax, byte [r10 + rbx]
cmp al, 0xd0
jne 0x14002427b
movzx eax, byte [r10 + rbx + 6]
mov word [rsi + 8], ax
jmp 0x1400242ff
cmp al, 0xb1
jne 0x1400242a9
movzx eax, word [r10 + rbx + 4]
mov word [rsi + 0xa], ax
movzx eax, word [r10 + rbx + 6]
mov word [rsi + 0xc], ax
movzx eax, word [r10 + rbx + 8]
mov word [rsi + 0xe], ax
movzx eax, word [r10 + rbx + 0xa]
mov word [rsi + 0x10], ax
jmp 0x1400242ff
cmp al, 0xda
jne 0x1400242ff
movzx ecx, byte [r10 + rbx + 1]
sub ecx, 0xb
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r8, edx
test edx, edx
jle 0x1400242ff
lea rax, [rbx + 0xd]
add rax, r9
movzx edx, word [rax - 2]
movzx ecx, word [rax]
cmp dx, r12w
jne 0x1400242e8
mov word [rsi + 0x128], cx
jmp 0x1400242f5
cmp dx, r13w
jne 0x1400242f5
mov word [rsi + 0x12a], cx
add rax, 6
sub r8, 1
jne 0x1400242d2
movzx eax, byte [r10 + rbx + 1]
lea rcx, [r10 + rax]
cmp word [rcx + rbx], 0
je 0x140024320
inc ax
movzx ecx, ax
add rcx, r9
cmp word [rcx + rbx], 0
jne 0x140024310
add ax, 2
movzx ecx, ax
add r10d, ecx
cmp r10d, edi
jb 0x140024260
mov eax, r15d
lock xadd dword [r11 + 0x10], eax
sub eax, 1
jg 0x14002434d
mov rcx, qword [r11]
mov rax, qword [rcx]
mov rdx, r11
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 1
mov rcx, qword [rsi + 0xf0]
call fcn.14000df20
mov qword [rsi + 0xf0], 0
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rbp - 0x51]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1400243a3
mov r14d, ebx
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400243b2
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test r14d, r14d
jne 0x140024050
mov rdx, qword [rbp + 0x77]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400243d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400243e8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.RtkMute:__GetSMBIOSTable___failed_to_get_SMBiosData___n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x14002443a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov word [rsi + 8], ax
jmp 0x1400243bb
mov ecx, 0x8007000e
call fcn.140005680
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x8007000e
call fcn.140005680
nop
mov ecx, 0x8007000e
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3
mov ecx, 0x8007000e
call fcn.140005680
int3