Function at 0x14004a7e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r14, rdx
mov rsi, rcx
mov r13, qword [rsp + 0xf0]
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [rcx + 0x38]
add rcx, r13
setb dl
movabs rax, 0xfffffffe0
cmp rcx, rax
seta r10b
xor eax, eax
or r10b, dl
jne 0x14004adbf
mov rbp, qword [rsi + 0x160]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
je 0x14004a967
mov r15, qword [rsi + 0x40]
mov r12, qword [rsi + 0x48]
bswap r12
bswap r15
mov rdi, qword [rsi + 0x50]
mov rbx, qword [rsi + 0x58]
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov r8, r12
mov r9, rbx
call fcn.14005fee0
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov r8, r15
mov r9, rdi
call fcn.14005fee0
xor rbx, rdi
xor r15, r12
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r8, r15
mov r9, rbx
call fcn.14005fee0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov r9, rcx
shl r9, 0x3f
mov r10, rcx
shl r10, 0x3e
xor r10, r9
mov r11, rcx
shl r11, 0x39
xor r11, r10
xor r11, qword [rsp + 0x58]
mov r9, rcx
xor r9, rdx
xor r9, r8
xor r9, r11
mov r10, r9
shr r10, 1
mov r11, r9
mov rdi, r9
shr rdi, 2
xor rdi, r10
mov r10, r9
mov rbx, r9
shr rbx, 7
xor rbx, rax
xor rbx, rdi
mov rdi, r9
shld rdi, rcx, 0x3f
shld r11, rcx, 0x3e
shld r10, rcx, 0x39
xor rbx, r9
xor r10, r11
xor rdi, qword [rsp + 0x50]
xor r10, rcx
xor r10, rdx
xor r10, r8
xor r10, rdi
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
xor r10, rax
bswap rbx
mov qword [rsi + 0x40], rbx
bswap r10
mov qword [rsi + 0x48], r10
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
je 0x14004aaba
test r13, r13
je 0x14004adb4
nop
mov ecx, eax
movzx edx, byte [rsi + rcx + 0x10]
xor dl, byte [r8]
inc r8
mov byte [r9], dl
xor byte [rsi + rcx + 0x40], dl
inc r9
lea rbx, [r13 - 1]
inc eax
and eax, 0xf
je 0x14004a9ab
cmp r13, 1
mov r13, rbx
jne 0x14004a980
test eax, eax
jne 0x14004adb4
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
mov r13, qword [rsi + 0x40]
mov r12, qword [rsi + 0x48]
bswap r12
bswap r13
mov r15, qword [rsi + 0x50]
mov rdi, qword [rsi + 0x58]
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov r8, r12
mov r9, rdi
call fcn.14005fee0
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov r8, r13
mov r9, r15
call fcn.14005fee0
xor rdi, r15
xor r13, r12
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r8, r13
mov r9, rdi
call fcn.14005fee0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov r9, rcx
shl r9, 0x3f
mov r10, rcx
shl r10, 0x3e
xor r10, r9
mov r11, rcx
shl r11, 0x39
xor r11, r10
xor r11, qword [rsp + 0x58]
mov r9, rcx
xor r9, rdx
xor r9, r8
xor r9, r11
mov r10, r9
shr r10, 1
mov r11, r9
mov rdi, r9
shr rdi, 2
xor rdi, r10
mov r10, r9
mov r12, rbx
mov rbx, r9
shr rbx, 7
xor rbx, rax
xor rbx, rdi
xor rbx, r9
shld r9, rcx, 0x3f
shld r11, rcx, 0x3e
shld r10, rcx, 0x39
xor r9, qword [rsp + 0x50]
xor r10, r11
xor r10, rcx
xor r10, rdx
xor r10, r8
xor r10, r9
xor r10, rax
bswap rbx
mov qword [rsi + 0x40], rbx
mov rbx, r12
bswap r10
mov qword [rsi + 0x48], r10
jmp 0x14004aabd
mov rbx, r13
lea rax, [rsi + 0x50]
mov qword [rsp + 0x40], rax
mov r13d, dword [rsi + 0xc]
bswap r13d
cmp rbx, 0xc00
jb 0x14004ac43
mov qword [rsp + 0x28], rbx
lea r12, [rsi + 0x10]
lea rax, [rsi + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
nop word cs:[rax + rax]
mov rbx, rcx
mov rdi, rax
mov r15, 0xfffffffffffff400
nop dword [rax]
mov rcx, rsi
mov rdx, r12
mov r8, r14
call rbp
inc r13d
mov eax, r13d
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [rbx + r15 + 0xc00]
mov qword [rdi + r15 + 0xc00], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [rbx + r15 + 0xc08]
mov qword [rdi + r15 + 0xc08], rax
add r15, 0x10
jne 0x14004ab10
lea r8, [rdi + r15]
mov r9d, 0xc00
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140049e40
mov rdx, qword [rsp + 0x28]
add rdx, 0xfffffffffffff400
lea rax, [rdi + r15]
add rax, 0xc00
lea rcx, [rbx + r15]
add rcx, 0xc00
mov qword [rsp + 0x28], rdx
cmp rdx, 0xbff
ja 0x14004ab00
add rdi, r15
add rdi, 0xc00
add r15, rbx
add r15, 0xc00
mov rbx, qword [rsp + 0x28]
mov rax, rbx
and rax, 0xff0
je 0x14004ac5c
mov qword [rsp + 0x28], rax
lea r12, [rsi + 0x10]
nop word cs:[rax + rax]
mov rcx, rsi
mov rdx, r12
mov r8, r14
call rbp
inc r13d
mov eax, r13d
bswap eax
mov dword [rsi + 0xc], eax
mov rax, qword [rsi + 0x10]
xor rax, qword [r15]
mov qword [rdi], rax
mov rax, qword [rsi + 0x18]
xor rax, qword [r15 + 8]
mov qword [rdi + 8], rax
add rdi, 0x10
add r15, 0x10
add rbx, 0xfffffffffffffff0
cmp rbx, 0xf
ja 0x14004abe0
mov r8, rdi
mov r9, qword [rsp + 0x28]
sub r8, r9
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x40]
call fcn.140049e40
test rbx, rbx
jne 0x14004ac61
xor eax, eax
jmp 0x14004adb4
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov rax, rbx
and rax, 0xff0
jne 0x14004abc8
test rbx, rbx
je 0x14004ac3c
lea r12, [rsi + 0x10]
mov rcx, rsi
mov rdx, r12
mov r8, r14
call rbp
inc r13d
bswap r13d
mov dword [rsi + 0xc], r13d
movabs rcx, 0xfffffffeffffffff
lea rdx, [rbx + rcx]
add rcx, 0x10
xor eax, eax
cmp rdx, rcx
jae 0x14004acb1
mov rcx, rbx
test cl, 1
jne 0x14004ad52
mov rdx, rcx
cmp rcx, 1
jne 0x14004ad80
jmp 0x14004adb4
lea rdx, [rdi + rbx]
lea r9, [rsi + rbx]
add r9, 0x40
mov r14, rbx
lea r10, [r15 + rbx]
cmp rdi, r9
setb r11b
cmp r12, rdx
setb bl
cmp rdi, r10
setb cl
cmp r15, rdx
setb r8b
cmp r12, r10
setb dl
cmp r15, r9
setb r9b
test r11b, bl
jne 0x14004adf5
and cl, r8b
jne 0x14004adf5
and dl, r9b
mov r8, r14
jne 0x14004aded
movabs rax, 0x1fffffff0
and rax, r8
mov ecx, r8d
and ecx, 0xf
xor edx, edx
nop
movups xmm0, xmmword [r15 + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
xorps xmm1, xmm0
movups xmmword [rdi + rdx], xmm1
movups xmm0, xmmword [rsi + rdx + 0x40]
xorps xmm0, xmm1
movups xmmword [rsi + rdx + 0x40], xmm0
add rdx, 0x10
cmp rax, rdx
jne 0x14004ad20
cmp r8, rax
jne 0x14004ac96
jmp 0x14004adb4
lea rdx, [rcx - 1]
mov r8d, eax
movzx r9d, byte [rsi + r8 + 0x10]
xor r9b, byte [r15 + r8]
mov byte [rdi + r8], r9b
xor byte [rsi + r8 + 0x40], r9b
inc eax
cmp rcx, 1
je 0x14004adb4
nop word cs:[rax + rax]
mov ecx, eax
movzx r8d, byte [rsi + rcx + 0x10]
xor r8b, byte [r15 + rcx]
mov byte [rdi + rcx], r8b
xor byte [rsi + rcx + 0x40], r8b
lea ecx, [rax + 1]
movzx r8d, byte [rsi + rcx + 0x10]
xor r8b, byte [r15 + rcx]
mov byte [rdi + rcx], r8b
xor byte [rsi + rcx + 0x40], r8b
add eax, 2
add rdx, 0xfffffffffffffffe
jne 0x14004ad80
mov dword [rsi + 0x170], eax
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14004ade7
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14029fd30
int3
mov rcx, r8
jmp 0x14004ac96
mov rcx, r14
jmp 0x14004ac96