Function at 0x402b13
Capabilities:
Read .ini file

Disassembly:
push 0x110
mov eax, 0x564fb6
call fcn.0053cea9
mov esi, ecx
lea ecx, [edi + 8]
push 0xa
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x114], esi
call fcn.00438999
and dword [ebp - 4], 0
call fcn.00437a9e
push eax
lea ecx, [edi + 0x24]
call fcn.00402723
mov byte [ebp - 4], 1
call fcn.00437a9e
push eax
lea ecx, [edi + 0x28]
call fcn.00402723
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [edi + 0x2c]
call fcn.00402723
mov eax, esi
mov byte [ebp - 4], 3
call fcn.0040bba8
and dword [edi + 4], 0
mov byte [edi], al
test al, al
je 0x402d9e
mov eax, dword [ebp - 0x114]
lea esi, [ebp - 0x118]
call fcn.00402788
push eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp - 0x114]
lea esi, [ebp - 0x118]
call fcn.004027a6
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 5
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040274b
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x114]
call fcn.0040bbbf
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x118]
push eax
call fcn.0041226e
pop ecx
pop ecx
push eax
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 7
call fcn.0040248f
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x24]
push eax
push 0
push str.count
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and dword [ebp - 0x114], 0
mov dword [edi + 4], eax
test eax, eax
jle 0x402cf7
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push str.item_04d
push eax
call fcn.00402fc6
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x24]
add esp, 0xc
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x598e70
lea eax, [ebp - 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x28]
call fcn.00402e8e
test eax, eax
je 0x402cc6
inc dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
cmp eax, dword [edi + 4]
jl 0x402c63
jmp 0x402cf7
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040235d
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 8
call fcn.00438be4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040274b
and dword [ebp - 0x114], 0
cmp dword [edi + 4], 0
jle 0x402d9e
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push str.item_04d
push eax
call fcn.00402fc6
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x24]
add esp, 0xc
push eax
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0x598e70
lea eax, [ebp - 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x28]
call fcn.00402e8e
test eax, eax
je 0x402d89
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040235d
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 9
call fcn.00438be4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.0040274b
inc dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
cmp eax, dword [edi + 4]
jl 0x402d08
mov eax, edi
call fcn.0053cf2c
ret