Function at 0x460eb0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3024
call fcn.0047ea40
push ebx
push esi
push edi
mov esi, ecx
call fcn.00460d50
mov ecx, esi
xor edi, edi
xor ebx, ebx
call fcn.00460dd0
mov eax, dword [esi + 0x4f0]
test eax, eax
jne 0x460ee0
xor ecx, ecx
jmp 0x460ee2
mov ecx, dword [eax]
mov edx, dword [esi + 0x4f0]
cmp ecx, edx
je 0x461122
cmp byte [ecx + 0x1c], 0
lea eax, [ecx + 8]
je 0x460f06
cmp byte [eax + 0x15], 0
je 0x460f05
test ebx, ebx
jne 0x460f05
mov ebx, eax
inc edi
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x460ef0
test ebx, ebx
jne 0x460f57
test edi, edi
jle 0x461122
call fcn.004800fd
cdq
idiv edi
mov eax, dword [esi + 0x4f0]
test eax, eax
je 0x460f2c
mov eax, dword [eax]
mov esi, dword [esi + 0x4f0]
cmp eax, esi
je 0x461122
lea ebx, [ebx]
mov cl, byte [eax + 0x1c]
test cl, cl
lea ebx, [eax + 8]
je 0x460f51
mov ecx, edx
dec edx
test ecx, ecx
je 0x460f57
mov eax, dword [eax]
cmp eax, esi
jne 0x460f40
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x46111e
lea edx, [ebp - 4]
push edx
push 0x4bed8c
push 5
xor esi, esi
push esi
push 0x4bed7c
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x46111e
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
push esi
push 0x82ca0000
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x110]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0xc4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xac]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0xbc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x118]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
sub ecx, edi
push ecx
push eax
call dword [edx + 0x68]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
sub ecx, edi
push ecx
push eax
call dword [edx + 0x70]
mov eax, dword [0x4b4474]
mov edx, dword [str.file:__]
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x1024], edx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x461031
sub eax, ecx
lea ecx, [ebp + eax - 0x1024]
push 0x1000
push ecx
call fcn.00480b0c
lea edi, [ebp - 0x1024]
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x461056
mov eax, dword [ebx + 0xc]
test eax, eax
mov dx, word [0x4b357c]
mov word [edi], dx
je 0x461071
mov eax, dword [eax]
cmp dword [eax + 0x20], 0x10
jb 0x46107c
mov eax, dword [eax + 0xc]
jmp 0x46107f
add eax, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x461081
lea edi, [ebp - 0x1024]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x461091
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 - 0x12], eax
push 0x1000
lea ecx, [ebp - 0x1024]
mov dword [ebp - 0xe], eax
push ecx
lea edx, [ebp - 0x3024]
mov dword [ebp - 0xa], eax
push edx
mov word [ebp - 0x14], 0
mov word [ebp - 6], ax
call fcn.004813ea
add esp, 0xc
lea eax, [ebp - 0x3024]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 4]
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 - 4]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov byte [ebx + 0x15], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret