Function at 0x1003eaf7
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1408
call fcn.1005d240
cmp dword [0x100e24c8], 0
push ebx
push ebp
push esi
push edi
je 0x1003eb97
push 0x20acb
push 0
push 0x10135140
call fcn.1005f2d0
add esp, 0xc
call fcn.1003c9e1
mov ecx, dword [0x10155c20]
xor ebx, ebx
mov dword [esp + 0x10], ebx
test ecx, ecx
jle 0x1003ebc9
mov edx, dword [0x10155c1c]
xor edi, edi
and dword [esp + 0x14], 0
lea esi, [edi + edx]
cmp dword [esi + 8], 0
jle 0x1003eb89
mov ebx, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esi + 0xc]
push dword [eax + ebp + 8]
push 0xffffffffffffffff
push esi
call fcn.1003bd2f
mov edx, dword [0x10155c1c]
lea ebp, [ebp + 0xc]
add esp, 0xc
inc ebx
lea esi, [edi + edx]
cmp ebx, dword [esi + 8]
jl 0x1003eb5b
mov ecx, dword [0x10155c20]
mov ebx, dword [esp + 0x10]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jl 0x1003eb47
jmp 0x1003eba3
mov ecx, dword [0x10155c20]
mov edx, dword [0x10155c1c]
test ecx, ecx
jle 0x1003ebc9
add edx, 8
xor esi, esi
cmp dword [edx], esi
jle 0x1003ebc1
xor edi, edi
mov eax, dword [edx + 4]
and dword [edi + eax], 0
inc esi
lea edi, [edi + 0xc]
cmp esi, dword [edx]
jl 0x1003ebb2
add edx, 0x10
sub ecx, 1
jne 0x1003ebaa
push str.karaambar.ini
push 0x1016a9a8
push str._skaraambar_s
lea eax, [esp + 0x224]
push 0x200
push eax
call fcn.10007072
lea eax, [esp + 0x22c]
push 0x10082524
push eax
call fcn.10069c56
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x1003edf7
lea eax, [esp + 0x218]
push eax
push str.Could_not_open__s__using_default__or_previous__settings.
call fcn.1005b44f
pop ecx
pop ecx
jmp 0x1003ee2d
lea esi, [esp + 0x18]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003ec2d
sub esi, ecx
jmp 0x1003ec54
movsx eax, byte [esp + esi + 0x17]
push eax
push str._t_n_r
call fcn.10060f80
pop ecx
pop ecx
test eax, eax
je 0x1003ec58
dec esi
mov byte [esp + esi + 0x18], 0
test esi, esi
jg 0x1003ec38
mov al, byte [esp + 0x18]
cmp al, 0x23
je 0x1003edff
cmp al, 0x3b
je 0x1003edff
test al, al
je 0x1003edff
test esi, esi
jle 0x1003eca3
cmp byte [esp + esi + 0x17], 0x5c
jne 0x1003eca3
push 0x1000
lea eax, [esp + 0x1c]
mov byte [esp + esi + 0x1b], 0x20
push eax
lea eax, [esp + 0x420]
push eax
call fcn.1002bf1f
add esp, 0xc
jmp 0x1003edff
push 0x1000
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x420]
push eax
call fcn.1002bf1f
add esp, 0xc
lea esi, [esp + 0x418]
or dword [esp + 0x14], 0xffffffff
mov al, byte [esi]
cmp al, 9
je 0x1003ecd3
cmp al, 0x20
jne 0x1003ecd6
inc esi
jmp 0x1003ecc9
cmp al, 0x30
jl 0x1003ecde
cmp al, 0x39
jle 0x1003ecf6
cmp al, 0x41
jl 0x1003ece6
cmp al, 0x5a
jle 0x1003ecf6
cmp al, 0x61
jl 0x1003ecee
cmp al, 0x7a
jle 0x1003ecf6
cmp al, 0x5f
je 0x1003ecf6
cmp al, 0x2d
jne 0x1003ecfb
inc esi
mov al, byte [esi]
jmp 0x1003ecd6
cmp al, 0x5b
jne 0x1003ed57
mov byte [esi], 0
inc esi
mov al, byte [esi]
cmp al, 9
je 0x1003ed02
cmp al, 0x20
je 0x1003ed02
cmp al, 0x5d
je 0x1003ed54
push esi
call fcn.1003f00b
mov ebx, eax
mov dword [esp + 0x18], ebx
pop ecx
test ebx, ebx
jns 0x1003ed38
lea eax, [esp + 0x18]
push eax
push str.Parse_error:__s__Negative_array_index_
call fcn.1005b44f
pop ecx
pop ecx
jmp 0x1003edf7
push 0x5d
push esi
call fcn.10060f80
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1003ed54
lea eax, [esp + 0x18]
push eax
push str.Parse_error:__s__missing___
jmp 0x1003ed2c
inc esi
mov al, byte [esi]
mov byte [esi], 0
cmp al, 0x3d
je 0x1003ed79
inc esi
mov al, byte [esi]
cmp al, 9
je 0x1003ed5e
cmp al, 0x20
je 0x1003ed5e
cmp al, 0x3d
je 0x1003ed79
lea eax, [esp + 0x18]
push eax
push str.Parse_error:__s__expected__
jmp 0x1003ed2c
mov edi, dword [0x10155c20]
lea ebp, [esi + 1]
xor esi, esi
test edi, edi
jle 0x1003edf3
mov ecx, dword [0x10155c1c]
mov edx, dword [ecx]
lea eax, [esp + 0x418]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x1003edb7
test bl, bl
je 0x1003edb3
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x1003edb7
add eax, 2
add edx, 2
test bl, bl
jne 0x1003ed97
xor eax, eax
jmp 0x1003edbc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003edca
inc esi
add ecx, 0x10
cmp esi, edi
jl 0x1003ed8e
jmp 0x1003edf3
cmp dword [0x100e24c8], 0
jne 0x1003ede5
cmp dword [ecx + 4], 8
je 0x1003edf3
cmp dword [ecx + 4], 9
je 0x1003edf3
cmp dword [ecx + 4], 0x10
je 0x1003edf3
push ebp
push dword [esp + 0x18]
push ecx
call fcn.1003bd2f
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.100635f1
add esp, 0xc
test eax, eax
jne 0x1003ec26
push ebp
call fcn.10062f31
and dword [0x100e24c8], 0
pop ecx
call fcn.1003ee38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1408
ret