Function at 0x1000f19a
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x1858]
mov eax, 0x1858
call fcn.100c7ed0
push 0xffffffffffffffff
push 0x100e6413
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x1854], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1864]
mov eax, dword [edi]
mov esi, dword [ebp + 0x1860]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push edi
call dword [eax + 0x10]
xor edi, edi
cmp dword [esi + 0x4d0], edi
je 0x1000f344
add esi, 0x4bc
push esi
lea esi, [ebp]
call fcn.1000e554
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
xor ebx, ebx
push 0xa
mov dword [ebp - 0x18], eax
pop esi
cmp eax, edi
je 0x1000f252
mov dword [ebp - 0x14], esi
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
lea ecx, [ebp]
call fcn.10008cac
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000f250
inc ebx
dec dword [ebp - 0x18]
jne 0x1000f231
jmp 0x1000f252
xor ebx, ebx
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
lea ecx, [ebp]
mov dword [ebp - 0x14], esi
call fcn.10008cac
push eax
lea eax, [ebp]
push eax
lea esi, [ebp - 0x5c]
call fcn.10014ca6
push 0xffffffffffffffff
lea ecx, [ebp]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.1000165f
push edi
push 1
call fcn.100016e6
and dword [ebp + 0x30], ebx
push 7
pop edi
xor eax, eax
mov dword [ebp + 0x34], edi
mov word [ebp + 0x20], ax
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x1c]
push 0x2d
lea esi, [ebp + 0x1c]
call fcn.10014c1f
xor ebx, ebx
push 0x5e
inc ebx
call fcn.10014c1f
mov edx, dword [ebp - 0x34]
mov ecx, edi
mov esi, str._n_STB_SCRIPT_
lea edi, [ebp + 0x1838]
rep movsd dword es:[edi], dword [esi]
test edx, edx
jne 0x1000f2d0
mov edx, 0x10108284
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
jae 0x1000f2dc
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1000f2e8
lea eax, [ebp + 4]
push ecx
lea ecx, [ebp + 0x1838]
push ecx
push eax
mov eax, ecx
push eax
push dword [ebp - 0x20]
movzx eax, word [ebp - 0x3c]
push eax
push dword [ebp - 0x10]
mov eax, ecx
push eax
push edx
push eax
push str._sJavascript_Error____s_sLine:_d_Error:_d_Scode:_x_s_s_s_s_n
lea eax, [ebp + 0x838]
push 0x7ff
push eax
call fcn.100c1893
add esp, 0x34
lea eax, [ebp + 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea esi, [ebp + 0x1c]
call fcn.100016e6
push 0
push 1
lea esi, [ebp]
call fcn.100016e6
jmp 0x1000f387
mov ecx, dword [ebp - 0x38]
mov eax, str._none_
cmp ecx, edi
jne 0x1000f352
mov ecx, eax
cmp dword [ebp - 0x34], edi
je 0x1000f35a
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x20]
movzx edx, word [ebp - 0x3c]
push edx
push dword [ebp - 0x10]
push ecx
push eax
push str._s_nSrc:__s_nLine:_d_Error:_d_Scode:_x_n
lea eax, [ebp + 0x38]
push 0x3ff
push eax
call fcn.100c1893
add esp, 0x20
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1854]
xor ecx, ebp
call fcn.100bfae1
add ebp, 0x1858
leave
ret 8