Function at 0x403ab1
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x480
lea ebp, [esp - 4]
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x480], eax
push 0xb4
mov eax, 0x40a722
call fcn.00409b4c
call fcn.004084ee
push eax
lea ecx, [ebp + 0x54]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
and dword [ebp - 4], 0
push 0x40ba04
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x1c]
push eax
call esi
mov ebx, 0x40b9e0
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 1
call esi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp + 0x278], ax
lea eax, [ebp + 0x27a]
push eax
mov byte [ebp - 4], 2
call sub.MSVCR90.dll_memset
xor eax, eax
push edi
push eax
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push eax
call sub.MSVCR90.dll_memset
add esp, 0x30
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MSVCP90.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 0x103
lea eax, [ebp + 0x278]
push eax
mov edi, 0x40c360
push edi
mov eax, 0x40b9d0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.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 0x103
lea eax, [ebp + 0x70]
push eax
push edi
push 0x40b9c0
mov edi, 0x40b9b0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x278]
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x403d65
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.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 + 0x38]
push 1
push eax
mov byte [ebp - 4], 3
call fcn.004089c0
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
add esp, 0x14
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.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
lea eax, [ebp + 0x278]
push eax
push 0x40b9c0
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.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
lea ecx, [ebp + 0x38]
call dword [sym.imp.MSVCP90.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 0x40b990
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::constructor_void_]
push 2
push 0x40b98e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::constructor_class_std::locale_const___char_const___int_]
mov edi, dword [sym.imp.MSVCP90.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const__]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
push 0x40b968
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
add esp, 0xc
push 1
push 0x40
push 8
mov ecx, eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP90.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
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::constructor_wchar_t_const___int__int_]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xc0]
call dword [sym.imp.MSVCP90.dll_public:_bool___thiscall_std::ios_base::good_void_const]
test al, al
je 0x403d1e
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t____]
lea eax, [ebp + 0x38]
push eax
push 0x40b964
lea eax, [ebp + 0x278]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004038e5
pop ecx
pop ecx
push eax
call fcn.004038e5
pop ecx
pop ecx
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::close_void_]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::vbase_dtor_void_]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.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 + 0x54]
call dword [sym.imp.MSVCP90.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]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x480]
xor ecx, ebp
call fcn.00409ade
add ebp, 0x484
leave
ret