Function at 0x540440
Capabilities:
Initialize iwebbrowser2

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.006021b0
mov ecx, dword [esp + 0x1c]
mov ebx, ecx
mov eax, dword [0x753900]
mov dword [esp], eax
mov edx, dword [0x753904]
mov dword [esp + 4], edx
mov eax, dword [0x753908]
mov dword [esp + 8], eax
mov eax, dword [0x75390c]
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
jge 0x540499
push eax
call fcn.00611fe0
mov eax, 8
mov word [esp + 0x10], ax
push dword [esp + 0x34]
call fcn.00611e30
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x17]
test eax, eax
je 0x5404e4
mov eax, dword [ebx + 0x1f]
test eax, eax
je 0x5404dd
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x5404d3
push eax
call fcn.00611fe0
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov ecx, ebx
call fcn.005406e4
lea eax, [ebx + 0x17]
push eax
push 0x642268
push 5
push 0
push 0x642258
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x540668
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xac]
test eax, eax
jl 0x540668
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x110]
test eax, eax
jl 0x540668
mov eax, dword [ebx + 0x23]
cmp eax, 1
je 0x5406cd
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xc4]
test eax, eax
jl 0x540668
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xcc]
test eax, eax
jl 0x540668
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + pe_nt_image_headers32]
test eax, eax
jl 0x540668
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebx + 0x17]
mov ecx, dword [edi]
mov edx, dword [0x74c283]
add edx, ebp
add edx, eax
push edx
push edi
call dword [ecx + 0x60]
mov edx, dword [ebx + 0x17]
mov ebp, dword [edx]
push esi
push edx
call dword [ebp + 0x58]
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push dword [0x74c29f]
push eax
call dword [edx + 0x68]
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push dword [0x74c29b]
push eax
call dword [edx + 0x70]
call fcn.004fa624
mov dword [ebx + 0x1b], eax
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
lea ecx, [esp]
lea edi, [esp]
lea esi, [esp]
lea ebp, [esp]
push ebp
push esi
push edi
push ecx
lea ebp, [esp + 0x20]
push ebp
push eax
call dword [edx + 0xd0]
mov edx, dword [ebx + 0x17]
mov ebp, dword [edx]
lea eax, [ebx + 0x1f]
push eax
push edx
call dword [ebp + 0x94]
test eax, eax
jl 0x540668
push 0x300
push 0xffffffffffffffec
push dword [ebx + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [ebx + 0x1f]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff34ffff
or eax, 0x800000
push eax
push 0xfffffffffffffff0
push dword [ebx + 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 [ebx + 0x1f]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [edx + 0xa4]
test eax, eax
jge 0x5406a2
xor eax, eax
push eax
push str.Error
push str.Unable_to_start_Browser_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, ebx
call fcn.005406e4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x540698
push eax
call fcn.00611fe0
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
push 0x3ff
mov ecx, ebx
call fcn.004ee53c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x5406c3
push eax
call fcn.00611fe0
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov eax, dword [ebx + 0x17]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0xbc]
test eax, eax
jl 0x540668
jmp 0x54053c