Function at 0x14023b410
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov eax, dword [0x1405651a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14023b493
lea rdi, [rbp + 0xc0]
lea r14, [rbx + 8]
mov r12, qword [rbx + 0x18]
movabs r15, 0xda76e847ae2b0bc1
mov rax, qword [0x140524848]
add rax, r15
cmp qword [rbx + 0x20], rax
jbe 0x14023b47a
mov r14, qword [rbx + 8]
mov eax, dword [0x140524840]
mov ecx, eax
xor ecx, 0x67f36fcf
and eax, 0x67f36fcf
add eax, eax
add eax, ecx
je 0x14023b4b2
mov ecx, 0x1d
call fcn.1403c3d24
mov qword [0x140565198], rax
lea rcx, [0x140243240]
call fcn.1403e45e0
jmp 0x14023b44d
cmp r12, 0xf
ja 0x14023b4ca
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
mov r13d, 0xf
jmp 0x14023b670
mov r13, r12
or r13, 0xf
movabs rax, 0x7fffffffffffffff
cmp r13, rax
cmovae r13, rax
cmp r13, 0xffe
jbe 0x14023b556
mov eax, 0xa2ed
add eax, dword [0x1405233b0]
lea rcx, [r13 + 0x28]
cdqe
add rax, qword [0x1405233f8]
mov edx, 0x9f539cec
mov r8d, 0x9cd7b534
call qword [0x1404ee420]
mov rdx, qword [0x140524848]
movabs r8, 0xda76e847ae2b0bd9
add r8, rdx
add r8, rax
movabs rcx, 0xda76e847ae2b0b92
add rcx, rdx
mov rdx, r8
not rdx
xor r8, rcx
not rcx
and rcx, rdx
or rcx, r8
not rcx
mov qword [rcx - 8], rax
jmp 0x14023b64a
mov qword [rbp + 0xb0], r13
add r13, r13
mov ecx, dword [0x1405651a0]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, dword [0x140524840]
mov edx, 0x67f36fd1
add ecx, edx
xor edx, edx
div ecx
test edx, edx
je 0x14023b60f
mov rax, qword [0x140524848]
mov rcx, rax
movabs rdx, 0xda76e847ae2b0bb3
xor rcx, rdx
movabs rdx, 0x5a76e847ae2b0bb3
and rax, rdx
lea rax, [rcx + rax*2]
mov rdx, r13
sub rdx, rax
mov rax, rdx
neg rax
mov rcx, rax
xor rcx, 1
and eax, 1
lea rcx, [rcx + rax*2]
mov rax, rcx
sub rax, rdx
mov rdx, rax
shl rdx, cl
add rdx, rax
mov eax, dword [0x1405233b0]
mov ecx, 0xa2ed
add eax, ecx
cdqe
add rax, qword [0x1405233f8]
mov rcx, rdx
mov edx, 0x9f539cec
mov r8d, 0x9cd7b534
call qword [0x1404ee420]
mov eax, dword [0x1405651a4]
cmp eax, 0x4d
jge 0x14023b560
mov r13, qword [rbp + 0xb0]
lea rcx, [r13 + 1]
mov eax, dword [0x1405233b0]
mov edx, dword [0x140524840]
add eax, edx
add eax, 0x67f412bc
cdqe
add rax, qword [0x1405233f8]
mov edx, 0x9f539cec
mov r8d, 0x9cd7b534
call qword [0x1404ee420]
mov rcx, rax
mov qword [rbp + 0xc0], rcx
mov r8, qword [0x140524848]
add r8, r12
movabs rax, 0xda76e847ae2b0bb3
add r8, rax
mov rdx, r14
call fcn.14040bf30
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], r13
lea r12, [0x140428958]
mov qword [rbp + 0xb8], r12
mov r13, qword [rbx + 0x18]
lea rcx, [rbp + 0xb8]
call fcn.140238c80
mov eax, dword [0x1405651a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14023b6bb
nop dword [rax]
mov eax, dword [0x1405651a4]
cmp eax, 0x30
jge 0x14023b6b0
mov eax, dword [0x140565110]
add eax, dword [0x140563d08]
mov ecx, dword [0x140567a90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movabs rbx, 0xda76e847ae2b0bb2
cmp eax, dword [rcx + 0x26838]
jg 0x14023b9ff
mov r10, qword [0x140565100]
mov rcx, qword [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
mov rax, qword [rbp + 0xd0]
mov r9, rdi
cmovae r9, rcx
add rbx, qword [0x140524848]
mov rdx, 0xffffffffffffffff
cmp r10, rbx
je 0x14023b8f9
test rax, rax
je 0x14023b8f9
cmp qword [0x140565108], 0x10
jb 0x14023b747
mov r8, qword [0x1405650f0]
jmp 0x14023b74e
lea r8, [0x1405650f0]
xorps xmm0, xmm0
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0x90], xmm0
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov rbx, r10
mov r11, r8
and rbx, 7
je 0x14023b7c6
lea r11, [r8 + 1]
dec rbx
nop dword [rax]
movzx r14d, byte [r11 - 1]
mov byte [rbp + r14 - 0x50], 1
sub rbx, 1
jb 0x14023b7c6
inc r11
jmp 0x14023b7b0
cmp r10, 8
jb 0x14023b830
add r8, r10
nop
movzx r10d, byte [r11]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 1]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 2]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 3]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 4]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 5]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 6]
mov byte [rbp + r10 - 0x50], 1
movzx r10d, byte [r11 + 7]
mov byte [rbp + r10 - 0x50], 1
add r11, 8
cmp r11, r8
jne 0x14023b7d0
movabs r8, 0xda76e847ae2b0bb1
add r8, qword [0x140524848]
mov r10, rax
xor r10, r8
and r8, rax
lea r8, [r10 + r8*2]
movzx r10d, byte [r9 + r8]
cmp byte [rbp + r10 - 0x50], 0
je 0x14023b88c
add r8, r9
mov rdx, r8
jmp 0x14023b8f6
movzx r10d, byte [r9 + r8 - 1]
movzx r11d, byte [0x140524850]
add r11b, 0x4a
cmp byte [rbp + r10 - 0x50], r11b
jne 0x14023b8ef
dec r8
test r8, r8
jne 0x14023b870
jmp 0x14023b8ad
mov r8d, dword [0x1405651a4]
cmp r8d, 0xc
jl 0x14023b8d2
mov r8d, dword [0x1405651a0]
mov r10d, dword [0x140524840]
neg r10d
add r10d, r8d
add r10d, 0x980c9030
imul r10d, r8d
test r10b, 1
jne 0x14023b8a0
mov r8d, dword [0x1405651a0]
mov r10d, dword [0x140524840]
add r10d, r8d
imul r10d, r8d
test r10b, 1
jne 0x14023b8a0
jmp 0x14023b8f9
lea rdx, [r9 + r8]
dec rdx
sub rdx, r9
test r13, r13
je 0x14023b937
xor edi, edi
cmp rdx, 0xffffffffffffffff
cmovne rdi, rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
cmp rax, rdi
cmovb rdi, rax
cmp rdi, 0xf
jbe 0x14023b96d
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.140088500
jmp 0x14023b985
lea r15, [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rsi + 0x18], xmm0
cmp qword [rbp + 0xd8], 0x10
mov rbx, qword [rbp + 0xd0]
cmovae rdi, rcx
cmp rbx, 0xf
ja 0x14023b999
movups xmm0, xmmword [rdi]
movups xmmword [r15], xmm0
mov r14d, 0xf
jmp 0x14023b9ef
mov qword [rbp - 0x40], rdi
lea rcx, [rbp - 0x50]
mov rdx, r9
mov r8, rdi
call fcn.14040bf30
mov byte [rbp + rdi - 0x50], 0
mov eax, dword [0x1405651a4]
cmp eax, 0x46
jle 0x14023bc38
jmp 0x14023bcaa
mov r14, rbx
or r14, 0xf
movabs rax, 0x7fffffffffffffff
cmp r14, rax
cmovae r14, rax
cmp r14, 0xfff
jb 0x14023b9d4
lea rcx, [r14 + 0x28]
call fcn.1403e3fbc
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14023b9e0
lea rcx, [r14 + 1]
call fcn.1403e3fbc
mov rcx, rax
mov qword [r15], rcx
lea r8, [rbx + 1]
mov rdx, rdi
call fcn.14040bf30
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], r14
mov qword [rsi], r12
jmp 0x14023bdcd
mov eax, dword [0x1405651a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14023ba70
mov eax, dword [0x1405233bc]
mov ecx, dword [0x140524840]
add eax, ecx
add eax, 0x67f412bc
cdqe
add rax, qword [0x1405233f0]
mov dword [rsp + 0x28], 0x4ec226c8
mov dword [rsp + 0x20], 0x24a31183
lea r8, [0x140565110]
xor ecx, ecx
mov edx, 1
xor r9d, r9d
call qword [0x1404ee420]
mov eax, dword [0x140565110]
add eax, dword [0x14056447c]
mov ecx, dword [0x1405651a0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x14023bab0
mov eax, 0xa2ed
add eax, dword [0x1405233bc]
cdqe
add rax, qword [0x1405233f0]
mov dword [rsp + 0x28], 0x4ec226c8
mov dword [rsp + 0x20], 0x24a31183
lea r8, [0x140565110]
xor ecx, ecx
mov edx, 1
xor r9d, r9d
call qword [0x1404ee420]
jmp 0x14023ba10
cmp eax, 0xffffffff
jne 0x14023b6f0
mov ecx, 0xa2ed
mov eax, dword [0x1405233a4]
add eax, ecx
cdqe
add rax, qword [0x1405233e0]
xor ecx, ecx
xor edx, edx
mov r8d, 0xa4dc94d
mov r9d, 0xb28e4aa9
call qword [0x1404ee420]
lea rcx, [0x1405650e8]
mov rdx, rax
call fcn.1400aea80
mov eax, dword [0x1405651a4]
cmp eax, 0x62
jle 0x14023bb04
jmp 0x14023bbb6
mov r14d, 0xa2ed
mov eax, dword [0x1405233b8]
add eax, r14d
cdqe
add rax, qword [0x1405233c0]
mov r8d, dword [0x140524840]
lea edx, [r8 + 0x7c076ffc]
add r8d, 0x1f4328f9
lea rcx, [0x1402385f0]
call qword [0x1404ee420]
add r14d, dword [0x1405233bc]
movsxd rax, r14d
add rax, qword [0x1405233f0]
mov r8d, dword [0x140524840]
lea ecx, [r8 + 0x67f36fd0]
lea edx, [r8 + 0x67f36fcf]
mov r9, qword [0x140524848]
add r9, rbx
lea r10d, [r8 - 0x73697eae]
add r8d, 0xb6b59697
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
lea r8, [0x140565110]
call qword [0x1404ee420]
mov ecx, dword [0x1405651a0]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x67f36fd1
add ecx, dword [0x140524840]
xor edx, edx
div ecx
test edx, edx
je 0x14023b6f0
lea r14, [0x140565110]
mov eax, dword [0x1405233b8]
mov ecx, 0xa2ed
add eax, ecx
cdqe
add rax, qword [0x1405233c0]
lea rcx, [0x1402385f0]
mov edx, 0x1414002d
mov r8d, 0xb74fb92a
call qword [0x1404ee420]
mov eax, dword [0x1405233bc]
sub eax, dword [0x140524840]
add eax, 0x980d331e
cdqe
add rax, qword [0x1405233f0]
mov dword [rsp + 0x28], 0x4ec226c8
mov dword [rsp + 0x20], 0x24a31183
mov ecx, 1
xor edx, edx
mov r8, r14
xor r9d, r9d
call qword [0x1404ee420]
mov eax, dword [0x1405651a4]
cmp eax, 0xe
jge 0x14023bbbd
jmp 0x14023bb04
cmp qword [rbp - 0x38], 0x10
lea rax, [rbp - 0x50]
jb 0x14023bc47
mov rax, qword [rbp - 0x50]
test rax, rax
lea rdi, [0x1404273f8]
cmovne rdi, rax
mov qword [rsi + 0x18], 0
mov qword [rsi + 0x20], 0xf
mov eax, 0xa2ed
add eax, dword [0x1405233b4]
mov byte [rsi + 8], 0
cdqe
add rax, qword [0x1405233c8]
mov rcx, rdi
mov edx, 0x7853c7eb
mov r8d, 0x3b6622
call qword [0x1404ee420]
mov rbx, rax
lea rax, [fcn.14023b410]
add eax, eax
add eax, 0xae0
mov ecx, eax
not ecx
test ecx, eax
je 0x14023bd0e
cmp qword [rbp - 0x38], 0x10
lea rax, [rbp - 0x50]
jb 0x14023bcb9
mov rax, qword [rbp - 0x50]
test rax, rax
lea rcx, [0x1404273f8]
cmovne rcx, rax
mov qword [rsi + 0x18], 0
mov qword [rsi + 0x20], 0xf
movzx eax, byte [0x140524850]
add al, 0x4a
mov edx, 0xa2ed
add edx, dword [0x1405233b4]
mov byte [rsi + 8], al
movsxd rax, edx
add rax, qword [0x1405233c8]
mov edx, 0x7853c7eb
mov r8d, 0x3b6622
call qword [0x1404ee420]
jmp 0x14023bc38
lea rcx, [rsi + 8]
mov rax, qword [0x140524848]
add rax, r15
cmp rbx, rax
jbe 0x14023bd2e
mov rdx, rbx
mov r9, rdi
call fcn.140088500
jmp 0x14023bd42
mov qword [rsi + 0x18], rbx
mov rdx, rdi
mov r8, rbx
call fcn.14040bf30
mov byte [rsi + rbx + 8], 0
mov qword [rsi], r12
mov rax, qword [rbp - 0x38]
add r15, qword [0x140524848]
cmp rax, r15
jbe 0x14023bdcd
mov r8, qword [rbp - 0x50]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x14023bd99
mov rcx, qword [r8 - 8]
mov rdx, r8
xor rdx, 0xfffffffffffffff8
movabs r9, 0x7ffffffffffffff8
and r9, r8
lea rdx, [rdx + r9*2]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14023beac
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, dword [0x1405233bc]
sub eax, dword [0x140524840]
add eax, 0x980d331e
cdqe
add rax, qword [0x1405233f0]
mov dword [rsp + 0x28], 0x4ec226c8
mov dword [rsp + 0x20], 0x24a31183
xor ecx, ecx
xor edx, edx
call qword [0x1404ee420]
mov eax, dword [0x1405651a4]
cmp eax, 0x41
nop word cs:[rax + rax]
mov rax, qword [0x1405651a8]
add rax, qword [rbp + 0xd8]
mov ecx, dword [0x1405651a0]
mov edx, dword [0x140524840]
mov r8d, ecx
sub r8d, edx
add r8d, 0x980c9030
imul r8d, ecx
and r8d, 1
mov ecx, edx
xor ecx, 0x67f36fcf
and edx, 0x67f36fcf
lea ecx, [rcx + rdx*2]
cmp r8d, ecx
jne 0x14023bde0
cmp rax, 0x10
jb 0x14023be90
mov r8, qword [rbp + 0xc0]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x14023be5a
mov rcx, qword [r8 - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x20
jae 0x14023bea7
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, dword [0x1405233bc]
mov ecx, dword [0x140524840]
add eax, ecx
add eax, 0x67f412bc
cdqe
add rax, qword [0x1405233f0]
mov dword [rsp + 0x28], 0x4ec226c8
mov dword [rsp + 0x20], 0x24a31183
xor ecx, ecx
xor edx, edx
call qword [0x1404ee420]
mov rax, rsi
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1403c3cac
mov eax, dword [0x1405651a0]
mov ecx, dword [0x140524840]
add ecx, eax
add ecx, 0x67f36fd0
imul ecx, eax
test cl, 1
je 0x14023beec
mov ecx, 0x67f36fd1
mov edx, dword [0x1405651a0]
lea eax, [rdx - 1]
imul eax, edx
mov r8d, dword [0x140524840]
add r8d, ecx
xor edx, edx
div r8d
test edx, edx
jne 0x14023becd
call fcn.1403c3cac
int3