Function at 0x1402e7c10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xb0
call fcn.14036dd20
sub rsp, rax
xor esi, esi
mov r15, r9
mov qword [rsp + 0x68], rsi
mov rbx, rdx
mov r12, rcx
call fcn.1401ee630
mov rcx, rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], rsi
mov r13d, esi
mov edi, esi
mov r14d, esi
call fcn.1401bbdc0
test rax, rax
jne 0x1402e7c8f
mov rcx, rbx
call fcn.1401a5330
mov rcx, r12
call fcn.1401a6d20
mov rcx, r12
call fcn.14021c390
mov ebx, esi
mov ebp, esi
jmp 0x1402e7e24
mov rcx, rax
call fcn.1401b9430
add eax, 7
mov rcx, rbx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rsp + 0x74], eax
movsxd r14, eax
call fcn.1401a5330
mov rcx, r12
mov dword [rsp + 0x70], eax
mov edi, eax
mov rbx, rsi
mov rbp, rsi
call fcn.1401a6d20
mov rcx, r12
mov qword [rsp + 0xa0], rax
call fcn.14021c390
mov qword [rsp + 0xa8], rax
test r14, r14
je 0x1402e7e1e
test edi, edi
jle 0x1402e7e1e
mov r8, qword [rsp + 0x118]
mov edx, 0xff
mov rcx, qword [rsp + 0x110]
mov r8, qword [r8]
call sub.VCRUNTIME140.dll_memset
lea r9, [0x140408600]
mov r8d, r15d
lea rdx, [rsp + 0x100]
xor ecx, ecx
call fcn.1401e0ca0
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1402e7d56
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x134
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0x64
jmp 0x1402e7e0d
mov rcx, qword [rax + 0x10]
cmp dword [rcx], edi
je 0x1402e7d85
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x139
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0x68
jmp 0x1402e7e0d
mov rax, qword [rax + 0x18]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x90], rcx
movsxd rdi, dword [rax]
mov r15, qword [rax + 8]
mov r13, rdi
mov rax, qword [rsp + 0x118]
cmp qword [rax], rdi
jae 0x1402e7dd0
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x141
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, WSAGetLastError
jmp 0x1402e7e0d
mov rcx, qword [rsp + 0xa0]
call fcn.14020e070
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1402e7ec5
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x147
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0x80003
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.1401a6230
mov r13, qword [rsp + 0x60]
mov rdi, rbx
mov r14, rbx
mov rax, qword [rsp + 0x118]
xor edx, edx
mov rcx, qword [rsp + 0x110]
mov r8, qword [rax]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x195
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.14019f4d0
mov r8d, 0x196
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rdi
call fcn.14019f4d0
mov r8d, 0x197
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r14
call fcn.14019f4d0
mov rcx, qword [rsp + 0x78]
call fcn.140219bc0
mov rcx, qword [rsp + 0x68]
call fcn.14020ddb0
lea rdx, [0x140408600]
mov rcx, r13
call fcn.1401e0800
mov rcx, rbp
call fcn.1401c32a0
mov rbx, qword [rsp + 0xf0]
mov eax, esi
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.14020e190
mov rcx, qword [rsp + 0x68]
call fcn.14020de70
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
call fcn.14020de70
mov qword [rsp + 0x98], rax
test rax, rax
jne 0x1402e7f0c
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x150
jmp 0x1402e7dfc
mov r8d, 0x154
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r13
call fcn.14019f770
lea rcx, [r14 + r14]
mov r8d, 0x155
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rbx, rax
call fcn.14019f770
movsxd rcx, dword [rsp + 0x70]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0x156
mov qword [rsp + 0x50], rax
call fcn.14019f770
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x1402e8465
cmp qword [rsp + 0x50], rsi
je 0x1402e8465
test rax, rax
je 0x1402e8465
mov rcx, qword [rsp + 0x88]
call fcn.14021a140
mov qword [rsp + 0x78], rax
mov rcx, rax
test rax, rax
jne 0x1402e7fd4
call fcn.1401a5fb0
mov edx, 0x15d
lea r8, str.ossl_sm2_decrypt
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0x80010
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.1401a6230
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
jmp 0x1402e7e24
mov rax, qword [rsp + 0x68]
mov rdx, rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 8]
mov r8, qword [rax]
call fcn.14021a2f0
test eax, eax
je 0x1402e8456
mov rcx, r12
call fcn.1401a51e0
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov r9, qword [rsp + 0x78]
mov r12, qword [rsp + 0x88]
mov rdx, r9
mov qword [rsp + 0x28], rcx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140219fa0
test eax, eax
je 0x1402e8456
mov rax, qword [rsp + 0x68]
mov rcx, r12
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.140219c00
test eax, eax
je 0x1402e8456
mov r12d, dword [rsp + 0x74]
mov r8d, r12d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.1401b8ca0
test eax, eax
js 0x1402e842f
mov rax, qword [rsp + 0x50]
mov r8d, r12d
mov rcx, qword [rsp + 0x98]
add rax, r14
mov rdx, rax
mov qword [rsp + 0x80], rax
call fcn.1401b8ca0
test eax, eax
js 0x1402e842f
mov rax, qword [rsp + 0xa8]
lea r9, [r14 + r14]
mov r8, qword [rsp + 0x50]
mov rdx, r13
mov qword [rsp + 0x40], rax
mov rcx, rbx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.14021f430
test eax, eax
je 0x1402e842f
mov rdx, r13
mov rcx, rbx
call fcn.1402e7a90
test eax, eax
je 0x1402e813b
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x173
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0x68
jmp 0x1402e7fb4
mov edx, esi
mov r12, r14
test edi, edi
je 0x1402e8295
mov r9, qword [rsp + 0x110]
cmp edi, 8
jb 0x1402e829d
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + r9]
cmp r9, rax
ja 0x1402e8175
cmp r8, rbx
jae 0x1402e829d
lea rax, [rcx + r15]
cmp r9, rax
ja 0x1402e818a
mov r12, r14
cmp r8, r15
jae 0x1402e829d
cmp edi, 0x40
jb 0x1402e8249
mov ecx, edi
and ecx, 0x8000003f
jge 0x1402e81a4
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
mov r8, r15
movsxd r11, eax
sub r8, rbx
lea rcx, [rbx + 0x10]
sub r9, rbx
mov r10, 0xfffffffffffffff0
sub r10, rbx
mov r12, r14
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm2, xmmword [r8 + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r10 + rcx]
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [r9 + rcx - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx - 0x30]
movdqu xmm1, xmmword [r8 + rcx - 0x30]
movdqu xmmword [r9 + rcx - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm2, xmmword [r8 + rcx - 0x20]
movdqu xmmword [r9 + rcx - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [r9 + rcx - 0x20], xmm2
cmp rax, r11
jne 0x1402e81d0
mov r9, qword [rsp + 0x110]
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x1402e829d
jmp 0x1402e824c
mov r12, r14
mov eax, edi
and eax, 0x80000007
jge 0x1402e825c
dec eax
or eax, 0xfffffff8
inc eax
sub edi, eax
movsxd rcx, edx
mov r8, r15
add rcx, rbx
movsxd r10, edi
sub r8, rbx
sub r9, rbx
movq xmm1, qword [rcx + r8]
add edx, 8
movq xmm0, qword [rcx]
xorps xmm1, xmm0
movq qword [rcx + r9], xmm1
add rcx, 8
mov rax, rcx
sub rax, rbx
cmp rax, r10
jne 0x1402e8270
mov r9, qword [rsp + 0x110]
movsxd rax, edx
cmp rax, r13
je 0x1402e82d5
mov r8, r9
lea rcx, [rax + rbx]
sub r8, rbx
sub r15, rbx
mov rdx, r13
sub rdx, rax
nop dword [rax + rax]
movzx eax, byte [rcx + r15]
xor al, byte [rcx]
mov byte [rcx + r8], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402e82c0
call fcn.1401c3350
mov rbp, rax
test rax, rax
jne 0x1402e8309
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x17c
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0x80006
jmp 0x1402e7fb4
mov rdx, qword [rsp + 0xf8]
mov rcx, rbp
call fcn.1401c2bb0
mov rdi, qword [rsp + 0x50]
test eax, eax
je 0x1402e83f2
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call fcn.1401c2c30
test eax, eax
je 0x1402e83f2
mov rdx, qword [rsp + 0x110]
mov r8, r13
mov rcx, rbp
call fcn.1401c2c30
test eax, eax
je 0x1402e83f2
mov rdx, qword [rsp + 0x80]
mov r8, r12
mov rcx, rbp
call fcn.1401c2c30
mov r14, qword [rsp + 0x58]
test eax, eax
je 0x1402e83f7
xor r8d, r8d
mov rdx, r14
mov rcx, rbp
call fcn.1401c2670
test eax, eax
je 0x1402e83f7
movsxd r8, dword [rsp + 0x70]
mov rcx, r14
mov rdx, qword [rsp + 0x90]
call fcn.1400012b0
test eax, eax
je 0x1402e83d8
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x18a
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
xor r8d, r8d
lea edx, [r8 + 0x66]
lea ecx, [rdx - 0x31]
call fcn.1401a6230
mov r13, qword [rsp + 0x60]
jmp 0x1402e7e24
mov rax, qword [rsp + 0x118]
mov esi, 1
mov qword [rax], r13
mov r13, qword [rsp + 0x60]
jmp 0x1402e7e3e
mov r14, qword [rsp + 0x58]
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x185
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
xor r8d, r8d
mov edx, 0x80006
lea ecx, [r8 + 0x35]
call fcn.1401a6230
mov r13, qword [rsp + 0x60]
jmp 0x1402e7e24
call fcn.1401a5fb0
lea r8, str.ossl_sm2_decrypt
mov edx, 0x16e
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a60d0
mov edx, 0xc0103
jmp 0x1402e7fb4
call fcn.1401a5fb0
mov edx, 0x166
jmp 0x1402e7f9c
mov rdi, qword [rsp + 0x50]
mov r14, rax
mov r13, qword [rsp + 0x60]
jmp 0x1402e7e24