Function at 0x1004c9b0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x10093da0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100bbef4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x100be8ec], ebx
mov dword [esp + 0x7c], ebx
jne 0x1004cbb5
mov edi, dword [0x100be8e0]
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x1004c9ff
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x80], 2
mov word [esp + 0x2c], bx
call esi
mov ebp, dword [esp + 0x84]
push ebp
mov word [esp + 0x2c], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x1004ca5e
cmp ebp, ebx
je 0x1004ca5e
push 0x8007000e
mov word [esp + 0x2c], 0xa
mov dword [esp + 0x34], 0x8007000e
call fcn.10001020
mov ecx, dword [esp + 0x88]
mov word [esp + 0x38], 3
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x80], 4
call fcn.100455e0
mov eax, dword [eax]
add esp, 4
lea edx, [esp + 0x1c]
push edx
push 0x400
mov dword [esp + 0x20], eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
push 1
lea eax, [esp + 0x24]
push eax
push 0x100a9034
push edi
call ecx
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x1004cad2
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.10040b10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004caf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 0
jl 0x1004cb5d
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x28], ecx
call esi
lea eax, [esp + 0x28]
push eax
call esi
lea ecx, [esp + 0x48]
push ecx
call esi
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
mov byte [esp + 0x80], 0
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x7c], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x1004cb45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
lea ecx, [esp + 0x38]
push ecx
call esi
lea edx, [esp + 0x28]
push edx
call esi
lea eax, [esp + 0x48]
push eax
call esi
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
mov byte [esp + 0x80], 0
call edx
lea eax, [ebp - 0x10]
mov dword [esp + 0x7c], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x1004cb9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [0x100c0974]
cmp eax, ebx
jne 0x1004cbcd
mov eax, dword [esp + 0x84]
or ebx, 0xffffffff
add eax, 0xfffffff0
jmp 0x1004cb85
cmp dword [0x100c08f0], ebx
mov edx, dword [esp + 0x88]
mov ecx, dword [0x100c08f8]
mov esi, dword [esp + 0x84]
push edx
je 0x1004cc2e
add eax, ecx
mov ecx, dword [0x100c08f4]
push esi
push ecx
call eax
mov edi, eax
or ebx, 0xffffffff
lea eax, [esi - 0x10]
mov dword [esp + 0x7c], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x1004cc18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov edi, esp
push esi
lea ebp, [ecx + eax]
call fcn.100012d0
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x64]
add esp, 4
push eax
call fcn.10043fb0
add esp, 8
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [esp + 0x80], 5
jb 0x1004cc6d
mov eax, dword [eax + 4]
jmp 0x1004cc70
add eax, 4
mov ecx, dword [0x100c08f4]
push eax
push ecx
call ebp
cmp dword [esp + 0x70], edi
mov ebp, eax
jb 0x1004cc8f
mov edx, dword [esp + 0x5c]
push edx
call fcn.10060bb8
add esp, 4
mov dword [esp + 0x6c], ebx
or ebx, 0xffffffff
mov dword [esp + 0x70], 0xf
mov byte [esp + 0x5c], 0
mov dword [esp + 0x7c], ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x1004ccbd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebp
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret