Function at 0x578870
Capabilities:
Initialize iwebbrowser2

Disassembly:
test dword [0x7eda90], 0xffffff80
jne 0x578898
test dword [0x7eda90], 0xffffffff
jne 0x578bc8
call fcn.006a6b5c
jmp fcn.00578870
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.00696350
mov ecx, dword [esp + 0x1c]
mov esi, ecx
mov eax, dword [0x6d2638]
mov dword [esp], eax
mov edx, dword [0x6d263c]
mov dword [esp + 4], edx
mov eax, dword [0x6d2640]
mov dword [esp + 8], eax
mov eax, dword [0x6d2644]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578bba
mov eax, 8
mov word [esp + 0x10], ax
push dword [esp + 0x34]
call fcn.006a67a0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x17]
test eax, eax
je 0x578968
cmp dword [esi + 0x1f], 0
je 0x578930
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578b70
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov edx, dword [eax]
push eax
call dword [edx + 0x80]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x17], 0
push 0x3ff
mov ecx, esi
call fcn.004f7850
mov dword [esi + 0x1f], 0
mov eax, dword [esi + 0x1b]
cmp eax, 2
je 0x578ba9
lea eax, [esi + 0x17]
push eax
push 0x6e3bd0
push 5
push 0
push 0x6e3bc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x578ae3
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xac]
test eax, eax
jl 0x578ae3
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x110]
test eax, eax
jl 0x578ae3
mov eax, dword [esi + 0x23]
cmp eax, 1
je 0x578b8e
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xc4]
test eax, eax
jl 0x578ae3
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xcc]
test eax, eax
jl 0x578ae3
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x118]
test eax, eax
jl 0x578ae3
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, eax
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x17]
mov edi, dword [ecx]
mov edx, dword [0x6ff7c3]
add edx, ebx
add edx, eax
push edx
push ecx
call dword [edi + 0x60]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x58]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push dword [0x6ff7df]
push eax
call dword [edx + 0x68]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push dword [0x6ff7db]
push eax
call dword [edx + 0x70]
call fcn.0051d9bc
mov dword [esi + 0x1b], eax
mov ecx, dword [esi + 0x17]
mov ebx, dword [ecx]
lea edx, [esp + 0x10]
lea eax, [esp]
push eax
push eax
push eax
push eax
push edx
push ecx
call dword [ebx + 0xd0]
mov edx, dword [esi + 0x17]
mov ecx, dword [edx]
lea eax, [esi + 0x1f]
push eax
push edx
call dword [ecx + 0x94]
test eax, eax
jl 0x578ae3
push 0x300
push 0xffffffffffffffec
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff34ffff
or eax, 0x800000
push eax
push 0xfffffffffffffff0
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
push 0x23
push eax
push eax
push eax
push eax
push eax
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [edx + 0xa4]
test eax, eax
jge 0x578b4b
xor eax, eax
push eax
push str.Error
push str.Unable_to_start_Browser_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x17]
test eax, eax
je 0x578b23
mov edx, dword [eax]
push eax
call dword [edx + 0x80]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x17], 0
push 0x3ff
mov ecx, esi
call fcn.004f7850
mov dword [esi + 0x1f], 0
mov eax, dword [esi + 0x1b]
cmp eax, 2
je 0x578b80
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578b70
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
push 0x3ff
mov ecx, esi
call fcn.004f7850
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578b70
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
push eax
call fcn.006a6a60
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
call fcn.005e8cf8
mov dword [esi + 0x1b], 1
jmp 0x578b32
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xbc]
test eax, eax
jl 0x578ae3
jmp 0x5789c0
call fcn.005e8cf8
mov dword [esi + 0x1b], 1
jmp 0x578968
push eax
call fcn.006a6a60
jmp 0x5788ef
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.00696350
mov ecx, dword [esp + 0x1c]
mov esi, ecx
mov eax, dword [0x6d2648]
mov dword [esp], eax
mov edx, dword [0x6d264c]
mov dword [esp + 4], edx
mov eax, dword [0x6d2650]
mov dword [esp + 8], eax
mov eax, dword [0x6d2654]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578eea
mov eax, 8
mov word [esp + 0x10], ax
push dword [esp + 0x34]
call fcn.006a67a0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x17]
test eax, eax
je 0x578c98
cmp dword [esi + 0x1f], 0
je 0x578c60
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578ea0
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov edx, dword [eax]
push eax
call dword [edx + 0x80]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x17], 0
push 0x3ff
mov ecx, esi
call fcn.004f7850
mov dword [esi + 0x1f], 0
mov eax, dword [esi + 0x1b]
cmp eax, 2
je 0x578ed9
lea eax, [esi + 0x17]
push eax
push 0x6e3bd0
push 5
push 0
push 0x6e3bc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x578e13
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xac]
test eax, eax
jl 0x578e13
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x110]
test eax, eax
jl 0x578e13
mov eax, dword [esi + 0x23]
cmp eax, 1
je 0x578ebe
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xc4]
test eax, eax
jl 0x578e13
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xcc]
test eax, eax
jl 0x578e13
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x118]
test eax, eax
jl 0x578e13
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, eax
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x17]
mov edi, dword [ecx]
mov edx, dword [0x6ff7c3]
add edx, ebx
add edx, eax
push edx
push ecx
call dword [edi + 0x60]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x58]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push dword [0x6ff7df]
push eax
call dword [edx + 0x68]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push dword [0x6ff7db]
push eax
call dword [edx + 0x70]
call fcn.0051d9bc
mov dword [esi + 0x1b], eax
mov ecx, dword [esi + 0x17]
mov ebx, dword [ecx]
lea edx, [esp + 0x10]
lea eax, [esp]
push eax
push eax
push eax
push eax
push edx
push ecx
call dword [ebx + 0xd0]
mov edx, dword [esi + 0x17]
mov ecx, dword [edx]
lea eax, [esi + 0x1f]
push eax
push edx
call dword [ecx + 0x94]
test eax, eax
jl 0x578e13
push 0x300
push 0xffffffffffffffec
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff34ffff
or eax, 0x800000
push eax
push 0xfffffffffffffff0
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowLongA]
xor eax, eax
push 0x23
push eax
push eax
push eax
push eax
push eax
push dword [esi + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [edx + 0xa4]
test eax, eax
jge 0x578e7b
xor eax, eax
push eax
push str.Error
push str.Unable_to_start_Browser_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi + 0x17]
test eax, eax
je 0x578e53
mov edx, dword [eax]
push eax
call dword [edx + 0x80]
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x17], 0
push 0x3ff
mov ecx, esi
call fcn.004f7850
mov dword [esi + 0x1f], 0
mov eax, dword [esi + 0x1b]
cmp eax, 2
je 0x578eb0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578ea0
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
push 0x3ff
mov ecx, esi
call fcn.004f7850
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jl 0x578ea0
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
push eax
call fcn.006a6a60
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
call fcn.005e8cf8
mov dword [esi + 0x1b], 1
jmp 0x578e62
mov eax, dword [esi + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xbc]
test eax, eax
jl 0x578e13
jmp 0x578cf0
call fcn.005e8cf8
mov dword [esi + 0x1b], 1
jmp 0x578c98
push eax
call fcn.006a6a60
jmp 0x578c1f