Function at 0x1003ed9f
Capabilities:
Terminate process

Disassembly:
mov eax, 0x140c
call fcn.10057150
cmp dword [0x100dc318], 0
push ebx
push ebp
push esi
push edi
je 0x1003ee3f
push 0x20aa4
push 0
push 0x10162628
call fcn.10059360
add esp, 0xc
call fcn.1003cca6
mov ecx, dword [0x101830e0]
xor ebx, ebx
mov dword [esp + 0x10], ebx
test ecx, ecx
jle 0x1003ee71
mov edx, dword [0x101830dc]
xor edi, edi
and dword [esp + 0x14], 0
lea esi, [edi + edx]
cmp dword [esi + 8], 0
jle 0x1003ee31
mov ebx, dword [esp + 0x14]
xor ebp, ebp
mov eax, dword [esi + 0xc]
push dword [eax + ebp + 8]
push 0xffffffffffffffff
push esi
call fcn.1003bfd0
mov edx, dword [0x101830dc]
lea ebp, [ebp + 0xc]
add esp, 0xc
inc ebx
lea esi, [edi + edx]
cmp ebx, dword [esi + 8]
jl 0x1003ee03
mov ecx, dword [0x101830e0]
mov ebx, dword [esp + 0x10]
inc ebx
add edi, 0x10
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jl 0x1003edef
jmp 0x1003ee4b
mov ecx, dword [0x101830e0]
mov edx, dword [0x101830dc]
test ecx, ecx
jle 0x1003ee71
add edx, 8
xor esi, esi
cmp dword [edx], esi
jle 0x1003ee69
xor edi, edi
mov eax, dword [edx + 4]
and dword [edi + eax], 0
inc esi
lea edi, [edi + 0xc]
cmp esi, dword [edx]
jl 0x1003ee5a
add edx, 0x10
sub ecx, 1
jne 0x1003ee52
push str.pilbert.ini
push 0x10190c30
push str._spilbert_s
lea eax, [esp + 0x228]
push 0x200
push eax
call fcn.10007ba9
lea eax, [esp + 0x230]
push 0x1008ec20
push eax
call fcn.10065a66
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x1003f08c
lea eax, [esp + 0x21c]
push eax
push str.Could_not_open__s__using_default__or_previous__settings.
call fcn.10055599
pop ecx
pop ecx
jmp 0x1003f16c
lea esi, [esp + 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003eed5
sub esi, ecx
jmp 0x1003eefc
movsx eax, byte [esp + esi + 0x1b]
push eax
push str._t_n_r
call fcn.1005b1b0
pop ecx
pop ecx
test eax, eax
je 0x1003ef00
dec esi
mov byte [esp + esi + 0x1c], 0
test esi, esi
jg 0x1003eee0
mov al, byte [esp + 0x1c]
cmp al, 0x23
je 0x1003f094
cmp al, 0x3b
je 0x1003f094
test al, al
je 0x1003f094
test esi, esi
jle 0x1003ef4b
cmp byte [esp + esi + 0x1b], 0x5c
jne 0x1003ef4b
push 0x1000
lea eax, [esp + 0x20]
mov byte [esp + esi + 0x1f], 0x20
push eax
lea eax, [esp + 0x424]
push eax
call fcn.1002c117
add esp, 0xc
jmp 0x1003f094
push 0x1000
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x424]
push eax
call fcn.1002c117
add esp, 0xc
lea esi, [esp + 0x41c]
or dword [esp + 0x14], 0xffffffff
mov al, byte [esi]
cmp al, 9
je 0x1003ef7b
cmp al, 0x20
jne 0x1003ef7e
inc esi
jmp 0x1003ef71
cmp al, 0x30
jl 0x1003ef86
cmp al, 0x39
jle 0x1003ef9e
cmp al, 0x41
jl 0x1003ef8e
cmp al, 0x5a
jle 0x1003ef9e
cmp al, 0x61
jl 0x1003ef96
cmp al, 0x7a
jle 0x1003ef9e
cmp al, 0x5f
je 0x1003ef9e
cmp al, 0x2d
jne 0x1003efa3
inc esi
mov al, byte [esi]
jmp 0x1003ef7e
cmp al, 0x5b
jne 0x1003efff
mov byte [esi], 0
inc esi
mov al, byte [esi]
cmp al, 9
je 0x1003efaa
cmp al, 0x20
je 0x1003efaa
cmp al, 0x5d
je 0x1003effc
push esi
call fcn.1003f384
mov ebx, eax
mov dword [esp + 0x18], ebx
pop ecx
test ebx, ebx
jns 0x1003efe0
lea eax, [esp + 0x1c]
push eax
push str.Parse_error:__s__Negative_array_index_
call fcn.10055599
pop ecx
pop ecx
jmp 0x1003f08c
push 0x5d
push esi
call fcn.1005b1b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1003effc
lea eax, [esp + 0x1c]
push eax
push str.Parse_error:__s__missing___
jmp 0x1003efd4
inc esi
mov al, byte [esi]
mov byte [esi], 0
cmp al, 0x3d
je 0x1003f021
inc esi
mov al, byte [esi]
cmp al, 9
je 0x1003f006
cmp al, 0x20
je 0x1003f006
cmp al, 0x3d
je 0x1003f021
lea eax, [esp + 0x1c]
push eax
push str.Parse_error:__s__expected__
jmp 0x1003efd4
mov edi, dword [0x101830e0]
lea ebp, [esi + 1]
xor esi, esi
test edi, edi
jle 0x1003f074
mov ecx, dword [0x101830dc]
mov edx, dword [ecx]
lea eax, [esp + 0x41c]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x1003f05f
test bl, bl
je 0x1003f05b
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x1003f05f
add eax, 2
add edx, 2
test bl, bl
jne 0x1003f03f
xor eax, eax
jmp 0x1003f064
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003f177
inc esi
add ecx, 0x10
cmp esi, edi
jl 0x1003f036
lea eax, [esp + 0x41c]
push eax
push str.Unknown_setting__s
call fcn.10055599
pop ecx
pop ecx
mov ebp, dword [esp + 0x10]
mov byte [esp + 0x41c], 0
push ebp
lea eax, [esp + 0x20]
push 0x200
push eax
call fcn.10066860
add esp, 0xc
test eax, eax
jne 0x1003eece
push ebp
call fcn.1005d051
xor edi, edi
pop ecx
mov dword [esp + 0x10], edi
cmp dword [0x101830e0], edi
jle 0x1003f160
xor ebx, ebx
mov esi, dword [0x101830dc]
xor ebp, ebp
and dword [esp + 0x18], 0
add esi, ebx
mov ecx, dword [esi + 8]
test ecx, ecx
jle 0x1003f12c
mov edi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xc]
cmp dword [edx + eax], 0
je 0x1003f115
cmp dword [edx + eax], 1
jle 0x1003f112
push ebp
push esi
call fcn.1003bf8b
push eax
push str.Warning:_setting__s_was_set_multiple_times_in_the_.ini_file
call fcn.10055599
mov edx, dword [esp + 0x24]
add esp, 0x10
xor edi, edi
inc edi
mov ecx, dword [esi + 8]
inc ebp
add edx, 0xc
mov dword [esp + 0x14], edx
cmp ebp, ecx
jl 0x1003f0ea
test edi, edi
mov edi, dword [esp + 0x10]
jne 0x1003f14c
cmp ecx, 1
mov edx, 0x1007e3c4
mov eax, 0x1008ed28
cmovle eax, edx
push eax
push dword [esi]
push str.Warning:_setting__s_s_was_not_present_in_the_.ini_file
call fcn.10055599
add esp, 0xc
inc edi
add ebx, 0x10
mov dword [esp + 0x10], edi
cmp edi, dword [0x101830e0]
jl 0x1003f0ca
and dword [0x100dc318], 0
call fcn.1003f1b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140c
ret
cmp dword [0x100dc318], 0
jne 0x1003f19e
cmp dword [ecx + 4], 8
je 0x1003f088
cmp dword [ecx + 4], 9
je 0x1003f088
cmp dword [ecx + 4], 0x10
je 0x1003f088
push ebp
push dword [esp + 0x18]
push ecx
call fcn.1003bfd0
add esp, 0xc
jmp 0x1003f088