Function at 0x45b810
Capabilities:
Get http document via iwebbrowser2
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
push ebx
mov ebx, dword [0x566b2c]
cmp byte [ebx + 0x28], 0
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x68], ebx
jne 0x45b838
push ebx
xor eax, eax
mov byte [ebx + 0x28], 1
call fcn.0045bd40
mov eax, ebx
mov dword [esp + 0x6c], edi
call fcn.0045a790
xor esi, esi
cmp eax, esi
jle 0x45b868
cmp eax, 0x64
je 0x45b868
imul eax, edi
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x6c], eax
cmp dword [ebx + 0x30], esi
je 0x45bd32
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.WmiMonitorBrightnessMethods
call ebp
push str.WmiSetBrightness
mov dword [esp + 0x60], eax
mov byte [esp + 0x5c], 1
call ebp
push str.Timeout
mov dword [esp + 0x44], eax
mov byte [esp + 0x40], 1
call ebp
push str.Brightness
mov dword [esp + 0x54], eax
mov byte [esp + 0x50], 1
call ebp
push str.Select__from_WmiMonitorBrightnessMethods
mov dword [esp + 0x4c], eax
mov byte [esp + 0x48], 1
call ebp
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov esi, dword [ebx + 0x30]
push eax
mov edi, 0x4d0d90
mov byte [esp + 0x64], 1
mov byte [esp + 0x28], 1
mov byte [esp + 0x30], 1
mov byte [esp + 0x20], 1
mov byte [esp + 0x18], 1
call fcn.00456680
mov eax, dword [eax]
test eax, eax
je 0x45b907
mov eax, dword [eax]
jmp 0x45b909
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x68]
push 0
push 0x10
push edx
push eax
mov eax, dword [ecx + 0x50]
push esi
call eax
lea edi, [esp + 0x54]
mov esi, eax
call fcn.004566e0
xor edi, edi
cmp esi, edi
je 0x45b9f0
cmp byte [esp + 0x14], 0
je 0x45b94c
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x45b94c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x1c], 0
mov dword [esp + 0x18], edi
je 0x45b967
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x45b967
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x2c], 0
mov dword [esp + 0x20], edi
je 0x45b982
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x45b982
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x24], 0
mov dword [esp + 0x30], edi
je 0x45b99d
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x45b99d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x64]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x28], edi
cmp eax, edi
je 0x45b9b2
push eax
call esi
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x45b9bd
push eax
call esi
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x45b9c8
push eax
call esi
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x45b9d3
push eax
call esi
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x45bd32
push eax
call esi
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov dword [esp + 0x54], edi
jmp 0x45b9fc
mov ebx, dword [esp + 0x68]
xor edi, edi
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xac]
push edx
lea edx, [esp + 0x3c]
push edx
push 1
mov dword [esp + 0x44], edi
mov byte [esp + 0x40], 1
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x45bc55
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x64]
push edi
push edi
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jne 0x45bcd8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x48]
push edi
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
test eax, eax
jne 0x45bcd8
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push edi
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jne 0x45bcd8
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x88]
push ecx
call edi
mov edx, 8
push 0x4d0fc4
mov word [esp + 0x8c], dx
call ebp
push 0x13
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x88]
push ecx
mov esi, eax
call ebx
test esi, esi
jne 0x45bcd8
lea edx, [esp + 0x98]
push edx
call edi
mov cx, word [esp + 0x6c]
mov word [esp + 0xa0], cx
push esi
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x50]
mov eax, 0x11
mov word [esp + 0xa0], ax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push esi
push ecx
push eax
call edx
mov esi, eax
lea eax, [esp + 0x98]
push eax
call ebx
test esi, esi
jne 0x45bcd8
lea ecx, [esp + 0x78]
push ecx
call edi
mov ebx, dword [esp + 0x38]
push 0xc
call fcn.0049d50f
mov esi, eax
add esp, 4
test esi, esi
je 0x45bcc5
lea edi, [esi + 8]
push 0x4d0fc8
mov dword [esi + 4], 0
mov dword [edi], 1
call ebp
mov dword [esi], eax
test eax, eax
je 0x45bcc5
mov ecx, dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 0
push ecx
push ebx
call edx
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45bbc5
mov eax, dword [esi]
test eax, eax
je 0x45bbac
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x45bbbc
push eax
call fcn.0049d27f
add esp, 4
push esi
call fcn.0049d27f
add esp, 4
test ebx, ebx
jne 0x45bcd8
mov eax, dword [esp + 0x80]
push eax
call ebp
mov ecx, dword [esp + 0x68]
push ebx
push ebx
mov edi, eax
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x60]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x98]
push ecx
push eax
mov dword [esp + 0x94], edi
mov byte [esp + 0x90], 1
call edx
mov esi, eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc dword [esp + 0x54]
test esi, esi
jne 0x45bccf
test edi, edi
je 0x45bc31
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [esp + 0x34], 0
je 0x45b9f6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45b9f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45b9f6
lea esi, [esp + 0x34]
call fcn.0045cda0
lea esi, [esp + 0x14]
call fcn.0045cda0
lea esi, [esp + 0x1c]
call fcn.0045cda0
lea esi, [esp + 0x2c]
call fcn.0045cda0
lea esi, [esp + 0x24]
call fcn.0045cd80
lea ecx, [esp + 0x60]
call fcn.00401540
lea ecx, [esp + 0x44]
call fcn.00401540
lea ecx, [esp + 0x4c]
call fcn.00401540
lea ecx, [esp + 0x3c]
call fcn.00401540
lea ecx, [esp + 0x58]
call fcn.00401540
mov eax, dword [esp + 0x54]
neg eax
sbb eax, eax
neg eax
dec eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
push 0x8007000e
call fcn.0049c8f0
lea ecx, [esp + 0x70]
call fcn.00401540
lea esi, [esp + 0x34]
call fcn.0045cda0
lea esi, [esp + 0x14]
call fcn.0045cda0
lea esi, [esp + 0x1c]
call fcn.0045cda0
lea esi, [esp + 0x2c]
call fcn.0045cda0
lea esi, [esp + 0x24]
call fcn.0045cd80
lea ecx, [esp + 0x60]
call fcn.00401540
lea ecx, [esp + 0x44]
call fcn.00401540
lea ecx, [esp + 0x4c]
call fcn.00401540
lea ecx, [esp + 0x3c]
call fcn.00401540
lea ecx, [esp + 0x58]
call fcn.00401540
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xa4
ret