Function at 0x4ab418
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x500c78
push 0x55b31c
call fcn.004a9913
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.00405d70
pop ecx
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
call fcn.00407560
push dword [ebp - 0x58]
call fcn.00405d70
pop ecx
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.00407560
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x38]
call fcn.00423e41
cmp dword [ebp - 0x54], 0
push 8
pop ebx
je 0x4ab508
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.00424501
mov esi, dword [ebp - 0x38]
add esp, 0xc
push esi
call edi
push esi
push str.js_error_ws
push 0x55b31c
call fcn.004a9913
add esp, 0xc
jmp 0x4ab50b
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x58], 0
je 0x4ab546
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.00424501
mov esi, dword [ebp - 0x38]
add esp, 0xc
push esi
call edi
push esi
push str.js_error_ws
push 0x55b31c
call fcn.004a9913
add esp, 0xc
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4ab57b
push edx
lea eax, [ebp - 0x38]
push str.line_s_r_n
push eax
call fcn.00424501
mov esi, dword [ebp - 0x38]
add esp, 0xc
push esi
call edi
push esi
push str.js_error_ws
push 0x55b31c
call fcn.004a9913
mov edx, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x4ab5e4
cmp dword [ebp - 0x58], 0
je 0x4ab5e4
test edx, edx
je 0x4ab5e4
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.00424501
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 0x55b31c
call fcn.004a9913
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.004206ab
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00403650
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403650
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 8