Function at 0x140271b80
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 [0x1405a9908]
movzx ecx, byte [0x14055f878]
add cl, 0xd7
mov rsi, rax
shr rsi, cl
mov rdi, rdx
or esi, eax
mov eax, dword [0x1405aa8d8]
add eax, dword [0x1405a9d2c]
mov ecx, dword [0x1405ad230]
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 0x140272678
mov rdx, qword [0x1405aa8c8]
cmp qword [r12 + 0x20], 0x10
jb 0x140271c17
mov r9, qword [r12 + 8]
jmp 0x140271c1c
lea r9, [r12 + 8]
mov rax, qword [0x14055f878]
add rax, r14
cmp rdx, rax
je 0x140271edc
mov rax, qword [r12 + 0x18]
test rax, rax
je 0x140271edc
cmp qword [0x1405aa8d0], 0x10
jb 0x140271c50
mov rcx, qword [0x1405aa8b8]
jmp 0x140271c57
lea rcx, [0x1405aa8b8]
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 0x140271d1c
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 [0x14055f878]
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 0x140271d15
inc r8
jmp 0x140271ce0
mov rsi, qword [rbp + 0x108]
cmp rdx, 8
jb 0x140271db5
add rcx, rdx
nop dword [rax]
movzx edx, byte [0x1405aa968]
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 [0x14055f880]
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 0x140271d30
cmp byte [0x1405a9de8], 0
jne 0x140271dd4
movzx ecx, byte [rax + r9 - 1]
cmp byte [rbp + rcx - 0x50], 0
je 0x140271dd4
lea rcx, [rax + r9]
dec rcx
jmp 0x140271e2d
mov rcx, rax
cmp rcx, 1
je 0x140271edc
nop word cs:[rax + rax]
movzx edx, byte [r9 + rcx - 2]
movzx r8d, byte [0x1405a9620]
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 0x140271e26
dec rcx
cmp rcx, 1
jne 0x140271df0
jmp 0x140271edc
add rcx, r9
add rcx, 0xfffffffffffffffe
movsxd r15, dword [0x14046ff18]
mov r13d, dword [0x14046fee0]
sub rcx, r9
cmp rcx, 0xffffffffffffffff
je 0x140271edc
mov rdx, qword [0x14055f878]
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 [0x1405a9908]
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 0x140272087
mov eax, dword [0x14055e2e4]
add eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e300]
lea rcx, [rbp + 0xe0]
mov rdx, rdi
call qword [case.0x14013008b.0]
jmp 0x1402720a8
lea r14, [rbp - 0x48]
test rdi, rdi
lea rbx, [0x1404639f8]
cmovne rbx, rdi
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov eax, dword [0x14055e2d8]
or eax, esi
mov ecx, dword [0x14055f870]
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 [0x14055e328]
mov rcx, rbx
mov edx, 0x790a6c13
mov r8d, 0xdf64537d
call qword [case.0x14013008b.0]
mov rdi, rax
cmp rax, 0xf
jbe 0x140271f95
mov eax, dword [0x14055e2e4]
add eax, esi
mov ecx, dword [0x14055f870]
mov edx, ecx
xor edx, 0x4aefac7a
and ecx, 0x4aefac7a
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e300]
mov rcx, r14
mov rdx, rdi
mov r9, rbx
call qword [case.0x14013008b.0]
jmp 0x140271fac
mov qword [rbp - 0x38], rdi
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.140446180
mov byte [rbp + rdi - 0x48], 0
lea rax, [0x140464f58]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.14027cab0
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14027262d
mov rdx, qword [rbp - 0x48]
lea r9, [rax + 1]
movabs rcx, 0xf3133d3fd397f6b6
add rcx, qword [0x14055f878]
cmp r9, rcx
jbe 0x140272029
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 0x1402727ac
add rax, 0x28
mov r9, rax
mov rdx, rcx
jmp 0x140272030
mov r8, qword [rbp + 0x108]
xor r8d, dword [0x14055e2dc]
add r8d, 0xffff9666
movsxd rax, r8d
add rax, qword [0x14055e2f8]
mov r8d, dword [0x14055f870]
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 0x140272627
mov qword [rbp + 0xf0], rdi
lea rcx, [rbp + 0xe0]
mov rdx, r9
mov r8, rdi
call fcn.140446180
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 0x1402720cc
mov rbx, qword [rbp + 0xe0]
jmp 0x1402720d3
lea rbx, [rbp + 0xe0]
mov qword [rbp + 0xd8], r12
lea r10, [rbp + 0xb8]
cmp rsi, 0xf
ja 0x1402720f9
movups xmm0, xmmword [rbx]
movups xmmword [r10], xmm0
mov r12d, 0xf
jmp 0x1402721e8
mov rdi, r10
mov rax, qword [0x14055f878]
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 0x1402721b2
lea rcx, [r12 + 0x28]
call fcn.14041e25c
mov rcx, qword [0x14055f878]
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 0x1402721bf
lea rcx, [r12 + 1]
call fcn.14041e25c
mov rcx, rax
mov qword [rbp + 0xb8], rcx
mov rax, rsi
sub rax, qword [0x14055f878]
movabs r8, 0xcecc2c02c68194a
add r8, rax
mov rdx, rbx
call fcn.140446180
mov r10, rdi
mov qword [rbp + 0xc8], rsi
mov ebx, dword [0x14055df70]
lea r9d, [rbx + 1]
mov dword [0x14055df70], r9d
test ebx, r9d
jne 0x14027222c
mov eax, dword [0x1405aa964]
mov eax, 0x4aefac7a
mov ecx, dword [0x14055f870]
add ecx, eax
mov edx, dword [0x1405aa964]
cmp edx, 0x3f
jg 0x140272210
cmp ecx, r13d
jl 0x140272644
xor edi, edi
cmp r12, 0x10
jb 0x14027223b
mov r10, qword [rbp + 0xb8]
mov qword [rbp + 0xd0], r12
lea rax, [0x140463118]
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
cmp rsi, 0x10
mov dword [rbp + 0x104], r9d
jae 0x14027227e
lea rax, [rbp - 0x48]
movups xmm0, xmmword [r10]
movups xmmword [rax], xmm0
mov r15d, 0xf
mov r12, qword [rbp + 0xd8]
jmp 0x1402722ef
mov r13, r10
mov r15, qword [0x14055f878]
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 0x1402722d3
lea rcx, [r15 + 0x28]
call fcn.14041e25c
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x1402722df
lea rcx, [r15 + 1]
call fcn.14041e25c
mov rcx, rax
mov qword [rbp - 0x48], rcx
lea r8, [rsi + 1]
mov rdx, r13
call fcn.140446180
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r15
lea rax, [0x140464f58]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.14027cab0
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
mov rsi, qword [rbp + 0x108]
jb 0x1402723e6
mov rdx, qword [rbp - 0x48]
lea rcx, [rax + 1]
mov r8, qword [0x1405a9968]
mov r9, r8
xor r9, rcx
and r8, rcx
lea r9, [r9 + r8*2]
mov rcx, qword [0x14055f878]
movabs r8, 0xf3133d3fd397f6b6
xor r8, rcx
movabs r10, 0x73133d3fd397f6b6
and r10, rcx
lea rcx, [r8 + r10*2]
cmp r9, rcx
jbe 0x1402723af
mov rcx, qword [rdx - 8]
sub rdx, rcx
add rdx, 0xfffffffffffffff8
cmp rdx, 0x20
jae 0x1402727b1
mov rdx, qword [0x14055f878]
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 [0x14055e2dc]
or eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e2f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
mov ecx, 1
mov r8d, 1
call qword [case.0x14013008b.0]
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
movzx ecx, byte [0x14055f880]
lea eax, [rcx + 0x4e]
mov byte [rbp - 0x48], al
mov rax, qword [rbp + 0xd0]
and ebx, dword [rbp + 0x104]
movzx edx, byte [0x14046ff1c]
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 [0x1405aa964]
nop word [rax + rax]
movzx edx, byte [0x14055f880]
mov r8d, dword [0x1405aa960]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
jne 0x140272440
add dl, 0x4d
xor cl, dl
movzx edx, cl
mov r8d, 0x4aefacd8
nop word [rax + rax]
add qword [0x1405a9968], rdx
mov ecx, dword [0x1405aa964]
mov r9d, dword [0x14055f870]
add r9d, r8d
cmp ecx, r9d
jl 0x1402724db
nop dword [rax]
mov r9, qword [0x1405a9968]
sub r9, rdx
imul r9, rdx
mov rcx, r9
sub rcx, rdx
imul rcx, rdx
shl r9, cl
mov r10, qword [0x14055f878]
sub r10, r9
add rcx, rcx
add rcx, r14
add rcx, r10
mov qword [0x1405a9968], rcx
mov ecx, dword [0x1405aa960]
lea r9d, [rcx + 1]
imul r9d, ecx
test r9b, 1
jne 0x140272490
jmp 0x140272470
cmp rax, 0xf
jbe 0x14027257f
mov rdx, qword [rbp + 0xb8]
lea r9, [rax + 1]
movabs rcx, 0xf3133d3fd397f6b6
add rcx, qword [0x14055f878]
cmp r9, rcx
jbe 0x140272548
mov rcx, qword [rdx - 8]
mov r8, qword [0x14055f878]
add rdx, r8
sub rdx, rcx
movabs r9, 0xe6267a7fa72fcd66
add r9, r8
add r9, rdx
cmp r9, 0x20
jae 0x1402727b6
add rax, qword [0x14055f878]
movabs r9, 0xf3133d3fd397e6df
add r9, rax
mov rdx, rcx
mov eax, dword [0x14055e2dc]
or eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e2f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
mov ecx, 1
mov r8d, 1
call qword [case.0x14013008b.0]
mov rax, qword [rbp + 0xf8]
movabs rcx, 0xf3133d3fd397e6c6
add rcx, qword [0x14055f878]
cmp rax, rcx
jbe 0x14027262d
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [0x14055f878]
add rcx, rax
movabs r9, 0xf3133d3fd397e6b8
add r9, rcx
cmp r9, 0x1000
jb 0x1402725f6
mov rcx, qword [rdx - 8]
sub rdx, rcx
add rdx, 0xfffffffffffffff8
movabs r8, 0xf3133d3fd397e6d7
add r8, qword [0x14055f878]
cmp rdx, r8
jae 0x1402727bb
add rax, 0x28
mov r9, rax
mov rdx, rcx
or esi, dword [0x14055e2dc]
add esi, 0xffff9666
movsxd rax, esi
add rax, qword [0x14055e2f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
mov ecx, 1
mov r8d, 1
call qword [case.0x14013008b.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, [0x14046ff18]
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 0x14027222e
inc rax
jmp 0x140272650
mov eax, dword [0x14055e2dc]
add eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e2f8]
mov edx, dword [0x14055f870]
lea ecx, [rdx + 0x4aefac7b]
lea r8d, [rdx + 0x4aefac7a]
mov r9, qword [0x14055f878]
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, [0x1405aa8d8]
call qword [case.0x14013008b.0]
cmp dword [0x1405aa8d8], 0xffffffff
jne 0x140271c01
mov eax, dword [0x14055e2e0]
sub eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e308]
mov ecx, 1
mov edx, 1
mov r8d, 0xe78790e
mov r9d, 0xafad0773
call qword [case.0x14013008b.0]
lea rcx, [0x1405aa8b0]
mov rdx, rax
call fcn.1400ad430
mov eax, dword [0x14055e2e8]
mov rsi, qword [rbp + 0x108]
add eax, esi
mov r8d, dword [0x14055f870]
add eax, r8d
add eax, 0x4aef42e0
cdqe
add rax, qword [0x14055e320]
lea edx, [r8 + 0x66b0b28d]
add r8d, 0xef51ba97
lea rcx, [0x14026b490]
call qword [case.0x14013008b.0]
mov eax, dword [0x14055e2dc]
add eax, esi
add eax, 0xffff9666
cdqe
add rax, qword [0x14055e2f8]
mov dword [rsp + 0x28], 0x21d15831
mov dword [rsp + 0x20], 0x402900ad
lea rdx, [0x1405aa8d8]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [case.0x14013008b.0]
jmp 0x140271c01
call fcn.1403fe3cc
call fcn.1403fe3cc
call fcn.1403fe3cc
call fcn.1403fe3cc
int3