Function at 0x1003f9a0
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 0x1009e9a0
push edi
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003faef
lea ecx, [ecx]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fa05
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 0x1003fa55
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 0x1003fa34
push 0x10094b78
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fa30
xor esi, esi
cmp dword [0x101411a0], esi
jle 0x1003fac6
mov edi, 0x101411a4
lea ecx, [ebp - 0xcc]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fa90
test dl, dl
je 0x1003fa8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fa90
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fa70
xor eax, eax
jmp 0x1003fa95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fab4
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 0x1003fa64
mov edi, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
lea eax, [edx + ebx + 1]
push 0x1009e9a0
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003fa00
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 0x1009e9a0
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003fc5a
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1003fb30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fb30
sub eax, edx
push 0x10094b78
push ebx
mov dword [ebp - 0xd0], eax
call edi
add esp, 8
test eax, eax
je 0x1003fb7f
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 0x1003fb58
push 0x10094b78
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fb54
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
mov ecx, 0x101a2168
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1003fc3b
jmp 0x1003fba0
mov edx, dword [0x101a2168]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0xcc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fbd0
test dl, dl
je 0x1003fbcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fbd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fbb0
xor eax, eax
jmp 0x1003fbd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fc28
mov eax, dword [0x101a2174]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x9a]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fc07
test dl, dl
je 0x1003fc03
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fc07
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fbe7
xor eax, eax
jmp 0x1003fc0c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fc28
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
mov edx, dword [0x101a2180]
mov ecx, dword [edx + esi*4]
add esp, 4
mov dword [ecx], eax
mov ecx, 0x101a2168
inc esi
call fcn.10001240
cmp esi, eax
jl 0x1003fba0
mov edx, dword [ebp - 0xd0]
lea eax, [edx + ebx + 1]
push 0x1009e9a0
push eax
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003fb26
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086738
mov esp, ebp
pop ebp
ret