Function at 0x1400d8130
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x48], rcx
mov eax, 0x10
call fcn.1401ffc50
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x40], rax
sub rsp, 0x20
call fcn.1400d6e29
mov rcx, qword [rbp - 0x38]
add rsp, 0x20
mov qword [rbp - 0x20], rax
mov edx, 0x18
sub rsp, 0x20
call fcn.1400d6e50
mov rcx, qword [rbp - 0x30]
add rsp, 0x20
mov rax, qword [rcx]
mov qword [rbp + 8], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 0x10], rax
sub rsp, 0x20
call fcn.140011160
mov rcx, qword [rbp - 0x28]
add rsp, 0x20
mov r8d, 0xb10308fc
xor r8d, 0xb10308fe
lea rdx, [rbp + 8]
sub rsp, 0x20
call fcn.1400d7a50
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rcx
mov qword [rbp + 0x18], rcx
cmp byte [rax], 0
jne 0x1400d85a0
mov eax, dword [0x140206200]
imul eax, dword [0x140206204]
mov ecx, eax
and ecx, 0x9c7fec33
shl ecx, 1
mov edx, 0x973f4a3e
xor edx, 0xb40a60d
add eax, edx
sub eax, ecx
mov ecx, eax
xor ecx, 0xffffffff
mov edx, 0x1d7d7a0a
xor edx, 0xc42bf219
and edx, ecx
mov r8d, 0xffffffff
xor r8d, 0xd9568813
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xd9568813
mov r8d, 0x7805324b
xor r8d, 0xa153ba58
or eax, r8d
imul eax, edx
add eax, ecx
mov edx, 0x2e54c838
xor edx, 0xc1210bf3
mov ecx, 0xf167ceee
xor ecx, 0xe983111
xor edx, ecx
mov ecx, eax
and ecx, edx
mov edx, eax
xor edx, 0xef75c3cb
add eax, edx
sub eax, ecx
cmp eax, 0xf0827c79
ja 0x1400d8613
mov rcx, qword [rbp - 0x18]
mov eax, dword [0x140206208]
xor edx, edx
div dword [0x14020620c]
sub eax, 0x2ca68fe7
mov r8d, 0xdeb0aac
xor r8d, 0xb0d4fd61
mov edx, 0x91b30667
xor edx, 0x6e4cf998
xor r8d, edx
mov edx, eax
and edx, r8d
mov r8d, eax
xor r8d, 0xbd3ff7cd
add eax, r8d
sub eax, edx
add eax, 0x24c92392
movabs rdx, 0x9071667e0b81f2c8
movabs r8, 0x9071667e0b81f2c8
xor rdx, r8
cmp rcx, rdx
sete cl
mov byte [rbp - 0x49], cl
cmp eax, 0x5e404439
jae 0x1400d8613
mov al, byte [rbp - 0x49]
test al, 1
jne 0x1400d858a
jmp 0x1400d8309
mov eax, dword [0x140206210]
xor edx, edx
div dword [0x140206214]
mov ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov edx, ecx
xor edx, 0xffffffff
and eax, edx
mov edx, 0xf3a11efc
xor edx, 0xf5a5fc93
mov r8d, 0x58f166a2
xor r8d, 0x5ef584cd
or edx, r8d
mov r8d, 0x16d21b89
xor r8d, 0xe92de476
xor edx, r8d
mov r8d, 0xbc9d9743
xor r8d, 0x436268bc
xor eax, r8d
xor edx, 0xffffffff
and eax, edx
xor ecx, 0xffffffff
mov edx, 0x1b7db0b9
xor edx, 0x1d7952d6
mov r8d, 0xc3ad267
xor r8d, 0xf3c52d98
xor edx, r8d
and ecx, edx
xor eax, 0xffffffff
mov edx, 0x5dc9181d
xor edx, 0xa236e7e2
xor ecx, edx
and eax, ecx
mov ecx, 0xe502192a
xor ecx, 0x3080026a
mov edx, eax
xor edx, ecx
mov ecx, 0xf5fecbf5
xor ecx, 0xa01340a
xor edx, ecx
mov ecx, 0xc7717c73
xor ecx, 0x12f36733
and ecx, edx
shl ecx, 1
mov edx, 0x758738b8
xor edx, 0xa00523f8
sub ecx, edx
sub eax, ecx
mov edx, eax
xor edx, 0xdb0c356d
xor edx, 0xffffffff
and edx, 0xdb0c356d
mov ecx, 0x34673d9a
xor ecx, 0x34673d98
imul ecx, edx
mov edx, 0xd980226d
xor edx, 0x28c1700
sub ecx, edx
sub eax, ecx
mov ecx, 0xb02b119d
xor ecx, 0xb1432559
cmp eax, ecx
je 0x1400d861c
mov eax, dword [0x140206218]
xor edx, edx
div dword [0x14020621c]
mov ecx, eax
xor ecx, 0x255bfbe8
mov edx, 0x602f181f
xor edx, 0x9fd0e7e0
xor ecx, edx
or eax, 0x255bfbe8
and eax, ecx
add eax, 0xd49f91e7
sub eax, 0x37e4c070
sub eax, 0xd49f91e7
mov ecx, 0x18d64c7f
xor edx, edx
div ecx
mov dword [rbp - 0x5c], eax
lea rcx, [rbp + 0x18]
sub rsp, 0x20
call fcn.1400d8625
mov rcx, qword [rbp - 0x20]
add rsp, 0x20
mov rdx, rax
mov eax, dword [rbp - 0x5c]
mov qword [rbp - 0x58], rdx
mov cl, byte [rcx]
mov dl, 0x54
xor dl, 0x54
cmp cl, dl
sete cl
mov byte [rbp - 0x4a], cl
cmp eax, 0xee435f64
ja 0x1400d8413
mov al, byte [rbp - 0x4a]
test al, 1
jne 0x1400d84a1
jmp 0x1400d85a0
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
sub rsp, 0x20
call fcn.140007aff
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x20]
add rsp, 0x20
mov rdx, qword [rcx]
mov qword [rbp - 0x70], rdx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x68], rcx
mov al, byte [rax]
mov cl, 0xa4
xor cl, 0xa4
cmp al, cl
jne 0x1400d85a0
lea rcx, [rbp - 0x10]
mov edx, 0x18
sub rsp, 0x20
call fcn.1400d6e50
mov rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x68]
add rsp, 0x20
mov byte [rbp], 1
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x20]
sub rsp, 0x20
call fcn.140015990
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x20]
add rsp, 0x20
mov rdx, qword [rbp - 0x10]
mov qword [rcx], rdx
mov rdx, qword [rbp - 8]
mov qword [rcx + 8], rdx
mov rdx, qword [rbp]
mov qword [rcx + 0x10], rdx
cmp byte [rax], 0
jne 0x1400d85a0
lea rcx, [rbp + 0x18]
sub rsp, 0x20
call fcn.1400d8625
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x78], rcx
mov al, byte [rax]
mov cl, 0xf5
xor cl, 0xf5
cmp al, cl
jne 0x1400d85a0
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.14001f7f0
add rsp, 0x20
jmp 0x1400d85a0
mov rcx, qword [rbp - 0x38]
mov edx, 0x18
sub rsp, 0x20
call fcn.1400d6e50
add rsp, 0x20
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 8]
mov qword [rbp - 0x80], rax
cmp rax, 0
je 0x1400d8609
mov rax, qword [rbp - 0x80]
mov rax, qword [rax]
movabs rdx, 0x2db0400b8059b68a
movabs rcx, 0x6db0400b8059b68a
xor rdx, rcx
mov rcx, rax
xor rcx, rdx
xor rcx, 0xffffffffffffffff
movabs rdx, 0x4000000000000000
or rax, rdx
and rax, rcx
cmp rax, 0
jne 0x1400d8609
mov rcx, qword [rbp - 0x80]
sub rsp, 0x20
call fcn.14000fb44
add rsp, 0x20
mov rax, qword [rbp - 0x48]
lea rsp, [rbp + 0x30]
pop rbp
ret
jge 0x1400d85bd
invalid
insb byte [rdi], dx
invalid