Function at 0x4ab6a7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x4ffde8
push 0x55913c
call fcn.004a9ba2
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ecx
pop ecx
push str.OnScriptError_Begin_r_n
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0x5c]
push ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x3c], ebx
call dword [eax + 0xc]
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push esi
call dword [eax + 0x14]
push 7
pop ecx
push dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
call fcn.00402df0
pop ecx
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
call fcn.00406500
push dword [ebp - 0x58]
call fcn.00402df0
pop ecx
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.00406500
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x38]
call fcn.00423e50
cmp dword [ebp - 0x54], 0
push 8
pop ebx
je 0x4ab797
cmp dword [ebp - 8], ebx
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push str.desc_s_r_n
push eax
call fcn.0042443a
mov esi, dword [ebp - 0x38]
add esp, 0xc
push esi
call edi
push esi
push str.js_error_ws
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
jmp 0x4ab79a
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x58], 0
je 0x4ab7d5
cmp dword [ebp - 0x20], ebx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push str.src_s
push eax
call fcn.0042443a
mov esi, dword [ebp - 0x38]
add esp, 0xc
push esi
call edi
push esi
push str.js_error_ws
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4ab80a
push edx
lea eax, [ebp - 0x38]
push str.line_s_r_n
push eax
call fcn.0042443a
mov esi, dword [ebp - 0x38]
add esp, 0xc
push esi
call edi
push esi
push str.js_error_ws
push 0x55913c
call fcn.004a9ba2
mov edx, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x4ab873
cmp dword [ebp - 0x58], 0
je 0x4ab873
test edx, edx
je 0x4ab873
cmp dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x34]
push edx
cmovae ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], ebx
push ecx
cmovae eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push str.desc_s__src_s__line_s_r_n
push eax
call fcn.0042443a
mov esi, dword [ebp - 0x38]
add esp, 0x14
push esi
call edi
cmp dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], ebx
push ecx
cmovae eax, dword [ebp - 0x1c]
push eax
push str.desc_ws__src_ws__line_ws_r_n
push 0x55913c
call fcn.004a9ba2
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.0042095b
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00402540
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 8