Function at 0x413de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cb37
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x42a020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4225dc
lea ecx, [ebp - 0x2c]
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 dword [ebp - 4], 0
push 2
push 0xffffffffffffffff
push 0x100c
mov eax, dword [0x42ace8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x414335
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov ecx, 0x42ad88
call fcn.00407560
push eax
call dword [sym.imp.MSVCP90.dll_bool___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___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
movzx eax, al
test eax, eax
je 0x414335
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x42ad88
call fcn.00407560
mov ecx, eax
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.Are_you_sure_you_want_to_delete___s__and_associated_files__if_any_
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 3
push str.Delete_Mod_
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [0x42ace8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 6
jne 0x414335
lea edx, [ebp - 0x2ac]
push edx
call fcn.00408d30
add esp, 4
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x324], eax
mov byte [ebp - 4], 1
push str.Data_
mov ecx, dword [ebp - 0x324]
push ecx
lea edx, [ebp - 0x27c]
push edx
call 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__]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
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 - 0x260]
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_]
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], 0
jmp 0x413f41
mov eax, dword [ebp - 0x280]
add eax, 1
mov dword [ebp - 0x280], eax
mov ecx, 0x42add0
call fcn.00401640
cmp dword [ebp - 0x280], eax
jae 0x41405e
mov ecx, dword [ebp - 0x280]
push ecx
mov ecx, 0x42add0
call fcn.00407560
push eax
mov edx, dword [ebp - 0x30]
push edx
mov ecx, 0x42ad88
call fcn.00407560
push eax
call dword [sym.imp.MSVCP90.dll_bool___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___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
movzx eax, al
test eax, eax
je 0x414059
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x42ad88
call fcn.00407560
mov ecx, eax
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.Would_you_like_to_unsubscribe_from___s__on_Steam_
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 4
push str.Unsubscribe_
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [0x42ace8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 6
jne 0x414059
cmp dword [0x42ad40], 0
je 0x414059
call dword [sym.imp.steam_api.dll_SteamRemoteStorage]
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x280]
push edx
mov ecx, 0x42ada0
call fcn.00401b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x328]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x328]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], edx
push 0x40a440
mov ecx, dword [0x42ad40]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [0x42ad40]
add ecx, 0x80
call fcn.00401bd0
jmp 0x413f32
call fcn.00412ce0
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x42ad88
call fcn.00407560
push eax
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x2c8]
push eax
call 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___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x330]
push edx
lea ecx, [ebp - 0x260]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c8]
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 - 0x260]
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
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414138
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, 0x42ad88
call fcn.00407560
sub esp, 0x1c
mov ecx, 7
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.Failed_to_delete__s__error_code:__d
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
push 0
push str.ERROR
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [0x42ace8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x30]
push edx
mov ecx, 0x42ad88
call fcn.00407560
mov ecx, eax
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 0x422778
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
mov dword [ebp - 0x244], eax
mov edx, 0x62
mov eax, dword [ebp - 0x244]
mov word [ebp + eax*2 - 0x242], dx
mov ecx, 0x73
mov edx, dword [ebp - 0x244]
mov word [ebp + edx*2 - 0x240], cx
mov eax, 0x61
mov ecx, dword [ebp - 0x244]
mov word [ebp + ecx*2 - 0x23e], ax
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
call 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__]
add esp, 0xc
mov dword [ebp - 0x334], eax
mov edx, dword [ebp - 0x334]
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x338]
push eax
lea ecx, [ebp - 0x260]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e4]
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 - 0x260]
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
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x69
mov edx, dword [ebp - 0x244]
mov word [ebp + edx*2 - 0x242], cx
mov eax, 0x6e
mov ecx, dword [ebp - 0x244]
mov word [ebp + ecx*2 - 0x240], ax
mov edx, 0x69
mov eax, dword [ebp - 0x244]
mov word [ebp + eax*2 - 0x23e], dx
lea ecx, [ebp - 0x300]
push ecx
call fcn.00408d30
add esp, 4
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x340]
push ecx
lea edx, [ebp - 0x31c]
push edx
call 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__]
add esp, 0xc
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x260]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x31c]
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 byte [ebp - 4], 4
lea ecx, [ebp - 0x300]
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 - 0x260]
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
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x1009
mov edx, dword [0x42ace8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00409f30
call fcn.00413420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
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 byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
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 dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004077d3
mov esp, ebp
pop ebp
ret