Function at 0x1001246d
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004c476
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100611cc]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x100611cc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
shr eax, 0x1c
and al, 1
push esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x38], al
xor ebx, ebx
call fcn.10036120
test eax, eax
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], bl
jbe 0x1001253a
push ebx
push esi
lea eax, [esp + 0x30]
lea edx, [esp + 0x34]
lea edi, [esp + 0x2c]
call fcn.100111c1
add ebx, dword [esp + 0x34]
cmp dword [esp + 0x2c], 3
pop ecx
pop ecx
jne 0x10012526
cmp byte [esp + 0x13], 0
jne 0x10012555
mov byte [esp + 0x13], 1
jmp 0x1001252d
cmp dword [esp + 0x24], 1
jne 0x10012574
cmp ebx, dword [esp + 0x1c]
jb 0x100124f8
cmp byte [esp + 0x13], 0
jne 0x1001258f
push 4
pop eax
mov ecx, str.Separator_must_have_one_semicolon
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
push 4
pop eax
mov ecx, str.Separator_can_have_only_one_semicolon
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
push eax
call fcn.1003a718
push 4
pop eax
mov ecx, str.Separator_can_have_only_spaces_and_one_semicolon
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
push dword [esp + 0x20]
call fcn.10036120
pop ecx
xor ebx, ebx
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
lea edx, [esp + 0x34]
lea edi, [esp + 0x2c]
call fcn.100111c1
pop ecx
pop ecx
push 4
pop eax
cmp dword [esp + 0x24], eax
je 0x100125d8
mov ecx, str.Invalid_quoting_character
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x1c]
jne 0x1001261b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
call fcn.1001141f
cmp dword [esp + 0x20], eax
je 0x1001267e
push 4
pop eax
mov ecx, str.Mismatched_quote_pair
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
push esi
push dword [esp + 0x24]
lea eax, [esp + 0x28]
lea edx, [esp + 0x34]
lea edi, [esp + 0x2c]
call fcn.100111c1
pop ecx
pop ecx
push 4
pop eax
cmp dword [esp + 0x24], eax
je 0x10012657
mov ecx, str.Invalid_quoting_character
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
mov ecx, dword [esp + 0x2c]
add ecx, esi
cmp ecx, dword [esp + 0x1c]
je 0x100125ea
mov ecx, str.Quoting_string_too_long
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
mov ecx, dword [0x100634e8]
push 0xffffffffffffffff
push ebx
call fcn.10002485
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x50]
mov dword [esp + 0x8c], ebx
call fcn.1001f5b0
pop ecx
push ebx
push ebx
push ebx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x40]
add eax, 0xc
push eax
call fcn.100200fa
add esp, 0x14
cmp eax, ebx
je 0x1001280d
mov ecx, dword [eax + 4]
mov esi, 0x1f00
and ecx, esi
test cx, 0x200
je 0x10012877
test cx, 0x800
jne 0x10012877
lea edi, [eax + 0x44]
mov eax, edi
call fcn.1000250f
test eax, eax
je 0x1001280d
mov eax, edi
call fcn.1000250f
test eax, eax
ja 0x10012713
call fcn.10036494
mov eax, dword [edi + 4]
mov eax, dword [eax]
test dword [eax + 4], esi
je 0x1001273b
push 4
pop eax
mov ecx, str.Array_items_must_be_simple
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e
mov ecx, dword [0x100634e8]
push 0xffffffffffffffff
push ebx
add eax, 0x24
push eax
call fcn.100029ac
push dword [esp + 0x34]
mov ebx, dword [0x100634e8]
push dword [esp + 0x24]
push dword [esp + 0x30]
call fcn.10011559
xor esi, esi
inc esi
add esp, 0xc
mov eax, edi
mov dword [esp + 0x1c], esi
call fcn.1000250f
cmp eax, esi
mov dword [esp + 0x30], eax
je 0x1001280d
mov esi, dword [esp + 0x1c]
call fcn.10002522
mov eax, dword [eax]
test word [eax + 4], 0x1f00
jne 0x1001281d
add eax, 0x24
push eax
lea ecx, [esp + 0x60]
call fcn.1000243a
push dword [esp + 0x34]
mov byte [esp + 0x8c], 1
push dword [esp + 0x24]
lea ebx, [esp + 0x64]
push dword [esp + 0x30]
call fcn.10011559
add esp, 0xc
push dword [esp + 0x44]
push dword [0x100634e8]
call fcn.1000246a
mov esi, dword [0x100634e8]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea eax, [esp + 0x64]
call fcn.10002dab
push ebx
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], bl
call fcn.10002a77
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jne 0x10012781
mov eax, dword [0x100634e8]
cmp dword [eax + 0x18], 0x10
jb 0x1001283b
mov ecx, dword [eax + 4]
jmp 0x1001283e
push 4
pop eax
mov ecx, str.Array_items_must_be_simple
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
push 0x10058310
lea eax, [esp + 0x3c]
jmp 0x1001256e
lea ecx, [eax + 4]
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x4c]
mov dword [ecx], eax
call fcn.10002b10
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1003635b
mov esp, ebp
pop ebp
ret
push 4
pop eax
mov ecx, str.Named_property_must_be_non_alternate_array
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x10058310
lea eax, [esp + 0x18]
jmp 0x1001256e