Function at 0x5ce750
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0xb0], r8
mov dword [rbp + 0xb8], r9d
nop
mov rcx, qword [rbp + 0xa0]
mov edx, 1
call fcn.005ccb70
test al, al
jne 0x5ce7f7
lea rcx, [rbp + 0x40]
mov rdx, qword [0x00652cc0]
call fcn.00415ae0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
lea rdx, [rbp + 0x28]
call fcn.0040c110
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x38], 0x11
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
lea r8, [rbp + 0x30]
xor r9, r9
call fcn.00433670
mov ecx, 3
mov rdx, qword [rbp + 0x48]
call fcn.005cc960
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa0]
movzx rax, byte [rax + 0x28]
cmp rax, 3
jg 0x5ce852
cmp rax, 3
je 0x5ceeea
sub rax, 1
cmp rax, 0xffffffffffffffff
je 0x5ce94b
test rax, rax
je 0x5cec55
sub rax, 1
test rax, rax
jne 0x5ceff5
jmp 0x5cee06
sub rax, 4
test rax, rax
je 0x5ceb00
sub rax, 1
test rax, rax
je 0x5ce87b
sub rax, 1
cmp rax, 3
jae 0x5ceff5
jmp 0x5cefd2
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x70]
je 0x5ce8d2
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
movsxd r8, dword [rbp + 0xb8]
call fcn.00408ce0
jmp 0x5ce8d2
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x60]
mov rax, qword [rbp + 0xa0]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa0]
mov eax, dword [rax + 0x44]
sub dword [rbp + 0xb8], eax
mov rax, qword [rbp + 0xa0]
mov ecx, dword [rbp + 0xb8]
cmp ecx, dword [rax + 0x44]
jge 0x5ce89b
cmp dword [rbp + 0xb8], 0
jle 0x5ceff5
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
movsxd r8, dword [rbp + 0xb8]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x70]
movsxd r8, dword [rbp + 0xb8]
call fcn.00408ce0
jmp 0x5ceff5
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x70]
je 0x5ce969
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
movsxd r8, dword [rbp + 0xb8]
call fcn.00408ce0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x60], rax
jmp 0x5cea13
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x60]
call fcn.005ca4a0
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x60]
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x70]
call fcn.005ca4a0
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xa0]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa0]
mov eax, dword [rax + 0x44]
sub dword [rbp + 0xb8], eax
mov rax, qword [rbp + 0xa0]
mov ecx, dword [rbp + 0xb8]
cmp ecx, dword [rax + 0x44]
jge 0x5ce98c
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0x68]
cmp rcx, qword [rax + 0x60]
je 0x5cea59
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
cmp dword [rbp + 0xb8], 0
jle 0x5ceff5
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x70]
mov r8d, dword [rbp + 0xb8]
mov r9, qword [rbp + 0x70]
call fcn.005ca4a0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
mov rax, qword [rbp + 0xa0]
mov r9, qword [rax + 0x60]
call fcn.005ca4a0
jmp 0x5ceff5
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x70]
je 0x5ceb1e
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
movsxd r8, dword [rbp + 0xb8]
call fcn.00408ce0
xor rax, rax
mov ebx, dword [rbp + 0xb8]
sub ebx, 1
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x5c], ebx
jg 0x5cec4f
add ebx, 1
mov dword [rbp + 0x54], 0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa0]
mov eax, dword [rax + 0x74]
cmp eax, dword [rcx + 0x44]
jne 0x5cec08
mov dword [rbp + 0x58], 0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x80]
movsxd rcx, dword [rbp + 0x58]
cmp byte [rax + rcx], 0xff
jae 0x5ceb91
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x80]
movsxd rcx, dword [rbp + 0x58]
add byte [rax + rcx], 1
jmp 0x5cebb1
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x80]
movsxd rcx, dword [rbp + 0x58]
mov byte [rax + rcx], 0
add dword [rbp + 0x58], 1
cmp dword [rbp + 0x58], 8
jne 0x5ceb61
nop
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x80]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x78]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x78]
mov rax, qword [rbp + 0xa0]
mov rsi, qword [rax]
call qword [rsi + 0x58]
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0x74], 0
mov rax, qword [rbp + 0xa0]
mov eax, dword [rax + 0x74]
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0xa0]
add dword [rax + 0x74], 1
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rbp + 0x5c]
mov rdx, qword [rbp + 0xa0]
mov rdx, qword [rdx + 0x78]
movsxd r8, dword [rbp + 0x54]
movzx rdx, byte [rdx + r8]
xor byte [rax + rcx], dl
add dword [rbp + 0x5c], 1
cmp dword [rbp + 0x5c], ebx
jne 0x5ceb39
nop
jmp 0x5ceff5
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x70]
je 0x5cec73
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
movsxd r8, dword [rbp + 0xb8]
call fcn.00408ce0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x60], rax
jmp 0x5ced19
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x60]
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x70]
call fcn.005ca4a0
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xa0]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa0]
mov eax, dword [rax + 0x44]
sub dword [rbp + 0xb8], eax
mov rax, qword [rbp + 0xa0]
mov ecx, dword [rbp + 0xb8]
cmp ecx, dword [rax + 0x44]
jge 0x5cec96
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0x68]
cmp rcx, qword [rax + 0x60]
je 0x5ced5f
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
cmp dword [rbp + 0xb8], 0
jle 0x5ceff5
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rcx, qword [rbp + 0x70]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov r8d, dword [rbp + 0xb8]
mov r9, qword [rbp + 0x70]
call fcn.005ca4a0
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
mov rax, qword [rbp + 0xa0]
mov r9, qword [rax + 0x60]
call fcn.005ca4a0
jmp 0x5ceff5
cmp dword [rbp + 0xb8], 0
jle 0x5ceee4
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x60]
lea rcx, [rax + 1]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
sub r8d, 1
movsxd r8, r8d
call fcn.00408ce0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x60]
mov rcx, qword [rbp + 0xa0]
movsxd rcx, dword [rcx + 0x44]
mov rdx, qword [rbp + 0x78]
movzx rdx, byte [rdx]
mov byte [rax + rcx - 1], dl
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0xa0]
mov rdx, qword [rdx + 0x50]
movzx rcx, byte [rcx]
xor cl, byte [rdx]
mov byte [rax], cl
add qword [rbp + 0x70], 1
add qword [rbp + 0x78], 1
sub dword [rbp + 0xb8], 1
cmp dword [rbp + 0xb8], 0
jg 0x5cee13
nop
jmp 0x5ceff5
cmp dword [rbp + 0xb8], 0
jle 0x5cefcf
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
movsxd r8, dword [rax + 0x44]
call fcn.00408ce0
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0xa0]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0xa0]
mov rdx, qword [rdx + 0x50]
movzx rcx, byte [rcx]
xor cl, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x60]
lea rcx, [rax + 1]
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0xa0]
mov r8d, dword [rax + 0x44]
sub r8d, 1
movsxd r8, r8d
call fcn.00408ce0
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax + 0x60]
mov rcx, qword [rbp + 0xa0]
movsxd rcx, dword [rcx + 0x44]
mov rdx, qword [rbp + 0xa0]
mov rdx, qword [rdx + 0x50]
movzx rdx, byte [rdx]
mov byte [rax + rcx - 1], dl
add qword [rbp + 0x70], 1
add qword [rbp + 0x78], 1
sub dword [rbp + 0xb8], 1
cmp dword [rbp + 0xb8], 0
jg 0x5ceef7
nop
jmp 0x5ceff5
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb0]
mov r9d, dword [rbp + 0xb8]
call fcn.005cdbc0
jmp 0x5ceff6
nop
lea rcx, [rbp + 0x28]
call fcn.0040f800
lea rcx, [rbp + 0x40]
mov edx, 2
call fcn.0040f8e0
lea rsp, [rbp + 0x80]
pop rbx
pop rsi
pop rbp
ret