Function at 0x10005c6a
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
sub esp, 0x514
lea ebp, [esp - 4]
mov eax, dword [0x1000c878]
xor eax, ebp
mov dword [ebp + 0x514], eax
push 0x68
mov eax, 0x100080c2
call fcn.100072f8
mov edx, dword [ebp + 0x528]
mov ecx, dword [ebp + 0x524]
mov eax, 0x4c9
cmp edx, eax
jb 0x1000628c
cmp edx, 0x4ca
jbe 0x10005e89
cmp edx, 0x52d
jne 0x1000628c
xor ebx, ebx
cmp dword [0x1000c940], ebx
je 0x100062a0
cmp dword [ebp + 0x52c], ebx
je 0x100062a0
push 0x104
lea eax, [ebp + 0x30c]
push eax
push dword [ebp + 0x52c]
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push dword [ebp + 0x52c]
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov dword [ebp - 0x24], ebx
mov eax, dword [0x1000c940]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 4], 4
call dword [ecx + 0x3c]
test eax, eax
mov eax, dword [ebp - 0x24]
jl 0x1000627c
cmp eax, ebx
je 0x1000627c
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x10009924
push eax
mov byte [ebp - 4], 5
call dword [ecx]
test eax, eax
mov ecx, dword [ebp - 0x14]
jl 0x10005e79
cmp ecx, ebx
je 0x10005e79
mov dword [ebp - 0x2c], ebx
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x10009914
push eax
push eax
push ecx
mov byte [ebp - 4], 6
call dword [edx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x2c]
jl 0x10005e52
cmp eax, ebx
je 0x10005e54
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0x10
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x14]
test eax, eax
jl 0x10005e2d
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10005e2d
jmp 0x10005e0d
call dword [0x1000c82c]
lea edx, [ebp - 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x10005e0a
cmp dword [ebp - 0x1c], ebx
je 0x10005e0a
lea eax, [ebp + 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x10005de1
xor eax, eax
jmp 0x10005dfa
lea eax, [esi + esi]
call fcn.100072c0
mov eax, esp
push edi
push esi
lea ecx, [ebp + 0x30c]
push ecx
push eax
call fcn.100010ef
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR80.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x10005e21
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, 1
jne 0x10005da7
jmp 0x10005e2d
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x10005e3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x10005e4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x10005e60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10005e71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
jmp 0x1000627c
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x10005e71
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x10005e71
cmp edx, eax
mov edi, 0x104
push edi
jne 0x10005ea8
lea eax, [ebp + 0x208]
push eax
push dword [ebp + 0x52c]
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
jmp 0x10005eb8
lea eax, [ebp]
push eax
push dword [ebp + 0x52c]
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
xor ebx, ebx
cmp dword [ebp + 0x530], ebx
je 0x10005ee6
push edi
lea eax, [ebp + 0x410]
push eax
push dword [ebp + 0x530]
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push dword [ebp + 0x530]
call esi
jmp 0x10005eec
mov byte [ebp + 0x410], bl
push dword [ebp + 0x52c]
call esi
mov esi, dword [sym.imp.MSVCR80.dll_strstr]
lea eax, [ebp + 0x410]
push str._blank
push eax
xor edi, edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10005f24
lea eax, [ebp + 0x410]
push 0x10009808
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x10005f2d
xor edi, edi
inc edi
mov byte [ebp + 0x410], bl
mov dword [ebp - 0x10], ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
jne 0x100060b0
mov esi, 0x1000c920
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1000c940]
cmp dword [ebp - 0x10], eax
je 0x10005f5b
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000560e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x10], ebx
je 0x10005f9d
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push dword [ebp - 0x10]
call fcn.10001b95
mov ecx, dword [ebp + 0x520]
call fcn.100057a3
cmp eax, ebx
jne 0x10005f94
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10005f9d
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jne 0x100060d8
lea eax, [ebp - 0x18]
push eax
push 0x10009894
push 0x15
push ebx
push 0x10009884
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10005fd3
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10005fcc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x100062a3
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ebx
jle 0x100060a2
mov eax, dword [ebp - 0x14]
mov word [ebp - 0x44], 3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10006039
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x100098c4
push eax
call dword [ecx]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
je 0x10006077
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push dword [ebp - 0x10]
call fcn.10001b95
mov ecx, dword [ebp + 0x520]
call fcn.100057a3
cmp eax, ebx
je 0x10006067
mov eax, dword [ebp - 0x10]
call fcn.100055e0
test al, al
jne 0x10006095
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10006077
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x30]
jl 0x10005ff2
jmp 0x100060a2
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jne 0x100060d8
lea eax, [ebp - 0x10]
push eax
push 0x100098c4
push 0x15
push ebx
push 0x100098a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10005fbb
cmp dword [ebp - 0x10], ebx
je 0x10005fcc
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push dword [ebp - 0x10]
call fcn.10001b95
mov ecx, dword [ebp + 0x520]
call fcn.10005723
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0x528], 0x4c9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
jne 0x10006115
lea eax, [ebp + 0x208]
push eax
call fcn.10005b93
jmp 0x1000611e
lea eax, [ebp]
push eax
call fcn.10005c01
lea eax, [ebp + 0x410]
push eax
mov word [ebp - 0x54], 8
call fcn.10006d20
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1000569d
test eax, eax
mov esi, dword [ebp - 0x18]
jbe 0x10006254
xor eax, eax
mov word [ebp - 0x64], bx
lea edi, [ebp - 0x62]
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 - 0x74], bx
lea edi, [ebp - 0x72]
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 - 0x44], bx
lea edi, [ebp - 0x42]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x410]
push eax
call sub.MSVCR80.dll_strlen
test eax, eax
pop ecx
jne 0x1000619e
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push dword [ebp - 0x10]
call fcn.10001b95
mov ecx, dword [ebp + 0x520]
call fcn.10005723
cmp esi, ebx
je 0x100061a6
mov ecx, dword [esi]
jmp 0x100061a8
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
lea edi, [ebp - 0x44]
push edi
lea edi, [ebp - 0x74]
push edi
lea edi, [ebp - 0x54]
push edi
lea edi, [ebp - 0x64]
push edi
push ecx
push eax
call dword [edx + 0x2c]
cmp eax, ebx
je 0x1000620f
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100061d6
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x10]
push eax
push 0x100098c4
push 0x15
push ebx
push 0x100098a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1000620f
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
je 0x10005fbb
mov ecx, esi
call fcn.100059ff
jmp 0x10005fbb
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10006254
cmp esi, ebx
je 0x1000621e
mov eax, dword [esi]
jmp 0x10006220
xor eax, eax
mov edx, dword [ecx]
lea edi, [ebp - 0x44]
push edi
lea edi, [ebp - 0x74]
push edi
lea edi, [ebp - 0x54]
push edi
lea edi, [ebp - 0x64]
push edi
push eax
push ecx
call dword [edx + 0x2c]
cmp eax, ebx
jne 0x10006254
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push dword [ebp - 0x10]
call fcn.10001b95
mov ecx, dword [ebp + 0x520]
call fcn.10005723
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10006264
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
je 0x10006279
mov ecx, esi
call fcn.100059ff
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100062a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100062a0
push dword [ebp + 0x530]
push dword [ebp + 0x52c]
push edx
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
xor eax, eax
inc eax
lea esp, [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x514]
xor ecx, ebp
call fcn.10007218
add ebp, 0x518
leave
ret 0x14