Function at 0x401ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404b35
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x408004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Russian
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
mov esi, 0xf
add esp, 8
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], 0
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405318
call fcn.00403040
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
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__::operator___int__]
mov eax, dword [ebp - 0x38]
sub eax, 1
je 0x401cb9
sub eax, 1
je 0x401ca9
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
sub eax, 1
je 0x401ba1
mov edx, 0x405410
jmp 0x401cc4
mov edx, 0x4053a8
call fcn.00403040
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x50]
call fcn.00403270
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x50]
sub esp, 0x18
xorps xmm0, xmm0
cmp dword [ebp - 0x3c], 0x10
mov edi, esp
cmovae ecx, dword [ebp - 0x50]
mov dword [ebp - 0x70], ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, 0x7fffffff
ja 0x401ec2
mov dword [edi + 0x14], 0xf
cmp eax, 0x10
jae 0x401c08
push 0x10
push ecx
push edi
mov dword [edi + 0x10], eax
call sub.VCRUNTIME140.dll_memmove
jmp 0x401c81
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x401c1c
mov esi, 0x7fffffff
jmp 0x401c27
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x401c58
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x401ebd
push ecx
call fcn.00403e90
add esp, 4
test eax, eax
je 0x401e8c
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x401c6b
test eax, eax
je 0x401c69
push eax
call fcn.00403e90
add esp, 4
mov ecx, eax
jmp 0x401c6b
xor ecx, ecx
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x10], eax
inc eax
push eax
push dword [ebp - 0x70]
mov dword [edi], ecx
push ecx
mov dword [edi + 0x14], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.00401240
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 0x18
mov byte [0x408588], al
test al, al
je 0x401ca2
mov edx, 0x4053c4
jmp 0x401cc4
mov edx, 0x4053dc
jmp 0x401cc4
cmp byte [0x408588], 0
jne 0x401d13
mov edx, 0x4053f8
jmp 0x401cbe
mov edx, str.FLAGGo0d_job_but_N0_n
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403040
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, 3
jl 0x401b50
mov esi, dword [ebp - 0x3c]
cmp esi, 0x10
jb 0x401ea0
lea ecx, [esi + 1]
mov esi, dword [ebp - 0x50]
mov eax, esi
cmp ecx, 0x1000
jb 0x401e96
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401e96
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 9
lea esi, str.__________
mov edi, esi
pop ecx
mov dl, byte [edi]
add dl, 8
rol dl, 3
sub dl, 5
mov byte [edi], dl
add edi, 1
loop 0x401d1e
mov eax, dword [0x4085a0]
xor edx, edx
cmp eax, 0x10
setae byte [ebp - 0x69]
lea esi, [edx + 3]
lea edi, [edx + 1]
cmp eax, 0x10
mov ecx, 0x40858c
mov eax, edx
cmovae ecx, dword [0x40858c]
and eax, 9
mov al, byte [eax + str.__________]
xor al, byte [ecx + edx]
mov ecx, 0x40858c
cmp byte [ebp - 0x69], 0
mov byte [ebp + edi - 0x35], al
mov eax, edi
cmovne ecx, dword [0x40858c]
and eax, 9
mov al, byte [eax + str.__________]
xor al, byte [ecx + edx + 1]
mov ecx, 0x40858c
cmp byte [ebp - 0x69], 0
mov byte [ebp + edi - 0x34], al
lea eax, [esi - 1]
cmovne ecx, dword [0x40858c]
and eax, 9
mov al, byte [eax + str.__________]
xor al, byte [ecx + edx + 2]
mov ecx, 0x40858c
cmp byte [ebp - 0x69], 0
mov byte [ebp + esi - 0x35], al
mov eax, esi
cmovne ecx, dword [0x40858c]
and eax, 9
add edi, 4
mov al, byte [eax + str.__________]
xor al, byte [ecx + edx + 3]
add edx, 4
mov byte [ebp + esi - 0x34], al
add esi, 4
mov eax, dword [0x4085a0]
cmp edi, 0x21
jl 0x401d44
lea eax, [ebp - 0x34]
mov byte [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.00402c50
mov byte [ebp - 4], 1
mov edx, str.Your_flag:_n
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403040
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0x68]
push dword [ebp - 0x58]
cmovae edx, dword [ebp - 0x68]
mov ecx, eax
call fcn.00403af0
mov ecx, dword [ebp - 0x54]
add esp, 4
cmp ecx, 0x10
jb 0x401e52
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401e48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e8c
push ecx
push edx
call fcn.00404111
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x401ea0
mov edx, dword [ebp - 0x50]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x401e92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401e92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
jmp 0x401e98
push ecx
push esi
call fcn.00404111
add esp, 8
xor eax, eax
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.00403d60
mov esp, ebp
pop ebp
ret
call fcn.004010f0
call fcn.00401190
int3