Function at 0x140006de8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x1e8], rbx
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], rdi
mov rax, qword [0x1405f8008]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
mov r14d, dword [rcx + 0xc]
mov esi, 0xfffffff
mov al, byte [rcx + 8]
mov r12, rcx
mov edx, dword [rcx + 4]
and r14d, esi
mov edi, dword [rcx]
and edx, esi
mov rbx, qword [rcx + 0x18]
and edi, esi
mov qword [rbp + 0x40], rcx
lea rcx, [0x140000000]
mov r13d, r14d
add r13, rcx
mov byte [rbp], al
call fcn.14000df34
mov ecx, edi
mov r15, rax
mov qword [rbp + 0x58], rax
mov edi, 8
mov qword [rbp + 0x30], rcx
test rcx, rcx
je 0x140037ed8
and ecx, 7
mov dword [rbp + 0x10], ecx
je 0x140007326
movzx r10d, bx
mov r8, rbx
shr r8, 0x20
mov rax, rbx
shr rax, 0x10
mov ecx, r8d
movzx r11d, ax
xor ecx, r14d
rol ecx, 5
mov eax, r14d
shr eax, 4
mov esi, r14d
imul ecx, r11d
not esi
movzx edx, r8w
mov qword [rbp + 0xd8], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x158], rbx
sub ecx, eax
mov qword [rbp + 0x88], rbx
xor esi, ecx
mov qword [rbp + 0x118], rbx
mov ecx, r8d
mov qword [rbp + 0x98], rbx
mov rax, rbx
mov qword [rbp + 0x198], rbx
shr rax, 0x30
mov r9d, eax
mov qword [rbp + 0xa8], rbx
mov edi, eax
mov qword [rbp + 0x128], rbx
xor edi, esi
mov qword [rbp + 0xb8], rbx
rol edi, 3
mov eax, esi
ror eax, 0xc
imul edi, r10d
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x68], rbx
xor edi, eax
mov qword [rbp + 0x188], rbx
xor edi, r14d
mov qword [rbp + 0xe8], rbx
xor ecx, edi
mov eax, ebx
sub eax, ecx
mov ecx, ebx
xor esi, eax
mov eax, esi
ror eax, 4
sub eax, edx
imul eax, r11d
xor edi, eax
mov eax, edi
ror eax, 3
xor eax, r11d
imul eax, r9d
xor esi, eax
xor r8d, esi
mov eax, esi
ror eax, 8
ror r8d, 8
imul r8d, r10d
add r8d, eax
xor edi, r8d
sub ecx, edi
mov eax, edi
ror eax, 0x16
ror ecx, 8
imul ecx, r9d
add ecx, eax
xor esi, ecx
xor r9d, esi
mov eax, esi
rol r9d, 1
imul r9d, edx
shr eax, 1
add r9d, eax
xor edi, r9d
xor edx, edi
mov qword [rbp + 0x148], rbx
imul edx, r11d
mov eax, edi
ror eax, 0xa
xor ecx, ecx
mov qword [rbp + 0xf8], rbx
mov r8, r13
mov qword [rbp + 0x178], rbx
mov qword [rbp + 0x108], rbx
xor eax, edx
mov qword [rbp + 0x18], rcx
xor esi, eax
xor r11d, esi
mov dword [rbp + 8], esi
imul r11d, r10d
mov eax, esi
movsxd r10, dword [rbp + 0x10]
ror eax, 2
mov rdx, r10
mov r9, r10
sub r11d, eax
xor edi, r11d
mov dword [rbp + 0xc], edi
test r10d, r10d
je 0x140007022
lea rcx, [rbp + 0x18]
sub rcx, r13
mov al, byte [r8]
mov byte [rcx + r8], al
inc r8
sub r9, 1
jne 0x140007008
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 8]
mov rcx, qword [rbp + 0x18]
xor edi, dword [rbp + 0x1c]
lea r8, [rbp + 8]
xor esi, ecx
mov dword [rbp + 0xc], edi
mov eax, 8
mov dword [rbp + 8], esi
mov qword [rbp + 0x20], rcx
lea r8, [r8 + r10]
sub rax, rdx
je 0x140007056
mov byte [r8], 0
inc r8
sub rax, 1
jne 0x140007043
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 8]
lea r8, [rbp + 8]
test r10d, r10d
je 0x14000707f
lea rax, [rbp + 8]
mov r9, r15
sub r9, rax
mov al, byte [r8]
mov byte [r9 + r8], al
inc r8
sub rdx, 1
jne 0x140007069
mov edi, dword [rbp + 0xc]
mov esi, dword [rbp + 8]
movsxd rax, r10d
add rax, r15
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x30]
mov r14, rax
shr r14, 3
test r14, r14
je 0x140007281
mov r12, qword [rbp + 0x38]
mov rax, rbx
shr rax, 0x20
mov r9, rbx
mov qword [rbp + 0x18], rax
mov r8, rbx
shr r9, 0x30
shr r8, 0x10
movzx eax, bx
sub r13, r15
mov r15, qword [rbp + 0x18]
mov dword [rbp + 0x10], eax
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x120], rbx
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x150], rbx
mov qword [rbp + 0x160], rbx
mov qword [rbp + 0x48], r9
mov qword [rbp + 0x170], rbx
mov qword [rbp + 0x180], rbx
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x28], r8
mov rax, qword [r13 + r12]
movzx r11d, r8w
xor esi, eax
movzx r10d, r9w
mov rdx, rax
shr rdx, 0x20
mov r8d, r15d
xor edi, edx
movzx r9d, r15w
xor r8d, edi
shr rcx, 0x20
rol r8d, 5
mov edx, edi
shr edx, 4
imul r8d, r11d
mov qword [rbp + 0x18], rax
sub r8d, edx
xor esi, r8d
mov r8d, r10d
xor r8d, esi
mov edx, esi
ror edx, 0xc
rol r8d, 3
imul r8d, dword [rbp + 0x10]
xor r8d, edx
mov edx, ebx
xor edi, r8d
mov r8d, r15d
xor r8d, edi
sub edx, r8d
mov r8d, r15d
xor esi, edx
mov edx, esi
ror edx, 4
sub edx, r9d
imul edx, r11d
xor edi, edx
mov edx, edi
ror edx, 3
xor edx, r11d
imul edx, r10d
xor esi, edx
xor r8d, esi
mov edx, esi
ror edx, 8
ror r8d, 8
imul r8d, dword [rbp + 0x10]
add r8d, edx
xor edi, r8d
mov r8d, ebx
sub r8d, edi
mov edx, edi
ror edx, 0x16
ror r8d, 8
imul r8d, r10d
add r8d, edx
xor esi, r8d
xor r10d, esi
mov edx, esi
shr edx, 1
rol r10d, 1
imul r10d, r9d
add r10d, edx
xor edi, r10d
xor r9d, edi
mov edx, edi
imul r9d, r11d
ror edx, 0xa
xor edx, r9d
xor esi, edx
xor r11d, esi
mov edx, esi
xor esi, dword [rbp + 0x20]
imul r11d, dword [rbp + 0x10]
ror edx, 2
mov qword [rbp + 0x20], rax
mov dword [r12], esi
sub r11d, edx
xor edi, r11d
xor edi, ecx
mov rcx, rax
mov r9, qword [rbp + 0x48]
mov r8, qword [rbp + 0x28]
mov dword [r12 + 4], edi
lea r12, [r12 + 8]
sub r14, 1
jne 0x140007158
mov r15, qword [rbp + 0x58]
mov r12, qword [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov dword [rbp + 0xc], edi
mov dword [rbp + 8], esi
mov cl, byte [rax + r15 - 1]
mov edi, 8
mov esi, 0xfffffff
cmp cl, byte [rbp]
jne 0x140037ee0
mov ecx, dword [r12 + 0x10]
test esi, ecx
je 0x1400072c7
lea rax, [0x140000000]
and rcx, rsi
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x28]
add rcx, r15
mov al, byte [rdx]
inc rdx
mov byte [rcx], al
inc rcx
sub rdi, 1
jne 0x1400072b7
mov ecx, dword [r12 + 0x14]
test esi, ecx
jne 0x140037eeb
and qword [rbp + 0x60], 0
lea r9, [rbp + 0x50]
and qword [rbp + 0x50], 0
lea r8, [rbp + 0x60]
mov rdx, r15
call fcn.14000dce0
mov rax, r15
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.14001af80
mov rbx, qword [rbp + 0x1e8]
mov rsi, qword [rbp + 0x1f0]
mov rdi, qword [rbp + 0x1f8]
lea rsp, [rbp + 0x1b0]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r10d, dword [rbp + 0x10]
xor esi, esi
mov dword [rbp + 0x24], r14d
xor edi, edi
not r14d
mov qword [rbp + 8], rsi
mov dword [rbp + 0x20], r14d
mov rcx, qword [rbp + 0x20]
jmp 0x14000707f
mov cl, byte [rbp]
jmp 0x140007290
call fcn.140108048
nop
jmp 0x140007299
and rcx, rsi
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140037f01
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14001bb20
sub rsp, rax
jmp 0x1400072d4