Function at 0x4ae6f0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
sub esp, 0xd8
and dword [esp + 8], 0
lea eax, [esp + 8]
push ebp
mov ebp, ecx
push eax
mov dword [esp + 0x24], ebp
call fcn.004ae335
test ax, ax
jne 0x4ae718
xor eax, eax
jmp 0x4aea35
push esi
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 0x400
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], str.Range
mov eax, dword [esi]
push ecx
push 0x4cda00
push esi
call dword [eax + 0x14]
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x4ae755
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
jmp 0x4aea34
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x58]
push eax
call ebx
mov eax, dword [esp + 0xe8]
push 8
pop ecx
mov word [esp + 0x58], cx
cmp dword [eax + 0x14], ecx
jb 0x4ae779
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x80]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
and dword [esp + 0x88], 0
xor edi, edi
mov dword [esp + 0x7c], eax
inc edi
lea eax, [esp + 0xac]
mov dword [esp + 0x84], edi
push eax
call ebx
mov eax, dword [esi]
lea ecx, [esp + 0xc8]
push 0
push ecx
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x88]
push ecx
push 2
push 0x400
push 0x4cda00
push dword [esp + 0x40]
push esi
call dword [eax + 0x18]
mov dword [ebp + 0x10], eax
test eax, eax
lea eax, [esp + 0x5c]
push eax
jns 0x4ae7f9
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4ae83a
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [esp + 0xb4]
lea ecx, [esp + 0x34]
push ecx
push 0x400
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], str.Value
mov eax, dword [ebx]
push ecx
push 0x4cda00
push ebx
mov dword [esp + 0x40], ebx
call dword [eax + 0x14]
mov dword [ebp + 0x10], eax
test eax, eax
jns 0x4ae847
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
jmp 0x4aea32
mov eax, dword [esp + 0xf0]
xor edx, edx
mov ecx, dword [esp + 0xf4]
mov eax, dword [eax + 0x10]
div ecx
mov dword [esp + 0x20], eax
mov edi, eax
test edx, edx
je 0x4ae86b
inc edi
mov dword [esp + 0x20], edi
mov eax, 0x200c
mov dword [esp + 0x4c], edi
mov word [esp + 0x8c], ax
xor eax, eax
inc eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
push 2
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x38]
push eax
call fcn.0047833e
xor eax, eax
mov dword [esp + 0x14], eax
test edi, edi
je 0x4ae9ac
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0xf4]
and dword [esp + 0x1c], 0
test ebx, ebx
je 0x4ae993
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xf0]
lea eax, [esp + 0xbc]
push eax
mov edi, 0x4d0f78
call fcn.00440e34
cmp ebp, dword [eax + 8]
je 0x4ae92e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ae904
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, ebp
push 8
mov edi, dword [eax + ecx*4]
pop eax
cmp dword [edi + 0x14], eax
jb 0x4ae91a
mov edi, dword [edi]
push 0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x40]
call fcn.0045b5b1
mov ebp, dword [esp + 0x40]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
inc edi
push 8
pop ecx
lea eax, [esi + 1]
mov word [esp + 0x9c], cx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], edi
push eax
push dword [esp + 0x9c]
mov dword [esp + 0x54], edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp edi, ebx
jb 0x4ae8dc
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x4ae8cb
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x30], 0xfffffffd
push 0
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
lea ecx, [esp + 0xcc]
push ecx
push 0
lea ecx, [esp + 0x78]
stosd dword es:[edi], eax
push ecx
push 4
push 0x400
stosd dword es:[edi], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x84], eax
xor edi, edi
inc edi
lea eax, [esp + 0x48]
push 0x4cda00
push dword [esp + 0x50]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x90], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x18]
push dword [esp + 0x94]
mov dword [ebp + 0x10], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
setge al
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xd8
ret 0xc