Function at 0x140043cb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xc8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r12, rcx
mov ecx, dword [0x14017a0f4]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
xor r14d, r14d
lea ecx, [r14 + 0x1f]
lea r13d, [r14 + 4]
mov r15d, dword [0x1401798c0]
mov eax, dword [r8 + rdx]
cmp dword [0x140179e98], eax
jg 0x140044156
jmp 0x140043d55
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp - 0x61]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
je 0x140044345
jmp 0x140043d40
mov ecx, 0x1f
mov r8, qword [0x140179e90]
test r8, r8
jne 0x1400440ec
mov rax, qword [0x14008e400]
mov qword [rbp - 0x71], rax
cmp byte [0x14008e407], r8b
je 0x140043ec0
cmp r15d, 2
jl 0x140043e88
movdqa xmm4, xmmword [0x1400b0990]
movd xmm6, r13d
movd xmm5, ecx
movdqa xmm2, xmmword [0x1400b0940]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b0960]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
mov eax, dword [str.5555555555555555YYP]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x71]
pxor xmm2, xmm1
movd dword [rbp - 0x71], xmm2
movdqa xmm3, xmmword [0x1400b0950]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b0960]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x6d]
pxor xmm2, xmm1
movd dword [rbp - 0x6d], xmm2
jmp 0x140043ec0
lea r9, [rbp - 0x71]
mov r8d, r14d
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140043e90
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rdx, [rbp - 0x71]
lea rbx, str.h_a_v_
mov rcx, rbx
call fcn.140048930
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400b7008]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pubsetbuf_char____ptr64__long_long___int64_____ptr64]
movups xmm0, xmmword [0x14008e408]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x14008e418]
movups xmmword [rbp - 0x39], xmm1
movsd xmm0, qword [0x14008e428]
movsd qword [rbp - 0x29], xmm0
cmp r15d, 2
jl 0x140044063
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x1400b0990]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1400b0960]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.5555555555555555YYP]
movdqa xmmword [rbp - 0x71], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x71]
nop word [rax + rax]
movd xmm2, r14d
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 [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r14 + 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 [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r14d, 8
lea rcx, [rcx + 8]
cmp r14d, 0x28
jl 0x140043f60
jmp 0x1400440a0
lea r8, [rbp - 0x49]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r14d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r14b
sub al, cl
add al, 0x35
xor byte [r8], al
inc r14d
lea r8, [r8 + 1]
cmp r14d, 0x28
jl 0x140044070
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140020d00
lea rdx, [0x140020ed0]
mov rcx, rax
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]
lea rcx, [0x1400b7008]
call fcn.1400207b0
test rax, rax
jne 0x140044116
mov rax, qword [str.h_a_v_]
movsxd rcx, dword [rax + 4]
add rcx, rbx
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]
xor eax, eax
jmp 0x14004411e
mov qword [rbp - 0x71], r14
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea rdx, [rbp - 0x71]
mov rcx, r12
call fcn.14002d470
test al, al
jne 0x14004411a
xor eax, eax
jmp 0x14004411e
mov rax, qword [rbp - 0x71]
lea r11, [rsp + 0xc8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x140179e98]
call fcn.14008293c
jmp 0x140043d50
lea rcx, [0x140179e98]
call fcn.14008299c
cmp dword [0x140179e98], 0xffffffff
jne 0x140043d50
movups xmm0, xmmword [str.x_vTUUX_I_o_0]
movups xmmword [rbp - 0x61], xmm0
mov eax, dword [str.4_n__J]
mov dword [rbp - 0x51], eax
movzx eax, word [0x14008e3fc]
mov word [rbp - 0x4d], ax
cmp byte [0x14008e3fd], 0
je 0x140043d20
mov r8d, r14d
cmp r15d, 2
jl 0x1400442fb
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x1400b0990]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1400b0960]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.5555555555555555YYP]
movdqa xmmword [rbp - 0x71], xmm0
lea rcx, [rbp - 0x5d]
mov edx, dword [rbp - 0x71]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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 [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400441f0
cmp r8d, 0x16
jge 0x140043d20
movsxd rax, r8d
lea r9, [rbp - 0x61]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x140044310
jmp 0x140043d20
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x49]
call fcn.140030830
nop
lea r8, [rbp - 0x49]
mov rdx, qword [0x140179e78]
mov rcx, r12
call fcn.140040ce0
mov qword [0x140179e90], rax
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140044145
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400443aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400443aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400825b4
jmp 0x140044145