Function at 0x40d3f0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x40f81b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x415028]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, dword [esp + 0xd8]
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x40d4c6
mov esi, dword [edi]
call fcn.0040d320
mov eax, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jl 0x40d4c6
mov ecx, 3
mov dword [esp + 0x38], ebx
mov word [esp + 0x24], cx
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x24]
mov dword [esp + 0xd0], ebx
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edx
call ebp
mov eax, 8
push 0x411270
mov word [esp + 0x28], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x40d4aa
mov ecx, 0xa
mov eax, 0x8007000e
mov word [esp + 0x24], cx
mov dword [esp + 0x2c], eax
call fcn.004060a0
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push eax
call edx
test eax, eax
jge 0x40d4cd
lea eax, [esp + 0x24]
push eax
call ebp
xor eax, eax
jmp 0x40d879
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
jl 0x40d83e
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push 3
push eax
mov eax, dword [edx + 0x38]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push 1
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jl 0x40d83e
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x40]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push ebx
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push ebx
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push ebx
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
jl 0x40d83e
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
push ebx
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x40d4bf
mov ecx, 3
mov word [esp + 0x64], cx
mov dword [esp + 0x6c], ebx
mov edx, ecx
mov word [esp + 0x54], dx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x40d64b
lea eax, [esp + 0x54]
push eax
call ebp
lea ecx, [esp + 0x64]
push ecx
call ebp
lea edx, [esp + 0x24]
push edx
call ebp
xor eax, eax
jmp 0x40d879
mov edi, dword [esp + 0xdc]
lea esi, [esp + 0x64]
call fcn.0040ce80
mov edi, str.__Arg0_
lea esi, [esp + 0x54]
call fcn.0040ce80
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 3
mov dword [esp + 0x40], ebx
mov word [esp + 0x94], ax
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0xd8]
mov byte [esp + 0xd0], al
mov edi, dword [ecx]
lea esi, [esp + 0x94]
call fcn.0040ce80
mov edx, 8
push 0x4108b4
mov word [esp + 0x88], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x8c], eax
cmp eax, ebx
jne 0x40d6f8
push 0x8007000e
call fcn.0040e3a0
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0xc4], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0xa4]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0xd0], 6
lea eax, [esp + 0x40]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xd0]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, dword [esp + 0xd4]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x58]
push 3
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x100]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x78]
mov edx, dword [ecx]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xcc]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xe0]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xe4]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xe8]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x4c]
push 6
push eax
mov eax, dword [esp + 0xdc]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
lea edx, [esp + 0xa4]
push edx
mov esi, eax
call ebp
lea eax, [esp + 0x74]
push eax
call ebp
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0xd4], 3
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
jge 0x40d849
lea ecx, [esp + 0x94]
push ecx
call ebp
lea edx, [esp + 0x54]
push edx
call ebp
lea eax, [esp + 0x64]
push eax
call ebp
lea ecx, [esp + 0x24]
push ecx
call ebp
xor eax, eax
jmp 0x40d879
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x94]
push eax
call ebp
lea ecx, [esp + 0x54]
push ecx
call ebp
lea edx, [esp + 0x64]
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call ebp
mov eax, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 8