Function at 0x10010238
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x70], ecx
cmp dword [ebp + 8], 0
je 0x10010253
cmp dword [ebp + 0xc], 0
je 0x10010253
cmp dword [ebp + 0x10], 0
jne 0x1001025d
mov eax, 3
jmp 0x1001043f
mov eax, dword [ebp + 0x10]
push eax
push 0
push str.Itemcount
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001028c
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor eax, eax
jmp 0x1001043f
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x2ef0
push edx
call fcn.100298b8
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x2ef0
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.10029860
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov dword [ebp - 8], 0
jmp 0x100102e0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x10010435
mov ecx, dword [ebp - 8]
push ecx
push str.Item_d
lea edx, [ebp - 0x54]
push edx
call fcn.100298c6
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0
push str.Length
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x10010324
jmp 0x10010435
mov edx, dword [ebp + 0x10]
push edx
push 0
push str.Band
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push str.Type
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push eax
push 0
push str.Index
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x5c]
lea eax, [edx + edx + 1]
push eax
call fcn.100298b8
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + eax + 1]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x10046f88
push str.Data
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x2ef0
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x10]
push ecx
mov edx, dword [ebp - 0x5c]
shl edx, 1
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.10010865
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x2ef0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x2ef0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx + 4], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x2ef0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x60]
mov dword [edx + ecx + 8], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x2ef0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
mov dword [edx + ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.10029396
add esp, 4
jmp 0x100102d7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc