Function at 0x1003c220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1015a380]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x78]
ja 0x1003c916
cmp byte [edi + 0x70], 0
je 0x1003c265
nop
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1003c960
cmp dword [esp + 0x1c], 0xf
je 0x1003c250
jmp 0x1003c26f
lea eax, [esp + 0x1c]
push eax
call fcn.1003c960
cmp byte [edi + 0x7c], 0
mov byte [esp + 0x17], 1
je 0x1003c2cb
cmp dword [edi + 0x68], 0
je 0x1003c2cb
mov esi, dword [edi + 0xc]
sub esp, 0x18
mov ecx, dword [edi + 8]
dec esi
add esi, dword [edi + 0x10]
dec ecx
mov eax, esi
and esi, 3
shr eax, 2
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, esp
mov esi, dword [eax + esi*4]
lea eax, [edi + 0x58]
push eax
call fcn.10045c20
push 0
mov ecx, esi
call fcn.10041af0
cmp dword [edi + 0x6c], 0xf
lea ecx, [edi + 0x58]
jbe 0x1003c2c1
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x68], 0
mov byte [ecx], 0
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, 0xc
ja case.default.0x1003c2d9
jmp dword [eax*4 + 0x1003c92c]
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1003d150
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec esi
add esi, dword [edi + 0x10]
dec ecx
mov edx, dword [edi + 0x48]
sub edx, dword [edi + 0x40]
mov byte [esp + 0x17], al
mov eax, esi
shr eax, 2
and ecx, eax
mov eax, dword [edi + 4]
and esi, 3
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x14], edx
jmp 0x1003c7b8
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1003dc80
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec esi
add esi, dword [edi + 0x10]
dec ecx
mov edx, dword [edi + 0x48]
sub edx, dword [edi + 0x40]
mov byte [esp + 0x17], al
mov eax, esi
shr eax, 2
and ecx, eax
mov eax, dword [edi + 4]
and esi, 3
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x14], edx
jmp 0x1003c7b8
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1003df90
mov byte [esp + 0x17], al
jmp 0x1003c7b8
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.1003e640
mov byte [esp + 0x17], al
jmp 0x1003c7b8
mov byte [esp + 0x30], 1
mov esi, dword [esp + 0x10]
mov byte [esp + 0x38], 5
mov edi, dword [esp + 0x38]
and edi, 0xfffffeff
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
dec edx
add edx, dword [esi + 0x10]
dec eax
mov ecx, edx
and edx, 3
shr ecx, 2
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + edx*4]
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
mov ecx, dword [esi]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], ecx
mov edi, dword [edx + 0xc]
mov ecx, dword [esp + 0x10]
dec edi
add edi, dword [edx + 0x10]
mov esi, dword [esp + 0x20]
sub esi, dword [edx + 0x40]
mov edx, edi
mov ecx, dword [ecx + 8]
dec ecx
shr edx, 2
and edx, ecx
mov ecx, dword [esp + 0x10]
and edi, 3
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edi*4]
mov dword [ecx + 0x10], esi
mov esi, dword [esp + 0x24]
mov edi, dword [edx + 0xc]
sub esi, dword [edx + 0x40]
dec edi
add edi, dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, edi
shr edx, 2
and edi, 3
mov ecx, dword [ecx + 8]
dec ecx
and edx, ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edx*4]
mov ecx, dword [ecx + edi*4]
mov dword [ecx + 0x14], esi
mov esi, dword [esp + 0x18]
movzx ecx, al
sub ecx, 4
je 0x1003c7a3
sub ecx, 2
je 0x1003c457
sub ecx, 1
jne 0x1003c7b4
test esi, esi
je 0x1003c7b4
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10046a40
push 0x30
push dword [esi]
call fcn.100d7f1a
push 8
push esi
call fcn.100d7f1a
add esp, 0x10
jmp 0x1003c7b4
mov byte [esp + 0x30], 0
jmp 0x1003c387
mov byte [esp + 0x38], 0
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
and edx, 0xfffffeff
mov dword [esp + 0x44], 0
lea edi, [eax - 1]
mov dword [esp + 0x40], 0
mov eax, dword [esi + 8]
mov ecx, edi
dec eax
shr ecx, 2
and ecx, eax
mov dword [esp + 0x3c], 0
mov eax, dword [esi + 4]
and edi, 3
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x34]
mov edi, dword [eax + edi*4]
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
dec esi
add esi, dword [edi + 0xc]
dec eax
sub edx, dword [edi + 0x40]
mov ecx, esi
shr ecx, 2
and esi, 3
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x10], edx
mov esi, dword [edi + 0x10]
dec esi
add esi, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov ecx, esi
mov edx, dword [esp + 0x24]
dec eax
sub edx, dword [edi + 0x40]
and esi, 3
shr ecx, 2
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x30]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x14], edx
call fcn.10041600
jmp 0x1003c7b8
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
movsd xmm0, qword [0x10155eb0]
mov byte [esp + 0x38], 3
lea edi, [eax - 1]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
mov ecx, edi
dec eax
shr ecx, 2
and ecx, eax
movsd qword [esp + 0x30], xmm0
mov eax, dword [esi + 4]
and edi, 3
and edx, 0xfffffeff
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x34]
mov edi, dword [eax + edi*4]
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [edi]
mov esi, dword [edi + 4]
mov dword [edi + 4], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [edi], eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
dec esi
add esi, dword [edi + 0xc]
dec eax
sub edx, dword [edi + 0x40]
mov ecx, esi
shr ecx, 2
and esi, 3
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x10], edx
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
dec esi
add esi, dword [edi + 0xc]
dec eax
mov edx, dword [esp + 0x24]
mov ecx, esi
sub edx, dword [edi + 0x40]
and esi, 3
shr ecx, 2
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x30]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x14], edx
call fcn.10041600
jmp 0x1003c7b8
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
movsd xmm0, qword [0x10155ea8]
mov byte [esp + 0x38], 3
mov edx, dword [esp + 0x38]
lea edi, [eax - 1]
mov eax, dword [esi + 8]
mov ecx, edi
dec eax
shr ecx, 2
and ecx, eax
movsd qword [esp + 0x30], xmm0
mov eax, dword [esi + 4]
and edi, 3
and edx, 0xfffffeff
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x34]
mov edi, dword [eax + edi*4]
mov eax, dword [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [edi]
mov esi, dword [edi + 4]
mov dword [edi + 4], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [edi], eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 8]
dec esi
add esi, dword [edi + 0x10]
dec eax
sub edx, dword [edi + 0x40]
mov ecx, esi
shr ecx, 2
and esi, 3
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x10], edx
mov esi, dword [edi + 0xc]
dec esi
add esi, dword [edi + 0x10]
jmp 0x1003c531
movsd xmm0, qword [0x10155f40]
mov byte [esp + 0x38], 3
movsd qword [esp + 0x30], xmm0
jmp 0x1003c494
cmp byte [edi + 0x72], 0
je case.default.0x1003c2d9
dec dword [edi + 0x48]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x38], 0
mov edi, dword [esp + 0x38]
and edi, 0xfffffeff
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
dec edx
add edx, dword [esi + 0x10]
dec eax
mov ecx, edx
and edx, 3
shr ecx, 2
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + edx*4]
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
mov ecx, dword [esi]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], ecx
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 0x48]
dec edi
sub esi, dword [edx + 0x40]
add edi, dword [edx + 0x10]
dec esi
mov ecx, dword [esp + 0x10]
mov edx, edi
shr edx, 2
mov ecx, dword [ecx + 8]
dec ecx
and edx, ecx
mov ecx, dword [esp + 0x10]
and edi, 3
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edi*4]
mov dword [ecx + 0x10], esi
mov esi, dword [edx + 0x48]
jmp 0x1003c40d
shr eax, 8
test al, 1
je 0x1003c7b4
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x7c], 0
je 0x1003c901
mov eax, dword [edi + 0x48]
mov dword [edi + 0x4c], eax
mov byte [edi + 0x54], 0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec edx
add edx, dword [edi + 0x10]
dec ecx
mov eax, edx
shr eax, 2
and ecx, eax
mov eax, dword [edi + 4]
and edx, 3
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov dword [edi + 0x50], eax
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0xc]
xorps xmm0, xmm0
mov eax, dword [edi + 8]
dec esi
add esi, dword [edi + 0x10]
dec eax
mov edx, dword [esp + 0x20]
mov ecx, esi
sub edx, dword [edi + 0x40]
and esi, 3
shr ecx, 2
and ecx, eax
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [edi + 4]
push 0x30
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x10], edx
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 8]
dec esi
add esi, dword [edi + 0x10]
dec eax
mov edx, dword [esp + 0x28]
mov ecx, esi
sub edx, dword [edi + 0x40]
and esi, 3
shr ecx, 2
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x14], edx
call fcn.100d7bcb
movups xmm0, xmmword [str.Syntax_error:_value__object_or_array_expected.]
mov edx, eax
mov dword [esp + 0x44], 0x2e
add esp, 4
mov dword [esp + 0x30], edx
mov ecx, edi
mov dword [esp + 0x44], 0x2f
movups xmmword [edx], xmm0
push 0
movups xmm0, xmmword [0x101546d0]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [0x101546e0]
movq qword [edx + 0x20], xmm0
mov eax, dword [0x101546e8]
mov dword [edx + 0x28], eax
mov ax, word [0x101546ec]
mov word [edx + 0x2c], ax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
mov byte [edx + 0x2e], 0
push eax
call fcn.1003f0a0
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x17], al
cmp ecx, 0xf
jbe 0x1003c905
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003c8f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003c8f7
push es
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7f1a
add esp, 8
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.100d7b08
mov esp, ebp
pop ebp
ret
push str.Exceeded_stackLimit_in_readValue__.
lea ecx, [esp + 0x34]
call fcn.10045be0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop dword [eax]
loopne 0x1003c8f0
add edx, dword [eax]
or al, 0xc7
add edx, dword [eax]
sbb al, 0xc3
add edx, dword [eax]
or al, 0xc7
add edx, dword [eax]
insd dword es:[edi], dx
ret