Function at 0x1003fe1c
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1408
call fcn.1005e5a0
cmp dword [0x100e34c8], 0
push ebx
push ebp
push esi
push edi
je 0x1003febc
push 0x20acb
push 0
push 0x10136158
call fcn.10060630
add esp, 0xc
call fcn.1003dd06
mov ecx, dword [0x10156c38]
xor ebx, ebx
mov dword [esp + 0x10], ebx
test ecx, ecx
jle 0x1003feee
mov edx, dword [0x10156c34]
xor edi, edi
and dword [esp + 0x14], 0
lea esi, [edi + edx]
cmp dword [esi + 8], 0
jle 0x1003feae
mov ebx, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esi + 0xc]
push dword [eax + ebp + 8]
push 0xffffffffffffffff
push esi
call fcn.1003d054
mov edx, dword [0x10156c34]
lea ebp, [ebp + 0xc]
add esp, 0xc
inc ebx
lea esi, [edi + edx]
cmp ebx, dword [esi + 8]
jl 0x1003fe80
mov ecx, dword [0x10156c38]
mov ebx, dword [esp + 0x10]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jl 0x1003fe6c
jmp 0x1003fec8
mov ecx, dword [0x10156c38]
mov edx, dword [0x10156c34]
test ecx, ecx
jle 0x1003feee
add edx, 8
xor esi, esi
cmp dword [edx], esi
jle 0x1003fee6
xor edi, edi
mov eax, dword [edx + 4]
and dword [edi + eax], 0
inc esi
lea edi, [edi + 0xc]
cmp esi, dword [edx]
jl 0x1003fed7
add edx, 0x10
sub ecx, 1
jne 0x1003fecf
push str.karaambar.ini
push 0x1016b9c0
push str._skaraambar_s
lea eax, [esp + 0x224]
push 0x200
push eax
call fcn.100073eb
lea eax, [esp + 0x22c]
push 0x10083524
push eax
call fcn.1006afb6
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x1004011c
lea eax, [esp + 0x218]
push eax
push str.Could_not_open__s__using_default__or_previous__settings.
call fcn.1005c7aa
pop ecx
pop ecx
jmp 0x10040152
lea esi, [esp + 0x18]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003ff52
sub esi, ecx
jmp 0x1003ff79
movsx eax, byte [esp + esi + 0x17]
push eax
push str._t_n_r
call fcn.100622e0
pop ecx
pop ecx
test eax, eax
je 0x1003ff7d
dec esi
mov byte [esp + esi + 0x18], 0
test esi, esi
jg 0x1003ff5d
mov al, byte [esp + 0x18]
cmp al, 0x23
je 0x10040124
cmp al, 0x3b
je 0x10040124
test al, al
je 0x10040124
test esi, esi
jle 0x1003ffc8
cmp byte [esp + esi + 0x17], 0x5c
jne 0x1003ffc8
push 0x1000
lea eax, [esp + 0x1c]
mov byte [esp + esi + 0x1b], 0x20
push eax
lea eax, [esp + 0x420]
push eax
call fcn.1002c42e
add esp, 0xc
jmp 0x10040124
push 0x1000
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x420]
push eax
call fcn.1002c42e
add esp, 0xc
lea esi, [esp + 0x418]
or dword [esp + 0x14], 0xffffffff
mov al, byte [esi]
cmp al, 9
je 0x1003fff8
cmp al, 0x20
jne 0x1003fffb
inc esi
jmp 0x1003ffee
cmp al, 0x30
jl 0x10040003
cmp al, 0x39
jle 0x1004001b
cmp al, 0x41
jl 0x1004000b
cmp al, 0x5a
jle 0x1004001b
cmp al, 0x61
jl 0x10040013
cmp al, 0x7a
jle 0x1004001b
cmp al, 0x5f
je 0x1004001b
cmp al, 0x2d
jne 0x10040020
inc esi
mov al, byte [esi]
jmp 0x1003fffb
cmp al, 0x5b
jne 0x1004007c
mov byte [esi], 0
inc esi
mov al, byte [esi]
cmp al, 9
je 0x10040027
cmp al, 0x20
je 0x10040027
cmp al, 0x5d
je 0x10040079
push esi
call fcn.10040330
mov ebx, eax
mov dword [esp + 0x18], ebx
pop ecx
test ebx, ebx
jns 0x1004005d
lea eax, [esp + 0x18]
push eax
push str.Parse_error:__s__Negative_array_index_
call fcn.1005c7aa
pop ecx
pop ecx
jmp 0x1004011c
push 0x5d
push esi
call fcn.100622e0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10040079
lea eax, [esp + 0x18]
push eax
push str.Parse_error:__s__missing___
jmp 0x10040051
inc esi
mov al, byte [esi]
mov byte [esi], 0
cmp al, 0x3d
je 0x1004009e
inc esi
mov al, byte [esi]
cmp al, 9
je 0x10040083
cmp al, 0x20
je 0x10040083
cmp al, 0x3d
je 0x1004009e
lea eax, [esp + 0x18]
push eax
push str.Parse_error:__s__expected__
jmp 0x10040051
mov edi, dword [0x10156c38]
lea ebp, [esi + 1]
xor esi, esi
test edi, edi
jle 0x10040118
mov ecx, dword [0x10156c34]
mov edx, dword [ecx]
lea eax, [esp + 0x418]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x100400dc
test bl, bl
je 0x100400d8
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x100400dc
add eax, 2
add edx, 2
test bl, bl
jne 0x100400bc
xor eax, eax
jmp 0x100400e1
sbb eax, eax
or eax, 1
test eax, eax
je 0x100400ef
inc esi
add ecx, 0x10
cmp esi, edi
jl 0x100400b3
jmp 0x10040118
cmp dword [0x100e34c8], 0
jne 0x1004010a
cmp dword [ecx + 4], 8
je 0x10040118
cmp dword [ecx + 4], 9
je 0x10040118
cmp dword [ecx + 4], 0x10
je 0x10040118
push ebp
push dword [esp + 0x18]
push ecx
call fcn.1003d054
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov byte [esp + 0x418], 0
push ebp
lea eax, [esp + 0x1c]
push 0x200
push eax
call fcn.10064951
add esp, 0xc
test eax, eax
jne 0x1003ff4b
push ebp
call fcn.10064291
and dword [0x100e34c8], 0
pop ecx
call fcn.1004015d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1408
ret