Function at 0x1800107d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov r14, rdx
mov rbp, rcx
mov r8d, dword [0x1800a6a50]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x1800a7b4c], r8d
jle 0x180010860
lea rcx, [0x1800a7b4c]
call fcn.180079c58
cmp dword [0x1800a7b4c], 0xffffffff
jne 0x180010860
call fcn.180063250
movsd qword [0x1800a7b50], xmm0
lea rcx, [0x1800a7b4c]
call fcn.180079bf8
test rbp, rbp
je 0x18001087d
mov rcx, qword [0x1800a7978]
add rcx, rbp
mov rax, qword [0x1800a7980]
movss xmm0, dword [rax + rbp]
jmp 0x180010888
xor ecx, ecx
movss xmmpe_dos_header, dword [0]
movss xmm6, dword [rcx]
subss xmm6, xmm0
xorps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x180010be0
cmp byte [0x1800a7830], 0
jne 0x1800108b9
mov byte [0x1800a7830], 1
call fcn.180063250
movsd qword [0x1800a7b50], xmm0
call fcn.180063250
movaps xmm10, xmm0
movaps xmm1, xmm0
subsd xmm1, qword [0x1800a7b50]
comisd xmm1, xmmword [0x18009d698]
jb 0x180010bf4
divss xmm6, dword [0x18009d844]
cvtps2pd xmm0, xmm6
call fcn.1800678d0
test eax, eax
jle 0x180010bce
mov r12d, eax
mov r13d, 4
lea r9d, [r13 + 0x1b]
mov r15d, dword [0x1800a5018]
nop word [rax + rax]
xor edi, edi
xor esi, esi
mov rcx, rbp
call fcn.180074b10
mov rdx, rax
test rax, rax
je 0x18001092e
mov rax, qword [0x1800a7a20]
add rax, rdx
movups xmm0, xmmword [rax]
psrldq xmm0, 8
movd eax, xmm0
cmp edi, eax
jge 0x180010bc4
test rdx, rdx
je 0x180010953
mov rcx, qword [0x1800a7a20]
add rcx, rdx
jmp 0x180010955
xor ecx, ecx
mov rax, qword [rcx]
mov rbx, qword [rax + rsi]
test rbx, rbx
je 0x180010bb9
lea rcx, [rsp + 0x20]
lea rax, [0x1800952c0]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movzx eax, word [rax + 0x60]
mov word [rcx + 0x60], ax
xor r8d, r8d
cmp r15d, 2
jl 0x180010b21
movdqa xmm5, xmmword [0x18009d8f0]
movdqa xmm4, xmmword [0x18009dd00]
movd xmm6, r13d
movdqa xmm7, xmmword [0x18009d930]
movd xmm8, r9d
movdqa xmm9, xmmword [0x18009d9d0]
lea rcx, [rsp + 0x20]
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 xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx]
pxor xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
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 xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
pxor xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x70
jl 0x180010a30
cmp r8d, 0x71
jge 0x180010b64
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x71
jl 0x180010b30
xor r9d, r9d
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [0x1800a7758]
mov rdx, rax
mov rcx, rbx
call fcn.18005ccf0
test al, al
je 0x180010bb3
mov rax, qword [0x1800a7930]
mov rcx, qword [rax + rbx]
mov qword [rsp + 0x190], rcx
mov rcx, rbp
call fcn.180074b10
mov rdx, rax
lea r8, [rsp + 0x190]
mov rcx, r14
call fcn.180072d70
mov r9d, 0x1f
inc edi
add rsi, 8
jmp 0x180010914
sub r12, 1
jne 0x180010910
mov byte [0x1800a7830], 0
movsd qword [0x1800a7b50], xmm10
jmp 0x180010bf4
mov byte [0x1800a7830], 0
call fcn.180063250
movsd qword [0x1800a7b50], xmm0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret