Function at 0x140018130
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
mov rdx, qword [rcx]
mov rax, rdx
add rax, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
mov rcx, rax
xor rcx, rdx
cmp rcx, 0
setl dl
movabs rcx, 0x6719e38f78c514ec
movabs r8, 0x98e61c70873aeb13
xor rcx, r8
cmp rax, rcx
setg al
mov cl, al
xor cl, dl
xor cl, 0xff
or al, dl
and al, cl
test al, 1
jne 0x1400181a7
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
add rcx, 8
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
jmp 0x1400181b1
call fcn.140007f57
jmp 0x14001851b
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov eax, dword [0x140200db8]
mov ecx, dword [0x140200dbc]
xor ecx, 0x14c7b1b2
xor eax, ecx
mov ecx, eax
and ecx, 0xa63df733
or eax, 0xa63df733
add ecx, eax
mov eax, ecx
or eax, eax
mov edx, 0x78c4196e
xor edx, 0x873be691
xor eax, edx
mov edx, 0xffffffff
xor edx, 0x5b07f3ec
mov r8d, 0xffffffff
xor r8d, 0x5b07f3ec
and edx, r8d
xor eax, 0xffffffff
xor edx, 0xffffffff
and eax, edx
or ecx, 0x5b07f3ec
xor ecx, 0xffffffff
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
or eax, 0x955d5824
mov ecx, 0xa87cec15
xor ecx, 0x36863370
cmp eax, ecx
jbe 0x140018520
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov r10d, dword [0x140200dc0]
sub r10d, dword [0x140200dc4]
mov eax, r10d
xor eax, 0xffffffff
and eax, 0xa1a056f9
mov r9d, 0xffffffff
xor r9d, 0xa1a056f9
and r10d, r9d
mov r8d, 0xd58d71a4
xor r8d, 0x6ff121a0
mov r11d, 0x9052b207
xor r11d, 0x6fad4df8
xor r8d, r11d
mov r11d, 0x377e9547
xor r11d, 0x96dec3be
and r8d, r11d
and r9d, 0xba7c5004
or eax, r10d
or r8d, r9d
xor eax, r8d
mov r8d, 0xfe8e7cbf
xor r8d, 0x1718340
mov r9d, eax
xor r9d, r8d
and r9d, 0x25fd5117
mov r10d, 0xffffffff
xor r10d, 0x25fd5117
mov r8d, eax
and r8d, r10d
imul r8d, r9d
mov r9d, eax
and r9d, 0x25fd5117
mov r10d, 0x9c9facf2
xor r10d, 0xb962fde5
or eax, r10d
imul eax, r9d
add eax, r8d
add eax, 0xac2a1c0f
sub eax, 0xafc08e58
sub eax, 0xac2a1c0f
cmp rcx, rdx
setl cl
mov byte [rsp + 0x37], cl
cmp eax, 0xe62778f6
jae 0x14001823b
mov al, byte [rsp + 0x37]
test al, 1
jne 0x14001850e
jmp 0x140018332
mov rax, qword [rsp + 0x38]
cmp rax, 0
jl 0x140018354
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
cmp rax, qword [rcx]
jl 0x1400183f8
mov eax, dword [0x140200dc8]
xor eax, 0xfd7275ef
or eax, dword [0x140200dcc]
and eax, 0xf35dfde5
mov ecx, eax
and ecx, 0x86589b0a
shl ecx, 1
mov edx, 0xf25d01b7
xor edx, 0x74059abd
xor eax, edx
add eax, ecx
mov ecx, 0xb3b0c681
xor ecx, 0xc6b5c37d
or eax, ecx
cmp eax, 0xa77955fd
jbe 0x140018529
mov ecx, dword [0x140200dd0]
xor ecx, 0xca656b2e
xor ecx, dword [0x140200dd4]
mov eax, ecx
and eax, 0xa30773d2
or ecx, 0xa30773d2
add eax, ecx
mov ecx, eax
and ecx, 0x2113610f
shl ecx, 1
add eax, 0x2113610f
sub eax, ecx
mov ecx, 0x3417a34
xor edx, edx
div ecx
mov dword [rsp + 0x30], eax
mov rcx, rdx
call fcn.140014583
mov eax, dword [rsp + 0x30]
cmp eax, 0x8a66a409
ja 0x140018529
jmp 0x14001851b
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
add rcx, 8
shl rax, 4
add rcx, rax
call fcn.140018094
mov rcx, qword [rsp + 0x38]
mov rax, rcx
add rax, 0xffffffffffffffff
mov rdx, rax
xor rdx, rcx
cmp rdx, 0
setl r8b
cmp rcx, 0
setne dl
mov cl, dl
xor cl, 0xff
mov r9b, r8b
xor r9b, 0xff
or cl, r9b
xor dl, 0xff
xor r8b, 0xff
or dl, r8b
xor cl, 0xff
xor dl, 0xff
or cl, dl
test cl, 1
mov qword [rsp + 0x48], rax
jne 0x14001846a
jmp 0x1400181b1
mov eax, dword [0x140200dd8]
xor eax, 0x4f87eced
xor edx, edx
div dword [0x140200ddc]
mov ecx, eax
xor ecx, 0xd085ddb0
mov edx, 0x720d3e4c
xor edx, 0x8df2c1b3
xor ecx, edx
mov edx, 0x7c31af6c
xor edx, 0xacb472dc
or eax, edx
and eax, ecx
sub eax, 0xb848de55
add eax, 0xd6173c0d
mov ecx, 0xb014332b
xor ecx, 0xe44488a2
sub eax, ecx
sub eax, 0xd6173c0d
cmp eax, 0xc48e3aa2
je 0x140018532
mov eax, dword [0x140200de0]
mov edx, dword [0x140200de4]
xor ecx, ecx
sub ecx, edx
add eax, ecx
xor eax, 0x1020896
mov ecx, 0xc71b9bed
xor edx, edx
div ecx
mov ecx, 0xd805687
xor edx, edx
div ecx
mov dword [rsp + 0x2c], eax
call fcn.140007f57
mov eax, dword [rsp + 0x2c]
cmp eax, 0x1c091559
jae 0x1400184c8
jmp 0x14001851b
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
add rsp, 0x68
ret
xchg esp, ecx
xchg edi, eax
invalid
invalid
rol ecx, 1
push rbp
xchg esp, eax
jmp 0x1400184c8