Function at 0x14001c330
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor edi, edi
lea rdx, [rbp - 0x60]
call fcn.140020a70
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001c382
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001c3a0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140002ef0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14001c3f5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c3f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c3f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140303f20]
movups xmmword [rbp - 0x20], xmm0
movzx eax, byte [0x140303f48]
movsd xmm0, qword [0x140303f40]
movups xmm1, xmmword [str._y3ejbf7n2::_b:j:mYa]
mov byte [rbp + 8], al
movsd qword [rbp], xmm0
movups xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x60], 0
mov ecx, edi
cmp dword [0x140353c80], 2
jl 0x14001c594
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x140304290]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1403041a0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x140304270]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x1c]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x14001c490
cmp ecx, 0x29
jge 0x14001c5cc
movsxd rax, ecx
lea r8, [rbp - 0x20]
add r8, rax
nop
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x29
jl 0x14001c5a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rax, [rbp - 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14001c5e5
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140002ef0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14001b5a0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140004590
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001b2c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14001c673
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c66e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c66e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14001c6c4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c6bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c6bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14001c715
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c710
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c710
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [str.MJAQ]
movups xmm1, xmmword [rbp - 0x70]
movzx eax, byte [0x140303a88]
movsd qword [rsp + 0x30], xmm0
movups xmmword [rbp - 0x30], xmm1
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x31], 0x3a
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
xor byte [rsp + 0x34], 0x3d
xor byte [rsp + 0x35], 0x3e
xor byte [rsp + 0x36], 0x3f
xor byte [rsp + 0x37], 0x40
xor al, 0x41
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x30]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001c770
call fcn.140246cb8
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140016a70
nop
lea rcx, [rbp - 0x80]
call fcn.140017b40
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140016f90
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001c7fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c7f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c7f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304140]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001c854
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c84f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c84f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304140]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8d, 2
lea rcx, [rbp + 0x30]
call fcn.1400104d0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rsi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
cmp qword [rbp + 0xb8], 0
jne 0x14001c9b9
lea rdx, str.Error_opening_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140012cc0
mov rbx, rax
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp + 0x20]
mov qword [rsp + 0x68], rcx
call fcn.140246cb8
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400273e0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov word [rsp + 0x70], 0x5c22
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140025870
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14001c994
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c98f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c98f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rdx, [0x140012e90]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14001c9ff
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.140013170
lea rcx, [rbp + 0x38]
call fcn.140010910
test rax, rax
jne 0x14001c9ff
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], rsi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.140010460
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14001ca82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ca7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ca7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304140]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], di
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14001cad1
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cacc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cacc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret