Function at 0x44cb45
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e0f37
call fcn.004d1ec0
sub esp, 0x64
mov eax, dword [0x52f220]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x54], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.00451a68
add esp, 0xc
mov ecx, edi
call fcn.0043530b
xor esi, esi
mov dword [ebp - 0x4c], ebx
add esi, 0x800
cmp dword [ebp - 0x4c], ebx
je 0x44cbab
push dword [ebp - 0x4c]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
lea eax, [esi + esi]
push eax
call fcn.004d1ab7
pop ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [esi - 2]
cmp eax, ecx
je 0x44cb97
push 0x208
call fcn.004d1ab7
mov edi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
pop ecx
mov dword [ebp - 0x50], eax
je 0x44cc8c
push 0
push dword [ebp - 0x50]
call dword [sym.imp.MSVCR71.dll_wcschr]
mov ebx, eax
mov esi, ebx
sub esi, dword [ebp - 0x50]
pop ecx
sar esi, 1
pop ecx
je 0x44cc8c
push esi
push dword [ebp - 0x50]
push edi
call dword [sym.imp.MSVCR71.dll_wcsncpy]
and word [edi + esi*2], 0
add esp, 0xc
lea ecx, [ebp - 0x48]
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 eax, [ebp - 0x48]
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
push edi
call fcn.004519f2
add esp, 0xc
lea ecx, [ebp - 0x48]
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
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 2
call fcn.0040cff2
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
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 eax, [ebx + 2]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 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_]
cmp dword [ebp - 0x50], ebx
jne 0x44cbee
push dword [ebp - 0x4c]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004d1f17
leave
ret 8