Function at 0x416360
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fee0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5d1e6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x5a7fa4
push 4
push 0
push 0x5a7fb4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4163d2
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, 3
mov dword [ebp - 0x34], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x41642f
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x5ae2e0
call fcn.00403860
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x416428
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x4166af
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0xa4]
push 3
push 0xe
lea ecx, [ebp - 0x50]
call fcn.004366b9
push 8
push 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0043671d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.004263c0
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
push esi
push esi
push esi
mov edx, dword [ecx]
lea esi, [ebp - 0x50]
push esi
push dword [eax]
push ecx
call dword [edx + 0x2c]
mov byte [ebp - 4], 3
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x3e8
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
push 3
call ebx
sub esi, 1
jne 0x416496
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe0]
cmp dword [ebp - 0x40], 4
jne 0x4164d6
cmp edi, 5
je 0x416520
jge 0x4164d6
inc edi
call fcn.0043153a
push 0
push 0
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x80]
push 0
push eax
call ebx
test eax, eax
je 0x416509
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
call ebx
test eax, eax
jne 0x4164f0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0xa
jne 0x4164b8
push 0x5ae2e0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], 0
call fcn.00403860
mov byte [ebp - 4], 5
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x41662e
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
push 0x5a8004
push ecx
call dword [eax]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x41662e
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
push ecx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x416647
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
push ecx
call dword [eax + 0xe8]
mov edi, dword [ebp - 0x2c]
test edi, edi
jne 0x4165af
xor edx, edx
xor ecx, ecx
jmp 0x416601
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4165b4
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4165d4
xor edx, edx
xor ecx, ecx
jmp 0x416601
add esi, esi
mov eax, esi
call fcn.00550e70
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00425dc0
mov edx, eax
test edx, edx
jne 0x4165f3
xor ecx, ecx
jmp 0x416601
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4165f8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.00403d00
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x416621
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x41662e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x416647
mov eax, dword [ecx]
push ecx
call dword [eax + 0x80]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00403f30
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416676
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x60]
push eax
call esi
lea eax, [ebp - 0x50]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4166ad
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
lea esp, [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055026c
mov esp, ebp
pop ebp
ret 8