Function at 0x401b20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b9ab2
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4d437c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov eax, dword [0x4d437c]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov ebx, 1
test byte [0x4f0158], bl
jne 0x401b9a
or dword [0x4f0158], ebx
mov ecx, 0x4f013c
mov dword [esp + 0x250], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x4bc690
call fcn.004b779a
add esp, 4
mov dword [esp + 0x250], 0xffffffff
call fcn.004018d0
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x1ff
lea eax, [esp + 0x49]
push 0
mov dword [esp + 0x258], ebx
push eax
mov byte [esp + 0x50], 0
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x38]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x40], esi
jae 0x401bdd
lea eax, [esp + 0x2c]
push eax
push 0x200
lea ecx, [esp + 0x4c]
push ecx
push 0x4be6d4
push str.LANGUAGE
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x44]
push edx
mov ecx, 0x4f013c
call dword [sym.imp.MSVCP80.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__]
push 0
push 0x4be6f0
mov ecx, 0x4f013c
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
je 0x401cb9
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
add eax, 1
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4f013c
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
mov ecx, 0x4f013c
mov byte [esp + 0x254], 2
call dword [0x4bd1cc]
lea ecx, [esp + 0xc]
mov byte [esp + 0x250], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
push 0x4be6f4
mov ecx, 0x4f013c
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, 0xffffffff
je 0x401cb9
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x4f013c
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
mov ecx, 0x4f013c
mov byte [esp + 0x254], 3
call dword [0x4bd1cc]
lea ecx, [esp + 0xc]
mov byte [esp + 0x250], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [0x4f0154], esi
mov esi, dword [0x4f0140]
jae 0x401ccc
mov esi, 0x4f0140
lea ecx, [esp + 0x28]
mov dword [esp + 0x250], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004b76e6
add esp, 0x248
ret