Function at 0x404810
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4115a4
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x41b2ec]
xor eax, esp
mov dword [esp + 0x534], eax
push ebx
push esi
push edi
mov eax, dword [0x41b2ec]
xor eax, esp
push eax
lea eax, [esp + 0x548]
mov dword fs:[0], eax
call fcn.0040c1b0
push eax
lea ecx, [esp + 0xc8]
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__]
push str.configOriginal_version.ini
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x104]
push ecx
mov dword [esp + 0x55c], 0
call esi
push str.LastInstall.log
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x568], 1
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x156]
push edx
mov byte [esp + 0x574], 2
mov word [esp + 0x158], cx
call sub.MSVCR90.dll_memset
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x36a]
push ecx
mov word [esp + 0x36c], ax
call sub.MSVCR90.dll_memset
add esp, 0x30
lea ecx, [esp + 0xfc]
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]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x103
lea edx, [esp + 0x13c]
push edx
push 0x414e00
push str.version
push str.version
call edi
lea ecx, [esp + 0x118]
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, [esp + 0x344]
push eax
push 0x414e00
push str.LastVer
push str.record
call edi
lea ecx, [esp + 0x33c]
push ecx
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x404b83
lea ecx, [esp + 0xe0]
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, [esp + 0xe0]
push 1
mov bl, 3
push eax
mov byte [esp + 0x558], bl
call fcn.0040e27a
push str.LastInstall.log
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x30]
push edx
call esi
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x550], 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]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
lea eax, [esp + 0x138]
push eax
push str.LastVer
push str.record
call edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x550], bl
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 str.LastInstall.log
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0x28]
push edx
call esi
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x550], 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, [esp + 0xe4]
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 str.LastIntallTime
push str.record
call edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x550], bl
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, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::constructor_void_]
push 2
push 0x413d36
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x55c], 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, [esp + 0x14]
push eax
mov byte [esp + 0x558], 7
call edi
add esp, 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
mov bl, 0xa
lea ecx, [esp + 0x18]
mov byte [esp + 0x550], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
push 0x413d10
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0x28]
push edx
call esi
add esp, 0xc
push 1
push 0x40
push 8
mov ecx, eax
mov byte [esp + 0x55c], 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, [esp + 0x4c]
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, [esp + 0x20]
mov byte [esp + 0x550], 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 [esp + 0x3c]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_bool___thiscall_std::ios_base::good_void_const]
test al, al
je 0x404b30
mov ecx, 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____]
push ecx
lea edx, [esp + 0xe4]
push edx
push 0x413d0c
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00404600
add esp, 8
push eax
call fcn.00404600
add esp, 8
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__]
add esp, 8
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, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::close_void_]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x550], bl
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, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::locale::destructor_void_]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x550], 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, [esp + 0x118]
mov byte [esp + 0x550], 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, [esp + 0xfc]
mov byte [esp + 0x550], 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_]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x550], 0xffffffff
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 [esp + 0x548]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x534]
xor ecx, esp
call fcn.0041005a
add esp, 0x544
ret