Function at 0x1000d3e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030b48
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1003f050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
push eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.1000d2c0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
jne 0x1000d461
push str.evalScript:m_sHtmlDoc_is_NULL_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x10035375
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10002a20
cmp dword [ebp + 0x24], 0x10
jb 0x1000d5ad
mov eax, dword [ebp + 0x10]
push eax
jmp 0x1000d5a5
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov ecx, dword [esi]
mov eax, dword [ecx + 0x1b0]
lea edx, [ebp - 0x14]
push edx
push esi
call eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push 0x800
push 1
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], str.eval
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push 0x10032558
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jl 0x1000d563
cmp dword [ebp + 0x24], 0x10
mov ecx, 8
mov word [ebp - 0x38], cx
mov dword [ebp - 0x36], ebx
mov dword [ebp - 0x32], ebx
mov dword [ebp - 0x2e], ebx
mov word [ebp - 0x2a], bx
jb 0x1000d4d2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x1000d4d8
xor eax, eax
jmp 0x1000d50c
lea edx, [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x1000d4f1
xor eax, eax
jmp 0x1000d509
lea eax, [esi + esi]
call fcn.1001e640
mov eax, dword [ebp - 0x18]
mov ecx, esp
mov edx, esi
push 3
mov esi, ecx
call fcn.100064a0
mov esi, dword [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebx
push ebx
mov edx, 8
mov word [ebp - 0x48], dx
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x58]
push edx
mov edx, dword [ebp - 0x20]
push 1
mov dword [ebp - 0x30], eax
xor eax, eax
push 0x800
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x14]
push 0x10032558
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
push ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
push 0x10035375
mov ecx, edi
mov byte [edi + 4], bl
call fcn.10002a20
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1000d590
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
cmp dword [ebp + 0x24], 0x10
jb 0x1000d5ad
mov edx, dword [ebp + 0x10]
push edx
call fcn.1001c891
add esp, 4
mov eax, edi
lea esp, [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001c89c
mov esp, ebp
pop ebp
ret 0x20