Function at 0x1003fa30
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 0x10094b88
push str.RxSItem
push str.config
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xd8], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1009e9c8
push edi
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003fb7f
lea ecx, [ecx]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fa95
sub eax, edx
push 0x10094ba0
push ebx
mov dword [ebp - 0xd4], eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x1003fae5
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 0x1003fac4
push 0x10094ba0
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fac0
xor esi, esi
cmp dword [0x101411a0], esi
jle 0x1003fb56
mov edi, 0x101411a4
lea ecx, [ebp - 0xcc]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fb20
test dl, dl
je 0x1003fb1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fb20
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fb00
xor eax, eax
jmp 0x1003fb25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fb44
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 0x1003faf4
mov edi, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
lea eax, [edx + ebx + 1]
push 0x1009e9c8
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003fa90
mov esi, dword [ebp - 0xd0]
push esi
push 0x61a8
push edi
push 0x10094b88
push str.StoneItem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1009e9c8
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003fcea
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1003fbc0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fbc0
sub eax, edx
push 0x10094ba0
push ebx
mov dword [ebp - 0xd0], eax
call edi
add esp, 8
test eax, eax
je 0x1003fc0f
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 0x1003fbe8
push 0x10094ba0
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fbe4
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
mov ecx, 0x101a2168
xor esi, esi
call fcn.10001240
test eax, eax
jle 0x1003fccb
jmp 0x1003fc30
mov edx, dword [0x101a2168]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0xcc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fc60
test dl, dl
je 0x1003fc5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fc60
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fc40
xor eax, eax
jmp 0x1003fc65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fcb8
mov eax, dword [0x101a2174]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x9a]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fc97
test dl, dl
je 0x1003fc93
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fc97
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fc77
xor eax, eax
jmp 0x1003fc9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fcb8
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 0x1003fc30
mov edx, dword [ebp - 0xd0]
lea eax, [edx + ebx + 1]
push 0x1009e9c8
push eax
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003fbb6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100867e6
mov esp, ebp
pop ebp
ret