Function at 0x4073a0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e163
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 0x10], esp
je 0x407626
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
cmp dword [edx - 0xc], esi
je 0x407626
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
cmp dword [edx - 0xc], esi
je 0x407626
mov eax, dword [eax]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov ecx, dword [eax - 0xc]
push 1
push 0x11
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x2c], edi
jne 0x407421
mov eax, 0x8007000e
jmp 0x40742c
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
cmp eax, esi
jge 0x407432
push eax
call fcn.00401910
mov ebx, dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov byte [ebp - 4], 1
lea esp, [esp]
lea eax, [ebp - 0x24]
push eax
push 1
push edi
call ebx
lea ecx, [ebp - 0x20]
push ecx
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
inc edx
cmp esi, edx
jae 0x407497
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dl, byte [esi + ecx]
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
mov byte [ebp - 0x11], dl
mov dword [ebp - 0x1c], 0
call ebx
test eax, eax
jge 0x407486
push eax
call fcn.00401910
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xc]
sub ecx, edx
mov dl, byte [ebp - 0x11]
mov byte [ecx + esi], dl
inc esi
jmp 0x407440
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_DispGetParam]
xor esi, esi
cmp eax, esi
jl 0x4074c4
cmp dword [ebp - 0x1c], esi
je 0x4074c4
lea ecx, [ebp - 0x48]
push ecx
push edi
call dword [sym.imp.OLEAUT32.dll_VarR8FromUI1]
mov edx, dword [ebp - 0x1c]
or byte [ebp - 0x47], 0x20
mov dword [ebp - 0x40], edx
jmp 0x4074cd
mov word [ebp - 0x48], 0xa
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push eax
push 0x421f64
push 0x14
push esi
push 0x421f14
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x40750f
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x407500
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x407614
call fcn.0041c48f
mov ecx, dword [eax + 4]
call fcn.0041868c
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
lea edx, [ebp - 0x68]
mov word [ebp - 0x68], si
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edx
call esi
push ebx
mov word [ebp - 0x68], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [ebp - 0x60], eax
jne 0x407563
test ebx, ebx
je 0x407563
mov word [ebp - 0x68], 0xa
mov dword [ebp - 0x60], 0x8007000e
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
mov word [ebp - 0x58], 0
call esi
push ebx
mov word [ebp - 0x58], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [ebp - 0x50], eax
jne 0x407599
test ebx, ebx
je 0x407599
mov word [ebp - 0x58], 0xa
mov dword [ebp - 0x50], 0x8007000e
mov word [ebp - 0x78], 3
mov dword [ebp - 0x70], 8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push eax
mov byte [ebp - 4], 8
call dword [edx + 0xd0]
test eax, eax
jge 0x407639
lea edx, [ebp - 0x78]
push edx
call esi
lea eax, [ebp - 0x58]
push eax
call esi
lea ecx, [ebp - 0x68]
push ecx
call esi
lea edx, [ebp - 0x88]
push edx
call esi
mov byte [ebp - 4], 3
call fcn.0041c48f
mov ecx, dword [eax + 4]
call fcn.004186a1
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 2
je 0x40760e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [ebp - 0x48]
push edx
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
jl 0x407626
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
jl 0x407657
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
lea edx, [ebp - 0x78]
push edx
call esi
lea eax, [ebp - 0x58]
push eax
call esi
lea ecx, [ebp - 0x68]
push ecx
call esi
lea edx, [ebp - 0x88]
push edx
call esi
mov byte [ebp - 4], 3
call fcn.0041c48f
mov ecx, dword [eax + 4]
call fcn.004186a1
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 2
je 0x4076a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [ebp - 0x48]
push edx
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
test eax, eax
jl 0x4076ba
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret