Function at 0x180037920
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 r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov qword [rbp + 0xf], rax
movups xmm3, xmmword [0x1800f9708]
movups xmmword [rbp - 0x39], xmm3
mov ecx, dword [0x1800f9718]
mov dword [rbp - 0x29], ecx
movzx eax, word [0x1800f971c]
mov word [rbp - 0x25], ax
movzx eax, byte [0x1800f971e]
mov byte [rbp - 0x23], al
xor r8d, r8d
movdqa xmm7, xmmword [0x18010ac30]
mov edi, dword [0x18011e090]
cmp edi, 2
jl 0x180037b97
movdqa xmm4, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm2, xmmword [0x18010aac0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm2, xmmword [0x18010aae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x35]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
movdqa xmm3, xmmword [0x18010aaf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x31]
xorps xmm3, xmm0
movd dword [rbp - 0x31], xmm3
movdqa xmm2, xmmword [0x18010ab00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x2d]
xorps xmm2, xmm0
movd dword [rbp - 0x2d], xmm2
movdqa xmm3, xmmword [0x18010ab10]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rbp - 0x29], xmm3
mov r8d, 0x14
mov eax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x180037bb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x39]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180037c00
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.1800160d0
nop
lea rcx, [rbp - 0x21]
call fcn.180058fb0
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0x54020401
mov rdx, qword [rbp + 7]
cmp rdx, qword [rbp + 0xf]
je 0x180037c44
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdx], xmm0
add qword [rbp + 7], 0x10
jmp 0x180037c52
lea r8, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.180059760
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x180037c8d
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037c88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038330
call fcn.1800c3978
movsd xmm0, qword [str.dUTXPeG_XQRRZ_]
movsd qword [rbp - 0x39], xmm0
mov ecx, dword [0x1800fa7f0]
mov dword [rbp - 0x31], ecx
movzx eax, word [0x1800fa7f4]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x1800fa7f6]
mov byte [rbp - 0x2b], al
xor r8d, r8d
cmp edi, 2
jl 0x180037e05
movdqa xmm4, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm3, xmmword [0x18010aac0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x18010aca0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.dUTXPeG_XQRRZ_]
xorps xmm3, xmm0
movd dword [rbp - 0x39], xmm3
movdqa xmm2, xmmword [0x18010aae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x35]
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movdqa xmm3, xmmword [0x18010aaf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rbp - 0x31], xmm3
mov r8d, 0xc
mov eax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180037e10
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x39]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180037e56
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.1800160d0
nop
lea rcx, [rbp - 0x21]
call fcn.180058fb0
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0x20600
mov rdx, qword [rbp + 7]
cmp rdx, qword [rbp + 0xf]
je 0x180037e9a
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdx], xmm0
add qword [rbp + 7], 0x10
jmp 0x180037ea8
lea r8, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.180059760
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x180037ee3
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037ede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038330
call fcn.1800c3978
movsd xmm0, qword [str.cF_GW_zRNV_]
movsd qword [rbp - 0x39], xmm0
mov ecx, dword [0x1800fa060]
mov dword [rbp - 0x31], ecx
cmp byte [0x1800fa063], 0
je 0x180038089
xor r8d, r8d
cmp edi, 2
jl 0x18003804f
movdqa xmm4, xmmword [0x18010af90]
movdqa xmm5, xmmword [0x18010ab60]
movdqa xmm3, xmmword [0x18010aac0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x18010aca0]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.cF_GW_zRNV_]
xorps xmm3, xmm0
movd dword [rbp - 0x39], xmm3
movdqa xmm2, xmmword [0x18010aae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x35]
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movdqa xmm3, xmmword [0x18010aaf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rbp - 0x31], xmm3
jmp 0x180038089
lea r9, [rbp - 0x39]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180038060
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x39]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800380a0
mov r8, rbx
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.1800160d0
nop
lea rcx, [rbp - 0x21]
call fcn.180058fb0
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], 0x20600
mov rdx, qword [rbp + 7]
cmp rdx, qword [rbp + 0xf]
je 0x1800380ed
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdx], xmm0
mov rsi, qword [rbp + 7]
add rsi, 0x10
mov qword [rbp + 7], rsi
jmp 0x1800380fe
lea r8, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.180059760
mov rsi, qword [rbp + 7]
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x18003813d
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180038134
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180038330
call fcn.1800c3978
mov rsi, qword [rbp + 7]
mov ebx, 0x28
mov r10d, ebx
xor r9d, r9d
mov r15, rsi
mov rdi, qword [rbp - 1]
sub r15, rdi
sar r15, 4
test r15, r15
je 0x1800381f1
xor r8d, r8d
mov edx, ebx
nop dword [rax]
nop dword [rax + rax]
mov rax, r8
add rax, rax
mov r14, qword [rdi + rax*8]
mov r11d, r10d
mov rcx, rdx
cmp r10d, 0x1a0
jge 0x1800381de
nop dword [rax]
mov rax, r8
add rax, rax
mov eax, dword [rdi + rax*8 + 8]
cmp dword [rcx + r14], eax
jne 0x1800381a5
cmp rcx, rdx
jge 0x1800381b8
add r11d, 4
add rcx, 4
cmp r11d, 0x1a0
jl 0x180038190
jmp 0x1800381de
cmovle r11d, r10d
mov r10d, r11d
xor eax, eax
cmp rcx, rdx
cmovle eax, r9d
mov r9d, eax
xor eax, eax
cmp rcx, rdx
cmovle rax, r8
mov r8, rax
cmovle rcx, rdx
mov rdx, rcx
inc r9d
inc r8
movsxd rax, r9d
cmp rax, r15
jb 0x180038170
cmp r10d, ebx
jne 0x180038218
cmp rdi, rsi
je 0x180038218
add rdi, 8
nop word [rax + rax]
or dword [rdi], 2
lea rdi, [rdi + 0x10]
lea rax, [rdi - 8]
cmp rax, rsi
jne 0x180038200
mov rsi, qword [rbp + 7]
mov rdi, qword [rbp - 1]
xor r9d, r9d
sub rsi, rdi
sar rsi, 4
test rsi, rsi
je 0x1800382bc
xor r8d, r8d
mov rdx, rbx
nop dword [rax]
nop word [rax + rax]
mov rax, r8
add rax, rax
mov r11, qword [rdi + rax*8]
mov r10d, ebx
mov rax, rdx
cmp ebx, 0x1a0
jge 0x1800382ae
nop dword [rax + rax]
mov rcx, r8
add rcx, rcx
mov ecx, dword [rdi + rcx*8 + 8]
cmp dword [rax + r11], ecx
jne 0x180038275
cmp rax, rdx
jge 0x180038288
add r10d, 4
add rax, 4
cmp r10d, 0x1a0
jl 0x180038260
jmp 0x1800382ae
cmovle r10d, ebx
mov ebx, r10d
xor ecx, ecx
cmp rax, rdx
cmovle ecx, r9d
mov r9d, ecx
xor ecx, ecx
cmp rax, rdx
cmovle rcx, r8
mov r8, rcx
cmovle rax, rdx
mov rdx, rax
inc r9d
inc r8
movsxd rax, r9d
cmp rax, rsi
jb 0x180038240
test rdi, rdi
je 0x1800382f5
mov rdx, qword [rbp + 0xf]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800382ed
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003832a
mov rcx, rdi
call fcn.1800c3978
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800c35e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800c9824
nop
call fcn.1800c9824
nop
int3