Function at 0x180051ed0
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, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x180112020]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
mov edi, r12d
mov r15d, r12d
mov r9, qword [0x1802117f0]
mov r10, qword [0x1802117e8]
movzx r11d, byte [0x1802117e0]
test r11b, r11b
je 0x180051f43
test r10, r10
je 0x180051f4e
mov eax, dword [r10 + 0x14]
jmp 0x180051f51
test r9, r9
je 0x180051f4e
mov eax, dword [r9 + 0xc]
jmp 0x180051f51
mov eax, r12d
cmp edi, eax
jge 0x18005281b
test r11b, r11b
je 0x180051f99
test r10, r10
je 0x180052007
test edi, edi
js 0x180051fb1
cmp edi, dword [r10 + 0x14]
jg 0x180051fb1
mov eax, edi
cdq
movzx edx, dx
add eax, edx
mov ecx, eax
movzx eax, ax
sub eax, edx
sar ecx, 0x10
movsxd r8, ecx
mov rdx, qword [r10]
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdx + r8*8]
mov rsi, qword [rax + rcx*8]
jmp 0x180051fb4
test r9, r9
je 0x180052007
test edi, edi
js 0x180051fb1
cmp edi, dword [r9 + 0xc]
jg 0x180051fb1
mov rax, qword [r9]
mov rsi, qword [r15 + rax]
jmp 0x180051fb4
mov rsi, r12
test rsi, rsi
je 0x180052007
call fcn.18002a690
mov r14, rax
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x180051ff1
cmp rbx, r14
je 0x180051fe7
mov rcx, rbx
call fcn.18004efa0
test al, al
je 0x180051ff1
mov eax, dword [0x1802117d0]
mov rbx, qword [rax + rbx]
jmp 0x180051fc5
mov eax, dword [rsi + 8]
shr eax, 4
test al, 1
je 0x180052012
mov r9, qword [0x1802117f0]
mov r10, qword [0x1802117e8]
movzx r11d, byte [0x1802117e0]
inc edi
add r15, 0x18
jmp 0x180051f33
mov r15, qword [rsi]
test r15, r15
je 0x18005281b
mov rsi, 0xffffffffffffffff
mov qword [rbp + 0x10], rsi
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov qword [rbp + 0x28], r12
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
movups xmm1, xmmword [str.sT_RnP_LLRLK]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1800ede30]
movups xmmword [rbp - 0x20], xmm0
mov eax, dword [0x1800ede40]
mov dword [rbp - 0x10], eax
movzx eax, word [0x1800ede44]
mov word [rbp - 0xc], ax
mov r8d, r12d
lea r13d, [rsi + 5]
lea r11d, [rsi + 0x20]
mov ebx, dword [0x180112028]
cmp ebx, 2
jl 0x1800521b1
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800fedf0]
movd xmm8, r11d
movdqa xmm9, xmmword [str.44444444]
lea rcx, [rbp - 0x30]
nop word [rax + rax]
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, 0x10
jl 0x1800520c0
cmp r8d, 0x13
jge 0x1800521f4
movsxd rax, r8d
lea r9, [rbp - 0x30]
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, 0x34
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x1800521c0
mov qword [rbp - 0x50], r12
mov r10, qword [0x1802118b8]
test r10, r10
je 0x180052248
mov rax, qword [0x1802118c0]
test rax, rax
jne 0x18005222e
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x10]
mov rax, qword [0x1802118b8]
add rax, rcx
mov qword [0x1802118c0], rax
mov r8b, 1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call rax
mov r10, qword [0x1802118b8]
mov r11d, 0x1f
movups xmm0, xmmword [str.sT_RqWIO_S_Z_]
movups xmmword [rsp + 0x20], xmm0
movzx eax, word [0x1800ee210]
movsd xmm0, qword [0x1800ee208]
mov word [rsp + 0x38], ax
movsd qword [rsp + 0x30], xmm0
mov r8d, r12d
cmp ebx, 2
jl 0x180052373
movdqa xmm4, xmmword [0x1800ff230]
movd xmm6, r13d
movd xmm5, r11d
movdqa xmm8, xmmword [str.44444444]
movdqa xmm2, xmmword [0x1800feda0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movq xmm0, qword [str.sT_RqWIO_S_Z_]
pxor xmm3, xmm0
movq qword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x1800fedc0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x28]
pxor xmm3, xmm0
movq qword [rsp + 0x28], xmm3
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
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, 0x34
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xd
jl 0x180052380
mov qword [rbp - 0x48], r12
test r10, r10
je 0x1800523f5
mov rax, qword [0x1802118c0]
test rax, rax
jne 0x1800523e7
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x10]
mov rax, qword [0x1802118b8]
add rax, rcx
mov qword [0x1802118c0], rax
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x48]
call rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r12
mov ecx, 0x20
call fcn.1800b7bb0
mov qword [rbp - 8], rax
mov qword [rbp], rax
lea rbx, [rax + 0x20]
mov qword [rbp + 8], rbx
mov r8d, 0x20
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1800b9ed0
mov qword [rbp], rbx
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x18]
call fcn.1800315a0
mov r12d, dword [rbp + 0x10]
add r12d, 8
xor r14d, r14d
nop word [rax + rax]
mov rcx, qword [r15]
test rcx, rcx
je 0x180052563
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
movsxd rax, dword [rdx + 0x3c]
cmp rcx, rdx
jbe 0x180052563
mov eax, dword [rax + rdx + 0x50]
add rax, rdx
cmp rcx, rax
jae 0x180052563
cmp byte [rcx], 0xe9
jne 0x1800524c8
movsxd rbx, dword [rcx + 1]
add rbx, 5
add rbx, rcx
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
movsxd rax, dword [rdx + 0x3c]
cmp rbx, rdx
jbe 0x1800524c8
mov eax, dword [rax + rdx + 0x50]
add rax, rdx
cmp rbx, rax
jb 0x1800524cb
mov rbx, rcx
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x44], 0xb9
mov dword [rsp + 0x48], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov edx, 7
call fcn.18001a730
mov rdi, rax
mov r8d, 0x1c
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1800b9ed0
xor eax, eax
xor r9d, r9d
xor r10d, r10d
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rdi + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rbx]
cmp ecx, r8d
je 0x18005253b
cmp r8d, 0xffffffff
jne 0x1800527f2
inc eax
mov ecx, eax
cmp rcx, 7
jb 0x180052520
add rbx, r10
test rdi, rdi
je 0x18005255a
mov edx, 0x1c
mov rcx, rdi
call fcn.1800b7ba8
test rbx, rbx
jne 0x18005280c
inc r14d
add r15, 8
cmp r14d, 0x150
jl 0x180052460
cmp qword [0x180211bc0], 0
jne 0x180052797
movups xmm0, xmmword [0x1800ef420]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1800ef430]
movups xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [0x1800ef440]
movsd qword [rbp - 0x60], xmm0
movzx eax, byte [0x1800ef448]
mov byte [rbp - 0x58], al
xor r8d, r8d
cmp dword [0x180112028], 2
jl 0x180052707
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800fedf0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1800fef30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
nop
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 xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x180052600
cmp r8d, 0x29
jge 0x180052750
movsxd rax, r8d
lea r9, [rbp - 0x80]
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, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x29
jl 0x180052720
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea rax, [rbp - 0x80]
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x180052770
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.180013d70
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180029370
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1800527e4
mov rdx, qword [rbp + 8]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800527d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052a77
call fcn.1800b7ba8
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
xor r12d, r12d
mov qword [rbp + 8], r12
lea rcx, [rbp + 0x18]
call fcn.180032e10
jmp 0x180052a36
inc r9d
inc r10
cmp r9d, 0x2e
jae 0x180052805
xor eax, eax
jmp 0x180052511
xor ebx, ebx
jmp 0x180052548
movsxd rax, r14d
mov qword [0x180211bc0], rax
jmp 0x180052797
movups xmm0, xmmword [0x1800efb10]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1800efb20]
movups xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [0x1800efb30]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [0x1800efb38]
mov dword [rbp - 0x58], eax
mov r8d, r12d
cmp dword [0x180112028], 2
jl 0x1800529a7
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
mov r13d, 4
movd xmm6, r13d
movdqa xmm7, xmmword [0x1800fedf0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1800fef30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
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 xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x1800528a0
cmp r8d, 0x2c
jge 0x1800529f0
movsxd rax, r8d
lea r9, [rbp - 0x80]
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, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2c
jl 0x1800529c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [rax + rsi], r12b
jne 0x180052a10
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.180013d70
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.180029370
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800b7800
lea r11, [rsp + 0x180]
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]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800be590
nop
int3