Function at 0x43eb80
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x461cc8
push eax
mov eax, 0x1124
mov dword fs:[0], esp
call fcn.0043fdd0
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x20]
push eax
call fcn.00440410
mov cl, byte [esp + 0x13]
add esp, 4
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
push 0
mov dword [ebx + 0x68], eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1138], 0
mov eax, dword [edx]
push eax
push 0
push 0x476b18
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, 0x472684
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x472684
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.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__::append_char_const___unsigned_int_]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43ec18
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0x34]
push 0x100
push ecx
push 0x47267c
push 0x472670
push 0x472668
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dl, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x1138], 1
mov ecx, dword [eax]
push ecx
push 0
push 0x476b18
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
repne scasb al, byte es:[edi]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x43ec95
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
push ebp
jbe 0x43ecdc
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x43ecdc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x34]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov edi, 0x475edc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x43ed04
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x43ed4b
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x43ed4b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x475edc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
pop ebp
jne 0x43ed5b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x472654
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x43edb4
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x113c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x24]
cmp ecx, edi
je 0x43edad
mov al, byte [ecx - 1]
test al, al
je 0x43eda3
cmp al, 0xff
je 0x43eda3
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x43ee49
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x43ee49
push esi
lea eax, [esp + 0x134]
push 0x1000
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, edi
jne 0x43eddf
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [ebx + 0x68]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
push edi
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CenterWindow
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x43ee14
mov al, byte [ecx - 1]
test al, al
je 0x43ee0a
cmp al, 0xff
je 0x43ee0a
dec al
mov byte [ecx - 1], al
jmp 0x43ee14
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], edi
cmp ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
je 0x43ee44
mov al, byte [ecx - 1]
test al, al
je 0x43ee3a
cmp al, 0xff
je 0x43ee3a
dec al
mov byte [ecx - 1], al
jmp 0x43ee44
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1130]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1130
ret