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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472530
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x49b7f0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
push edi
lea eax, [esp + 0x3c]
push eax
push 9
push 2
lea ecx, [ebx + 0x78]
push 0xcb
push ecx
call fcn.0043b40b
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp eax, edi
mov esi, eax
mov dword [esp + 0x34], esi
je 0x41f575
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x18], edi
mov byte [esp + 0x90], 1
call fcn.00442376
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41f5a2
push 0x80004005
call fcn.00402710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x94], 2
mov ecx, dword [esi]
mov eax, dword [ecx]
push str._D_3
push esi
call eax
test eax, eax
jge 0x41f683
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00412410
add esp, 8
mov byte [esp + 0x90], 3
mov eax, dword [eax]
push eax
push ebx
call fcn.00418bf0
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f61a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x90], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f63e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41f656
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x14], 0
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
test eax, eax
jge 0x41f710
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00412410
add esp, 8
mov byte [esp + 0x90], 5
mov eax, dword [eax]
push eax
push ebx
call fcn.00418bf0
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f61a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41f61a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
jne 0x41f7ce
mov dword [esp + 0x20], eax
lea edx, [esp + 0x2c]
push edx
push 0x800
push 1
mov byte [esp + 0x9c], 6
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
push 0x47f05c
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x41f7eb
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00412410
add esp, 8
mov byte [esp + 0x90], 7
mov eax, dword [eax]
push eax
push ebx
call fcn.00418bf0
mov byte [esp + 0x90], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f7a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f61a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x41f61a
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x41f721
push 0x8007000e
call fcn.00402710
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 8]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x4c], edi
neg ecx
or ecx, eax
push ecx
call fcn.00434631
add esp, 4
test edi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], 0
jle 0x41f8eb
lea eax, [edi - 1]
lea ecx, [edi*4 - 4]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
jmp 0x41f857
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x41fa41
cmp eax, dword [esi + 8]
jge 0x41fa41
mov eax, dword [esi + 4]
add eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x41f879
xor esi, esi
jmp 0x41f88a
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x41f7e1
mov edx, dword [esp + 0x44]
lea ecx, [ebx + edx + 8]
test ecx, ecx
mov dword [esp + 0x3c], ecx
je 0x41f8b7
test esi, esi
jne 0x41f8a2
xor eax, eax
jmp 0x41f8b5
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
push esi
mov word [ebx + eax], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x28]
sub dword [esp + 0x1c], 4
sub dword [esp + 0x24], 1
add eax, 1
add ebx, 0x10
cmp eax, edi
mov dword [esp + 0x28], eax
jl 0x41f850
mov ebx, dword [ebp + 8]
xor eax, eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x50]
push ecx
push 1
mov byte [esp + 0xa4], 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
push 0
push 0x47f05c
or esi, 0xffffffff
mov dword [esp + 0x5c], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x44]
push eax
call fcn.00434636
add esp, 4
test edi, edi
jge 0x41fa46
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.00412410
add esp, 8
mov byte [esp + 0x90], 9
mov eax, dword [eax]
push eax
push ebx
call fcn.00418bf0
mov byte [esp + 0x90], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f9bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f9ea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41fa29
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41f669
call fcn.00442211
call fcn.00442376
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fa60
push 0x80004005
call fcn.00402710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov bl, 0xa
mov byte [esp + 0x90], bl
movzx eax, word [esp + 0x54]
cmp eax, 8
je 0x41fabb
cmp eax, 0xb
je 0x41faa1
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x20]
push 0x483d34
push edx
call fcn.0040a810
add esp, 0xc
jmp 0x41fb06
movsx eax, word [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
push 0x483d34
push ecx
call fcn.0040a810
add esp, 0xc
jmp 0x41fb06
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00423310
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 0xb
call fcn.0040a720
mov byte [esp + 0x90], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fb06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0040a720
mov byte [esp + 0x90], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fb3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41fb68
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41fba7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x90], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10