Function at 0x471000
Capabilities:
Delete file
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cbe71
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9f4
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x228], ecx
mov byte [ebp - 0x221], 0
mov byte [ebp - 0x222], 0
mov dword [ebp - 4], 0
push 0x98
lea ecx, [ebp - 0xd0]
call fcn.004029d0
push 1
push 2
lea ecx, [ebp - 0xd0]
call fcn.00416190
mov dword [ebp - 0x390], eax
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x4710d4
push str.Invalid_parameter
lea ecx, [ebp - 0x41c]
call fcn.0040bdb0
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x364]
push ecx
lea ecx, [ebp - 0x3c8]
call fcn.0040b380
push 0x638088
lea edx, [ebp - 0x3c8]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x41c]
call fcn.0040b3b0
push 4
lea ecx, [ebp - 0x18]
call fcn.004029d0
lea ecx, [ebp - 0x18]
call fcn.0045d290
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x228]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x238], ecx
cmp dword [ebp - 0x238], 0
je 0x4711ea
mov edx, dword [ebp - 0x238]
and edx, 0xffff
mov dword [ebp - 0x370], edx
push 0x5e6264
lea eax, [ebp - 0xd0]
push eax
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x36c], eax
push 0x416260
mov ecx, dword [ebp - 0x36c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x370]
push ecx
mov ecx, dword [ebp - 0x374]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x378], eax
push 0x5e6260
mov edx, dword [ebp - 0x378]
push edx
call fcn.00414ff0
add esp, 8
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00414da0
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x380], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x380]
push edx
lea ecx, [ebp - 0x3d4]
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0x3d4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x434]
call fcn.0040b3b0
push str.systsm.dat
lea ecx, [ebp - 0x18]
call fcn.0040e010
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
call fcn.005416c0
add esp, 4
mov dword [ebp - 0x384], eax
cmp dword [ebp - 0x384], 0
jne 0x471881
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x244], eax
push 0xbb8
mov ecx, dword [ebp - 0x244]
call fcn.0040a130
mov byte [ebp - 0x229], al
movzx ecx, byte [ebp - 0x229]
test ecx, ecx
jne 0x47124d
jmp 0x471369
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea ecx, [ebp - 0x530]
call fcn.00418dd0
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 5
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x764]
push ecx
mov ecx, dword [ebp - 0x250]
call fcn.00402ad0
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x258]
call fcn.00402a30
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
call fcn.00402d20
mov dword [ebp - 0x260], eax
push 0x5e62dc
mov eax, dword [ebp - 0x260]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x264], eax
push str.Config_file__
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x268]
call fcn.00418da0
push eax
mov edx, dword [ebp - 0x26c]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x270], eax
push str.__doesnt_exist._Try_loading_from_old_version_location
mov eax, dword [ebp - 0x270]
push eax
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x764]
call fcn.00402a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x530]
call fcn.00418db0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x228]
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x471469
mov ecx, dword [ebp - 0x23c]
and ecx, 0xffff
mov dword [ebp - 0x27c], ecx
push str.GetCfgFile_OldVer_AM_Before84_failed__0x
lea edx, [ebp - 0xd0]
push edx
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x278], eax
push 0x416260
mov ecx, dword [ebp - 0x278]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x280]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x284], eax
push 0x5e62e4
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.00414ff0
add esp, 8
lea edx, [ebp - 0x494]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00414da0
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x3e0]
call fcn.0040b380
push 0x638088
lea edx, [ebp - 0x3e0]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x494]
call fcn.0040b3b0
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
call fcn.005416c0
add esp, 4
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
jne 0x47187a
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x294], eax
push 0xbb8
mov ecx, dword [ebp - 0x294]
call fcn.0040a130
mov byte [ebp - 0x22a], al
movzx eax, byte [ebp - 0x22a]
test eax, eax
jne 0x4714bf
jmp 0x4715db
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00418dd0
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x2b8], ecx
mov byte [ebp - 4], 8
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
push edx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x80c]
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00402ad0
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2a8]
call fcn.00402a30
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
call fcn.00402d20
mov dword [ebp - 0x2b0], eax
push 0x5e6360
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x2b4], eax
push 0x5e6338
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2b8]
call fcn.00418da0
push eax
mov ecx, dword [ebp - 0x2bc]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x2c0], eax
push str.__doesnt_exist._Try_older_location
mov edx, dword [ebp - 0x2c0]
push edx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80c]
call fcn.00402a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5b4]
call fcn.00418db0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x228]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x240], ecx
cmp dword [ebp - 0x240], 0
je 0x4716db
mov edx, dword [ebp - 0x240]
and edx, 0xffff
mov dword [ebp - 0x2cc], edx
push str.GetCfgFile_OldVer_AM_Before7_failed__0x
lea eax, [ebp - 0xd0]
push eax
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x2c8], eax
push 0x416260
mov ecx, dword [ebp - 0x2c8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2cc]
push ecx
mov ecx, dword [ebp - 0x2d0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x2d4], eax
push 0x5e637c
mov edx, dword [ebp - 0x2d4]
push edx
call fcn.00414ff0
add esp, 8
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00414da0
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x3ec]
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0x3ec]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44c]
call fcn.0040b3b0
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
call fcn.005416c0
add esp, 4
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x47187a
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x2e4], eax
push 0xbb8
mov ecx, dword [ebp - 0x2e4]
call fcn.0040a130
mov byte [ebp - 0x22b], al
movzx ecx, byte [ebp - 0x22b]
test ecx, ecx
jne 0x471731
jmp 0x47184d
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea ecx, [ebp - 0x638]
call fcn.00418dd0
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x308], edx
mov byte [ebp - 4], 0xb
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x2f0], eax
lea ecx, [ebp - 0x8b4]
push ecx
mov ecx, dword [ebp - 0x2f0]
call fcn.00402ad0
mov dword [ebp - 0x2f4], eax
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2f8]
call fcn.00402a30
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
call fcn.00402d20
mov dword [ebp - 0x300], eax
push 0x5e6414
mov eax, dword [ebp - 0x300]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x304], eax
push str.Config_file_in_old_location__
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x308]
call fcn.00418da0
push eax
mov edx, dword [ebp - 0x30c]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x310], eax
push str.__doesnt_exist._No_existing_config_file_found
mov eax, dword [ebp - 0x310]
push eax
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8b4]
call fcn.00402a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x638]
call fcn.00418db0
mov byte [ebp - 0x22c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00415390
mov al, byte [ebp - 0x22c]
jmp 0x471fe7
mov byte [ebp - 0x222], 1
push 8
lea ecx, [ebp - 0x20]
call fcn.004029d0
mov ecx, dword [ebp - 0x228]
add ecx, 0x48
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042e630
mov dword [ebp - 0x398], eax
mov byte [ebp - 4], 0xd
push 0xb8
lea ecx, [ebp - 0x220]
call fcn.004029d0
push 1
push 0x20
push 0x21
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea ecx, [ebp - 0x220]
call fcn.0045d6d0
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x220]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
mov byte [ebp - 0x22d], al
movzx ecx, byte [ebp - 0x22d]
test ecx, ecx
jne 0x47192d
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 4]
lea ecx, [ebp + eax - 0x220]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::bad_void_const]
mov byte [ebp - 0x22e], al
movzx ecx, byte [ebp - 0x22e]
test ecx, ecx
je 0x471a0f
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea ecx, [ebp - 0x6bc]
call fcn.00418dd0
mov dword [ebp - 0x314], eax
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x318], edx
mov byte [ebp - 4], 0xf
push str.Failed_to_open__
lea eax, [ebp - 0xd0]
push eax
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x318]
call fcn.00418da0
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x320], eax
push 0x5e6430
mov edx, dword [ebp - 0x320]
push edx
call fcn.00414ff0
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6bc]
call fcn.00418db0
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00414da0
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x328]
push edx
lea ecx, [ebp - 0x3f8]
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0x3f8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x464]
call fcn.0040b3b0
push 2
push 0
push 0
lea ecx, [ebp - 0x220]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea ecx, [ebp - 0x4ac]
push ecx
lea ecx, [ebp - 0x220]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
call fcn.00409260
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x388], edx
mov edx, dword [ebp - 0x38c]
mov dword [ebp - 0x234], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3a0], esp
push 0
push 0
call fcn.00409290
mov dword [ebp - 0x3a4], eax
lea ecx, [ebp - 0x220]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet__]
cmp dword [ebp - 0x234], 0
jbe 0x471d74
push 0xc
lea ecx, [ebp - 0x38]
call fcn.00417e30
mov eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x38]
call fcn.00418cf0
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x38]
call fcn.00418b20
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x234]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x330]
push eax
lea ecx, [ebp - 0x220]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0x20]
call fcn.00444550
mov dword [ebp - 0x168], 0
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x168], edx
push 0
lea ecx, [ebp - 0x38]
call fcn.00418b20
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 0
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], 0x80
mov dword [ebp - 0x15c], 0x5e3ed0
mov dword [ebp - 0x158], 0
xor edx, edx
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x158]
push eax
push 1
push 0
push 0
lea ecx, [ebp - 0x160]
push ecx
push 0
lea edx, [ebp - 0x168]
push edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x471cb0
cmp dword [ebp - 0x154], 0
je 0x471cab
push 0xc
lea ecx, [ebp - 0x2c]
call fcn.00417e30
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00418cf0
mov dword [ebp - 0x3ac], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x3b4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004810e0
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
lea edx, [ebp - 0x3b8]
push edx
call fcn.0044ecd0
add esp, 0x10
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.0041edf0
add esp, 8
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4c
lea ecx, [ebp - 0x150]
call fcn.004029d0
push 3
lea ecx, [ebp - 0x150]
call fcn.0042c5d0
mov dword [ebp - 0x3bc], eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x150]
call fcn.00443c70
push 0x34
lea ecx, [ebp - 0x104]
call fcn.004029d0
push 0
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x104]
call fcn.004641e0
mov dword [ebp - 0x3b0], eax
mov byte [ebp - 4], 0x14
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xf0]
call fcn.00445bb0
mov byte [ebp - 0x221], 1
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x104]
call fcn.00468f30
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x150]
call fcn.0042ff20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00418bb0
jmp 0x471d68
push 0x5e4020
lea eax, [ebp - 0xd0]
push eax
call fcn.00414ff0
add esp, 8
mov dword [ebp - 0x338], eax
push 0x416260
mov ecx, dword [ebp - 0x338]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x33c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x33c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x340], eax
push 0x5e3fec
mov ecx, dword [ebp - 0x340]
push ecx
call fcn.00414ff0
add esp, 8
lea edx, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00414da0
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x404]
call fcn.0040b380
push 0x638088
lea edx, [ebp - 0x404]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x47c]
call fcn.0040b3b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x38]
call fcn.00418bb0
movzx eax, byte [ebp - 0x221]
test eax, eax
je 0x471dce
movzx ecx, byte [ebp - 0x222]
test ecx, ecx
je 0x471dce
lea ecx, [ebp - 0x220]
call fcn.00481b50
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x228]
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0x22f], al
movzx ecx, byte [ebp - 0x22f]
test ecx, ecx
je 0x471dce
lea ecx, [ebp - 0x18]
call fcn.0040e030
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x220]
call fcn.0046bfa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00430560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040c680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00415390
jmp 0x471fc6
mov dword [ebp - 4], 0xffffffff
jmp 0x471fd8
jmp 0x471fe1
mov al, byte [ebp - 0x221]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret 4