Function at 0x140026400
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
lea rax, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoserviceinclude_aio.h
mov dword [rbp + 0x27], 0x4f
mov qword [rbp + 0x1f], rax
lea r8, str.AIO::IsWMIGetBrightnessOK
lea rax, str.__AIO::IsWMIGetBrightnessOK_
mov qword [rbp + 0x17], r8
mov qword [rbp + 0x2f], rax
lea rdx, str.ENTER__s
lea rax, [0x1402a214c]
mov dword [rbp + 0x3f], 3
lea rcx, [rbp + 0x1f]
mov qword [rbp + 0x37], rax
call fcn.140008d50
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [rbp + 7]
call fcn.140012670
xor edx, edx
lea rcx, [rbp + 7]
mov qword [rsp + 0x20], rcx
lea r9, [0x140241748]
lea rcx, [0x140241738]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002649d
xor ebx, ebx
jmp 0x14002661d
lea rcx, [rbp + 0x77]
call fcn.140012670
xor ebx, ebx
lea r8, [0x1402ad1b0]
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx - 1]
lea ecx, [rbx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edi, eax
lea edx, [rax - 1]
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rsi, rax
test rax, rax
je 0x140026503
mov dword [rsp + 0x28], edi
lea r9d, [rbx - 1]
lea r8, [0x1402ad1b0]
mov qword [rsp + 0x20], rax
xor edx, edx
lea ecx, [rbx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x14002664f
test rsi, rsi
je 0x140026658
mov rcx, qword [rbp + 7]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rdx, rsi
mov rax, qword [rcx]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x14002660b
mov rcx, qword [rbp + 0x77]
xor r9d, r9d
mov dword [rsp + 0x38], ebx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea rcx, [rbp + 0x7f]
call fcn.140012670
mov edi, ebx
nop dword [rax + rax]
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.WmiMonitorBrightness
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
js 0x1400265b0
mov r10, qword [rbp + 0x7f]
test r10, r10
jne 0x1400265c4
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x140026580
jmp 0x140026602
cmp edi, 5
jge 0x140026602
lea rcx, [rbp + 0xf]
call fcn.140012670
mov edx, 0xffffffff
mov dword [rbp + 0x6f], ebx
mov rax, qword [r10]
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xf]
mov rcx, r10
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
lea rcx, [rbp + 0xf]
sete bl
call fcn.1400120a0
lea rcx, [rbp + 0x7f]
call fcn.1400120a0
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x77]
call fcn.1400120a0
lea rcx, [rbp + 7]
call fcn.1400120a0
mov r8, qword [rbp + 0x17]
lea rdx, str.LEAVE__s
lea rcx, [rbp + 0x1f]
call fcn.140008d50
mov eax, ebx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x8007000e
call fcn.140002ad0
int3