Function at 0x180061f10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x18016b440]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r8
movsxd rsi, edx
mov r15, rcx
mov qword [rbp + 0x17], rcx
movups xmm0, xmmword [str.jxwrsujruz]
movups xmmword [rbp - 0x21], xmm0
movzx eax, word [0x180148318]
mov word [rbp - 0x11], ax
cmp byte [0x180148319], 0
je 0x1800620f0
xor r8d, r8d
cmp dword [0x18016b410], 2
jl 0x1800620a7
movdqa xmm4, xmmword [0x1801508d0]
movdqa xmm3, xmmword [0x180151a20]
movdqa xmm5, xmmword [0x180150d30]
movdqa xmm0, xmmword [str.55555555555555556666666666666666]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x1d]
movdqa xmm6, xmmword [0x180151570]
mov edx, dword [rbp + 7]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x180061fc0
cmp r8d, 0x12
jge 0x1800620f0
movsxd rax, r8d
lea r9, [rbp - 0x21]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1800620c0
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x18006212b
mov rcx, rbx
call fcn.18002de50
mov rdi, qword [0x1801a3a80]
mov rbx, qword [rdi + 0x18]
cmp byte [rbx + 0x48], 0x45
je 0x18006217f
xor eax, eax
mov r8, qword [rdi + 0x10]
add r8, 0xfffffffffffffff0
mov qword [rsp + 0x20], rax
mov r9, r8
lea rdx, [rbx + 0x40]
mov rcx, rdi
call fcn.18004ba10
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x180062167
mov rdx, qword [r15]
mov rbx, qword [0x1801a3a80]
mov rdi, rbx
test rdx, rdx
jne 0x1800621ab
mov rax, qword [rbx + 0x10]
mov byte [rax + 8], dl
jmp 0x1800621ca
mov rdx, qword [rdi + 0x10]
sub rdx, 0x10
mov rcx, qword [rbx + 0x40]
call fcn.180047030
mov r8, qword [rdi + 0x10]
test byte [rax + 8], 0xf
je 0x180062142
mov rcx, qword [rax]
mov qword [r8 - 0x10], rcx
movzx eax, byte [rax + 8]
mov byte [r8 - 8], al
jmp 0x18006215a
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rbx, qword [0x1801a3a80]
add qword [rdi + 0x10], 0x10
mov rax, qword [rdi + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800621e9
mov rcx, rdi
call fcn.18002de50
mov rbx, qword [0x1801a3a80]
mov rdi, qword [rbx + 0x18]
cmp byte [rdi + 0x48], 0x45
je 0x18006232c
xor eax, eax
mov r8, qword [rbx + 0x10]
add r8, 0xfffffffffffffff0
mov qword [rsp + 0x20], rax
mov r9, r8
lea rdx, [rdi + 0x40]
mov rcx, rbx
call fcn.18004ba10
mov rbx, qword [0x1801a3a80]
mov rcx, rbx
call fcn.180046a50
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
mov byte [rcx + 8], 0x45
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x180062247
mov rcx, rbx
call fcn.18002de50
mov eax, dword [0x180148420]
mov dword [rbp - 0x35], eax
movzx eax, word [0x180148424]
mov word [rbp - 0x31], ax
mov byte [rbp - 0x35], 0x6e
xor byte [rbp - 0x34], 0x36
xor byte [rbp - 0x33], 0x37
xor byte [rbp - 0x32], 0x38
xor byte [rbp - 0x31], 0x39
xor byte [rbp - 0x30], 0x3a
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x35]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800622ae
mov rcx, rbx
call fcn.18002de50
mov r8, qword [0x1801a3a80]
mov rcx, qword [r8 + 0x10]
mov qword [rcx], rsi
mov byte [rcx + 8], 3
add qword [r8 + 0x10], 0x10
mov edx, 0xfffffffd
mov rcx, r8
call fcn.18001b560
xor esi, esi
lea rdi, [r14 + 0x10]
mov r14d, 7
lea r13, [0x180000000]
nop word [rax + rax]
mov rbx, qword [0x1801a3a80]
mov rax, qword [rbx + 0x10]
mov qword [rax], rsi
mov byte [rax + 8], 3
mov rdx, qword [rbx + 0x10]
add rdx, 0x10
mov qword [rbx + 0x10], rdx
movzx eax, byte [rdi - 0x10]
dec eax
cmp eax, 8
ja case.0x18006232a.6
cdqe
mov ecx, dword [r13 + rax*4 + 0x62aa8]
add rcx, r13
jmp rcx
mov rdx, qword [rbx + 0x10]
sub rdx, 0x10
mov rcx, qword [rdi + 0x40]
call fcn.180047030
mov r8, qword [rbx + 0x10]
test byte [rax + 8], 0xf
je 0x1800621fd
mov rcx, qword [rax]
mov qword [r8 - 0x10], rcx
movzx eax, byte [rax + 8]
mov byte [r8 - 8], al
jmp 0x180062215
movss xmm0, dword [rdi]
cvtps2pd xmm0, xmm0
movsd qword [rdx], xmm0
mov byte [rdx + 8], 0x13
jmp 0x180062941
mov eax, dword [rdi]
mov qword [rdx], rax
mov byte [rdx + 8], 3
jmp 0x180062941
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x21]
call fcn.18000e670
nop
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
mov rbx, qword [0x1801a3a80]
test rdx, rdx
jne 0x1800623b2
mov rax, qword [rbx + 0x10]
mov byte [rax + 8], dl
jmp 0x1800623ca
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800623e3
mov rcx, rbx
call fcn.18002de50
nop
lea rcx, [rbp - 0x21]
call fcn.18000eb30
jmp 0x180062946
mov rcx, rbx
call fcn.180046a50
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
mov byte [rcx + 8], 0x45
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x18006241c
mov rcx, rbx
call fcn.18002de50
movzx eax, word [0x180148350]
mov word [rbp - 0x39], ax
cmp byte [0x180148351], 0
je 0x180062438
mov byte [rbp - 0x39], 0x78
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x180062473
mov rcx, rbx
call fcn.18002de50
movups xmm0, xmmword [rdi]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm1
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
movzx eax, word [0x1801483f8]
mov word [rbp - 0x39], ax
cmp byte [0x1801483f9], 0
je 0x1800624bb
mov byte [rbp - 0x39], 0x79
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800624f6
mov rcx, rbx
call fcn.18002de50
movss xmm0, dword [rdi + 4]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm1
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
mov eax, dword [0x1801486c0]
mov dword [rbp - 0x35], eax
movzx eax, word [0x1801486c4]
mov word [rbp - 0x31], ax
mov byte [rbp - 0x35], 0x77
xor byte [rbp - 0x34], 0x36
xor byte [rbp - 0x33], 0x37
xor byte [rbp - 0x32], 0x38
xor al, 0x39
mov byte [rbp - 0x31], al
xor byte [rbp - 0x30], 0x3a
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x35]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x18006258c
mov rcx, rbx
call fcn.18002de50
movss xmm0, dword [rdi + 8]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm1
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
mov eax, dword [str._S_QN_]
mov dword [rbp - 0x29], eax
movzx ecx, word [0x1801483e4]
mov word [rbp - 0x25], cx
movzx eax, byte [0x1801483e6]
mov byte [rbp - 0x29], 0x68
xor byte [rbp - 0x28], 0x36
xor byte [rbp - 0x27], 0x37
xor byte [rbp - 0x26], 0x38
xor cl, 0x39
mov byte [rbp - 0x25], cl
xor byte [rbp - 0x24], 0x3a
xor al, 0x3b
mov byte [rbp - 0x23], al
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x18006262f
mov rcx, rbx
call fcn.18002de50
movss xmm0, dword [rdi + 0xc]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm1
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
jmp 0x180062946
mov rcx, rbx
call fcn.180046a50
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
mov byte [rcx + 8], 0x45
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x18006268d
mov rcx, rbx
call fcn.18002de50
movzx eax, word [0x180148350]
mov word [rbp - 0x39], ax
cmp byte [0x180148351], 0
je 0x1800626a9
mov byte [rbp - 0x39], 0x78
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800626e4
mov rcx, rbx
call fcn.18002de50
movss xmm0, dword [rdi]
cvtps2pd xmm0, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm0
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
movzx eax, word [0x1801483f8]
mov word [rbp - 0x39], ax
cmp byte [0x1801483f9], 0
je 0x180062729
mov byte [rbp - 0x39], 0x79
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x180062764
mov rcx, rbx
call fcn.18002de50
movss xmm0, dword [rdi + 4]
cvtps2pd xmm0, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm0
jmp 0x18006264a
mov rcx, rbx
call fcn.180046a50
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
mov byte [rcx + 8], 0x45
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800627ab
mov rcx, rbx
call fcn.18002de50
movzx eax, word [0x180148350]
mov word [rbp - 0x39], ax
cmp byte [0x180148351], 0
je 0x1800627c7
mov byte [rbp - 0x39], 0x78
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x180062802
mov rcx, rbx
call fcn.18002de50
movsd xmm0, qword [rdi]
mov eax, dword [rdi + 8]
mov dword [rbp + 0xf], eax
movsd qword [rbp + 7], xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm1
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
movzx eax, word [0x1801483f8]
mov word [rbp - 0x39], ax
cmp byte [0x1801483f9], 0
je 0x180062856
mov byte [rbp - 0x39], 0x79
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x180062891
mov rcx, rbx
call fcn.18002de50
movsd xmm1, qword [rdi]
mov eax, dword [rdi + 8]
mov dword [rbp + 0xf], eax
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [rbp + 7], xmm1
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rcx, qword [0x1801a3a80]
mov rax, qword [rcx + 0x10]
movsd qword [rax], xmm1
mov byte [rax + 8], 0x13
add qword [rcx + 0x10], 0x10
mov edx, 0xfffffffd
call fcn.18001b560
movzx eax, word [0x180148414]
mov word [rbp - 0x39], ax
cmp byte [0x180148415], 0
je 0x1800628ec
mov byte [rbp - 0x39], 0x7a
xor byte [rbp - 0x38], 0x36
mov rbx, qword [0x1801a3a80]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.1800400e0
mov rcx, qword [rbx + 0x10]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x180062927
mov rcx, rbx
call fcn.18002de50
movsd xmm0, qword [rdi]
movsd qword [rbp + 7], xmm0
movss xmm0, dword [rdi + 8]
cvtps2pd xmm1, xmm0
jmp 0x18006263b
mov byte [rdx + 8], 0
add qword [rbx + 0x10], 0x10
mov edx, 0xfffffffd
mov rcx, qword [0x1801a3a80]
call fcn.18001b560
inc rsi
add rdi, 0x50
sub r14, 1
jne 0x1800622f0
mov rcx, qword [0x1801a3a80]
mov r9, qword [rcx + 0x10]
add r9, 0xffffffffffffffd0
mov qword [rbp + 7], r9
mov dword [rbp + 0xf], 1
sub r9, qword [rcx + 0x30]
mov qword [rsp + 0x20], r14
lea r8, [rbp + 7]
lea rdx, [0x18001ba30]
call fcn.18002a4a0
test eax, eax
je 0x180062a40
mov rbx, qword [0x1801a3a80]
mov rdx, qword [rbx + 0x10]
sub rdx, 0x10
movzx eax, byte [rdx + 8]
and al, 0xf
cmp al, 4
je 0x1800629e7
cmp al, 3
je 0x1800629c4
xor edx, edx
jmp 0x1800629ee
mov rcx, rbx
call fcn.1800371a0
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x18], 0
jle 0x1800629df
mov rcx, rbx
call fcn.18002de50
mov rdx, qword [rbx + 0x10]
sub rdx, 0x10
mov rdx, qword [rdx]
add rdx, 0x18
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0
mov qword [rbp - 9], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180062a10
lea rcx, [rbp - 0x21]
call fcn.180010c60
lea rdx, [rbp - 0x21]
mov rcx, qword [0x1801a3a88]
call fcn.18005fe20
nop
mov rcx, r15
call fcn.18000eb30
xor al, al
jmp 0x180062a78
mov r8, qword [0x1801a3a80]
mov rax, qword [r8 + 0x10]
movzx ecx, byte [rax - 8]
cmp cl, 1
je 0x180062a5d
test cl, 0xf
je 0x180062a5d
mov bl, 1
jmp 0x180062a5f
xor bl, bl
mov edx, 0xfffffffe
mov rcx, r8
call fcn.18001a9f0
nop
mov rcx, r15
call fcn.18000eb30
movzx eax, bl
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180111c00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret