Function at 0x14012b2f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xe0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
movzx eax, byte [rax + 0x24]
cmp al, 2
je 0x14012b316
test al, 1
je 0x14012b656
movzx eax, byte [rdi + 0x30]
test eax, eax
je 0x14012b397
cmp eax, 1
jne 0x14012b431
movzx eax, byte [0x14031a2c8]
mov edx, 0x50
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14012b66e
movaps xmm0, xmmword [0x140205490]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1402054a0]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x1402054b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x1402054c0]
movups xmmword [rax + 0x30], xmm0
movdqa xmm0, xmmword [0x1402054d0]
movdqu xmmword [rax + 0x40], xmm0
mov qword [rsp + 0x30], 0xa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0xa
jmp 0x14012b560
movzx eax, byte [0x14031a2c8]
mov edx, 0x200
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14012b67d
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 0x14012b4e3
xor edx, edx
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 0x14012b3e0
jmp 0x14012b549
movzx eax, byte [0x14031a2c8]
mov edx, 0x1818
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14012b68c
xor ecx, ecx
lea rdx, [0x140293cfc]
movdqa xmm0, xmmword [0x140205480]
nop
movdqu xmm1, xmmword [rcx + rdx]
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 + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x14012b460
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov qword [rsp + 0x30], 0x303
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x303
jmp 0x14012b560
xor edx, edx
movdqa xmm0, xmmword [0x140205480]
nop dword [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 0x14012b4f0
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x40
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x30]
call fcn.14012f7e0
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
mov r9, rdi
call fcn.14012b850
mov rax, qword [rsp + 0x30]
mov rcx, rax
neg rcx
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x90], xmm0
jno 0x14012b615
movabs rbx, 0x8000000000000000
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
cmp byte [rdi + 0x31], 0
je 0x14012b5f8
lea rcx, [rsp + 0xa0]
call fcn.140121440
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov qword [rsi], rbx
jmp 0x14012b64b
mov rcx, qword [rsp + 0x78]
mov qword [rsi + 0x48], rcx
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x38], xmm1
movups xmmword [rsi + 0x28], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov qword [rsi], rax
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_self.flags__.unicode__assertion_failed:__self.flags__.unicode__09AZazAZaz
lea r8, str._redacted_
mov edx, 0x28
call fcn.1400576c0
mov ecx, 4
mov edx, 0x50
call fcn.140033f20
mov ecx, 4
mov edx, 0x200
call fcn.140033f20
mov ecx, 4
mov edx, 0x1818
call fcn.140033f20
int3