Function at 0x42f250
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a5e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push str.configconfig.ini
lea eax, [esp + 0x14]
push 0x4cbdc0
mov bl, 1
push eax
mov byte [esp + 0x80], bl
call fcn.004010a0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x74], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x100
push 0x100
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x4acbb2
push 0x4add00
push str.luacstat
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.configconfig.ini
lea ecx, [esp + 0x14]
push 0x4cbdc0
push ecx
call fcn.004010a0
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x74], 3
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x100
push 0x100
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push 0x4acbb2
push 0x4ad3b0
push str.luacstat
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
or ebp, 0xffffffff
push ebp
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push ebp
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x42f47b
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x42f47b
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
sub esp, 0x1c
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x30]
push eax
call fcn.0049d5e0
add esp, 0x20
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 4
call dword [0x4ab944]
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub esp, 0x1c
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x30]
push eax
call fcn.0049d5e0
add esp, 0x20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call dword [0x4ab944]
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
jmp 0x42f4aa
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty]
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x68
ret 8