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

Disassembly:
push 0xffffffffffffffff
push 0x4111f8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41dda0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push 0x412bf8
push 0x17
push ebp
push 0x4137e4
mov dword [esp + 0x64], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x403a68
or esi, 0xffffffff
push esi
push str.rootWMI
call fcn.00403660
mov ebx, eax
add esp, 8
cmp ebx, ebp
mov dword [esp + 0x34], ebx
jne 0x40387a
push 0x8007000e
call fcn.00403420
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
push eax
mov eax, dword [ecx + 0xc]
mov byte [esp + 0x74], 2
call eax
cmp eax, ebp
mov eax, dword [esp + 0x14]
jge 0x4038c4
cmp eax, ebp
mov byte [esp + 0x50], 1
je 0x4038b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x50], esi
jmp 0x403a70
push ebp
push ebp
push 3
push 3
push ebp
push ebp
push esi
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebp
jge 0x4038de
mov eax, dword [esp + 0x14]
jmp 0x4038a3
mov dword [esp + 0x20], ebp
push 0x412c50
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 3
call fcn.00403730
push str.SELECT__FROM_WmiMonitorBrightness
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 4
call fcn.00403730
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push ebp
push 0x20
push esi
push edi
push eax
mov eax, dword [ecx + 0x50]
mov byte [esp + 0x68], 5
call eax
cmp eax, ebp
jl 0x403a2f
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x403a2f
mov dword [esp + 0x1c], ebp
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x20]
push edx
push 1
mov dword [esp + 0x3c], ebp
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
mov byte [esp + 0x64], 6
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4039b5
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x1c]
push ebp
push ebp
lea ecx, [esp + 0x40]
push ecx
push ebp
mov word [esp + 0x48], 0x16
mov word [esp + 0x50], bp
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0x412c08
push eax
call edx
cmp eax, ebp
jl 0x4039a6
mov dword [esp + 0x24], 1
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov byte [esp + 0x50], 5
je 0x4039c6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push edi
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0x50], 2
je 0x4039e7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x50], 1
je 0x4039fc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x50], 0xffffffff
je 0x403a17
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push edi
call esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
mov byte [esp + 0x50], 2
je 0x403a50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x50], 1
je 0x403a65
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call esi
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x403a80
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret