Function at 0x1003e53b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
push 0x61a8
push esi
push 0x1008b74c
push str.RxSItem
push str.config
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], esi
call ebx
mov edi, 0x10093a3c
push edi
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
jmp 0x1003e663
push dword [ebp - 0xd4]
call sub.MSVCR100.dll_strlen
inc eax
mov dword [esp], 0x1008cd0c
push dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1003e5e9
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
push eax
push dword [ebp - 0xd0]
call sub.MSVCR100.dll_strcpy
add dword [ebp - 0xd0], 0x32
push 0x1008cd0c
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x1003e5c6
and dword [ebp - 0xd0], 0
cmp dword [0x10356d98], 0
jle 0x1003e655
mov dword [ebp - 0xd8], 0x10356d9c
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd8]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1003e63a
lea eax, [ebp - 0x9a]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
test eax, eax
pop ecx
mov ecx, dword [ebp - 0xd0]
setne al
mov byte [ecx + 0x10357828], al
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
add dword [ebp - 0xd8], 0x1e
cmp eax, dword [0x10356d98]
jl 0x1003e603
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xd4]
push edi
push eax
call esi
pop ecx
mov dword [ebp - 0xd4], eax
pop ecx
test eax, eax
jne 0x1003e593
push dword [ebp - 0xdc]
push 0x61a8
push dword [ebp - 0xe0]
push 0x1008b74c
push str.StoneItem
push str.config
call ebx
push edi
push dword [ebp - 0xe0]
jmp 0x1003e78b
push dword [ebp - 0xd4]
call sub.MSVCR100.dll_strlen
mov ebx, 0x1008cd0c
push ebx
push dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xdc], eax
call esi
add esp, 0xc
test eax, eax
je 0x1003e6f5
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd8], ecx
push eax
push dword [ebp - 0xd8]
call sub.MSVCR100.dll_strcpy
add dword [ebp - 0xd8], 0x32
push ebx
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x1003e6d6
and dword [ebp - 0xd0], 0
mov ebx, 0x103bb5f8
mov ecx, ebx
call fcn.100011d9
test eax, eax
jle 0x1003e77d
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [0x103bb5f8]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1003e768
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x9a]
push eax
mov eax, dword [0x103bb604]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1003e768
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov edx, dword [ebp - 0xd0]
pop ecx
mov ecx, dword [0x103bb610]
mov ecx, dword [ecx + edx*4]
mov dword [ecx], eax
inc dword [ebp - 0xd0]
mov ecx, ebx
call fcn.100011d9
cmp dword [ebp - 0xd0], eax
jl 0x1003e70c
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0xd4]
push edi
push eax
call esi
pop ecx
mov dword [ebp - 0xd4], eax
pop ecx
test eax, eax
jne 0x1003e6a3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret