Function at 0x1003f310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
push 0x61a8
push edi
push 0x10094b60
push str.RxSItem
push str.config
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd8], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1009e968
push edi
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003f45f
lea ecx, [ecx]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f375
sub eax, edx
push 0x10094b78
push ebx
mov dword [ebp - 0xd4], eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x1003f3c5
lea esi, [ebp - 0xcc]
lea ecx, [ecx]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1003f3a4
push 0x10094b78
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003f3a0
xor esi, esi
cmp dword [0x101411a0], esi
jle 0x1003f436
mov edi, 0x101411a4
lea ecx, [ebp - 0xcc]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003f400
test dl, dl
je 0x1003f3fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003f400
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003f3e0
xor eax, eax
jmp 0x1003f405
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003f424
lea eax, [ebp - 0x9a]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
test eax, eax
setne cl
mov byte [esi + 0x10141c30], cl
inc esi
add edi, 0x1e
cmp esi, dword [0x101411a0]
jl 0x1003f3d4
mov edi, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
lea eax, [edx + ebx + 1]
push 0x1009e968
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003f370
mov esi, dword [ebp - 0xd0]
push esi
push 0x61a8
push edi
push 0x10094b60
push str.StoneItem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1009e968
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003f5ca
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1003f4a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f4a0
sub eax, edx
push 0x10094b78
push ebx
mov dword [ebp - 0xd0], eax
call edi
add esp, 8
test eax, eax
je 0x1003f4ef
lea esi, [ebp - 0xcc]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1003f4c8
push 0x10094b78
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003f4c4
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
mov ecx, 0x101a2164
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1003f5ab
jmp 0x1003f510
mov edx, dword [0x101a2164]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0xcc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003f540
test dl, dl
je 0x1003f53c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003f540
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003f520
xor eax, eax
jmp 0x1003f545
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003f598
mov eax, dword [0x101a2170]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x9a]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003f577
test dl, dl
je 0x1003f573
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003f577
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003f557
xor eax, eax
jmp 0x1003f57c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003f598
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
mov edx, dword [0x101a217c]
mov ecx, dword [edx + esi*4]
add esp, 4
mov dword [ecx], eax
mov ecx, 0x101a2164
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1003f510
mov edx, dword [ebp - 0xd0]
lea eax, [edx + ebx + 1]
push 0x1009e968
push eax
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003f496
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret