Function at 0x140017e10
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
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140098280]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edi, edi
lea rcx, [rbp + 0x10]
call fcn.140011150
nop
lea rcx, [rbp - 0x68]
call fcn.140011200
nop
cmp qword [rbp + 0x20], rdi
je 0x14001844d
mov r10, qword [rbp - 0x58]
test r10, r10
je 0x14001844d
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 [rbp - 0x40], xmm0
movups xmm1, xmmword [0x14008a280]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x14008a290]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x14008a2a0]
movups xmmword [rbp - 0x10], xmm1
movsd xmm0, qword [0x14008a2b0]
movsd qword [rbp], xmm0
mov eax, dword [0x14008a2b8]
mov dword [rbp + 8], eax
movzx eax, byte [0x14008a2bc]
mov byte [rbp + 0xc], al
mov ecx, dword [0x140089d70]
mov dword [rsp + 0x70], ecx
cmp byte [0x14008a571], dil
je 0x140017f27
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, edi
movdqa xmm6, xmmword [0x14008c3b0]
movdqa xmm5, xmmword [0x14008c3d0]
movdqa xmm7, xmmword [str.9999]
movdqa xmm3, xmmword [0x14008c310]
movdqa xmm4, xmmword [0x14008c3f0]
mov r11d, dword [0x1400982d8]
cmp r11d, 2
jl 0x140018061
movdqa xmmword [rbp + 0x50], xmm5
lea rdx, [rbp - 0x3c]
mov r9d, dword [rbp + 0x50]
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, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
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, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
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 0x140017f70
cmp r8d, 0x4d
jge 0x1400180a3
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [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 0x140018070
mov r8d, edi
cmp r11d, 2
jl 0x140018107
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, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm5
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x70], xmm3
jmp 0x140018142
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 0x140018110
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x140018151
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, r10
cmp rax, rcx
jb 0x14001850b
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rax, qword [rbp - 0x68]
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, [rbp - 0x40]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400181b0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140043270
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x30], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm6
mov qword [rax + 0x10], rdi
mov edi, 0xf
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jbe 0x140018223
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001821e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018511
call fcn.1400529f0
movdqa xmm0, xmmword [0x14008c300]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140018240
mov rax, rsi
movq r15, xmm6
sub rax, r15
cmp rax, rbx
jb 0x140018517
lea rax, [rbp + 0x30]
movq r14, xmm7
psrldq xmm6, 8
movq r13, xmm6
cmp r13, rdi
cmova rax, r14
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea r12, [r15 + rbx]
lea rsi, [rsp + 0x78]
cmp r12, rdi
jbe 0x140018327
mov rdi, r12
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x1400182e4
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400529f8
test rax, rax
je 0x14001851d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001831d
mov ecx, 0x16
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400182fd
xor esi, esi
jmp 0x140018322
cmp rcx, 0x1000
jb 0x140018315
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140018505
jmp 0x1400182c5
call fcn.1400529f8
mov rsi, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rdi
mov r8, r15
mov rdx, rax
mov rcx, rsi
call fcn.1400777c0
lea rcx, [r15 + rsi]
mov r8, rbx
lea rdx, [rsp + 0x70]
call fcn.1400777c0
mov byte [rsi + r12], 0
mov dword [rbp + 0x60], 0x8bc4a31f
mov dword [rbp + 0x64], 0x39e17ad2
mov dword [rbp + 0x68], 0xe70d945f
mov dword [rbp + 0x6c], 0x3fc9a821
mov dword [rbp + 0x70], 0x25f1bd6e
mov dword [rbp + 0x74], 0x8dc6a578
mov dword [rbp + 0x78], 0x9641b23e
mov dword [rbp + 0x7c], 0x9d07f35a
mov dword [rbp + 0x50], 0xb74ed3a5
mov dword [rbp + 0x54], 0x1e59f28c
mov dword [rbp + 0x58], 0xf54d7ba1
mov dword [rbp + 0x5c], 0x12e73a9c
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140014390
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140018400
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400183fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001851d
call fcn.1400529f0
movdqa xmm0, xmmword [0x14008c300]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
cmp r13, 0xf
jbe 0x140018449
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140018441
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018523
mov rcx, r14
call fcn.1400529f0
mov bl, 1
jmp 0x14001844f
xor bl, bl
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14001848b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018485
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018529
call fcn.1400529f0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400184c2
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400184bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400184ff
call fcn.1400529f0
movzx eax, bl
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400529d0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005ffec
nop
call fcn.140001a30
nop
call fcn.140001bc0
nop
call fcn.14005ffec
int3
call fcn.140001bc0
int3
call fcn.14005ffec
nop
call fcn.14005ffec
nop
call fcn.14005ffec
int3