Function at 0x447670
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464d96
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.004646d0
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1088], ecx
cmp dword [ebp + 8], 0
je 0x447847
cmp dword [ebp + 0xc], 0
je 0x447847
cmp dword [ebp + 0x10], 0
je 0x447847
cmp dword [ebp + 0x14], 0
jbe 0x447847
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1048]
push ecx
call fcn.004474a0
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1064]
push eax
call fcn.004474a0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1088]
add ecx, 0xc
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004474a0
add esp, 8
mov byte [ebp - 4], 2
mov byte [ebp - 0x102c], 0
push 0xfff
push 0
lea eax, [ebp - 0x102b]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.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 0x1000
lea ecx, [ebp - 0x102c]
push ecx
push 0x468d7b
lea ecx, [ebp - 0x1064]
call dword [sym.imp.MSVCP80.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 - 0x1048]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x447817
lea edx, [ebp - 0x102c]
push edx
lea eax, [ebp - 0x1080]
push eax
call fcn.00447580
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1080]
call dword [sym.imp.MSVCP80.dll_public:_bool___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::empty_void_const]
movzx ecx, al
test ecx, ecx
jne 0x4477c5
lea ecx, [ebp - 0x1080]
call dword [sym.imp.MSVCP80.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
mov edx, dword [ebp + 0x14]
shr edx, 1
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
mov dword [ebp - 0x1084], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1080]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
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 byte [ebp - 4], 0
lea ecx, [ebp - 0x1064]
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 dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1048]
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, dword [ebp - 0x1084]
jmp 0x447849
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
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 byte [ebp - 4], 0
lea ecx, [ebp - 0x1064]
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 dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1048]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 0x10