Function at 0x1401aede0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rcx
xor eax, eax
cmp rcx, 0
mov byte [rsp + 0x57], al
je 0x1401af11c
mov rax, qword [rsp + 0x48]
mov rcx, rax
add rcx, 0xfffffffffffffff0
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax - 0x10]
mov qword [rsp + 0x40], rcx
mov al, 1
cmp rcx, 0x10
mov byte [rsp + 0x57], al
jb 0x1401af11c
mov eax, dword [0x14020c0b0]
mov edx, dword [0x14020c0b4]
mov ecx, eax
xor ecx, edx
xor edx, 0xffffffff
and eax, edx
shl eax, 1
sub eax, ecx
and eax, 0x1edab31d
mov ecx, 0xa4f819f7
xor ecx, 0x679eb859
sub eax, ecx
mov ecx, 0x6daf171c
xor ecx, 0x3197b00e
and ecx, eax
xor ecx, 0xffffffff
add eax, 0x5c38a712
add eax, 1
add eax, ecx
mov ecx, 0x6a8231fa
xor ecx, 0x29d0ce79
cmp eax, ecx
jb 0x1401af12a
mov eax, dword [0x14020c0b8]
mov ecx, dword [0x14020c0bc]
mov edx, 0x86b0e88b
xor edx, 0x401348c3
xor ecx, edx
xor eax, ecx
mov ecx, 0x7d5b5ced
xor ecx, 0xfc61e077
xor edx, edx
div ecx
mov ecx, 0x645de3c5
xor ecx, 0xb28c2035
xor edx, edx
div ecx
mov rdx, qword [rsp + 0x40]
mov ecx, 0x244747ec
xor ecx, 0x46b7f5da
xor eax, ecx
movabs r8, 0x899b6ec80162528f
movabs rcx, 0x899b6ec80162528f
xor r8, rcx
sub r8, rdx
xor ecx, ecx
sub rcx, 0xfffffffffffffff0
add r8, rcx
xor ecx, ecx
sub rcx, r8
mov qword [rsp + 0x28], rcx
mov r9, rcx
xor r9, rdx
movabs r8, 0x8447fb4ca4688561
movabs r10, 0x7bb804b35b977a9e
xor r8, r10
xor r9, r8
mov r8, rdx
and r8, r9
shl r8, 1
sub r8, rdx
mov rdx, rcx
sub rdx, r8
cmp rdx, 0
setl dl
movabs r8, 0xf414a625e477bdb3
movabs r9, 0xbeb59da1b88424c
xor r8, r9
cmp rcx, r8
setg cl
and cl, dl
mov byte [rsp + 0x37], cl
cmp eax, 0xf5025bc2
jae 0x1401aee7c
mov al, byte [rsp + 0x37]
test al, 1
jne 0x1401aef6d
jmp 0x1401af109
mov r11d, dword [0x14020c0c0]
mov r10d, dword [0x14020c0c4]
xor r10d, 0xbca3dc09
mov ecx, r11d
xor ecx, 0xffffffff
mov eax, 0x26c701db
xor eax, 0xd938fe24
mov r8d, r10d
xor r8d, eax
mov edx, 0xffffffff
xor edx, 0x53341d28
mov eax, ecx
and eax, 0x53341d28
and r11d, edx
mov r9d, r8d
and r9d, 0x53341d28
and r10d, edx
or eax, r11d
or r9d, r10d
xor eax, r9d
or ecx, r8d
xor ecx, 0xffffffff
or edx, 0x53341d28
and ecx, edx
or eax, ecx
mov ecx, 0x9093d3fc
xor ecx, 0xba1bc32
xor edx, edx
div ecx
xor eax, 0x3a1c90be
or eax, 0xa11521b1
cmp eax, 0x8467033e
je 0x1401af133
mov ecx, dword [0x14020c0c8]
xor ecx, 0x1c5a1246
mov edx, dword [0x14020c0cc]
xor edx, 0x2eabec35
mov eax, 0xe130a618
xor eax, 0xe130a618
sub eax, ecx
mov ecx, 0x1132258
xor ecx, 0x1132258
sub ecx, edx
add eax, ecx
xor r11d, r11d
sub r11d, eax
mov eax, 0x1f550bb5
xor eax, 0xe0aaf44a
mov ecx, r11d
xor ecx, eax
mov edx, 0xffffffff
xor edx, 0x197999a4
mov r8d, 0xffffffff
xor r8d, 0xef6e822f
mov eax, ecx
and eax, 0xef6e822f
and r11d, r8d
mov r9d, edx
and r9d, 0xef6e822f
mov r10d, r8d
and r10d, 0x197999a4
or eax, r11d
or r9d, r10d
xor eax, r9d
or ecx, edx
xor ecx, 0xffffffff
mov edx, 0xb11b1b79
xor edx, 0x5e759956
or edx, r8d
and ecx, edx
or eax, ecx
mov ecx, eax
xor ecx, 0xffffffff
mov edx, 0x80f3a029
xor edx, 0xfb34ca32
and edx, ecx
mov r8d, 0xffffffff
xor r8d, 0x7bc76a1b
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0x7bc76a1b
mov r8d, 0x62db8420
xor r8d, 0x191cee3b
or eax, r8d
imul eax, edx
add eax, ecx
mov ecx, 0x3fd7bdfb
xor ecx, 0x8bd3d199
sub eax, ecx
mov dword [rsp + 0x24], eax
call fcn.140007f57
mov eax, dword [rsp + 0x24]
cmp eax, 0xdf3a0ef2
jb 0x1401aeff7
xor eax, eax
mov byte [rsp + 0x57], al
jmp 0x1401af11c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
xor eax, eax
mov byte [rsp + 0x57], al
mov al, byte [rsp + 0x57]
and al, 1
movzx eax, al
add rsp, 0x58
ret
call 0x12a05fa79
std
invalid
rcl ebp, 1
mov bl, 0xac
jmp 0x1401aeff7