Function at 0x44ccc6
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e0f68
call fcn.004d1ec0
sub esp, 0x80
mov eax, dword [0x52f220]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x70], ebx
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_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
push esi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.00451a68
add esp, 0xc
lea ecx, [ebp - 0x64]
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 - 0x64]
push eax
push edi
mov byte [ebp - 4], 1
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.00451a68
add esp, 0xc
mov ecx, ebx
call fcn.0043530b
xor esi, esi
and dword [ebp - 0x68], esi
add esi, 0x800
cmp dword [ebp - 0x68], 0
je 0x44cd54
push dword [ebp - 0x68]
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 - 0x48]
mov dword [ebp - 0x68], 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 - 0x68]
lea ecx, [ebp - 0x64]
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
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ecx, [esi - 2]
cmp eax, ecx
je 0x44cd3f
push 0x208
call fcn.004d1ab7
mov edi, eax
mov eax, dword [ebp - 0x68]
test eax, eax
pop ecx
mov dword [ebp - 0x6c], eax
je 0x44ce48
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.MSVCR71.dll_wcschr]
mov ebx, eax
mov esi, ebx
sub esi, dword [ebp - 0x6c]
pop ecx
sar esi, 1
pop ecx
je 0x44ce48
push esi
push dword [ebp - 0x6c]
push edi
call dword [sym.imp.MSVCR71.dll_wcsncpy]
and word [edi + esi*2], 0
add esp, 0xc
lea ecx, [ebp - 0x2c]
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 - 0x2c]
push eax
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
push edi
call fcn.004519f2
add esp, 0xc
lea ecx, [ebp - 0x2c]
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 - 0x8c]
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 - 0x70]
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.0040cff2
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 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 eax, [ebx + 2]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
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_]
cmp dword [ebp - 0x6c], ebx
jne 0x44cda1
push dword [ebp - 0x68]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
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_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
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 0xc