Function at 0x48d570
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x78
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rdx
mov qword [rbp + 0xa0], r8
mov dword [rbp + 0xa8], r9d
nop
mov rcx, qword [rbp + 0x90]
mov edx, 1
call fcn.0048c140
test al, al
jne 0x48d62e
lea rcx, [rbp + 0x40]
mov rdx, qword [0x00a8db00]
call fcn.004149c0
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
lea rdx, [rbp + 0x28]
call fcn.0040ac00
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.0042e480
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x48]
xor r8, r8
call fcn.0040f6a0
mov ecx, 3
mov rdx, qword [rbp + 0x20]
call fcn.0048be30
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x90]
movzx rax, byte [rax + 0x28]
cmp rax, 3
jg 0x48d689
cmp rax, 3
je 0x48dbbf
sub rax, 1
cmp rax, 0xffffffffffffffff
je 0x48d775
test rax, rax
je 0x48d92a
sub rax, 1
test rax, rax
jne 0x48dcca
jmp 0x48dadb
sub rax, 4
test rax, rax
je 0x48d6a5
sub rax, 1
cmp rax, 3
jae 0x48dcca
jmp 0x48dca7
mov rax, qword [rbp + 0x68]
cmp rax, qword [rbp + 0x60]
je 0x48d6fc
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0xa8]
call fcn.00406200
jmp 0x48d6fc
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x60]
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x90]
mov eax, dword [rax + 0x44]
sub dword [rbp + 0xa8], eax
mov rax, qword [rbp + 0x90]
mov ecx, dword [rbp + 0xa8]
cmp ecx, dword [rax + 0x44]
jge 0x48d6c5
cmp dword [rbp + 0xa8], 0
jle 0x48dcca
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
movsxd r8, dword [rbp + 0xa8]
call fcn.00406200
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0xa8]
call fcn.00406200
jmp 0x48dcca
mov rax, qword [rbp + 0x68]
cmp rax, qword [rbp + 0x60]
je 0x48d793
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0xa8]
call fcn.00406200
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x50], rax
jmp 0x48d83d
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x50]
call fcn.0048a080
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x60]
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x60]
call fcn.0048a080
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x90]
mov eax, dword [rax + 0x44]
sub dword [rbp + 0xa8], eax
mov rax, qword [rbp + 0x90]
mov ecx, dword [rbp + 0xa8]
cmp ecx, dword [rax + 0x44]
jge 0x48d7b6
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x58]
cmp rcx, qword [rax + 0x60]
je 0x48d883
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
cmp dword [rbp + 0xa8], 0
jle 0x48dcca
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x60]
mov r8d, dword [rbp + 0xa8]
mov r9, qword [rbp + 0x60]
call fcn.0048a080
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov rax, qword [rbp + 0x90]
mov r9, qword [rax + 0x60]
call fcn.0048a080
jmp 0x48dcca
mov rax, qword [rbp + 0x68]
cmp rax, qword [rbp + 0x60]
je 0x48d948
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0xa8]
call fcn.00406200
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x50]
mov qword [rbp + 0x50], rax
jmp 0x48d9ee
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x60]
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x60]
call fcn.0048a080
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x90]
mov eax, dword [rax + 0x44]
sub dword [rbp + 0xa8], eax
mov rax, qword [rbp + 0x90]
mov ecx, dword [rbp + 0xa8]
cmp ecx, dword [rax + 0x44]
jge 0x48d96b
mov rax, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x58]
cmp rcx, qword [rax + 0x60]
je 0x48da34
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
cmp dword [rbp + 0xa8], 0
jle 0x48dcca
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov r8d, dword [rbp + 0xa8]
mov r9, qword [rbp + 0x60]
call fcn.0048a080
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov rax, qword [rbp + 0x90]
mov r9, qword [rax + 0x60]
call fcn.0048a080
jmp 0x48dcca
cmp dword [rbp + 0xa8], 0
jle 0x48dbb9
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x60]
add rcx, 1
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
sub r8d, 1
movsxd r8, r8d
call fcn.00406200
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x60]
mov rcx, qword [rbp + 0x90]
movsxd rcx, dword [rcx + 0x44]
mov rdx, qword [rbp + 0x68]
movzx rdx, byte [rdx]
mov byte [rax + rcx - 1], dl
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x90]
mov rdx, qword [rdx + 0x50]
movzx rcx, byte [rcx]
xor cl, byte [rdx]
mov byte [rax], cl
add qword [rbp + 0x60], 1
add qword [rbp + 0x68], 1
sub dword [rbp + 0xa8], 1
cmp dword [rbp + 0xa8], 0
jg 0x48dae8
nop
jmp 0x48dcca
cmp dword [rbp + 0xa8], 0
jle 0x48dca4
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
mov rcx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x58]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x90]
mov rdx, qword [rdx + 0x50]
movzx rcx, byte [rcx]
xor cl, byte [rdx]
mov byte [rax], cl
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax + 0x60]
add rcx, 1
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
sub r8d, 1
movsxd r8, r8d
call fcn.00406200
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x60]
mov rcx, qword [rbp + 0x90]
movsxd rcx, dword [rcx + 0x44]
mov rdx, qword [rbp + 0x90]
mov rdx, qword [rdx + 0x50]
movzx rdx, byte [rdx]
mov byte [rax + rcx - 1], dl
add qword [rbp + 0x60], 1
add qword [rbp + 0x68], 1
sub dword [rbp + 0xa8], 1
cmp dword [rbp + 0xa8], 0
jg 0x48dbcc
nop
jmp 0x48dcca
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa0]
mov r9d, dword [rbp + 0xa8]
call fcn.0048cb30
jmp 0x48dccb
nop
lea rcx, [rbp + 0x20]
call fcn.0040e0d0
lea rcx, [rbp + 0x28]
call fcn.0040e080
lea rcx, [rbp + 0x40]
mov edx, 2
call fcn.0040e160
lea rsp, [rbp + 0x78]
pop rbx
pop rbp
ret