Function at 0x180054c80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov dword [rbp + 0x78], 0
cmp byte [0x180211c0c], 0
jne 0x1800553e5
mov byte [0x180211c0c], 1
mov r13, qword [rcx]
test r13, r13
jne 0x180054eeb
movups xmm0, xmmword [0x1800ef3d8]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1800ef3e8]
movups xmmword [rsp + 0x70], xmm1
mov eax, dword [0x1800ef3f8]
mov dword [rbp - 0x80], eax
xor r8d, r8d
cmp dword [0x180112028], 2
jl 0x180054e57
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1800fedf0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1800fef30]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [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, 0x20
jl 0x180054d50
cmp r8d, 0x24
jge 0x180054ea0
movsxd rax, r8d
lea r9, [rsp + 0x60]
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, 0x24
jl 0x180054e70
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180054ec6
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180013d70
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180029370
xor r8d, r8d
mov dword [rbp + 0x80], r8d
mov rdi, qword [rbp + 0x78]
mov r12, qword [rbp + 0x78]
nop dword [rax]
mov rcx, qword [r13]
test rcx, rcx
je 0x1800553b0
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
movsxd rax, dword [rdx + 0x3c]
cmp rcx, rdx
jbe 0x1800553b0
mov eax, dword [rax + rdx + 0x50]
add rax, rdx
cmp rcx, rax
jae 0x1800553b0
cmp byte [rcx], 0xe9
jne 0x180054f69
movsxd rsi, dword [rcx + 1]
add rsi, 5
add rsi, rcx
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
movsxd rax, dword [rdx + 0x3c]
cmp rsi, rdx
jbe 0x180054f69
mov eax, dword [rax + rdx + 0x50]
add rax, rdx
cmp rsi, rax
jb 0x180054f6c
mov rsi, rcx
movdqa xmm0, xmmword [0x1800feea0]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1800ff310]
movdqu xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1800fee80]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x85
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], 0
mov edx, 0xd
call fcn.18001a730
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rbx, [rax + 0x34]
mov qword [rsp + 0x50], rbx
mov r8d, 0x34
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.1800b9ed0
mov qword [rsp + 0x48], rbx
mov r14d, dword [rbp + 0x78]
or r14d, 1
mov dword [rbp + 0x78], r14d
mov r10, qword [rsp + 0x40]
sub rbx, r10
sar rbx, 2
mov r15d, 0x50
sub r15, rbx
je 0x18005504d
xor edx, edx
xor r9d, r9d
xor r11d, r11d
test rbx, rbx
je 0x180055040
xor eax, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r10 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x180055037
cmp r8d, 0xffffffff
jne 0x180055089
inc edx
mov eax, edx
cmp rax, rbx
jb 0x180055020
lea rax, [r11 + rsi]
test rax, rax
jne 0x18005528d
mov rcx, qword [r13]
cmp byte [rcx], 0xe9
jne 0x1800550a2
movsxd rsi, dword [rcx + 1]
add rsi, 5
add rsi, rcx
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
movsxd rax, dword [rdx + 0x3c]
cmp rsi, rdx
jbe 0x18005509e
mov eax, dword [rax + rdx + 0x50]
add rax, rdx
cmp rsi, rax
jae 0x18005509e
mov r14d, dword [rbp + 0x78]
jmp 0x1800550a5
inc r9d
inc r11
movsxd rax, r9d
cmp rax, r15
jae 0x18005504d
xor edx, edx
jmp 0x180055010
mov r14d, dword [rbp + 0x78]
mov rsi, rcx
movdqa xmm0, xmmword [0x1800ff2e0]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1800fee70]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1800fedd0]
movdqu xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
mov qword [rsp + 0x30], 0
mov edx, 0xc
call fcn.18001a730
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
lea rbx, [rax + 0x30]
mov qword [rsp + 0x30], rbx
mov r8d, 0x30
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1800b9ed0
mov qword [rsp + 0x28], rbx
or r14d, 2
mov dword [rbp + 0x78], r14d
mov r11, qword [rsp + 0x20]
sub rbx, r11
sar rbx, 2
mov r15d, 0x50
sub r15, rbx
je 0x180055195
xor edx, edx
xor r9d, r9d
xor r10d, r10d
test rbx, rbx
je 0x180055170
xor eax, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r11 + rax*4]
lea eax, [rdx + r9]
movzx eax, byte [rax + rsi]
cmp eax, r8d
je 0x180055167
cmp r8d, 0xffffffff
jne 0x180055183
inc edx
mov eax, edx
cmp rax, rbx
jb 0x180055150
lea rax, [r10 + rsi]
test rax, rax
je 0x180055195
mov r10, qword [rsp + 0x40]
jmp 0x180055292
inc r9d
inc r10
movsxd rax, r9d
cmp rax, r15
jae 0x180055195
xor edx, edx
jmp 0x180055141
mov rcx, qword [r13]
cmp byte [rcx], 0xe9
jne 0x1800551d5
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 0x1800551d1
mov eax, dword [rax + rdx + 0x50]
add rax, rdx
cmp rbx, rax
jae 0x1800551d1
mov r14d, dword [rbp + 0x78]
jmp 0x1800551d8
mov r14d, dword [rbp + 0x78]
mov rbx, rcx
movdqa xmm0, xmmword [0x1800ff2b0]
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x1800fee70]
movdqu xmmword [rbp - 0x28], xmm1
movdqa xmm0, xmmword [0x1800feec0]
movdqu xmmword [rbp - 0x18], xmm0
mov edx, 0xc
call fcn.18001a730
mov rdi, rax
lea r12, [rax + 0x30]
mov r8d, 0x30
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1800b9ed0
or r14d, 4
mov dword [rbp + 0x78], r14d
xor eax, eax
xor r9d, r9d
xor r10d, r10d
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rdi + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rbx]
cmp ecx, r8d
je 0x180055257
cmp r8d, 0xffffffff
jne 0x180055278
inc eax
mov ecx, eax
cmp rcx, 0xc
jb 0x180055240
lea rax, [r10 + rbx]
test rax, rax
jne 0x180055288
xor bl, bl
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x20]
jmp 0x180055294
inc r9d
inc r10
cmp r9d, 0x44
jae 0x18005526a
xor eax, eax
jmp 0x180055232
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x20]
mov bl, 1
test r14b, 4
je 0x1800552f2
and r14d, 0xfffffffb
mov dword [rbp + 0x78], r14d
test rdi, rdi
je 0x1800552f2
sub r12, rdi
sar r12, 2
lea rdx, [r12*4]
cmp rdx, 0x1000
jb 0x1800552db
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x18005541e
mov rdi, rcx
mov rcx, rdi
call fcn.1800b7ba8
xor edi, edi
xor r12d, r12d
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x20]
test r14b, 2
je 0x18005535d
and r14d, 0xfffffffd
mov dword [rbp + 0x78], r14d
test r11, r11
je 0x18005535d
mov rax, qword [rsp + 0x30]
sub rax, r11
sar rax, 2
lea rdx, [rax*4]
mov rax, r11
cmp rdx, 0x1000
jb 0x18005533e
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055424
mov rcx, r11
call fcn.1800b7ba8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov r10, qword [rsp + 0x40]
test r14b, 1
je 0x1800553a5
and r14d, 0xfffffffe
mov dword [rbp + 0x78], r14d
test r10, r10
je 0x1800553a5
mov rdx, qword [rsp + 0x50]
sub rdx, r10
and rdx, 0xfffffffffffffffc
mov rax, r10
cmp rdx, 0x1000
jb 0x18005539d
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180055418
mov rcx, r10
call fcn.1800b7ba8
test bl, bl
jne 0x18005540f
mov r8d, dword [rbp + 0x80]
inc r8d
mov dword [rbp + 0x80], r8d
add r13, 8
cmp r8d, 0x100
jl 0x180054f00
mov rax, qword [0x180211b18]
mov ecx, 0xd0
test rax, rax
cmove rax, rcx
mov qword [0x180211b18], rax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd rax, dword [rbp + 0x80]
jmp 0x1800553de
call fcn.1800be590
nop
call fcn.1800be590
nop
call fcn.1800be590
int3