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

Disassembly:
push 0xffffffffffffffff
push 0x1009f7b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 4], eax
cmp dword [ecx + 0x10c], ebx
mov byte [esp + 0x68], 1
je 0x10005274
mov eax, dword [ecx + 0x10c]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x1c]
xor ecx, ecx
cmp eax, ebx
setge cl
mov eax, ecx
cmp eax, ebx
jne 0x100052a1
mov eax, dword [esp + 4]
cmp eax, ebx
mov byte [esp + 0x68], 0
je 0x10005283
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x70]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
lea ecx, [esp + 0x70]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
cmp eax, ebx
jne 0x1000531f
mov dword [esp + 8], ebx
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push 0x800
push 1
lea edx, [esp + 0x14]
push edx
push 0x100bc884
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push eax
mov byte [esp + 0x80], 2
call dword [ecx + 0x14]
cmp eax, ebx
jge 0x10005338
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 4]
cmp eax, ebx
mov byte [esp + 0x68], 0
je 0x10005301
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x70]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 8], eax
jne 0x100052b3
push 0x8007000e
call fcn.10004980
push ebp
push esi
mov esi, dword [esp + 0x7c]
xor edx, edx
push edi
mov edi, dword [esi + 8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov eax, edi
mov dword [esp + 0x34], edx
shl eax, 4
push eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
call sub.MFC71U.DLL_SerializeElements
add esp, 4
cmp edi, ebx
mov dword [esp + 0x2c], eax
jle 0x10005422
lea eax, [edi - 1]
lea ecx, [edi*4 - 4]
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x10005393
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10005533
cmp eax, dword [esi + 8]
jge 0x10005533
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
test eax, eax
jne 0x100053b9
xor esi, esi
jmp 0x100053ca
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x10005529
mov edx, dword [esp + 0x2c]
lea ecx, [edx + ebp + 8]
test ecx, ecx
mov dword [esp + 0x24], ecx
je 0x100053f7
test esi, esi
jne 0x100053e2
xor eax, eax
jmp 0x100053f5
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
push esi
mov word [eax + ebp], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
sub dword [esp + 0x18], 4
sub dword [esp + 0x1c], 1
add ebx, 1
add ebp, 0x10
cmp ebx, edi
jl 0x10005388
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x64], ecx
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x6c], ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x30]
push 1
push ebx
push 0x100bc884
push edx
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [eax]
push eax
mov byte [esp + 0x98], 3
call dword [ecx + 0x18]
cmp edi, ebx
mov ebp, eax
jle 0x100054bb
xor esi, esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + eax + 8]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x2c]
mov dword [esi + edx + 8], 0
add esi, 0x10
sub edi, 1
jne 0x10005496
xor ebx, ebx
mov eax, dword [esp + 0x2c]
push eax
call sub.MFC71U.DLL_operator_new
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x2c], ebx
jge 0x10005538
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x78], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x100054ea
push eax
call fcn.1009ef50
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x74], 0
je 0x10005508
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
push 0x8007000e
call fcn.10004980
call sub.MFC71U.DLL_AfxThrowInternetException
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x10005559
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x10005559
push eax
call fcn.1009ef50
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x78], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x10005573
push eax
call fcn.1009ef50
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x74], 0
je 0x10005591
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc