Function at 0x4189c0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x47f97b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebp
push esi
push edi
mov eax, dword [0x49c0a4]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov dword [esp + 0x94], 0
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x13], 0
lea esi, [esp + 0x5c]
mov edi, 3
push esi
call ebp
add esi, 0x10
sub edi, 1
jne 0x418a08
lea eax, [esp + 0x4c]
push eax
call ebp
mov ecx, 0x400c
mov word [esp + 0x2c], cx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov ecx, 8
push eax
mov dword [esp + 0x6c], edx
mov esi, eax
mov word [esp + 0x20], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x24], eax
cmp eax, edi
jne 0x418a74
cmp esi, edi
je 0x418a74
push 0x8007000e
call fcn.0041c000
mov byte [esp + 0x94], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov byte [esp + 0x94], 0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x1c]
push eax
call esi
mov edx, dword [esp + 0x9c]
mov ecx, 0x17
mov word [esp + 0x2c], cx
mov dword [esp + 0x34], edx
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov byte [esp + 0x94], 0
lea ecx, [esp + 0x2c]
push ecx
call esi
lea eax, [ebx + 0x38]
lea edx, [esp + 0x5c]
push eax
mov dword [esp + 0x48], 3
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x94], 3
mov esi, dword [ebx + 0x2c]
cmp esi, dword [ebx + 0x30]
jbe 0x418b41
call fcn.00465838
mov edi, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], ebp
jbe 0x418b51
call fcn.00465838
mov eax, dword [ebx + 0x20]
test edi, edi
je 0x418b5c
cmp edi, eax
je 0x418b61
call fcn.00465838
cmp esi, ebp
je 0x418c0f
test edi, edi
jne 0x418c00
call fcn.00465838
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x418b82
call fcn.00465838
cmp dword [esi], 0
je 0x418be3
test edi, edi
jne 0x418c07
call fcn.00465838
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x418b9c
call fcn.00465838
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x48]
push edx
push 1
push 0x400
push 0x48c22c
push 3
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x418be3
cmp word [esp + 0x4c], 3
jne 0x418bde
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa4]
mov dword [edx], ecx
mov byte [esp + 0x13], 1
test edi, edi
jne 0x418c0b
call fcn.00465838
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x418bf8
call fcn.00465838
add esi, 4
jmp 0x418b44
mov eax, dword [edi]
jmp 0x418b78
mov eax, dword [edi]
jmp 0x418b92
mov eax, dword [edi]
jmp 0x418bee
mov byte [esp + 0x94], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x94], 0xffffffff
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x88
ret 0xc