Function at 0x40af00
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556780
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5b6e64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x58df44
push 4
push 0
push 0x58df64
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40af60
mov eax, dword [ebp - 0x10]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, 3
mov dword [ebp - 0x20], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test ecx, ecx
je 0x40b11b
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0xa4]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x40afd6
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x40afd6
mov ecx, dword [ebp + 0x14]
cmp ecx, 0x1f4
jle 0x40afd6
mov edx, dword [ebp + 0x18]
cmp edx, 0x1f4
jle 0x40afd6
push 1
push edx
push ecx
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
push 3
push 0xe
lea ecx, [ebp - 0x38]
call fcn.0041e94d
push 8
push 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0041e9b1
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x10]
call fcn.00403070
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push esi
call fcn.0040bf30
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
push esi
push esi
push esi
mov edx, dword [ecx]
lea esi, [ebp - 0x38]
push esi
push dword [eax]
push ecx
call dword [edx + 0x2c]
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 3
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0x14]
call edi
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
xor esi, esi
mov dword [ebp + 0xc], esi
nop dword [eax]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe0]
cmp dword [ebp - 0x18], 4
jne 0x40b09e
cmp esi, 2
je 0x40b0e8
jge 0x40b09e
inc esi
call fcn.0041c602
push 0
push 0
push 0
mov edi, dword [eax + 4]
lea eax, [ebp - 0x64]
push 0
push eax
call ebx
test eax, eax
je 0x40b0d1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call ebx
test eax, eax
jne 0x40b0b8
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 0xc]
inc edi
mov dword [ebp + 0xc], edi
cmp edi, 3
jne 0x40b080
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov esi, dword [ebp + 0x10]
mov eax, ebx
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40b109
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40b140
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14