Function at 0x1400785bd
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
call fcn.14006bc70
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
call fcn.1400344a7
mov cl, al
mov rax, qword [rsp + 0x58]
mov byte [rsp + 0x67], cl
cmp byte [rax], 0
jne 0x1400785a6
mov al, byte [rsp + 0x67]
cmp al, 0xc0
jne 0x1400783c1
mov rcx, qword [rsp + 0x50]
call fcn.1400719e0
jmp 0x1400785a6
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
cmp rax, 0
mov qword [rsp + 0x40], rax
jne 0x1400784e6
xor eax, eax
mov ecx, eax
call fcn.1400fbee0
mov rax, qword [rsp + 0x58]
mov al, byte [rax]
mov cl, 0xcb
xor cl, 0xcb
cmp al, cl
jne 0x1400785a6
mov eax, dword [0x1402449d8]
mov ecx, dword [0x1402449dc]
mov edx, 0xb24b1064
xor edx, 0x4130e61d
xor ecx, edx
xor eax, ecx
add eax, 0xd5c2dfd2
sub eax, 0x2d6188b8
mov ecx, 0xd9ed4e54
xor edx, edx
div ecx
cmp eax, 0x670386de
je 0x1400785ab
mov eax, dword [0x1402449e0]
sub eax, dword [0x1402449e4]
mov ecx, 0xffffffff
xor ecx, 0x7f6fee17
xor edx, edx
sub edx, 1
sub ecx, edx
sub eax, ecx
mov ecx, 0x27688bfd
xor ecx, 0x8cdd6dba
xor edx, edx
div ecx
mov r8d, 0xf9b6ba75
xor r8d, 0x8f1fe0a6
mov ecx, 0x477ab231
xor ecx, 0xb8854dce
xor r8d, ecx
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x76a95ad3
mov r8d, 0xa92f25e2
xor r8d, 0xdf867f31
or eax, r8d
imul eax, edx
add eax, ecx
mov dword [rsp + 0x34], eax
mov ecx, 0x30
mov edx, 8
call fcn.1400129fd
mov rcx, qword [rsp + 0x48]
mov rdx, rax
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x38], rdx
mov qword [rcx], rdx
cmp eax, 0x1e9174da
ja 0x14007842e
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
jmp 0x1400784e6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1402449e8]
mov ecx, 0x5d2cf31e
xor ecx, 0xe10c1860
xor eax, ecx
add eax, dword [0x1402449ec]
mov ecx, 0x30344802
xor edx, edx
div ecx
and eax, 0x9a4756bd
mov edx, 0xb1a55b48
xor edx, 0xb6dea96f
mov ecx, eax
xor ecx, edx
mov edx, 0xcfcf01b7
xor edx, 0x3030fe48
xor ecx, edx
and ecx, 0x77bf227
shl ecx, 1
sub ecx, 0x77bf227
sub eax, ecx
cmp eax, 0xd8c43423
ja 0x1400785b4
mov rcx, qword [rsp + 0x50]
mov eax, dword [0x1402449f0]
xor eax, 0x553d2adc
xor edx, edx
div dword [0x1402449f4]
mov edx, 0xdfd67cff
xor edx, 0x329436bb
xor eax, edx
mov r8d, 0xd8eb2bc3
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x28]
xor eax, 0x1d646bfa
mov dword [rsp + 0x24], eax
call fcn.140078340
mov eax, dword [rsp + 0x24]
cmp eax, 0xbf8b52f2
je 0x14007854f
jmp 0x1400785a6
add byte [rax], al
add byte [rax], al
add rsp, 0x68
ret
add al, 0x89
jmp 0x140078611
sbb dword [rdi + 0x6c], eax
jl 0x1400785a2
xchg edx, eax
invalid
sub rsp, 0x38
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
call fcn.14006bc70
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
add rsp, 0x38
jmp 0x140078370
loopne 0x14007865b
mov dword [rbp - 0x40], eax
sub rsp, 0x20
call fcn.14006bc70
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
add rsp, 0x20
mov qword [rbp - 0x38], rax
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbp - 0x10]
sub rsp, 0x20
call fcn.14001c002
add rsp, 0x20
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x18], eax
lea rcx, [rbp - 0x20]
sub rsp, 0x20
call fcn.14006bdc4
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x30], rcx
mov cl, byte [rax]
mov dl, 0xe5
xor dl, 0xe5
mov al, 1
cmp cl, dl
mov byte [rbp - 0x21], al
jne 0x1400786d3
mov rcx, qword [rbp - 0x30]
xor eax, eax
mov edx, eax
sub rsp, 0x20
call fcn.14003444d
mov rcx, qword [rbp - 0x38]
add rsp, 0x20
mov al, 1
cmp byte [rcx], 0
mov byte [rbp - 0x21], al
jne 0x1400786d3
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
call fcn.1400785bd
mov rax, qword [rbp - 0x38]
add rsp, 0x20
mov al, byte [rax]
mov byte [rbp - 0x21], al
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov dl, byte [rbp - 0x21]
mov byte [rbp - 0x51], dl
mov byte [rax], 0
sub rsp, 0x20
call fcn.14006b7a0
mov rax, qword [rbp - 0x38]
add rsp, 0x20
cmp byte [rax], 0
jne 0x140078707
mov rax, qword [rbp - 0x38]
mov cl, byte [rbp - 0x51]
mov byte [rax], cl
mov eax, dword [0x1402449f8]
imul eax, dword [0x1402449fc]
mov r8d, 0xffffffff
xor r8d, 0x13c10d4c
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x13c10d4c
or eax, 0x13c10d4c
imul eax, edx
add eax, ecx
xor eax, 0x50f275bf
mov ecx, 0x1ee6e271
xor ecx, 0xee814c73
xor eax, ecx
mov ecx, 0x196aef82
xor ecx, 0xc6fa3573
cmp eax, ecx
jae 0x1400787b1
mov eax, dword [0x140244a00]
xor eax, 0x687af076
mov ecx, dword [0x140244a04]
xor ecx, 0x691f660f
sub eax, ecx
mov ecx, 0xeb31eff0
xor ecx, 0x7db5645f
imul eax, ecx
or eax, 0xf4c36a31
and eax, 0x98ce8a3b
mov ecx, 0x11837dae
xor ecx, 0x8803258f
cmp eax, ecx
je 0x1400787b1
mov rsp, rbp
pop rbp
ret
mov eax, ebx
invalid