Function at 0x1003f980
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 0x1003facf
lea ecx, [ecx]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f9e5
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 0x1003fa35
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 0x1003fa14
push 0x10094ba0
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fa10
xor esi, esi
cmp dword [0x101411a0], esi
jle 0x1003faa6
mov edi, 0x101411a4
lea ecx, [ebp - 0xcc]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fa70
test dl, dl
je 0x1003fa6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fa70
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fa50
xor eax, eax
jmp 0x1003fa75
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fa94
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 0x1003fa44
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 0x1003f9e0
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 0x1003fc3a
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1003fb10
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fb10
sub eax, edx
push 0x10094ba0
push ebx
mov dword [ebp - 0xd0], eax
call edi
add esp, 8
test eax, eax
je 0x1003fb5f
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 0x1003fb38
push 0x10094ba0
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fb34
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
mov ecx, 0x101a2168
xor esi, esi
call fcn.10001080
test eax, eax
jle 0x1003fc1b
jmp 0x1003fb80
mov edx, dword [0x101a2168]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0xcc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fbb0
test dl, dl
je 0x1003fbac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fbb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fb90
xor eax, eax
jmp 0x1003fbb5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fc08
mov eax, dword [0x101a2174]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x9a]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fbe7
test dl, dl
je 0x1003fbe3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fbe7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fbc7
xor eax, eax
jmp 0x1003fbec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fc08
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.10001080
cmp esi, eax
jl 0x1003fb80
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 0x1003fb06
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086786
mov esp, ebp
pop ebp
ret