Function at 0x40cd70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x415e72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x41d2c0]
push esi
push edi
mov edi, dword [esp + 0x54]
mov esi, ecx
push edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x44], eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push edi
lea eax, [esp + 0xc]
push str..custom_
push eax
call fcn.004094e0
push str.GameSetting.ini
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x64], 0
call fcn.00409560
add esp, 0x18
lea ecx, [esp + 8]
mov byte [esp + 0x4c], 2
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 + 0x24]
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]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.WatchedType
push str.DouNiu
call edi
lea ecx, [esp + 0x24]
mov dword [esi], eax
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
push 1
push str.UseMedia
push str.DouNiu
call edi
test eax, eax
setne dl
lea ecx, [esp + 0x24]
mov byte [esi + 4], dl
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
push 1
push str.AnticlockwiseOrder
push str.DouNiu
call edi
test eax, eax
setne al
lea ecx, [esp + 0x24]
mov byte [esi + 5], al
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
push 1
push str.SortBaseOnDot
push str.DouNiu
call edi
test eax, eax
setne cl
mov byte [esi + 6], cl
lea ecx, [esp + 0x24]
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
push 1
push str.OpenSound
push str.DouNiu
call edi
test eax, eax
setne dl
lea ecx, [esp + 0x24]
mov byte [esi + 7], dl
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
push 1
push str.ShowPrompt
push str.DouNiu
call edi
test eax, eax
setne al
lea ecx, [esp + 0x24]
mov byte [esi + 8], al
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
push 1
push str.ScoreDlg
push str.DouNiu
call edi
test eax, eax
setne cl
mov byte [esi + 9], cl
lea ecx, [esp + 0x24]
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
push 1
push str.ScoreText
push str.DouNiu
call edi
test eax, eax
setne dl
lea ecx, [esp + 0x24]
mov byte [esi + 0xa], dl
mov dword [esp + 0x4c], 0xffffffff
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 ecx, dword [esp + 0x44]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
pop esi
call fcn.00414c31
add esp, 0x48
ret 4