Function at 0x140268720
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x110], 0xfffffffffffffffe
mov r12, rcx
mov rax, qword [0x14058ee78]
movzx ecx, byte [0x140546e78]
add cl, 0xd7
mov rsi, rax
shr rsi, cl
mov rdi, rdx
or esi, eax
mov eax, dword [0x14058fcf0]
add eax, dword [0x14058fd84]
mov ecx, dword [0x140592644]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movabs r14, 0xf3133d3fd397e6b7
cmp eax, dword [rcx + 0x26838]
mov qword [rbp + 0x108], rsi
jg 0x140269218
mov rdx, qword [0x14058fce0]
cmp qword [r12 + 0x20], 0x10
jb 0x1402687b7
mov r9, qword [r12 + 8]
jmp 0x1402687bc
lea r9, [r12 + 8]
mov rax, qword [0x140546e78]
add rax, r14
cmp rdx, rax
je 0x140268a7c
mov rax, qword [r12 + 0x18]
test rax, rax
je 0x140268a7c
cmp qword [0x14058fce8], 0x10
jb 0x1402687f0
mov rcx, qword [0x14058fcd0]
jmp 0x1402687f7
lea rcx, [0x14058fcd0]
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 r10, rdx
not r10
mov r8d, r10d
and r8d, 7
mov r11, rdx
and r11, 0xfffffffffffffff8
or r11, r8
and r10, 0xfffffffffffffff8
or r10, r11
xor r10, 0xffffffffffffffff
mov r8, rcx
je 0x1402688bc
lea r8, [rcx + 1]
xor r11d, r11d
movabs rsi, 0xf3133d3fd397e6b8
nop dword [rax + rax]
movzx ebx, byte [r8 - 1]
mov byte [rbp + rbx - 0x50], 1
mov rbx, qword [0x140546e78]
add rbx, rsi
mov r15, rbx
xor r15, rbx
not r15
and r15, r11
xor r15, rbx
and r11d, 1
lea r11, [r15 + r11*2]
cmp r11, r10
je 0x1402688b5
inc r8
jmp 0x140268880
mov rsi, qword [rbp + 0x108]
cmp rdx, 8
jb 0x140268955
add rcx, rdx
nop dword [rax]
movzx edx, byte [0x14058fd81]
movzx r10d, byte [r8]
xor r10b, dl
mov r11d, r10d
not r11b
and r11b, dl
add r11b, r11b
add r11b, r10b
movzx edx, r11b
movzx r10d, byte [0x140546e80]
add r10b, 0x4f
mov byte [rbp + rdx - 0x50], r10b
movzx edx, byte [r8 + 1]
mov byte [rbp + rdx - 0x50], 1
movzx edx, byte [r8 + 2]
mov byte [rbp + rdx - 0x50], 1
movzx edx, byte [r8 + 3]
mov byte [rbp + rdx - 0x50], 1
movzx edx, byte [r8 + 4]
mov byte [rbp + rdx - 0x50], 1
movzx edx, byte [r8 + 5]
mov byte [rbp + rdx - 0x50], 1
movzx edx, byte [r8 + 6]
mov byte [rbp + rdx - 0x50], 1
movzx edx, byte [r8 + 7]
mov byte [rbp + rdx - 0x50], 1
add r8, 8
cmp r8, rcx
jne 0x1402688d0
cmp byte [0x14058ee88], 0
jne 0x140268974
movzx ecx, byte [rax + r9 - 1]
cmp byte [rbp + rcx - 0x50], 0
je 0x140268974
lea rcx, [rax + r9]
dec rcx
jmp 0x1402689cd
mov rcx, rax
cmp rcx, 1
je 0x140268a7c
nop word cs:[rax + rax]
movzx edx, byte [r9 + rcx - 2]
movzx r8d, byte [0x14058fd80]
mov r10d, r8d
xor r10b, dl
and r8b, dl
add r8b, r8b
add r8b, r10b
movzx edx, r8b
cmp byte [rbp + rdx - 0x50], 0
jne 0x1402689c6
dec rcx
cmp rcx, 1
jne 0x140268990
jmp 0x140268a7c
add rcx, r9
add rcx, 0xfffffffffffffffe
movsxd r15, dword [0x140459af8]
mov r13d, dword [0x140459ac0]
sub rcx, r9
cmp rcx, 0xffffffffffffffff
je 0x140268a7c
mov rdx, qword [0x140546e78]
lea r8, [rdx + r14]
mov qword [rbp + 0xf0], r8
movabs r8, 0xf3133d3fd397e6c6
add rdx, r8
mov qword [rbp + 0xf8], rdx
mov byte [rbp + 0xe0], 0
cmp rax, rcx
cmovb rcx, rax
add rcx, qword [0x14058ee78]
movabs rax, 0xd339a417a1d06d53
add rax, rcx
movabs rcx, 0x2cc65be85e2f92ad
mov rdx, rax
xor rdx, rcx
and rax, rcx
lea rdi, [rdx + rax*2]
cmp rdi, 0xf
jbe 0x140268c27
mov eax, dword [0x1405458e4]
add eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x140545900]
lea rcx, [rbp + 0xe0]
mov rdx, rdi
call qword [case.0x1401460cb.0]
jmp 0x140268c48
lea r14, [rbp - 0x48]
test rdi, rdi
lea rbx, [0x14044d1a8]
cmovne rbx, rdi
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov eax, dword [0x1405458d8]
or eax, esi
mov ecx, dword [0x140546e70]
mov edx, ecx
xor edx, 0x4af01614
mov r8d, ecx
and r8d, 0x4af01614
lea edx, [rdx + r8*2]
sub eax, edx
add eax, ecx
add eax, 0x4aefac7a
cdqe
add rax, qword [0x140545928]
mov rcx, rbx
mov edx, 0x790a6c13
mov r8d, 0xdf64537d
call qword [case.0x1401460cb.0]
mov rdi, rax
cmp rax, 0xf
jbe 0x140268b35
mov eax, dword [0x1405458e4]
add eax, esi
mov ecx, dword [0x140546e70]
mov edx, ecx
xor edx, 0x4aefac7a
and ecx, 0x4aefac7a
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0xffff9666
cdqe
add rax, qword [0x140545900]
mov rcx, r14
mov rdx, rdi
mov r9, rbx
call qword [case.0x1401460cb.0]
jmp 0x140268b4c
mov qword [rbp - 0x38], rdi
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.140430670
mov byte [rbp + rdi - 0x48], 0
lea rax, [0x14044e708]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1402724f0
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x1402691cd
mov rdx, qword [rbp - 0x48]
lea r9, [rax + 1]
movabs rcx, 0xf3133d3fd397f6b6
add rcx, qword [0x140546e78]
cmp r9, rcx
jbe 0x140268bc9
mov rcx, qword [rdx - 8]
mov r8, rdx
xor r8, 0xfffffffffffffff8
not edx
and edx, 7
or rdx, r8
not rdx
lea rdx, [r8 + rdx*2]
sub rdx, rcx
cmp rdx, 0x20
mov r8, qword [rbp + 0x108]
jae 0x14026934c
add rax, 0x28
mov r9, rax
mov rdx, rcx
jmp 0x140268bd0
mov r8, qword [rbp + 0x108]
xor r8d, dword [0x1405458dc]
add r8d, 0xffff9666
movsxd rax, r8d
add rax, qword [0x1405458f8]
mov r8d, dword [0x140546e70]
lea ecx, [r8 + 0x4aefac7b]
mov r10d, r8d
xor r10d, 0x8b18ad27
mov r11d, r8d
and r11d, 0xb18ad27
lea r10d, [r10 + r11*2]
add r8d, 0x6cc104ab
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
mov r8d, ecx
jmp 0x1402691c7
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xe0]
mov rdx, r9
mov r8, rdi
call fcn.140430670
mov byte [rbp + rdi + 0xe0], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov rsi, qword [rbp + 0xf0]
cmp qword [rbp + 0xf8], 0x10
jb 0x140268c6c
mov rbx, qword [rbp + 0xe0]
jmp 0x140268c73
lea rbx, [rbp + 0xe0]
mov qword [rbp + 0xd8], r12
lea r10, [rbp + 0xb8]
cmp rsi, 0xf
ja 0x140268c99
movups xmm0, xmmword [rbx]
movups xmmword [r10], xmm0
mov r12d, 0xf
jmp 0x140268d88
mov rdi, r10
mov rax, qword [0x140546e78]
movabs rcx, 0xf3133d3fd397e6c6
add rax, rcx
mov rcx, rsi
not rcx
mov rdx, rsi
xor rdx, rax
not rax
and rax, rcx
or rax, rdx
not rax
mov r12, rsi
xor r12, 0xf
or r12, rax
movabs rax, 0x7fffffffffffffff
cmp r12, rax
cmovae r12, rax
cmp r12, 0xfff
jb 0x140268d52
lea rcx, [r12 + 0x28]
call fcn.140408a7c
mov rcx, qword [0x140546e78]
movabs rdx, 0xf3133d3fd397e6de
xor rdx, rcx
movabs r8, 0x73133d3fd397e6de
and r8, rcx
lea rcx, [rdx + r8*2]
xor rcx, rax
movabs rdx, 0x7fffffffffffffd8
xor rdx, rax
and rdx, rax
lea rcx, [rcx + rdx*2]
mov rdx, rcx
not rdx
mov r8, rcx
xor r8, 0xffffffffffffffe0
xor rcx, 0x1f
and rcx, rdx
or rcx, r8
not rcx
mov qword [rcx - 8], rax
jmp 0x140268d5f
lea rcx, [r12 + 1]
call fcn.140408a7c
mov rcx, rax
mov qword [rbp + 0xb8], rcx
mov rax, rsi
sub rax, qword [0x140546e78]
movabs r8, 0xcecc2c02c68194a
add r8, rax
mov rdx, rbx
call fcn.140430670
mov r10, rdi
mov qword [rbp + 0xc8], rsi
mov ebx, dword [0x140545570]
lea r9d, [rbx + 1]
mov dword [0x140545570], r9d
test ebx, r9d
jne 0x140268dcc
mov eax, dword [0x14058fd7c]
mov eax, 0x4aefac7a
mov ecx, dword [0x140546e70]
add ecx, eax
mov edx, dword [0x14058fd7c]
cmp edx, 0x3f
jg 0x140268db0
cmp ecx, r13d
jl 0x1402691e4
xor edi, edi
cmp r12, 0x10
jb 0x140268ddb
mov r10, qword [rbp + 0xb8]
mov qword [rbp + 0xd0], r12
lea rax, [0x14044c8c8]
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
cmp rsi, 0x10
mov dword [rbp + 0x104], r9d
jae 0x140268e1e
lea rax, [rbp - 0x48]
movups xmm0, xmmword [r10]
movups xmmword [rax], xmm0
mov r15d, 0xf
mov r12, qword [rbp + 0xd8]
jmp 0x140268e8f
mov r13, r10
mov r15, qword [0x140546e78]
movabs rax, 0xf3133d3fd397e6c6
add r15, rax
or r15, rsi
movabs rax, 0x7fffffffffffffff
cmp r15, rax
cmovae r15, rax
cmp r15, 0xfff
mov r12, qword [rbp + 0xd8]
jb 0x140268e73
lea rcx, [r15 + 0x28]
call fcn.140408a7c
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140268e7f
lea rcx, [r15 + 1]
call fcn.140408a7c
mov rcx, rax
mov qword [rbp - 0x48], rcx
lea r8, [rsi + 1]
mov rdx, r13
call fcn.140430670
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r15
lea rax, [0x14044e708]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1402724f0
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
mov rsi, qword [rbp + 0x108]
jb 0x140268f86
mov rdx, qword [rbp - 0x48]
lea rcx, [rax + 1]
mov r8, qword [0x14058eed8]
mov r9, r8
xor r9, rcx
and r8, rcx
lea r9, [r9 + r8*2]
mov rcx, qword [0x140546e78]
movabs r8, 0xf3133d3fd397f6b6
xor r8, rcx
movabs r10, 0x73133d3fd397f6b6
and r10, rcx
lea rcx, [r8 + r10*2]
cmp r9, rcx
jbe 0x140268f4f
mov rcx, qword [rdx - 8]
sub rdx, rcx
add rdx, 0xfffffffffffffff8
cmp rdx, 0x20
jae 0x140269351
mov rdx, qword [0x140546e78]
movabs r8, 0xf3133d3fd397e6df
add r8, rdx
xor r8, rax
and eax, 0x28
movabs r9, 0xf3133d3fd397e6b9
add r9, rdx
imul r9, rax
add r9, r8
mov rdx, rcx
mov eax, dword [0x1405458dc]
or eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x1405458f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
mov ecx, 1
mov r8d, 1
call qword [case.0x1401460cb.0]
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
movzx ecx, byte [0x140546e80]
lea eax, [rcx + 0x4e]
mov byte [rbp - 0x48], al
mov rax, qword [rbp + 0xd0]
and ebx, dword [rbp + 0x104]
movzx edx, byte [0x140459afc]
xor r8d, r8d
cmp ebx, 1
sbb r8d, r8d
sub dl, dil
add cl, 0x4d
xor cl, dl
xor dl, r8b
not cl
or cl, r8b
not cl
or cl, dl
mov edx, dword [0x14058fd7c]
nop word [rax + rax]
movzx edx, byte [0x140546e80]
mov r8d, dword [0x14058fd78]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
jne 0x140268fe0
add dl, 0x4d
xor cl, dl
movzx edx, cl
mov r8d, 0x4aefacd8
nop word [rax + rax]
add qword [0x14058eed8], rdx
mov ecx, dword [0x14058fd7c]
mov r9d, dword [0x140546e70]
add r9d, r8d
cmp ecx, r9d
jl 0x14026907b
nop dword [rax]
mov r9, qword [0x14058eed8]
sub r9, rdx
imul r9, rdx
mov rcx, r9
sub rcx, rdx
imul rcx, rdx
shl r9, cl
mov r10, qword [0x140546e78]
sub r10, r9
add rcx, rcx
add rcx, r14
add rcx, r10
mov qword [0x14058eed8], rcx
mov ecx, dword [0x14058fd78]
lea r9d, [rcx + 1]
imul r9d, ecx
test r9b, 1
jne 0x140269030
jmp 0x140269010
cmp rax, 0xf
jbe 0x14026911f
mov rdx, qword [rbp + 0xb8]
lea r9, [rax + 1]
movabs rcx, 0xf3133d3fd397f6b6
add rcx, qword [0x140546e78]
cmp r9, rcx
jbe 0x1402690e8
mov rcx, qword [rdx - 8]
mov r8, qword [0x140546e78]
add rdx, r8
sub rdx, rcx
movabs r9, 0xe6267a7fa72fcd66
add r9, r8
add r9, rdx
cmp r9, 0x20
jae 0x140269356
add rax, qword [0x140546e78]
movabs r9, 0xf3133d3fd397e6df
add r9, rax
mov rdx, rcx
mov eax, dword [0x1405458dc]
or eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x1405458f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
mov ecx, 1
mov r8d, 1
call qword [case.0x1401460cb.0]
mov rax, qword [rbp + 0xf8]
movabs rcx, 0xf3133d3fd397e6c6
add rcx, qword [0x140546e78]
cmp rax, rcx
jbe 0x1402691cd
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [0x140546e78]
add rcx, rax
movabs r9, 0xf3133d3fd397e6b8
add r9, rcx
cmp r9, 0x1000
jb 0x140269196
mov rcx, qword [rdx - 8]
sub rdx, rcx
add rdx, 0xfffffffffffffff8
movabs r8, 0xf3133d3fd397e6d7
add r8, qword [0x140546e78]
cmp rdx, r8
jae 0x14026935b
add rax, 0x28
mov r9, rax
mov rdx, rcx
or esi, dword [0x1405458dc]
add esi, 0xffff9666
movsxd rax, esi
add rax, qword [0x1405458f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
mov ecx, 1
mov r8d, 1
call qword [case.0x1401460cb.0]
mov rax, r12
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
lea rcx, [0x140459af8]
xor edi, edi
nop
lea rdx, [r15 + rax]
movzx edx, byte [rcx + rdx]
mov r8d, edx
xor r8b, dl
not r8b
and dil, r8b
xor dil, dl
lea edx, [rax + 1]
cmp edx, r13d
jge 0x140268dce
inc rax
jmp 0x1402691f0
mov eax, dword [0x1405458dc]
add eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x1405458f8]
mov edx, dword [0x140546e70]
lea ecx, [rdx + 0x4aefac7b]
lea r8d, [rdx + 0x4aefac7a]
mov r9, qword [0x140546e78]
add r9, r14
lea r10d, [rdx - 0x74e752d9]
mov r11d, edx
xor r11d, 0x6cc104ab
and edx, 0x6cc104ab
lea edx, [r11 + rdx*2]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, [0x14058fcf0]
call qword [case.0x1401460cb.0]
cmp dword [0x14058fcf0], 0xffffffff
jne 0x1402687a1
mov eax, dword [0x1405458e0]
sub eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x140545908]
mov ecx, 1
mov edx, 1
mov r8d, 0xe78790e
mov r9d, 0xafad0773
call qword [case.0x1401460cb.0]
lea rcx, [0x14058fcc8]
mov rdx, rax
call fcn.1400b0860
mov eax, dword [0x1405458e8]
mov rsi, qword [rbp + 0x108]
add eax, esi
mov r8d, dword [0x140546e70]
add eax, r8d
add eax, 0x4aef42e0
cdqe
add rax, qword [0x140545920]
lea edx, [r8 + 0x66b0b28d]
add r8d, 0xef51ba97
lea rcx, [0x140262030]
call qword [case.0x1401460cb.0]
mov eax, dword [0x1405458dc]
add eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x1405458f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
lea rdx, [0x14058fcf0]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [case.0x1401460cb.0]
jmp 0x1402687a1
call fcn.1403e88ec
call fcn.1403e88ec
call fcn.1403e88ec
call fcn.1403e88ec
int3