Function at 0x140082760
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rcx
mov eax, dword [0x140244ff8]
and eax, dword [0x140244ffc]
mov edx, eax
xor edx, 0xffffffff
and edx, 0x5601bc51
mov r8d, 0xffffffff
xor r8d, 0x5601bc51
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov r8d, 0x29754942
xor r8d, 0x7f74f513
mov edx, eax
and edx, r8d
mov r8d, 0xa0e365fa
xor r8d, 0xf6e2d9ab
or eax, r8d
imul eax, edx
add eax, ecx
mov edx, 0x23c8e1d6
xor edx, 0x6bac0784
mov ecx, 0x9ee9942
xor ecx, 0xf61166bd
xor edx, ecx
mov ecx, eax
and ecx, edx
mov edx, eax
xor edx, 0x4864e652
add eax, edx
sub eax, ecx
add eax, 0xcac87103
mov ecx, 0xfff30df
xor ecx, 0xf670a247
cmp eax, ecx
jae 0x140082a10
mov edx, dword [0x140245000]
mov eax, dword [0x140245004]
mov ecx, eax
mov eax, edx
lea eax, [rax + rcx - 0x3677860d]
xor eax, 0xb8bf0be9
add eax, 0x3cbcd4b2
mov dword [rbp - 0x2c], eax
mov eax, 0x10
call fcn.14023fff0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x40], rax
sub rsp, 0x20
call fcn.14006bc70
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x38], rcx
movabs rcx, 0x9028776e8a9e5bda
movabs rdx, 0x9028776e8a9e5bda
xor rcx, rdx
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, 8
sub rsp, 0x20
call fcn.14006be90
mov rcx, qword [rbp - 0x38]
add rsp, 0x20
mov rdx, rax
mov eax, dword [rbp - 0x2c]
mov qword [rbp - 0x28], rdx
mov cl, byte [rcx]
mov dl, 0x83
xor dl, 0x83
cmp cl, dl
sete cl
mov byte [rbp - 0x19], cl
cmp eax, 0x933863fc
jae 0x140082809
mov cl, byte [rbp - 0x19]
mov al, 1
test cl, 1
mov byte [rbp - 0x41], al
jne 0x1400828cb
jmp 0x1400829c9
mov eax, dword [0x140245008]
mov edx, dword [0x14024500c]
mov ecx, eax
xor ecx, edx
xor edx, 0xffffffff
and eax, edx
shl eax, 1
sub eax, ecx
and eax, 0xa4353909
or eax, 0xc74270ad
or eax, 0xe41bf02f
mov ecx, 0x7cf532ad
xor ecx, 0x5e329b2d
cmp eax, ecx
je 0x140082a19
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x28]
mov eax, dword [0x140245010]
xor eax, 0x99a4cf50
add eax, dword [0x140245014]
sub eax, 0x4d93aa94
xor eax, 0xffffffff
mov r9d, 0xffffffff
xor r9d, 0x42b82aea
mov r8d, 0xffffffff
xor r8d, 0xfbf31469
or eax, r9d
or r8d, 0xfbf31469
xor eax, 0xffffffff
and eax, r8d
add eax, 0xea721ce6
mov dword [rbp - 0x48], eax
sub rsp, 0x20
call fcn.14008272b
mov rcx, qword [rbp - 0x38]
mov eax, dword [rbp - 0x48]
add rsp, 0x20
cmp byte [rcx], 0
sete cl
mov byte [rbp - 0x42], cl
cmp eax, 0xd6008582
jae 0x140082907
mov cl, byte [rbp - 0x42]
mov al, 1
test cl, 1
mov byte [rbp - 0x41], al
jne 0x140082998
jmp 0x1400829c9
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x28]
mov r8, qword [rax + 0x58]
mov qword [rdx], r8
mov rax, qword [rax + 0x60]
mov qword [rdx + 8], rax
sub rsp, 0x20
call fcn.140018beb
mov rax, qword [rbp - 0x38]
add rsp, 0x20
mov al, byte [rax]
mov byte [rbp - 0x41], al
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x28]
mov dl, byte [rbp - 0x41]
mov byte [rbp - 0x49], dl
mov dl, 0xef
xor dl, 0xef
mov byte [rax], dl
sub rsp, 0x20
call fcn.14006b7a0
mov rax, qword [rbp - 0x38]
add rsp, 0x20
mov al, byte [rax]
mov cl, 0x12
xor cl, 0x12
cmp al, cl
jne 0x140082a07
mov rax, qword [rbp - 0x38]
mov cl, byte [rbp - 0x49]
mov byte [rax], cl
mov rax, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
invalid
sar byte [rcx], 1
int1
jmp 0x140082907