Function at 0x140164bb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
movaps xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov r12, rcx
mov rax, qword [0x1405a9858]
mov rbx, rax
shr rbx, 0x20
or ebx, eax
movzx eax, byte [0x1405429f0]
mov ecx, eax
xor cl, 0x8a
and al, 0xa
add al, al
add al, cl
mov byte [r12], al
lea r14, [r12 + 0x158]
mov rdi, qword [r12 + 0x158]
test rdi, rdi
je 0x140164cbd
mov r15, qword [r12 + 0x160]
cmp rdi, r15
je 0x140164c50
mov esi, 0xed4bb34c
nop word cs:[rax + rax]
mov rax, qword [rdi]
mov rax, qword [rax]
mov edx, dword [0x1405429f4]
add edx, esi
mov rcx, rdi
call qword [case.0x14013008b.0]
add rdi, 0x28
cmp rdi, r15
jne 0x140164c30
mov rcx, qword [r12 + 0x158]
mov rdx, qword [r12 + 0x168]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140164c88
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x140164f27
add rdx, 0x27
mov rcx, rax
mov eax, dword [0x140542ad0]
or eax, ebx
mov r8d, dword [0x1405429f4]
add eax, r8d
add eax, 0xed4c3047
cdqe
add rax, qword [0x140542ae0]
call qword [case.0x14013008b.0]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov qword [rbp - 0x20], r12
lea r15, [r12 + 0xb0]
movabs r12, 0x3906b5a114600f2f
xorps xmm6, xmm6
jmp 0x140164d18
add rdx, 0x27
mov rcx, rax
mov eax, dword [0x140542ad0]
sub eax, ebx
add eax, 0x7cfb
cdqe
add rax, qword [0x140542ae0]
call qword [case.0x14013008b.0]
movups xmmword [r13], xmm6
mov qword [r13 + 0x10], 0
mov r14, r13
cmp r13, r15
je 0x140164d7e
lea r13, [r14 - 0x18]
mov rdi, qword [r14 - 0x18]
test rdi, rdi
je 0x140164d10
mov rsi, qword [r14 - 0x10]
cmp rdi, rsi
je 0x140164d4a
nop
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
xor edx, edx
call qword [case.0x14013008b.0]
add rdi, 0x28
cmp rdi, rsi
jne 0x140164d30
mov rcx, qword [r14 - 0x18]
mov rdx, qword [r14 - 8]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140164ce7
mov rax, qword [rcx - 8]
add rcx, qword [0x1405429f8]
sub rcx, rax
add rcx, r12
cmp rcx, 0x20
jb 0x140164ce0
call fcn.1403fe3cc
mov r15, qword [rbp - 0x20]
mov rdi, qword [r15 + 0x98]
test rdi, rdi
je 0x140164e36
mov r14, qword [r15 + 0xa0]
cmp rdi, r14
je 0x140164dcf
nop
mov rax, qword [rdi]
mov rax, qword [rax]
mov ecx, dword [0x1405429f4]
mov edx, ecx
xor edx, 0xed4bb34c
and ecx, 0x6d4bb34c
lea edx, [rdx + rcx*2]
mov rcx, rdi
call qword [case.0x14013008b.0]
add rdi, 0x28
cmp rdi, r14
jne 0x140164da0
mov rcx, qword [r15 + 0x98]
mov rdx, qword [r15 + 0xa8]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140164e05
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x140164f2c
add rdx, 0x27
mov rcx, rax
lea rsi, [r15 + 0x98]
mov eax, dword [0x140542ad0]
sub eax, ebx
add eax, 0x7cfb
cdqe
add rax, qword [0x140542ae0]
call qword [case.0x14013008b.0]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, qword [r15 + 0x70]
mov rdx, qword [r15 + 0x78]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140164e66
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140164f22
add rdx, 0x27
mov rcx, rax
lea rsi, [r15 + 0x70]
mov eax, dword [0x140542ad0]
add eax, ebx
add eax, 0x7cfb
cdqe
add rax, qword [0x140542ae0]
call qword [case.0x14013008b.0]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rax, qword [r15 + 0x60]
mov rcx, qword [rax + 8]
mov qword [rcx], 0
mov rcx, qword [rax]
test rcx, rcx
je 0x140164edc
nop dword [rax + rax]
mov rsi, qword [rcx]
mov eax, dword [0x140542ad0]
sub eax, ebx
add eax, 0x7cfb
cdqe
add rax, qword [0x140542ae0]
mov edx, 0x18
call qword [case.0x14013008b.0]
mov rcx, rsi
test rsi, rsi
jne 0x140164eb0
mov rcx, qword [r15 + 0x60]
mov eax, dword [0x140542ad0]
add eax, ebx
add eax, 0x7cfb
cdqe
add rax, qword [0x140542ae0]
mov edx, 0x18
call qword [case.0x14013008b.0]
add r15, 8
mov rcx, r15
call fcn.14041f574
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1403fe3cc
call fcn.1403fe3cc
call fcn.1403fe3cc
int3