Function at 0x1002071b
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x1012aeca
call fcn.1011695c
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
push edi
je 0x10020740
call fcn.10019e26
cmp dword [esi], ebx
jne 0x1002098b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x10020753
xor eax, eax
inc eax
jmp 0x1002098d
push esi
push 0x101458e0
push 4
push ebx
push 0x101458d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1002077c
push 2
pop edi
mov ecx, esi
call fcn.10019e26
mov eax, edi
jmp 0x1002098d
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 0x100207df
push 3
jmp 0x1002076d
push closesocket
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetParent]
xor eax, eax
mov word [ebp - 0x58], bx
lea edi, [ebp - 0x56]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x48], bx
lea edi, [ebp - 0x46]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ebp - 0x28], bx
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x38], bx
xor eax, eax
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.1010f460
push eax
lea ecx, [ebp + 0xc]
call fcn.10019f7d
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x38], 8
mov dword [ebp - 0x30], eax
call fcn.1010f460
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp + 8]
push ebx
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call fcn.10116d70
add esp, 0xc
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov word [ebp - 0x28], 0x2011
mov dword [ebp - 0x20], edi
je 0x100208c0
mov ecx, dword [eax]
jmp 0x100208c2
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
lea edi, [ebp - 0x38]
push edi
lea edi, [ebp - 0x28]
push edi
lea edi, [ebp - 0x48]
push edi
lea edi, [ebp - 0x58]
push edi
push ecx
push eax
call dword [edx + 0x2c]
cmp dword [ebp - 0x14], ebx
je 0x100208e9
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [ebp + 0x14]
mov dword [ebp + 8], ebx
inc dword [ebp + 8]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x7c]
cmp word [ebp - 0x10], bx
je 0x10020920
lea eax, [edi + edi*4]
shl eax, 1
cmp dword [ebp + 8], eax
jl 0x100208f9
lea eax, [edi + edi*4]
shl eax, 1
cmp dword [ebp + 8], eax
jl 0x10020944
mov ecx, esi
call fcn.10019e26
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x1002093d
call fcn.10020198
mov eax, 0x80004005
jmp 0x1002098d
mov eax, dword [esi]
push dword [esi + 0x1d0c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
mov eax, dword [esi]
push dword [esi + 0x1d10]
mov ecx, dword [eax]
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 esi, dword [esi]
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0xa4]
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x1002098b
call fcn.10020198
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10