Function at 0x10002d38
Capabilities:
Read .ini file

Disassembly:
push 0x40
mov eax, 0x1001bc80
call fcn.1001ace1
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x2c], ebx
jbe 0x10002f74
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
mov eax, dword [edi + 0x28]
test byte [ebx + eax + 0x410], 2
je 0x10002dcf
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], eax
jbe 0x10002dcf
mov ecx, dword [edi + 0x28]
test byte [eax + ecx + 0x410], 2
je 0x10002da4
mov edx, dword [ebx + ecx + 0x10]
cmp edx, dword [eax + ecx + 0x10]
jne 0x10002d92
mov edx, dword [ebx + ecx + 0x14]
cmp edx, dword [eax + ecx + 0x14]
je 0x10002db6
mov ecx, dword [edi + 0x28]
mov edx, dword [eax + ecx + 0x3cc]
inc edx
mov dword [ebx + ecx + 0x3cc], edx
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add eax, 0x514
cmp ecx, dword [ebp - 0x10]
jb 0x10002d71
jmp 0x10002dcf
mov eax, ecx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x514
mov ecx, dword [ecx + eax + 0x3cc]
mov dword [ebx + eax + 0x3cc], ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
mov eax, dword [edi + 0x28]
push dword [ebx + eax]
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push str.GPU__04X
push eax
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
push 0x7fff
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.100146a4
add esp, 0x14
push dword [eax + 4]
push 0x7fff
push dword [ebp - 0x1c]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call sub.MSVCR90.dll_strlen
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10002f4d
lea ecx, [ebp - 0x2c]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
push 1
push 0x1001d3f8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CTextFile::GetParams_char_const___class_CStringLite___class_CStringLite___char_const___int_]
add esp, 0x14
test eax, eax
je 0x10002e8a
push dword [ebp - 0x20]
mov eax, dword [edi + 0x28]
push dword [ebx + eax + 4]
call dword [sym.imp.RTFC.dll_public:_static_int___cdecl_CTextFile::IsInRange_unsigned_long_int__char_const__]
pop ecx
pop ecx
test eax, eax
jne 0x10002ebe
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + ecx + 1]
push eax
mov dword [ebp - 0x14], eax
call sub.MSVCR90.dll_strlen
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call esi
cmp dword [ebp - 0x18], 0
jne 0x10002e3b
jmp 0x10002f4d
push dword [ebp - 0x28]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x3d0]
push 0x20
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
add esp, 0xc
lea ecx, [ebp - 0x34]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
mov eax, dword [edi + 0x28]
lea eax, [ebx + eax + 0x3d0]
push eax
lea eax, [ebp - 0x34]
push str.GPU__s
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
lea eax, [ebp - 0x4c]
push eax
call fcn.100146a4
add esp, 0x10
push dword [eax + 4]
mov eax, dword [edi + 0x28]
push 0x20
lea eax, [ebx + eax + 0x3f0]
push eax
push 0x1001d530
push str.Alias
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x4c]
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call esi
push dword [ebp - 0x1c]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x3c]
call esi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add ebx, 0x514
cmp eax, dword [edi + 0x2c]
jb 0x10002d5a
call fcn.1001ad4a
ret