Function at 0x1001d610
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
push 0x100a3ce4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.10001280
mov eax, dword [eax]
xor edi, edi
mov bl, 2
mov byte [ebp - 4], bl
cmp eax, edi
je 0x1001d663
mov eax, dword [eax]
jmp 0x1001d665
xor eax, eax
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.1001cfa0
lea ecx, [ebp - 0x18]
push ecx
call fcn.1006a8a0
add esp, 8
mov esi, eax
push 0x100a4b38
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10001280
mov eax, dword [eax]
mov esi, dword [esi]
cmp eax, edi
je 0x1001d6a0
mov eax, dword [eax]
jmp 0x1001d6a2
xor eax, eax
push esi
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieW]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x1001d6ee
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x1001d6eb
cmp esi, edi
je 0x1001d6eb
mov eax, dword [esi]
cmp eax, edi
je 0x1001d6d2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1001d6e2
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001d710
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x1001d74f
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x1001d74f
cmp esi, edi
je 0x1001d74f
mov eax, dword [esi]
cmp eax, edi
je 0x1001d736
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x1001d746
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov edx, dword [ebp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov bl, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x24], esp
cmp eax, edi
je 0x1001d772
add eax, 8
push eax
call esi
push ecx
mov ecx, dword [0x100c7bd4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [0x100c7bd4]
mov dword [ebp - 0x24], esp
cmp eax, edi
je 0x1001d78f
add eax, 8
push eax
call esi
call fcn.100647b0
add esp, 8
test al, al
je 0x1001d862
mov dword [ebp + 8], edi
lea edx, [ebp + 8]
push edx
push 0x100a3490
push 0x17
push edi
push 0x100a4b28
mov byte [ebp - 4], 5
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x100c6480
push 0x100c6480
push 0x100c6480
push 0x100c6480
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp eax, edi
je 0x1001d805
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x1001d84e
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001d84e
test esi, esi
je 0x1001d84e
mov eax, dword [esi]
test eax, eax
je 0x1001d835
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001d845
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 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 0x18
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x44]
push eax
call edi
mov edx, dword [ebp + 0x1c]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
push ecx
mov eax, esp
mov word [ebp - 0x34], cx
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov bl, 6
mov byte [ebp - 4], bl
mov dword [ebp - 0x24], esp
test eax, eax
je 0x1001d8a0
add eax, 8
push eax
call esi
push ecx
mov ecx, dword [0x100c7bd8]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [0x100c7bd8]
mov dword [ebp - 0x24], esp
test eax, eax
je 0x1001d8bd
add eax, 8
push eax
call esi
call fcn.100647b0
add esp, 8
test al, al
je 0x1001d926
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x1001d8dd
push eax
call fcn.100711c0
mov eax, 8
push str._blank
mov word [ebp - 0x44], ax
call fcn.10070f20
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0x100c6480
push 0x100c6480
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [edx + 0xd0]
lea eax, [ebp + 0xc]
push eax
push esi
call ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1001d805
push ecx
mov ecx, dword [ebp + 0x1c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], esp
test eax, eax
je 0x1001d93e
add eax, 8
push eax
call esi
mov edx, dword [0x100c7bdc]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [0x100c7bdc]
mov dword [ebp - 0x24], esp
test eax, eax
je 0x1001d95b
add eax, 8
push eax
call esi
call fcn.100647b0
add esp, 8
test al, al
je 0x1001d8f3
lea eax, [ebp - 0x14]
push eax
call fcn.1006c0f0
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x100a4b24
mov byte [ebp - 4], 7
call fcn.1001cdc0
add esp, 8
test al, al
je 0x1001da25
mov edx, 8
push str.30D02401_6A81_11D0_8274_00C04FD5AE38
mov word [ebp - 0x64], dx
call fcn.10070f20
mov dword [ebp - 0x5c], eax
mov eax, 0xb
or ecx, 0xffffffff
mov word [ebp - 0x54], ax
mov word [ebp - 0x4c], cx
lea edx, [ebp - 0x74]
push edx
call edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x54]
push edx
mov edx, dword [eax + 0xdc]
lea ecx, [ebp - 0x64]
push ecx
push esi
mov byte [ebp - 4], 0xa
call edx
test eax, eax
jl 0x1001d9f0
mov eax, 3
mov dword [ebp - 0x2c], 0x20
mov word [ebp - 0x34], ax
jmp 0x1001d9fd
push str._search
lea ecx, [ebp - 0x44]
call fcn.1001acc0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x74]
push ecx
call edi
lea edx, [ebp - 0x54]
push edx
call edi
lea eax, [ebp - 0x64]
push eax
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1000af00
jmp 0x1001d8f6
sub esp, 0x10
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
call fcn.1000e260
mov ecx, dword [ebp - 0x20]
call fcn.1001c840
lea ecx, [ebp - 0x14]
call fcn.1000af00
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
call esi
lea ecx, [ebp + 0xc]
push ecx
call esi
lea ecx, [ebp + 0x1c]
call fcn.1001b440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18