Function at 0x420720
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3028
call fcn.004c3900
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ecx
xor edi, edi
xor ebx, ebx
call fcn.00420680
mov eax, dword [esi + 0x518]
test eax, eax
jne 0x420754
xor ecx, ecx
jmp 0x420756
mov ecx, dword [eax]
mov edx, dword [esi + 0x518]
cmp ecx, edx
je 0x4209a1
cmp byte [ecx + 0x20], 0
lea eax, [ecx + 8]
je 0x42077f
cmp dword [eax], 1
jne 0x42077f
cmp byte [eax + 0x19], 0
je 0x42077e
test ebx, ebx
jne 0x42077e
mov ebx, eax
inc edi
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x420764
test ebx, ebx
jne 0x4207cf
test edi, edi
jle 0x4209a1
call fcn.0041eb10
cdq
idiv edi
mov eax, dword [esi + 0x518]
test eax, eax
je 0x4207a5
mov eax, dword [eax]
mov esi, dword [esi + 0x518]
cmp eax, esi
je 0x4209a1
mov cl, byte [eax + 0x20]
test cl, cl
lea ebx, [eax + 8]
je 0x4207c9
cmp dword [ebx], 1
jne 0x4207c9
mov ecx, edx
dec edx
test ecx, ecx
je 0x4207cf
mov eax, dword [eax]
cmp eax, esi
jne 0x4207b3
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x42099d
lea edx, [ebp - 8]
push edx
push 0x500c34
push 0x15
xor esi, esi
push esi
push 0x500c24
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42099d
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
push esi
push 0x82ca0000
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x110]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0xc4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0xbc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x118]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
sub ecx, edi
push ecx
push eax
call dword [edx + 0x68]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
sub ecx, edi
push ecx
push eax
call dword [edx + 0x70]
mov eax, dword [0x4e6760]
mov edx, dword [str.file:__]
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1028], edx
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4208b0
sub eax, ecx
lea ecx, [ebp + eax - 0x1028]
push 0x1000
push ecx
call fcn.004c40cf
lea edi, [ebp - 0x1028]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4208d5
mov eax, dword [ebx + 0x10]
test eax, eax
mov dx, word [0x4e564c]
mov word [edi], dx
je 0x4208f0
mov eax, dword [eax]
cmp dword [eax + 0x20], 0x10
jb 0x4208fb
mov eax, dword [eax + 0xc]
jmp 0x4208fe
add eax, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420900
lea edi, [ebp - 0x1028]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x420910
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov dword [ebp - 0x16], eax
push 0x1000
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x12], eax
push ecx
lea edx, [ebp - 0x3028]
mov dword [ebp - 0xe], eax
push edx
mov word [ebp - 0x18], 0
mov word [ebp - 0xa], ax
call fcn.004c4d21
add esp, 0xc
lea eax, [ebp - 0x3028]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x2c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov byte [ebx + 0x19], 0
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.004c478a
mov esp, ebp
pop ebp
ret