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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444ebe
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45a1c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push 2
push 0
call dword [0x4482f4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x439190
jmp 0x43941d
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0x449ef0
push 1
push 0
push 0x449fc0
call dword [0x4482f0]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4391c3
call dword [0x4482f8]
jmp 0x43941d
mov dword [ebp - 0x34], 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x38]
call fcn.0040e910
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.0040e9d0
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040e9b0
cmp dword [ebp - 0x30], 0
jge 0x43923f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [0x4482f8]
jmp 0x43941d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp - 0x34]
push edx
call dword [0x4482fc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x439287
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [0x4482f8]
jmp 0x43941d
mov dword [ebp - 0x2c], 0
push str.Select__from_Win32_Battery
lea ecx, [ebp - 0x3c]
call fcn.0040e910
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 1
push 0x44acd4
lea ecx, [ebp - 0x40]
call fcn.0040e870
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x30
mov ecx, dword [ebp - 0x54]
call fcn.0040e9d0
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0040e9d0
push eax
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040e9b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040e9b0
cmp dword [ebp - 0x30], 0
jge 0x439338
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [0x4482f8]
jmp 0x43941d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x24], 0
jne 0x439375
mov dword [ebp - 0x30], 0x80004005
jmp 0x43941d
mov dword [ebp - 0x14], 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x44acd8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x4393ba
cmp dword [ebp - 0x14], 0
je 0x4393ba
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00438170
push eax
mov ecx, dword [ebp + 8]
call fcn.0040ec60
lea edx, [ebp - 0x1c]
push edx
call dword [0x448208]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x20], 0
je 0x439417
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [0x4482f8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4