Function at 0x48cb30
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 0x48cbee
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, 4
jg 0x48cc52
cmp rax, 4
je 0x48cc7e
sub rax, 1
cmp rax, 0xffffffffffffffff
je 0x48cde1
test rax, rax
je 0x48ce9e
sub rax, 1
test rax, rax
je 0x48cff1
sub rax, 1
test rax, rax
jne 0x48d4f0
jmp 0x48d0d5
sub rax, 5
test rax, rax
je 0x48d259
sub rax, 1
test rax, rax
je 0x48d385
sub rax, 1
test rax, rax
jne 0x48d4f0
jmp 0x48d423
mov rax, qword [rbp + 0x68]
cmp rax, qword [rbp + 0x60]
je 0x48ccd5
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
movsxd r8, dword [rbp + 0xa8]
call fcn.00406200
jmp 0x48ccd5
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x90]
mov rbx, qword [rax]
call qword [rbx + 0x58]
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 0x48cc9e
cmp dword [rbp + 0xa8], 0
jle 0x48d4f0
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 0x48d4f0
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x60]
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 + 0x58]
mov rcx, qword [rbp + 0x60]
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
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x68], 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 0x48cd4e
cmp dword [rbp + 0xa8], 0
jle 0x48d4f0
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 + 0x68]
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 0x48d4f0
mov rax, qword [rbp + 0x90]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x58], rax
jmp 0x48cf19
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x90]
mov r8d, dword [rax + 0x44]
mov r9, qword [rbp + 0x60]
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 + 0x58]
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x68], 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 0x48ceaf
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 0x48d4f0
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 + 0x68]
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 0x48d4f0
cmp dword [rbp + 0xa8], 0
jle 0x48d0cf
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 + 0x60]
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 0x48cffe
nop
jmp 0x48d4f0
cmp dword [rbp + 0xa8], 0
jle 0x48d1ba
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 0x48d0e2
nop
jmp 0x48d4f0
mov rcx, qword [rbp + 0x68]
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 + 0x50]
call fcn.0048a080
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 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
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x68], 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 0x48d1c0
cmp dword [rbp + 0xa8], 0
jle 0x48d4f0
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 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 0x48d4f0
mov rcx, qword [rbp + 0x68]
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 + 0x50]
call fcn.0048a080
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 rax, qword [rbp + 0x90]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x90]
movsxd r8, dword [rax + 0x44]
call fcn.00406200
mov rax, qword [rbp + 0x90]
movsxd rax, dword [rax + 0x44]
add qword [rbp + 0x68], 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 0x48d2f7
cmp dword [rbp + 0xa8], 0
jle 0x48d4f0
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 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 0x48d4f0
cmp dword [rbp + 0xa8], 0
jle 0x48d4ef
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]
mov r8, qword [rbp + 0x90]
mov r8, qword [r8 + 0x50]
movzx rdx, byte [rdx]
xor dl, byte [r8]
mov byte [rax + rcx - 1], dl
add qword [rbp + 0x68], 1
sub dword [rbp + 0xa8], 1
cmp dword [rbp + 0xa8], 0
jg 0x48d430
nop
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