Function at 0x1400031d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp qword [rcx + 0x88], 0
mov r14, r8
mov r15, rdx
mov rdi, rcx
jne 0x14000343e
lea rsi, [rcx + 0x108]
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140003229
mov rdx, qword [rsi]
add rcx, 8
mov r8d, 0xa
call fcn.14000d4c0
mov rcx, qword [rdi]
xor r8d, r8d
movsxd rdx, dword [rcx + 4]
lea rcx, [rdi + rdx]
test rax, rax
je 0x140003255
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140003260
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rdi + 0x88], 0
jne 0x14000343e
movups xmm1, xmmword [0x14009ada8]
movups xmm0, xmmword [0x14009ad98]
movups xmmword [rbp - 0x59], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
movups xmmword [rbp - 0x69], xmm0
test al, al
je 0x14000340d
xor ebx, ebx
cmp dword [0x1400bd088], 2
jl 0x1400033cf
movdqa xmm0, xmmword [0x1400abe70]
lea rcx, [rbp - 0x65]
movdqa xmm5, xmmword [0x1400abcd0]
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm6, xmmword [0x1400abd90]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x20
jl 0x1400032d0
jmp 0x14000340d
lea r8, [rbp - 0x69]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x20
jl 0x1400033e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rbp - 0x69]
call fcn.14000dc50
cmp qword [rsi + 0x18], 0xf
mov r8, qword [rsi + 0x10]
jbe 0x14000342b
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.1400124d0
mov rcx, rax
jmp 0x140003971
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
movsd xmm0, qword [0x14009af08]
xor ebx, ebx
cmp byte [0x14009af13], bl
mov r10, rax
mov ecx, dword [0x14009af10]
mov esi, dword [0x1400bd088]
movsd qword [rbp - 0x79], xmm0
mov dword [rbp - 0x71], ecx
je 0x1400035d1
mov r8d, ebx
cmp esi, 2
jl 0x14000358c
movdqa xmm2, xmmword [0x1400abcd0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400abd70]
movdqa xmm0, xmm2
mov eax, dword [0x1400abe70]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400abd90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14009af08]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x79], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400abd90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
movd xmm1, dword [rbp - 0x75]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x1400035a0
mov r9, r10
lea r8, [rbp - 0x79]
mov edx, 0x50
lea rcx, [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.14000dc50
cmp byte [0x14009ab9f], bl
mov r10, rax
mov rcx, qword [str.VFGYE]
mov qword [rbp - 0x79], rcx
je 0x140003751
cmp esi, 2
jl 0x14000370e
movdqa xmm2, xmmword [0x1400abcd0]
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400abd70]
movdqa xmm0, xmm2
mov eax, dword [0x1400abe70]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400abd90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
movd xmm1, dword [rbp - 0x79]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x79], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400abd90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
movd xmm1, dword [rbp - 0x75]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
jmp 0x140003751
lea r9, [rbp - 0x79]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140003720
lea rdx, [rbp - 0x79]
mov rcx, r10
call fcn.14000dc50
cmp qword [r15 + 0x18], 0xf
mov r8, qword [r15 + 0x10]
jbe 0x14000376b
mov r15, qword [r15]
mov rdx, r15
mov rcx, rax
call fcn.1400124d0
cmp qword [r14 + 0x10], rbx
je 0x14000396e
cmp byte [0x14009a8c3], bl
movups xmm0, xmmword [0x14009a8b0]
mov eax, dword [0x14009a8c0]
mov dword [rbp - 0x59], eax
movups xmmword [rbp - 0x69], xmm0
je 0x14000391d
cmp esi, 2
jl 0x1400038e2
movdqa xmm0, xmmword [0x1400abe70]
lea rcx, [rbp - 0x65]
movdqa xmm5, xmmword [0x1400abcd0]
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm6, xmmword [0x1400abd90]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400abe50]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400037e0
cmp ebx, 0x14
jge 0x14000391d
movsxd rax, ebx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x14
jl 0x1400038f0
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.14000dc50
cmp qword [r14 + 0x18], 0xf
mov r8, qword [r14 + 0x10]
jbe 0x140003937
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.1400124d0
cmp byte [0x14009a991], 0
movzx ecx, word [0x14009a990]
mov word [rsp + 0x20], cx
je 0x140003961
xor byte [rsp + 0x21], 0x34
mov byte [rsp + 0x20], 0x29
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14000dc50
mov rcx, rdi
lea rdx, [0x14000de20]
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]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140092d60
mov rbx, qword [rsp + 0x128]
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret