Function at 0x140103b00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
call fcn.14010361a
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
cmp rdx, 0
je 0x140103bfa
mov rax, qword [rsp + 0x48]
mov rcx, rax
add rcx, 0xfffffffffffffff0
mov qword [rsp + 0x30], rcx
mov r9, qword [rax - 0x10]
movabs rcx, 0xfe8bc2ae3b1cf2c9
mov rax, r9
sub rax, rcx
add rax, 0x10
movabs rcx, 0xfe8bc2ae3b1cf2c9
add rax, rcx
mov qword [rsp + 0x38], rax
mov rdx, r9
xor rdx, 0xffffffffffffffff
movabs rcx, 0x6904743aff158a52
and rdx, rcx
mov r8, 0xffffffffffffffff
movabs rcx, 0x6904743aff158a52
xor r8, rcx
and r9, r8
mov rcx, 0xffffffffffffffff
xor rcx, 0xffffffffffffffff
movabs r10, 0x6904743aff158a52
and rcx, r10
and r8, 0xffffffffffffffff
or rdx, r9
or rcx, r8
xor rdx, rcx
mov rcx, rax
add rcx, 1
movabs r8, 0x938e660a365dba86
movabs r9, 0x6c7199f5c9a24579
xor r8, r9
xor rax, r8
or rax, rdx
add rax, rcx
cmp rax, 0
jge 0x140103bed
call fcn.140007e9d
jmp 0x140103bfa
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [0x140257490]
mov edx, dword [0x140257494]
mov ecx, 0x229a2c8d
xor ecx, 0x95c37949
xor edx, ecx
xor ecx, ecx
sub ecx, edx
sub eax, ecx
and eax, 0x9328ee17
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0xd483264a
add ecx, eax
xor eax, eax
sub eax, ecx
mov ecx, 0x3d26d4ed
xor ecx, 0xf5666ac8
mov edx, eax
xor edx, ecx
xor edx, 0xffffffff
and edx, 0xc840be25
mov ecx, 0x4197176e
xor ecx, 0x4197176c
imul ecx, edx
sub ecx, 0xc840be25
sub eax, ecx
cmp eax, 0xc067e096
ja 0x140103e64
mov eax, dword [0x140257498]
xor edx, edx
div dword [0x14025749c]
mov ecx, eax
mov rax, qword [rsp + 0x40]
xor ecx, 0x3acad6ce
mov r8d, 0xa036de5f
xor r8d, 0x1d1f07a9
mov edx, ecx
xor edx, r8d
xor edx, 0xffffffff
mov r8d, 0xabd73bfd
xor r8d, 0x16fee20b
or ecx, r8d
and ecx, edx
sub ecx, 0xb161c131
mov dword [rsp + 0x28], ecx
mov ecx, 0x16f5d5f5
xor ecx, 0x3401e919
mov dword [rsp + 0x24], ecx
mov rcx, qword [rax]
call fcn.140103640
mov ecx, dword [rsp + 0x24]
mov dl, al
mov eax, dword [rsp + 0x28]
mov byte [rsp + 0x2f], dl
cmp eax, ecx
jbe 0x140103c68
mov al, byte [rsp + 0x2f]
test al, 1
jne 0x140103cf2
jmp 0x140103dc6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140103877
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x140103dd3
mov eax, dword [0x1402574a0]
xor eax, dword [0x1402574a4]
or eax, 0x8610cafd
add eax, 0xf799bb6d
mov ecx, 0xd859cd6f
xor edx, edx
div ecx
cmp eax, 0x3522b461
ja 0x140103e6d
mov eax, dword [0x1402574a8]
mov r8d, dword [0x1402574ac]
mov ecx, 0x243c7464
xor ecx, 0xff124a96
xor r8d, ecx
mov edx, 0xce640b02
xor edx, 0x319bf4fd
mov ecx, eax
xor ecx, edx
mov edx, r8d
and edx, ecx
mov r9d, r8d
xor r9d, 0xffffffff
mov ecx, eax
and ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
xor ecx, ecx
sub ecx, 0xe625f210
add eax, ecx
xor eax, 0x3543c58a
mov ecx, 0x681fdd72
xor edx, edx
div ecx
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rax]
mov edx, 8
call fcn.14000ea9a
mov eax, dword [rsp + 0x20]
cmp eax, 0xfe847524
je 0x140103e6d
jmp 0x140103dc6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov ecx, dword [0x1402574b0]
mov eax, dword [0x1402574b4]
xor eax, 0x3a5afa91
add ecx, eax
add ecx, 0x41798c04
mov eax, ecx
and eax, 0x3b1a8ac9
xor ecx, 0x3b1a8ac9
or eax, ecx
and eax, 0x6c876411
cmp eax, 0x634eccf5
jae 0x140103e76
mov eax, dword [0x1402574b8]
mov ecx, 0x5090a12b
xor ecx, 0xc2ef48cc
xor eax, ecx
mov ecx, dword [0x1402574bc]
sub eax, 0x1793da60
add eax, ecx
add eax, 0x1793da60
xor ecx, ecx
sub ecx, 0x4ef2d690
add eax, ecx
mov ecx, 0x878aa34a
xor ecx, 0x8e3d783a
or eax, ecx
and eax, 0x293682e4
mov ecx, 0x14abd7
xor ecx, 0x457265dd
cmp eax, ecx
je 0x140103e0b
add rsp, 0x58
ret
and byte [0x13bfa16c8], ch
std
invalid
or dword [rsi - 0x3e1649af], eax
invalid
xchg ebp, eax
iretd