Function at 0x1003f9c0
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 0x1009e980
push edi
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003fb0f
lea ecx, [ecx]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fa25
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 0x1003fa75
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 0x1003fa54
push 0x10094b78
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fa50
xor esi, esi
cmp dword [0x101411a0], esi
jle 0x1003fae6
mov edi, 0x101411a4
lea ecx, [ebp - 0xcc]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fab0
test dl, dl
je 0x1003faac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fab0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fa90
xor eax, eax
jmp 0x1003fab5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fad4
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 0x1003fa84
mov edi, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
lea eax, [edx + ebx + 1]
push 0x1009e980
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003fa20
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 0x1009e980
push edi
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003fc7a
mov eax, ebx
lea edx, [eax + 1]
jmp 0x1003fb50
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fb50
sub eax, edx
push 0x10094b78
push ebx
mov dword [ebp - 0xd0], eax
call edi
add esp, 8
test eax, eax
je 0x1003fb9f
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 0x1003fb78
push 0x10094b78
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x1003fb74
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
mov ecx, 0x101a2168
xor esi, esi
call fcn.10001040
test eax, eax
jle 0x1003fc5b
jmp 0x1003fbc0
mov edx, dword [0x101a2168]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0xcc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fbf0
test dl, dl
je 0x1003fbec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fbf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fbd0
xor eax, eax
jmp 0x1003fbf5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fc48
mov eax, dword [0x101a2174]
mov eax, dword [eax + esi*4]
lea ecx, [ebp - 0x9a]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fc27
test dl, dl
je 0x1003fc23
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fc27
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fc07
xor eax, eax
jmp 0x1003fc2c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003fc48
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.10001040
cmp esi, eax
jl 0x1003fbc0
mov edx, dword [ebp - 0xd0]
lea eax, [edx + ebx + 1]
push 0x1009e980
push eax
call edi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1003fb46
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086746
mov esp, ebp
pop ebp
ret