Function at 0x10001113
Capabilities:
Read .ini file

Disassembly:
push 0x34
mov eax, 0x1001b99d
call fcn.1001ace1
mov edi, ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.RTFC.dll_public:_struct_PTR_LIST_NODE____thiscall_CPtrListLite::GetHead_void_]
mov esi, eax
jmp 0x1000114b
mov ebx, dword [esi + 8]
push dword [ebp + 8]
push dword [ebx]
call sub.MSVCR90.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100012c5
mov esi, dword [esi + 4]
test esi, esi
jne 0x10001131
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
push 8
mov esi, eax
push 0
push esi
mov dword [ebp - 0x1c], esi
call sub.MSVCR90.dll_memset
push dword [ebp + 8]
call dword [sym.imp.RTFC.dll_public:_static_char____cdecl_CStringLite::AllocateCopy_char_const__]
push 0x7fff
mov dword [esi], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [sym.imp.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_]
add esp, 0x18
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], eax
call ebx
mov eax, dword [edi]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov esi, eax
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0xc]
mov esi, dword [esi + 4]
mov eax, dword [eax + 4]
push esi
push eax
lea eax, [ebp - 0x40]
push str._sDevice__s
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
mov esi, dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x38]
call ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call dword [eax + 0x14]
push dword [ebp + 8]
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x38]
push str._s__s
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__]
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call esi
lea eax, [ebp - 0x30]
push eax
call fcn.100146a4
pop ecx
push dword [eax + 4]
push 0x7fff
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x10], eax
call sub.MSVCR90.dll_strlen
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10001338
lea ecx, [ebp - 0x30]
call ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call ebx
push 1
push 0x1001d3f8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
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 0x10001305
push 0x3f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x38]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CStringLite::CompareWithWildcard_char_const___char_]
test eax, eax
jne 0x10001305
push 0x23c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
mov byte [ebp - 4], 7
test ecx, ecx
je 0x100012cd
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CFormulaTranslator::constructor_void_]
mov eax, dword [ebp + 8]
mov dword [eax], vtable.CFormulaTranslator.0
mov dword [ebp + 8], eax
jmp 0x100012d1
mov eax, dword [ebx + 4]
jmp 0x10001365
and dword [ebp + 8], 0
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
call dword [sym.imp.RTFC.dll_public:_long_int___thiscall_CFormulaTranslator::Translate_char_const__]
mov ecx, dword [ebp + 8]
test eax, eax
jl 0x100012fa
push edi
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CFormulaTranslator::SetVariableProvider_class_CFormulaTranslatorVariableProvider__]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
jmp 0x10001305
test ecx, ecx
je 0x10001305
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx + 1]
push eax
mov dword [ebp - 0x10], eax
call sub.MSVCR90.dll_strlen
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call esi
cmp dword [ebp - 0x14], 0
jne 0x10001256
push dword [ebp - 0x18]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov edi, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebp - 0x20]
push edi
call dword [sym.imp.RTFC.dll_public:_struct_PTR_LIST_NODE____thiscall_CPtrListLite::AddTail_void__]
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call esi
mov eax, edi
call fcn.1001ad4a
ret 4