Function at 0x140019280
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x190
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
mov rax, qword [0x140098280]
xor rax, rsp
mov qword [rsp + 0x168], rax
xor r14d, r14d
lea rcx, [r11 - 0x68]
call fcn.140011150
nop
lea rcx, [rsp + 0xb0]
call fcn.140011200
nop
cmp qword [rsp + 0x150], r14
je 0x140019abc
mov r10, qword [rsp + 0xc0]
test r10, r10
je 0x140019abc
movsd xmm0, qword [str.q_th_ERJJf_]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x14008a570]
mov word [rsp + 0x68], ax
movups xmm0, xmmword [0x14008a270]
movups xmmword [rsp + 0xf0], xmm0
movups xmm1, xmmword [0x14008a280]
movups xmmword [rsp + 0x100], xmm1
movups xmm0, xmmword [0x14008a290]
movups xmmword [rsp + 0x110], xmm0
movups xmm1, xmmword [0x14008a2a0]
movups xmmword [rsp + 0x120], xmm1
movsd xmm0, qword [0x14008a2b0]
movsd qword [rsp + 0x130], xmm0
mov eax, dword [0x14008a2b8]
mov dword [rsp + 0x138], eax
movzx eax, byte [0x14008a2bc]
mov byte [rsp + 0x13c], al
mov ecx, dword [0x140089d70]
mov dword [rsp + 0x70], ecx
cmp byte [0x14008a571], r14b
je 0x1400193bd
mov byte [rsp + 0x60], 0x43
xor byte [rsp + 0x61], 0x33
xor byte [rsp + 0x62], 0x34
xor byte [rsp + 0x63], 0x35
xor byte [rsp + 0x64], 0x36
xor byte [rsp + 0x65], 0x37
xor byte [rsp + 0x66], 0x38
xor byte [rsp + 0x67], 0x39
xor byte [rsp + 0x68], 0x3a
xor byte [rsp + 0x69], 0x3b
mov r8d, r14d
mov r11d, dword [0x1400982d8]
movdqa xmm3, xmmword [0x14008c310]
movdqa xmm4, xmmword [0x14008c3f0]
movdqa xmm6, xmmword [str.9999]
movdqa xmm5, xmmword [0x14008c3d0]
movdqa xmm7, xmmword [0x14008c3b0]
cmp r11d, 2
jl 0x140019503
movdqa xmmword [rsp + 0x80], xmm5
lea rdx, [rsp + 0xf4]
mov r9d, dword [rsp + 0x80]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm3
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm3
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add r8d, 8
lea rdx, [rdx + 8]
cmp r8d, 0x48
jl 0x140019412
cmp r8d, 0x4d
jge 0x140019553
movsxd rax, r8d
lea r9, [rsp + 0xf0]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, r8b
sub al, dl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4d
jl 0x140019520
mov r8d, r14d
cmp r11d, 2
jl 0x1400195b7
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm5
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x70], xmm3
jmp 0x1400195f2
lea r9, [rsp + 0x70]
nop dword [rax]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400195c0
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140019601
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, r10
cmp rax, rcx
jb 0x140019b7f
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0xf
cmova rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14004d260
nop
lea rax, [rsp + 0xf0]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140019670
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x40]
call fcn.140043270
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0xd0], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe0], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400196ef
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400196ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019b85
call fcn.1400529f0
movdqa xmm0, xmmword [0x14008c300]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140019707
mov rax, rdi
movq r12, xmm6
sub rax, r12
cmp rax, rbx
jb 0x140019b8b
lea rdx, [rsp + 0xd0]
movq r15, xmm7
psrldq xmm6, 8
movq r13, xmm6
cmp r13, 0xf
cmova rdx, r15
mov qword [rsp + 0x60], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r14
lea rax, [rbx + r12]
mov edi, 0xf
lea rsi, [rsp + 0x90]
cmp rax, rdi
jbe 0x14001980e
mov rdi, rax
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x1400197c3
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400529f8
test rax, rax
je 0x140019bd3
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400197fd
mov ecx, 0x16
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400197dd
mov rsi, r14
jmp 0x140019806
cmp rcx, 0x1000
jb 0x1400197f5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140019b91
jmp 0x1400197a4
call fcn.1400529f8
mov rsi, rax
mov rdx, qword [rsp + 0x60]
lea rax, [rbx + r12]
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rdi
mov r8, r12
mov rcx, rsi
call fcn.1400777c0
lea rcx, [rsi + r12]
mov r8, rbx
lea rdx, [rsp + 0x70]
call fcn.1400777c0
lea rax, [rbx + r12]
mov byte [rsi + rax], 0
lea rax, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
call fcn.140050410
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400035e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.140004d00
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x80], ecx
lea rax, [0x140098f00]
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140019932
cmp eax, 1
setne bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140019943
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001993e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019b97
jmp 0x14001993e
xor bl, bl
test ecx, ecx
jne 0x140019b9d
jmp 0x1400198f3
call fcn.1400529f0
test bl, bl
je 0x140019a25
lea rax, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
call fcn.140050410
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400035e0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.140050b24
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140019bb7
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140019a10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019a0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019bcd
call fcn.1400529f0
nop
jmp 0x140019a25
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x140019a68
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019a63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019bd3
call fcn.1400529f0
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], 0xf
mov byte [rsp + 0x90], 0
cmp r13, 0xf
jbe 0x140019abc
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140019ab3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019bd9
mov rcx, r15
call fcn.1400529f0
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x140019b00
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019afa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019bdf
call fcn.1400529f0
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 0xf
jbe 0x140019b43
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019b3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019be5
call fcn.1400529f0
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400529d0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.140001bc0
nop
call fcn.14005ffec
int3
call fcn.140001bc0
int3
call fcn.140001a30
nop
call fcn.14005ffec
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x80]
lea rcx, str.exists
call fcn.140004580
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.remove
call fcn.140004510
nop
call fcn.14005ffec
nop
call fcn.14005ffec
nop
call fcn.14005ffec
nop
call fcn.14005ffec
nop
call fcn.14005ffec
int3