Function at 0x1003e5fe
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, 0x10093a5c
push edi
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
jmp 0x1003e726
push dword [ebp - 0xd4]
call sub.MSVCR100.dll_strlen
inc eax
mov dword [esp], 0x1008cd2c
push dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x1003e6ac
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 0x1008cd2c
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x1003e689
and dword [ebp - 0xd0], 0
cmp dword [0x10356d98], 0
jle 0x1003e718
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 0x1003e6fd
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 0x1003e6c6
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 0x1003e656
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 0x1003e84e
push dword [ebp - 0xd4]
call sub.MSVCR100.dll_strlen
mov ebx, 0x1008cd2c
push ebx
push dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xdc], eax
call esi
add esp, 0xc
test eax, eax
je 0x1003e7b8
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 0x1003e799
and dword [ebp - 0xd0], 0
mov ebx, 0x103bb5f8
mov ecx, ebx
call fcn.10001036
test eax, eax
jle 0x1003e840
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 0x1003e82b
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 0x1003e82b
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.10001036
cmp dword [ebp - 0xd0], eax
jl 0x1003e7cf
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 0x1003e766
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret