Function at 0x1002099e
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x1012aeff
call fcn.1011695c
sub esp, 0x128
mov eax, dword [0x10169ccc]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
mov dword [ebp - 0x10], eax
push edi
je 0x100209c9
call fcn.10019e26
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x10020a4b
push esi
push 0x101458e0
push 4
push ebx
push 0x101458d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10020a4b
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xa4]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x110]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc4]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xac]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xbc]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x118]
push str.Microsoft_Internet_Explorer
push str.IEFrame
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x10020a55
mov eax, 0x80004005
jmp 0x10020c57
push closesocket
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea ecx, [ebp - 0x134]
mov word [ebp - 0x30], 3
mov dword [ebp - 0x28], ebx
call fcn.1010f720
sub esp, 0x100
mov ecx, esp
mov dword [ebp - 0x18], esp
mov edi, 0x101374ba
push edi
mov dword [ebp - 4], ebx
call fcn.1010f770
sub esp, 0x100
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
mov byte [ebp - 4], 1
call fcn.1010f770
lea eax, [ebp - 0x134]
push eax
push 0x134
mov byte [ebp - 4], bl
call fcn.100f2269
add esp, 0x208
lea ecx, [ebp - 0x134]
call fcn.1010f460
push eax
lea ecx, [ebp - 0x18]
call fcn.10019f7d
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x10020ae5
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x10020ae8
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x14], ebx
inc dword [ebp - 0x14]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x7c]
cmp word [ebp - 0x1c], bx
je 0x10020b29
cmp dword [ebp - 0x14], 0x1e
jl 0x10020b06
sub esp, 0x100
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.1010f770
sub esp, 0x100
mov ecx, esp
mov dword [ebp - 0x34], esp
push edi
mov byte [ebp - 4], 3
call fcn.1010f770
lea eax, [ebp - 0x134]
push eax
push 0x137
mov byte [ebp - 4], 2
call fcn.100f2269
add esp, 0x208
mov ecx, 0x109ff290
call fcn.1010f460
push eax
lea ecx, [ebp - 0x134]
call fcn.1010f460
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.1010f490
add esp, 0xc
lea ecx, [ebp - 0x134]
call fcn.1010f460
push eax
lea ecx, [ebp - 0x14]
call fcn.10019f7d
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10020bb3
mov ecx, dword [eax]
jmp 0x10020bb5
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
lea edi, [ebp - 0x30]
push edi
lea edi, [ebp - 0x30]
push edi
lea edi, [ebp - 0x30]
push edi
lea edi, [ebp - 0x30]
push edi
push ecx
push eax
call dword [edx + 0x2c]
xor edi, edi
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x7c]
cmp word [ebp - 0x20], bx
je 0x10020bf0
cmp edi, 0x1e
jl 0x10020bd0
mov eax, dword [esi]
mov ecx, dword [eax]
push 0xa
push eax
call dword [ecx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax]
push 0xa
push eax
call dword [ecx + 0x70]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x58]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x60]
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
je 0x10020c3a
call fcn.10020198
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10020c46
call fcn.10020198
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.1010f440
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
call fcn.10115a7a
pop edi
pop esi
pop ebx
leave
ret