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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476650
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4a0800]
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.0043f529
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp eax, edi
mov esi, eax
mov dword [esp + 0x34], esi
je 0x4226b5
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.00446493
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4226e2
push 0x80004005
call fcn.00402750
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 0x4227c3
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004153a0
add esp, 8
mov byte [esp + 0x90], 3
mov eax, dword [eax]
push eax
push ebx
call fcn.0041b940
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 0x42275a
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 0x42277e
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 0x422796
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 0x422850
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004153a0
add esp, 8
mov byte [esp + 0x90], 5
mov eax, dword [eax]
push eax
push ebx
call fcn.0041b940
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 0x42282f
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 0x42275a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x42275a
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
jne 0x42290e
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 0x483054
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x42292b
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004153a0
add esp, 8
mov byte [esp + 0x90], 7
mov eax, dword [eax]
push eax
push ebx
call fcn.0041b940
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 0x4228e2
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 0x42275a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x42275a
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x422861
push 0x8007000e
call fcn.00402750
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.00438756
add esp, 4
test edi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], 0
jle 0x422a2b
lea eax, [edi - 1]
lea ecx, [edi*4 - 4]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
jmp 0x422997
mov esi, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x422b81
cmp eax, dword [esi + 8]
jge 0x422b81
mov eax, dword [esi + 4]
add eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x4229b9
xor esi, esi
jmp 0x4229ca
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x422921
mov edx, dword [esp + 0x44]
lea ecx, [ebx + edx + 8]
test ecx, ecx
mov dword [esp + 0x3c], ecx
je 0x4229f7
test esi, esi
jne 0x4229e2
xor eax, eax
jmp 0x4229f5
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 0x422990
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 0x483054
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.00438751
add esp, 4
test edi, edi
jge 0x422b86
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.004153a0
add esp, 8
mov byte [esp + 0x90], 9
mov eax, dword [eax]
push eax
push ebx
call fcn.0041b940
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 0x422afc
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 0x422b2a
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 0x422b51
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 0x422b69
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 0x4227a9
call fcn.0044632e
call fcn.00446493
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x422ba0
push 0x80004005
call fcn.00402750
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 0x422bfb
cmp eax, 0xb
je 0x422be1
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x20]
push 0x487d34
push edx
call fcn.0040a810
add esp, 0xc
jmp 0x422c46
movsx eax, word [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
push 0x487d34
push ecx
call fcn.0040a810
add esp, 0xc
jmp 0x422c46
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00426580
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 0x422c46
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 0x422c7a
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 0x422ca8
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 0x422ccf
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 0x422ce7
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