Function at 0x20055310
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x150], xmm6
mov qword [rbp + 0x148], 0xfffffffffffffffe
movzx eax, byte [0x204a19b0]
add al, byte [rcx + 0x878]
add al, byte [0x204a19f0]
jne 0x200558b1
mov rsi, rcx
test byte [rcx + 0x87c], 0x20
je 0x200558aa
mov rax, qword [0x20439018]
movsxd rbx, dword [rax]
add rbx, rax
mov rdi, rdx
nop word cs:[rax + rax]
mov r14d, dword [0x2036df80]
mov eax, dword [0x204a192c]
cmp eax, 0x5a
jle 0x2005539a
mov eax, dword [0x2036df80]
jmp 0x20055380
cmp qword [0x204a4988], 0
jne 0x200553e7
mov ecx, 0x272c
mov eax, dword [0x204394bc]
add eax, ecx
cdqe
add rax, qword [0x204394e8]
mov ecx, 0x900
mov edx, 0xb9d4ef43
call qword [case.0x200fc05d.0]
mov qword [rbp + 0x130], rax
mov rcx, rax
call fcn.2006dc00
mov rax, qword [rbp + 0x130]
mov qword [0x204a4988], rax
mov rax, qword [0x204a4988]
mov qword [rbp + 0x138], rax
mov r15d, dword [0x20439010]
mov ecx, r15d
xor ecx, 1
mov edx, r15d
and edx, 1
lea r12d, [rcx + rdx*2]
mov dword [0x20439010], r12d
test r15d, r12d
je 0x2005541d
xor r13d, r13d
jmp 0x2005545f
mov ecx, dword [0x204a1928]
nop word cs:[rax + rax]
mov ecx, dword [0x204a1928]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x20055430
xor ecx, ecx
xor r13d, r13d
test r14d, r14d
jle 0x2005545f
nop dword [rax + rax]
movsxd rcx, ecx
xor r13, qword [rbx + rcx]
add ecx, 8
cmp ecx, r14d
jl 0x20055450
cmp qword [rax + 0x4c8], 0
je 0x200558b1
cmp qword [0x204a1d20], 0
jne 0x200554d9
mov eax, 0x272c
add eax, dword [0x204394bc]
cdqe
add rax, qword [0x204394e8]
mov ecx, 0xe8
mov edx, 0xb9d4ef43
call qword [case.0x200fc05d.0]
lea rcx, [0x2036e3f8]
mov qword [rax], rcx
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0xf
mov byte [rax + 0x18], 0
lea rcx, [0x2036e458]
mov qword [rax + 0x10], rcx
mov dword [rax + 8], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x38], xmm0
mov qword [0x204a1d20], rax
mov rax, qword [0x204a1d20]
movzx eax, word [rax + 0xa]
cmp eax, 0x5ff
ja 0x200554f2
or byte [0x204a13c5], 0x80
mov dword [rbp + 0x144], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0x110], xmm6
mov qword [rbp + 0x120], 0
movaps xmmword [rbp - 0x60], xmm6
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x50], xmm6
mov qword [rbp], 0
mov dword [rbp - 0x60], 0x68
mov ebx, dword [0x204a147a]
mov eax, 0x272c
add eax, dword [0x204394c8]
mov edx, dword [0x204a1476]
cdqe
add rax, qword [0x20439500]
mov rcx, rdi
mov r8d, 0x28cb87f4
call qword [case.0x200fc05d.0]
movups xmmword [rbp + 0xb8], xmm6
mov byte [rbp + 0xc8], 1
mov dword [rbp + 0xcc], 1
movups xmmword [rbp + 0xd0], xmm6
mov qword [rbp + 0xe0], 0
test rbx, rbx
je 0x200555c7
mov r14, rax
mov rcx, rbx
call fcn.2032be04
mov rdi, rax
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xb8], rbx
mov rcx, rax
test r14, r14
je 0x200555cb
mov rdx, r14
mov r8, rbx
call fcn.20353d70
jmp 0x200555d5
xor edi, edi
jmp 0x200555d5
xor edx, edx
mov r8, rbx
call fcn.20354420
mov qword [rbp + 0xb0], rdi
lea rax, [0x203702f8]
mov qword [rbp + 0xa8], rax
movups xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x60], 0
mov byte [rbp + 0x68], 1
mov dword [rbp + 0x6c], 1
movups xmmword [rbp + 0x70], xmm6
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0xa8]
lea rdi, [rbp + 0x48]
mov rdx, rdi
call fcn.2024afb0
lea rax, [rbp + 0x144]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0x138]
mov qword [rbp + 0xf0], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0xf8], rax
lea rax, [rbp + 0x110]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rdi
lea rcx, [rbp + 0x88]
call fcn.20055b60
cmp qword [rbp + 0x98], 0
je 0x20055691
lea rcx, [rbp + 0xe8]
lea rdx, [rbp + 0x88]
call fcn.200560e0
jmp 0x20055727
mov eax, 0x272c
add eax, dword [0x204394b0]
cdqe
add rax, qword [0x204394d0]
mov ecx, 1
xor edx, edx
mov r8d, 1
mov r9d, 0xce497d6a
call qword [case.0x200fc05d.0]
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rbp + 0xe8]
movups xmm1, xmmword [rbp + 0xf8]
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x10], xmm0
lea rax, [0x20370368]
mov qword [rbp + 8], rax
lea r8, [rbp + 8]
mov qword [rbp + 0x40], r8
mov rdx, qword [rbp + 0x58]
mov rcx, rdx
test rdx, rdx
je 0x20055702
mov rcx, qword [rbp + 0x50]
call fcn.2018fd00
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x20055727
lea rax, [rbp + 8]
cmp rcx, rax
setne dl
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x200fc05d.0]
mov edi, dword [rbp + 0x144]
test edi, edi
je 0x200557bc
mov eax, dword [rbp + 0x120]
mov dword [rsi + 0x898], eax
mov rax, qword [rbp + 0x138]
mov rax, qword [rax + 0x348]
mov rcx, qword [rbp + 0x118]
call qword [case.0x200fc05d.0]
mov rax, qword [rbp + 0x138]
mov rax, qword [rax + 0x348]
mov rcx, qword [rbp + 0x110]
call qword [case.0x200fc05d.0]
xor ebx, ebx
cmp ebx, 0x1387
ja 0x200557bc
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x138]
mov rax, qword [rax + 0x2f0]
call qword [case.0x200fc05d.0]
test eax, eax
jne 0x200557bc
mov ecx, 1
call fcn.200573c0
inc ebx
cmp ebx, 0x1387
jbe 0x20055790
mov rax, qword [rbp + 0xa0]
cmp rax, 8
jb 0x20055869
mov rcx, qword [rbp + 0x88]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x2005584f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rdx, qword [0x2036e020]
mov r9d, dword [0x204a192c]
cmp r9d, 0x54
and r15d, r12d
xor r9d, r9d
cmp r15d, 1
sbb r9, r9
sub rdx, r13
and rdx, r9
mov rbx, rdx
shr rbx, 0x20
or ebx, edx
movzx edx, word [0x204a19d2]
add dx, bx
shr ebx, 0x10
or ebx, edx
movzx edx, bh
or edx, ebx
add byte [0x204a19f0], dl
sub rcx, r8
cmp rcx, 0x20
jae 0x200558cc
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
mov eax, 0x272c
add eax, dword [0x204394c4]
cdqe
add rax, qword [0x204394e0]
call qword [case.0x200fc05d.0]
mov ebx, 0x272c
mov eax, dword [0x204394b4]
add eax, ebx
cdqe
add rax, qword [0x204394f0]
lea rcx, [rbp + 0x48]
call qword [case.0x200fc05d.0]
add ebx, dword [0x204394b4]
movsxd rax, ebx
add rax, qword [0x204394f0]
lea rcx, [rbp + 0xa8]
call qword [case.0x200fc05d.0]
test edi, edi
je 0x200558b1
mov byte [rsi + 0x878], 1
movaps xmm6, xmmword [rbp + 0x150]
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.2030c4cc
int3