Function at 0x140107ce0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x18], r8
mov qword [rbp], rdx
mov qword [rbp + 8], rcx
mov eax, 0x10
call fcn.1401c7680
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x10], rax
sub rsp, 0x20
call fcn.1401083ed
mov r8, qword [rbp + 0x18]
add rsp, 0x20
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 0
movabs rax, 0x883248a7c6160980
movabs rcx, 0x883248a7c6160980
xor rax, rcx
cmp r8, rax
jge 0x140107d71
mov rcx, qword [rbp + 0x18]
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
sub rsp, 0x20
call fcn.14000c8ac
add rsp, 0x20
jmp 0x1401083cc
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 8]
sub rsp, 0x20
call fcn.140108410
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 8], rcx
cmp byte [rax], 0
jne 0x1401083cc
mov rax, qword [rbp - 8]
mov rdx, qword [rax]
lea rcx, [rbp + 0x28]
xor r8d, r8d
sub rsp, 0x20
call fcn.14010b040
mov rax, qword [rbp + 0x20]
add rsp, 0x20
mov al, byte [rax]
mov cl, 0xc4
xor cl, 0xc4
cmp al, cl
jne 0x1401083cc
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 8]
add rcx, 8
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
mov rcx, qword [rbp]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
cmp rax, rcx
jle 0x140108278
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp + 0x10]
mov qword [rcx], 0
mov r9, rax
and r9, 0xffffffffffffffff
movabs rdx, 0xc8271cf828f1776b
movabs rcx, 0x37d8e307d70e8894
xor rdx, rcx
mov rcx, rax
or rcx, rdx
add r9, rcx
mov qword [rbp - 0x28], r9
mov rcx, r9
xor rcx, 0xffffffffffffffff
movabs rdx, 0xa4fcf7675cf56f62
and rcx, rdx
movabs r10, 0x555d5f1f6b81706c
movabs rdx, 0xf1a1a87837741f0e
xor r10, rdx
movabs rdx, 0xc7fd4791c5396e01
movabs r8, 0x3802b86e3ac691fe
xor rdx, r8
xor r10, rdx
and r9, r10
mov rdx, rax
xor rdx, 0xffffffffffffffff
movabs r8, 0x727763ab31f9ca15
movabs r11, 0xd68b94cc6d0ca577
xor r8, r11
and rdx, r8
mov r8, rax
and r8, r10
or rcx, r9
or rdx, r8
xor rcx, rdx
cmp rcx, 0
setl dl
cmp rax, 0
setg cl
xor eax, eax
xor al, 1
xor dl, al
mov al, cl
xor al, dl
and al, cl
test al, 1
jne 0x140107eca
jmp 0x140107edc
sub rsp, 0x20
call fcn.140008024
add rsp, 0x20
jmp 0x140108169
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
sar rcx, 1
mov qword [rbp - 0x30], rcx
cmp rax, 1
jge 0x140107f1a
mov rcx, qword [rbp - 0x30]
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
sub rsp, 0x20
call fcn.14000c8ac
add rsp, 0x20
jmp 0x140108169
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp + 8]
sub rsp, 0x20
call fcn.140108410
mov rcx, qword [rbp + 0x20]
add rsp, 0x20
mov rdx, rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x48], rdx
mov dl, byte [rcx]
mov r8b, 0xf0
xor r8b, 0xf0
mov cl, 1
cmp dl, r8b
mov byte [rbp - 0x39], cl
mov qword [rbp - 0x38], rax
jne 0x14010817a
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
mov r8b, 1
xor r8b, 1
and r8b, 1
sub rsp, 0x20
call fcn.14010b040
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x20]
add rsp, 0x20
mov dl, byte [rcx]
mov r8b, 0x13
xor r8b, 0x13
mov cl, 1
cmp dl, r8b
mov byte [rbp - 0x39], cl
mov qword [rbp - 0x38], rax
jne 0x14010817a
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rax]
sub rsp, 0x20
call fcn.140108590
add rsp, 0x20
mov cl, al
mov rax, qword [rbp + 0x20]
mov al, byte [rax]
test al, al
sete al
mov byte [rbp - 0x49], al
and al, cl
test al, 1
jne 0x140107fd6
jmp 0x140108082
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx]
mov qword [rbp - 0x58], rcx
cmp rax, rcx
jl 0x14010800c
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffff
sub rsp, 0x20
call fcn.1400122ad
add rsp, 0x20
jmp 0x140108169
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
mov rcx, qword [rcx]
add rcx, 8
shl rdx, 3
add rcx, rdx
mov rdx, qword [rax]
sub rsp, 0x20
call fcn.14010b2b0
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x20]
add rsp, 0x20
mov cl, 1
cmp byte [rdx], 0
mov byte [rbp - 0x39], cl
mov qword [rbp - 0x38], rax
jne 0x14010817a
mov rcx, qword [rbp + 0x10]
sub rsp, 0x20
call fcn.14010b3c0
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
add rsp, 0x20
mov cl, byte [rcx]
cmp cl, 0
cmove rax, rdx
mov byte [rbp - 0x39], cl
mov qword [rbp - 0x38], rax
jmp 0x14010817a
mov eax, dword [0x1401cee30]
mov ecx, dword [0x1401cee34]
mov edx, 0x1147617a
xor edx, 0xf454eb5a
xor ecx, edx
sub eax, ecx
add eax, 0x13f5d669
sub eax, 0xbc1f8d4c
mov ecx, 0x300ac6f1
xor ecx, 0xd884724
add eax, ecx
mov ecx, 0xe0356aee
xor ecx, 0x9253c158
cmp eax, ecx
je 0x1401083d2
mov r8d, dword [0x1401cee38]
or r8d, dword [0x1401cee3c]
and r8d, 0xe1f56af9
mov ecx, r8d
xor ecx, 0xffffffff
and ecx, 0x4f4dd5a8
mov edx, 0xffffffff
xor edx, 0x4f4dd5a8
and r8d, edx
mov eax, 0xffffffff
xor eax, 0x8454821b
and eax, 0x4f4dd5a8
and edx, 0x8454821b
or ecx, r8d
or eax, edx
xor ecx, eax
mov eax, ecx
and eax, 0x55702609
mov edx, 0x95773f4b
xor edx, 0xc0071942
or ecx, edx
add eax, ecx
cmp eax, 0xaf2b8b8b
ja 0x1401083d2
mov al, byte [rbp - 0x49]
test al, 1
jne 0x140108143
jmp 0x140108169
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.14010b3c8
mov rax, qword [rbp + 0x20]
add rsp, 0x20
cmp byte [rax], 0
je 0x140108278
jmp 0x140108273
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp + 0x20]
mov cl, byte [rcx]
mov byte [rbp - 0x39], cl
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x10]
mov dl, byte [rbp - 0x39]
mov r8, qword [rbp - 0x38]
mov qword [rbp - 0x68], r8
mov byte [rbp - 0x59], dl
mov dl, 0x91
xor dl, 0x91
mov byte [rcx], dl
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.14010b3c8
mov rax, qword [rbp + 0x20]
add rsp, 0x20
cmp byte [rax], 0
jne 0x140108273
mov eax, dword [0x1401cee40]
mov edx, dword [0x1401cee44]
xor edx, 0x20272dfb
mov ecx, eax
and ecx, edx
mov r8d, 0x2d844f77
xor r8d, 0x2d844f75
imul ecx, r8d
xor eax, edx
add eax, ecx
mov ecx, eax
and ecx, 0xb9b0b917
shl ecx, 1
add eax, 0xb9b0b917
sub eax, ecx
or eax, 0x2340d0b3
imul eax, eax, 0x9b0b5f0a
mov ecx, 0xa7ca04d0
xor ecx, 0xef37e95a
cmp eax, ecx
jb 0x1401083db
mov r8b, byte [rbp - 0x59]
mov eax, dword [0x1401cee48]
xor edx, edx
div dword [0x1401cee4c]
mov rdx, qword [rbp + 0x20]
add eax, 0x5fe6a966
add eax, 0xbd2fceb5
mov ecx, eax
and ecx, 0x67363c26
shl ecx, 1
add eax, 0x67363c26
sub eax, ecx
mov ecx, 0xa39f6d99
xor ecx, 0x3dd48119
cmp r8b, 0
sete r9b
mov byte [rbp - 0x69], r9b
mov byte [rdx], r8b
cmp eax, ecx
ja 0x14010820f
mov al, byte [rbp - 0x69]
test al, 1
jne 0x140108295
jmp 0x140108273
jmp 0x1401083cc
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx]
mov qword [rbp - 0x78], rcx
cmp rax, rcx
jl 0x1401083a5
jmp 0x140108360
mov eax, dword [0x1401cee50]
sub eax, dword [0x1401cee54]
and eax, 0x688a09f0
imul eax, eax, 0xce1ff7ab
sub eax, 0x76f8ecab
cmp eax, 0xf6ed4c01
je 0x1401083e4
mov eax, dword [0x1401cee58]
mov edx, dword [0x1401cee5c]
mov r8d, eax
xor r8d, edx
mov ecx, 0xa30600ec
xor ecx, 0x5cf9ff13
xor r8d, ecx
mov ecx, edx
and ecx, r8d
shl ecx, 1
sub ecx, edx
sub eax, ecx
xor eax, 0xffffffff
mov edx, 0xecaadfd5
xor edx, 0x80b694ce
mov ecx, 0x373f9af5
xor ecx, 0xc8c0650a
xor edx, ecx
mov ecx, 0xffffffff
xor ecx, 0x495265e2
or eax, edx
or ecx, 0x495265e2
xor eax, 0xffffffff
and eax, ecx
imul eax, eax, 0x1d06fc58
mov ecx, 0x3e89ec22
xor ecx, 0xe2fa3195
sub eax, ecx
mov ecx, 0xd597dfee
xor ecx, 0x32504611
add eax, ecx
add eax, 0xdc73ddb7
mov ecx, 0x4a9523c
xor ecx, 0xb69b339d
cmp eax, ecx
jae 0x1401083e4
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x10], rax
jmp 0x140107ddc
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x78]
movabs rax, 0x2ae856f090d78291
sub rdx, rax
add rdx, 0xffffffffffffffff
movabs rax, 0x80ab07113550df72
movabs r8, 0xaa4351e1a5875de3
xor rax, r8
add rdx, rax
sub rsp, 0x20
call fcn.1400122ad
add rsp, 0x20
jmp 0x1401083cc
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov rcx, qword [rcx]
add rcx, 8
shl rax, 3
add rcx, rax
mov rdx, qword [rbp + 0x28]
sub rsp, 0x20
call fcn.14010b2b0
add rsp, 0x20
lea rsp, [rbp + 0x30]
pop rbp
ret
sub esi, dword [rdi]
test eax, 0xfcece967
invalid
mov ecx, 0xe9a77d3d
sub edi, esi
invalid
adc dword gs:[rsi], 0xfecfe983
invalid