Function at 0x424d80
Capabilities:
Encode data using xor

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4250ca
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov rcx, qword [0x007df3d8]
test rcx, rcx
je 0x425058
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rcx
xor ebx, ebx
xor esi, esi
cmp rbx, rdx
jge 0x424df5
mov rdi, qword [rcx]
add rcx, 8
inc rbx
add rdi, rsi
mov r8, rdi
shl rdi, 0xa
lea rsi, [r8 + rdi]
mov rdi, rsi
shr rsi, 6
xor rsi, rdi
cmp rbx, rdx
jl 0x424dce
mov rcx, qword [0x007df3d8]
test byte [rcx], al
mov rbx, qword [rsp + 0x68]
add rsi, rbx
mov rdi, rsi
shl rsi, 0xa
add rsi, rdi
mov rdi, rsi
shr rsi, 6
xor rdi, rsi
lea rsi, [rdi + rdi*8]
mov rdi, rsi
shr rsi, 0xb
xor rdi, rsi
mov qword [rsp + 0x38], rdi
mov rsi, rax
movabs rax, 0x5d350fde298c8d49
mov r8, rdx
mul rdi
shr rdx, 0x10
imul rdx, rdx, 0x2bf1f
mov r9, rdi
sub rdi, rdx
mov qword [rsp + 0x40], rdi
cmp rdi, 0x2bf1f
jae 0x425051
mov rax, qword [rcx + rdi*8]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x424ea2
mov rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x60]
cmp rdx, rcx
jne 0x424e95
mov rcx, qword [rax + 0x18]
cmp r9, rcx
jne 0x424e95
mov rcx, qword [rax + 0x20]
cmp rbx, rcx
je 0x424fc8
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x424e71
movzx eax, byte [rsp + 0x88]
test al, al
je 0x424fb2
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
mov qword [rsp + 8], r8
call fcn.00424bb0
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x48], rax
lea rcx, [rax + 0x30]
test byte [rcx], al
mov rdx, qword [rax + 0x28]
cmp rdx, 0x20
ja 0x424fab
mov rbx, qword [rsp + 0x78]
cmp rdx, rbx
jle 0x424fa3
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 8], rcx
shl rbx, 3
mov qword [rsp + 0x10], rbx
call fcn.00456d30
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x68]
mov qword [rcx + 0x20], rax
mov rax, qword [0x007df3d8]
test byte [rax], al
mov rdx, qword [rsp + 0x40]
mov rax, qword [rax + rdx*8]
mov qword [rcx], rax
mov rax, qword [0x007df3d8]
test byte [rax], al
mov qword [rax + rdx*8], rcx
mov rax, qword [rsp + 0x60]
cmp rax, 1
jne 0x424f75
mov rax, qword [0x007df420]
mov qword [rcx + 8], rax
mov qword [0x007df420], rcx
mov qword [rsp + 0x90], rcx
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
cmp rax, 3
jne 0x424f8f
mov rax, qword [0x007df448]
mov qword [rcx + 8], rax
mov qword [0x007df448], rcx
jmp 0x424f63
mov rax, qword [0x007df3d0]
mov qword [rcx + 8], rax
mov qword [0x007df3d0], rcx
jmp 0x424f63
mov rbx, rdx
jmp 0x424ef1
call fcn.0042ab10
ud2
mov qword [rsp + 0x90], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x30]
test byte [rcx], al
mov r10, qword [rax + 0x28]
cmp r10, 0x20
ja 0x42504a
mov qword [rsp], rcx
mov qword [rsp + 8], r10
mov qword [rsp + 0x10], r10
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r8
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x28], rcx
call fcn.004250e0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x425033
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x38]
jmp 0x424e95
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
call fcn.0042ab10
ud2
call fcn.0042aaa0
ud2
mov qword [rsp], 0x15f8f8
lea rax, [0x007fedf0]
mov qword [rsp + 8], rax
call fcn.00415370
mov rax, qword [rsp + 0x10]
mov ecx, dword [0x007fd2e0]
test ecx, ecx
jne 0x4250b3
mov qword [0x007df3d8], rax
mov rcx, qword [0x007df3d8]
test rcx, rcx
je 0x425098
jmp 0x424db8
lea rax, [0x006ab0dc]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1f
call fcn.0042c560
ud2
lea rcx, [0x007df3d8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00411900
jmp 0x425087
call fcn.00453a80
jmp fcn.00424d80