Function at 0x4011f0
Capabilities:
Encode data using xor
Execute command
Read file on windows
Set console window title
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403f07
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push str.CRC_CHECK_BY_FILE_NAME_BYYA1337
mov dword [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov esi, dword [esi + 4]
test esi, esi
je 0x4013ed
mov ecx, esi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401261
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00402470
mov dword [ebp - 4], 0
mov edx, str.You_FileName:
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x402a60
call fcn.00402810
mov edx, esi
mov ecx, eax
call fcn.00402810
mov ecx, eax
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::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4052cc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov edi, eax
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
push ebx
call fcn.00403093
add esp, 0x28
mov dword [ebp - 0x7c], 0
mov esi, eax
mov dword [ebp - 0x78], 0xf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0x8c], 0
push 9
push str.123456789
call fcn.00402470
push edi
push ebx
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push 0x29b1
push str.CRC_CCITT
push str.The_check_value_for_the__s_standard_is_0x_X_n
call fcn.004010b0
add esp, 0x20
call fcn.00401010
xor esi, esi
mov edx, pe_overlay
test ebx, ebx
jle 0x401365
mov edi, dword [ebp - 0xa8]
movzx ecx, byte [esi + edi]
inc esi
movzx eax, dx
shr eax, 8
xor ecx, eax
shl edx, 8
xor dx, word [ecx*2 + 0x408578]
movzx edx, dx
cmp esi, ebx
jl 0x401346
movzx eax, dx
push eax
push str.The_crcFast___of__123456789__is_0x_X_n
call fcn.004010b0
mov edx, dword [ebp - 0x78]
add esp, 8
cmp edx, 0x10
jb 0x4013af
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4013a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4013a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00403085
add esp, 8
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x401852
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401848
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401848
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enter_a_string_FileName:
call fcn.00402810
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x74]
call fcn.00402a90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.You_FileName:
push 0x402a60
call fcn.00402810
lea edx, [ebp - 0x74]
mov ecx, eax
call fcn.00402810
mov ecx, eax
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::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x8c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401450
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402470
push 0xb8
lea eax, [ebp - 0x168]
mov dword [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x168], 0x4053d4
lea ecx, [ebp - 0xf8]
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 - 0x158]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x168]
mov dword [ebp - 0xa8], 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 - 0x168]
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 - 0x168]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x16c], eax
lea eax, [ebp - 0x158]
mov ecx, eax
mov dword [ebp - 0xac], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
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 - 0x110], 0
mov byte [ebp - 0x11b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x408780]
mov dword [ebp - 0x118], eax
mov eax, dword [0x408784]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
push 0x40
cmovae eax, dword [ebp - 0x8c]
push 1
push eax
call dword [sym.imp.MSVCP140.dll_struct__iobuf____cdecl_std::_Fiopen_char_const___int__int_]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4016ad
lea ecx, [ebp - 0x158]
mov byte [ebp - 0x110], 1
mov byte [ebp - 0x11b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], 0
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xb0], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov edx, dword [ebp - 0xb0]
add esp, 0x10
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa8]
push edx
push ecx
push eax
push edx
push ecx
push eax
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____char____int___char____char____int__]
mov eax, dword [0x408780]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x118], eax
mov eax, dword [0x408784]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x170]
push eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x120], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void_]
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00402c50
mov esi, eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::codecvt_base::always_noconv_void_const]
test al, al
je 0x40165b
mov dword [ebp - 0x120], 0
jmp 0x40166d
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x120], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x40168c
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40168c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
mov eax, dword [ebp - 0x168]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x4016c8
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x168]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
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 - 0x168]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x15c], 6
je 0x4016fe
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Unable_to_open_file
call fcn.00402810
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x158]
call fcn.004026a0
test eax, eax
jne 0x401727
push eax
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x168]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea eax, [ebp - 0x74]
push 0x4052cc
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ebx, eax
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
push edi
call fcn.00403093
add esp, 0x28
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 0xf
mov esi, eax
mov byte [ebp - 0xa4], 0
push 9
push str.123456789
call fcn.00402470
push ebx
push edi
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push 0x29b1
push str.CRC_CCITT
push str.The_check_value_for_the__s_standard_is_0x_X_n
call fcn.004010b0
call fcn.00401010
mov edx, edi
mov ecx, esi
call fcn.00401060
movzx eax, ax
push eax
push str.The_crcFast___of__123456789__is_0x_X_n
call fcn.004010b0
mov edx, dword [ebp - 0x90]
add esp, 0x28
cmp edx, 0x10
jb 0x40180e
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401804
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401804
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00403085
add esp, 8
lea ecx, [ebp - 0x168]
call fcn.00401880
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x401852
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401848
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401848
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00403085
add esp, 8
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403044
mov esp, ebp
pop ebp
ret