Function at 0x100157a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100509c0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100682b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.pWBHost
push eax
call dword [sym.imp.USER32.dll_GetPropA]
xor ebx, ebx
cmp eax, ebx
je 0x100159a0
push eax
lea esi, [ebp - 0x1c]
call fcn.10014c40
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
jne 0x10015816
mov ecx, dword [ebp + 0x10]
push 0x1005e2e3
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.WebEvalScript:m_sHtmlDoc_is_NULL_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x100159a0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov edx, dword [edi]
mov ecx, dword [edx + 0x1b0]
lea eax, [ebp - 0x18]
push eax
push edi
call ecx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
push ecx
push 0x800
push 1
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], str.evalScript
mov dword [ebp - 0x20], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push 0x10052590
push eax
call edx
cmp eax, ebx
jl 0x1001597e
mov esi, dword [ebp + 0xc]
mov eax, 8
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov word [ebp - 0x36], ax
cmp esi, ebx
je 0x100158ac
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x10015892
xor eax, eax
jmp 0x100158a9
lea eax, [edi + edi]
call fcn.1001b580
mov ecx, esp
mov eax, esi
push 3
mov edx, edi
mov esi, ecx
call fcn.10003940
mov edi, dword [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebx
push ebx
mov edx, 8
mov word [ebp - 0x34], dx
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp - 0x20]
push 1
mov dword [ebp - 0x3c], eax
xor eax, eax
push 0x800
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x18]
push 0x10052590
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebp - 0x2c]
mov esi, eax
cmp eax, ebx
jne 0x10015910
xor eax, eax
jmp 0x10015944
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10015923
xor eax, eax
jmp 0x10015944
lea edi, [eax + eax]
mov eax, edi
call fcn.1001b580
mov ebx, esp
mov eax, esi
mov edx, 3
mov ecx, edi
mov esi, ebx
call fcn.10001000
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1001596b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, esi
jmp 0x100159a2
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10015991
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
xor eax, eax
lea esp, [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret 0xc