Function at 0x140137e40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp r8, 0xe
jne 0x140137f21
movabs rax, 0x5f6c616d69636544
xor rax, qword [rdx]
movabs rcx, 0x7265626d754e5f6c
xor rcx, qword [rdx + 6]
or rcx, rax
jne 0x140137fe5
movzx eax, byte [0x14031a2c8]
mov edx, 0x200
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x1401382be
lea rdx, [rax + 0x200]
lea rcx, str.anyassignedasciiASCIIAssignedAnyahexASCII_Hex_DigitalphaAlphabeticalphabeticasciihexdigitbcBidi_ClassbidicBidi_ControlbidiclassbidicontrolbidimBidi_MirroredbidimirroredbidimirroringglyphBidi_Mirroring_GlyphbidipairedbracketBidi_Paired_BracketbidipairedbrackettypeBidi_Paired_Bracket_TypeblkBlockblockbmgbpbbptcanonicalcombiningclassCanonical_Combining_ClasscasedCasedcasefoldingCase_FoldingcaseignorableCase_IgnorablecccceComposition_ExclusionchangeswhencasefoldedChanges_When_CasefoldedchangeswhencasemappedChanges_When_CasemappedchangeswhenlowercasedChanges_When_LowercasedchangeswhennfkccasefoldedChanges_When_NFKC_CasefoldedchangeswhentitlecasedChanges_When_TitlecasedchangeswhenuppercasedChanges_When_UppercasedcicjkaccountingnumerickAccountingNumericcjkcompatibilityvariantkCompatibilityVariantcjkiicorekIICorecjkirggsourcekIRG_GSourcecjkirghsourcekIRG_HSourcecjkirgjsourcekIRG_JSourcecjkirgkpsourcekIRG_KPSourcecjkirgksourcekIRG_KSourcecjkirgmsourcekIRG_MSourcecjkirgssourcekIRG_SSourcecjkirgtsourcekIRG_TSourcecjkirguksourcekIRG_UKSourcecjkirgusourcekIRG_USourcecjkirgvsourcekIRG_VSourcecjkothernumerickOtherNumericcjkprimarynumerickPrimaryNumericcjkrsunicodekRSUnicodecompexFull_Composition_ExclusioncompositionexclusioncwcfcwcmcwkcfcwlcwtcwudashDashdecompositionmappingDecomposition_MappingdecompositiontypeDecomposition_TypedefaultignorablecodepointDefault_Ignorable_Code_PointdepDeprecateddeprecateddidiaDiacriticdiacriticdmdteaEast_Asian_WidtheastasianwidthebaseEmoji_Modifier_BaseecompEmoji_ComponentemodEmoji_ModifieremojiEmojiemojicomponentemojimodifieremojimodifierbaseemojipresentationEmoji_PresentationepresequideoEquivalent_Unified_IdeographequivalentunifiedideographexpandsonnfcExpands_On_NFCexpandsonnfdExpands_On_NFDexpandsonnfkcExpands_On_NFKCexpandsonnfkdExpands_On_NFKDextExtenderextendedpictographicExtended_PictographicextenderextpictfcnfkcFC_NFKC_ClosurefcnfkcclosurefullcompositionexclusiongcgcbgeneralcategorygraphemebaseGrapheme_BasegraphemeclusterbreakgraphemeextendGrapheme_ExtendgraphemelinkGrapheme_LinkgrbasegrextgrlinkhangulsyllabletypeHangul_Syllable_TypehexHex_DigithexdigithsthyphenHyphenidcID_ContinueidcontinueideoIdeographicideographicidsID_StartidsbIDS_Binary_OperatoridsbinaryoperatoridstIDS_Trinary_OperatoridstartidstrinaryoperatorindicpositionalcategoryIndic_Positional_CategoryindicsyllabiccategoryIndic_Syllabic_CategoryinpcinsciscISO_CommentjamoshortnameJamo_Short_NamejgJoining_GroupjoincJoin_ControljoincontroljoininggroupjoiningtypeJoining_TypejsnjtkaccountingnumerickcompatibilityvariantkiicorekirggsourcekirghsourcekirgjsourcekirgkpsourcekirgksourcekirgmsourcekirgssourcekirgtsourcekirguksourcekirgusourcekirgvsourcekothernumerickprimarynumerickrsunicodelbLine_BreakLowercase_MappinglinebreakloeLogical_Order_ExceptionlogicalorderexceptionlowerLowercaselowercaselowercasemappingmathMathnaNamena1Unicode_1_NamenamenamealiasName_AliasncharNoncharacter_Code_PointnfcqcNFC_Quick_ChecknfcquickchecknfdqcNFD_Quick_ChecknfdquickchecknfkccasefoldNFKC_CasefoldnfkccfnfkcqcNFKC_Quick_ChecknfkcquickchecknfkdqcNFKD_Quick_ChecknfkdquickchecknoncharactercodepointntNumeric_TypenumerictypenumericvalueNumeric_ValuenvoalphaOther_AlphabeticocommentodiOther_Default_Ignorable_Code_PointogrextOther_Grapheme_ExtendoidcOther_ID_ContinueoidsOther_ID_StartolowerOther_LowercaseomathOther_MathotheralphabeticotherdefaultignorablecodepointothergraphemeextendotheridcontinueotheridstartotherlowercaseothermathotheruppercaseOther_UppercaseoupperpatsynPattern_SyntaxpatternsyntaxpatternwhitespacePattern_White_SpacepatwspcmPrepended_Concatenation_MarkprependedconcatenationmarkqmarkQuotation_MarkquotationmarkradicalRadicalregionalindicatorRegional_IndicatorrisbscfSimple_Case_FoldingscriptscriptextensionsscxsdSoft_DottedsentencebreaksentenceterminalSentence_TerminalsfcsimplecasefoldingsimplelowercasemappingSimple_Lowercase_MappingsimpletitlecasemappingSimple_Titlecase_MappingsimpleuppercasemappingSimple_Uppercase_MappingslcsoftdottedspaceWhite_SpacestcstermsuctcTitlecase_MappingtermTerminal_PunctuationterminalpunctuationtitlecasemappingucUppercase_Mappingui
cmp rax, rcx
setb r8b
lea rcx, [0x140295564]
cmp rdx, rcx
seta dl
test r8b, dl
je 0x14013819e
xor edx, edx
nop dword [rax]
mov r8d, dword [rcx + rdx*8]
mov r9d, dword [rcx + rdx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8], r10d
mov dword [rax + rdx*8 + 4], r9d
mov r8d, dword [rcx + rdx*8 + 8]
mov r9d, dword [rcx + rdx*8 + 0xc]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8 + 8], r10d
mov dword [rax + rdx*8 + 0xc], r9d
add rdx, 2
cmp rdx, 0x40
jne 0x140137ed0
jmp 0x140138209
cmp r8, 3
je 0x140137fcd
cmp r8, 8
je 0x140137f7c
cmp r8, 5
jne 0x140137fe5
mov eax, 0x49435341
xor eax, dword [rdx]
movzx ecx, byte [rdx + 4]
xor ecx, 0x49
or ecx, eax
jne 0x140137fe5
movzx eax, byte [0x14031a2c8]
mov edx, 8
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x1401382cd
movabs rcx, 0x7f00000000
jmp 0x140138248
movabs rax, 0x64656e6769737341
cmp qword [rdx], rax
jne 0x140137fe5
lea rdx, [0x140298905]
lea rcx, [rsp + 0x20]
mov r8d, 0xa
call fcn.140137e40
mov rcx, qword [rsp + 0x20]
mov rax, rcx
neg rax
movzx eax, byte [rsp + 0x28]
jno 0x140138280
movabs rcx, 0x8000000000000000
mov byte [rsi + 8], al
mov qword [rsi], rcx
jmp 0x14013826f
movzx eax, word [rdx]
xor eax, 0x6e41
movzx ecx, byte [rdx + 2]
xor ecx, 0x79
or cx, ax
je 0x140138222
mov r14, r8
sub r14, 0xf
mov eax, 0xf
cmovb rax, r8
neg r14
lea rcx, [0x140299257]
mov rbx, rdx
mov rdi, r8
mov r8, rax
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
xor eax, eax
test r14, r14
mov r15d, 0x12
cmovg r15, rax
lea r12, [r15 + 9]
mov eax, r12d
shl eax, 5
lea r14, [0x1402ae040]
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r13, r8
sub r13, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
test r13, r13
cmovle r15, r12
lea r12, [r15 + 5]
mov eax, r12d
shl eax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r13, r8
sub r13, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
test r13, r13
cmovle r15, r12
lea r12, [r15 + 2]
mov rax, r12
shl rax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r13, r8
sub r13, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
test r13, r13
cmovg r12, r15
lea r13, [r12 + 1]
mov rax, r13
shl rax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r15, r8
sub r15, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r15, rax
test r15, r15
cmovg r13, r12
lea r15, [r13 + 1]
mov rax, r15
shl rax, 5
mov rcx, qword [rax + r14]
mov r8, qword [rax + r14 + 8]
mov r12, r8
sub r12, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
test r12, r12
cmovg r15, r13
shl r15, 5
mov rcx, qword [r15 + r14]
mov rax, qword [r15 + r14 + 8]
mov r12, rax
sub r12, rdi
cmovb rdi, rax
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
test r12, r12
je 0x140138178
mov byte [rsi + 8], 1
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x14013826f
mov rdx, qword [r15 + r14 + 0x10]
mov rax, qword [r15 + r14 + 0x18]
lea r8, [rdx + rax*8]
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.140122d60
mov rcx, rsi
mov rdx, rdi
jmp 0x14013826a
xor edx, edx
movdqa xmm0, xmmword [0x140205760]
nop dword [rax + rax]
movdqu xmm1, xmmword [rdx + rcx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx], xmm2
add rdx, 0x10
cmp rdx, 0x200
jne 0x1401381b0
mov qword [rsp + 0x20], 0x40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x40
jmp 0x140138262
movzx eax, byte [0x14031a2c8]
mov edx, 8
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x1401382cd
movabs rcx, 0x10ffff00000000
mov qword [rax], rcx
mov qword [rsp + 0x20], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14012f7e0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rdx
movups xmm0, xmmword [rsp + 0x29]
movups xmmword [rsp + 0x49], xmm0
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x40]
call fcn.140121440
movdqu xmm0, xmmword [rsp + 0x40]
movdqu xmm1, xmmword [rsp + 0x50]
movdqu xmmword [rsi + 0x10], xmm1
movdqu xmmword [rsi], xmm0
jmp 0x14013826f
mov ecx, 4
mov edx, 0x200
call fcn.140033f20
mov ecx, 4
mov edx, 8
call fcn.140033f20
int3