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

Disassembly:
push 0xffffffffffffffff
push 0x427c38
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4312c8]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov dword [esp + 0x60], ecx
xor edi, edi
cmp dword [ecx + 0x10], edi
jne 0x40f68f
mov eax, 0x80004005
jmp 0x410030
mov eax, dword [esp + 0xa4]
cmp eax, 1
je 0x40f6a9
cmp eax, 2
je 0x40f6a9
cmp eax, 3
jne 0x4100a9
mov esi, dword [esp + 0xa0]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x54]
push ecx
push esi
call edx
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor ebp, ebp
mov dword [esp + 0x94], edi
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x42b7e8
push eax
mov eax, dword [ecx]
mov byte [esp + 0xa0], 1
mov dword [esp + 0x50], edi
call eax
xor ebx, ebx
cmp dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
jle 0x410010
lea ecx, [ecx]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x30]
push edx
push ebx
push esi
call eax
cmp eax, edi
jl 0x40ffff
cmp dword [esp + 0x30], edi
je 0x40ffff
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x98], 3
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call fcn.0040e580
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x24]
push ecx
push eax
call edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, 0x42a1c0
je 0x40f7a6
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x42a1c0
call esi
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
jne 0x40f7ac
push 0x8007000e
call fcn.00405760
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x40f80c
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40f80c
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
jmp 0x40f810
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, str.Name
je 0x40f83f
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.Name
call esi
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
je 0x40f79c
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call edx
test eax, eax
jl 0x40f899
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40f899
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, str.Description
je 0x40f8c8
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.Description
call esi
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
je 0x40f79c
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call edx
test eax, eax
jl 0x40f922
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40f922
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp ebp, str.TargetURL
je 0x40f951
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push str.TargetURL
call esi
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x20], ebp
je 0x40f79c
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call edx
test eax, eax
jl 0x40f9ab
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40f9ab
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x40fae6
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x40fae6
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, edi
jl 0x40fada
push str.PARAM
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], edi
call fcn.00403a30
mov ebx, dword [esp + 0x58]
xor esi, esi
cmp dword [esp + 0x3c], edi
mov byte [esp + 0x94], 4
jle 0x40fac7
jmp 0x40fa20
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, edi
jl 0x40faac
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x40faac
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [esp + 0x1c]
call fcn.0040cc50
mov ecx, dword [esp + 0x1c]
push edi
push 0x400
push ebx
push ecx
call sub.OLEAUT32.dll_VarR8Pow
cmp eax, 1
mov eax, dword [esp + 0x28]
jne 0x40fabb
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x1c]
push ecx
push eax
call edx
cmp eax, edi
jl 0x40fa9c
cmp eax, 1
je 0x40fa9c
mov eax, dword [esp + 0x1c]
push 1
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], eax
call fcn.00407560
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], edi
add esi, 1
cmp esi, dword [esp + 0x3c]
jl 0x40fa20
jmp 0x40fac7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], edi
push ebx
mov byte [esp + 0x98], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov esi, eax
cmp esi, edi
jl 0x41004c
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x40fb75
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov eax, esi
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], edi
call fcn.00406930
mov esi, dword [esp + 0x7c]
mov edx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x90]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x94]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x98]
lea ecx, [ebx + 4]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x48]
push ecx
mov byte [esp + 0xa8], 5
call eax
lea ecx, [esp + 0x7c]
push ecx
mov byte [esp + 0x98], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0xa4]
cmp eax, 1
jne 0x40fc83
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
push eax
mov eax, dword [edx + 0x78]
push esi
call eax
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x6c]
push ecx
call ebp
push str.swClassProgId
lea ecx, [esp + 0x24]
call fcn.00402220
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call edx
test eax, eax
jl 0x40fc07
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40fc07
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x38]
push edx
push esi
call eax
lea ecx, [esp + 0x6c]
push ecx
call ebp
push str.swClassGUID
lea ecx, [esp + 0x24]
call fcn.00402220
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call edx
cmp eax, edi
jl 0x40ff95
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40ff95
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x40]
push edx
push esi
call eax
jmp 0x40ff95
cmp eax, 2
jne 0x40febc
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x1c]
mov byte [esp + 0x9c], 6
call eax
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push ecx
call esi
test eax, eax
jbe 0x40fccd
mov edx, dword [esp + 0x28]
push edx
call esi
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push str.MESSAGE
lea ecx, [esp + 0x2c]
call fcn.00406d50
test al, al
lea esi, [ebx + 4]
je 0x40fcf7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x78]
push 3
push esi
call edx
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x40fde5
mov eax, dword [esi]
mov ecx, dword [eax + 0x78]
push 2
push esi
call ecx
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x6c]
push edx
call ebp
push str.swClassProgId
lea ecx, [esp + 0x24]
call fcn.00402220
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x40fd76
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40fd76
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x38]
push edx
push esi
call eax
lea ecx, [esp + 0x6c]
push ecx
call ebp
push str.swClassGUID
lea ecx, [esp + 0x24]
call fcn.00402220
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call edx
test eax, eax
jl 0x40fde5
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40fde5
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x40]
push edx
push esi
call eax
lea ecx, [esp + 0x6c]
push ecx
call ebp
push str.LaunchDate
lea ecx, [esp + 0x24]
call fcn.00402220
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call edx
cmp eax, edi
jl 0x40fea4
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40fea4
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edi, dword [esp + 0x1c]
lea ebx, [esp + 0x48]
call fcn.0040cd90
test eax, eax
je 0x40fe7e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004193bb
mov ebx, edx
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40fe86
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
push 0
push 0x3e8
push ebx
push edi
call fcn.004198d0
push edx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x58]
push esi
call eax
mov ebx, dword [esp + 0x34]
xor edi, edi
mov ecx, dword [esp + 0x28]
push ecx
mov byte [esp + 0x98], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40ff95
cmp eax, 3
jne 0x410085
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
push eax
mov eax, dword [edx + 0x78]
push esi
call eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push str.LaunchDate
lea ecx, [esp + 0x24]
call fcn.00402220
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push eax
call edx
cmp eax, edi
jl 0x40ff95
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40ff95
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00402220
mov edi, dword [esp + 0x1c]
lea ebx, [esp + 0x4c]
call fcn.0040cd90
test eax, eax
je 0x40ff6f
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004193bb
mov ebx, edx
mov edx, dword [esp + 0x50]
add esp, 4
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40ff77
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
push 0
push 0x3e8
push ebx
push edi
call fcn.004198d0
push edx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x58]
push esi
call eax
mov ebx, dword [esp + 0x34]
xor edi, edi
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], edi
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0x42b8a8
push ebx
call eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x40ffe1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
cmp eax, edi
jl 0x40ffe1
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x98], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0xa0]
add ebx, 1
cmp ebx, dword [esp + 0x54]
mov dword [esp + 0x50], ebx
jl 0x40f710
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0xc
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
je 0x410066
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
jl 0x410066
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call edi
push ebp
call edi
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x410030
lea ecx, [esp + 0x2c]
call fcn.00407050
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push ebp
call esi
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x410030