Function at 0x140301bb0
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, 0xf0
call fcn.140327af0
sub rsp, rax
xor ebp, ebp
mov rsi, r9
mov r14d, ebp
mov rbx, rcx
call fcn.1401c69b0
mov rcx, rbx
mov qword [rsp + 0x58], rax
mov r13, rax
call fcn.14022eeb0
mov rcx, rax
mov r15, rax
call fcn.14022bd10
mov rcx, rbx
mov qword [rsp + 0x90], rax
call fcn.14022eed0
mov rcx, qword [rsp + 0x138]
mov edi, ebp
mov qword [rsp + 0xe0], rax
mov r12d, ebp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rbp
call fcn.1401ad2e0
mov rcx, rbx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0xb8], rbp
call fcn.14022fa70
mov rcx, rbx
mov qword [rsp + 0x78], rax
call fcn.14022fa60
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xd8], rbp
mov qword [rsp + 0xd0], rbp
test r13, r13
je 0x14030251d
cmp dword [rsp + 0x60], edi
jle 0x14030251d
mov rcx, r15
call fcn.14022bcf0
test rax, rax
je 0x1403024e7
mov rcx, rax
call fcn.1401ba800
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r13, eax
mov qword [rsp + 0xa0], r13
test eax, eax
je 0x1403024e7
mov rcx, r15
call fcn.14022d7c0
mov rcx, r15
mov qword [rsp + 0x68], rax
call fcn.14022d7c0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x68], rbp
je 0x1403024b1
test rax, rax
je 0x1403024b1
mov rcx, qword [rsp + 0x78]
call fcn.14020ad90
mov r14, rax
test rax, rax
jne 0x140301d2e
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0x9f
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
lea ecx, [rbp + 0x35]
mov edx, 0x80003
call fcn.1401ae1d0
mov ebx, ebp
jmp 0x140302084
mov rcx, r14
call fcn.14020aeb0
mov rcx, r14
call fcn.14020ab90
mov rcx, r14
mov rbx, rax
call fcn.14020ab90
mov rcx, r14
mov qword [rsp + 0xa8], rax
call fcn.14020ab90
mov rcx, r14
mov qword [rsp + 0x80], rax
call fcn.14020ab90
mov rcx, r14
mov qword [rsp + 0xb0], rax
call fcn.14020ab90
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x140301dbc
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xab
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0x80003
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
mov rbx, rdi
jmp 0x140302084
mov r8, r13
lea rcx, [r13 + r13]
mov r8d, 0xaf
lea rdx, str.crypto_sm2_sm2_crypt.c
call fcn.1401a7510
movsxd rcx, dword [rsp + 0x60]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0xb0
mov r12, rax
call fcn.1401a7510
mov qword [rsp + 0x50], rax
test r12, r12
je 0x140302556
test rax, rax
je 0x140302556
mov rax, qword [rsp + 0x158]
xor edx, edx
mov rcx, qword [rsp + 0x150]
mov r8, qword [rax]
call fcn.140328b50
mov r8d, 0xb7
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rsi
call fcn.1401a7510
mov rdi, rax
test rax, rax
je 0x14030207f
mov rdx, qword [rsp + 0x90]
mov r9, r14
xor r8d, r8d
mov rcx, rbx
call fcn.1402d0800
test eax, eax
je 0x140302051
mov rdx, qword [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8, rbx
mov rcx, r15
mov qword [rsp + 0x20], rbp
call fcn.14022d620
test eax, eax
je 0x14030248a
mov r9, qword [rsp + 0xb0]
mov rcx, r15
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], r14
call fcn.14022d280
test eax, eax
je 0x14030248a
mov r9, qword [rsp + 0xe0]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
call fcn.14022d620
test eax, eax
je 0x14030248a
mov r9, qword [rsp + 0x88]
mov rcx, r15
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x20], r14
call fcn.14022d280
test eax, eax
je 0x14030248a
mov rcx, qword [rsp + 0x80]
mov r8d, r13d
mov rdx, r12
call fcn.1401b9ff0
test eax, eax
js 0x140302474
mov rcx, qword [rsp + 0x88]
lea rdx, [r12 + r13]
mov r8d, r13d
call fcn.1401b9ff0
test eax, eax
js 0x140302474
mov rax, qword [rsp + 0x98]
lea r9, [r13*2]
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0x78]
mov rdx, rsi
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.140232c40
test eax, eax
je 0x14030244d
xor cl, cl
mov rax, rbp
test rsi, rsi
je 0x140302023
cmp rsi, 0x20
jb 0x140302010
mov rcx, rsi
xorps xmm2, xmm2
and rcx, 0xffffffffffffffe0
xorps xmm1, xmm1
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + rdi]
por xmm2, xmm0
movdqu xmm0, xmmword [rax + rdi + 0x10]
add rax, 0x20
por xmm1, xmm0
cmp rax, rcx
jb 0x140301fb0
por xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
por xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
por xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
por xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 1
por xmm1, xmm0
movd ecx, xmm1
cmp rax, rsi
jae 0x14030201b
nop dword [rax]
or cl, byte [rax + rdi]
inc rax
cmp rax, rsi
jb 0x140302010
test cl, cl
jne 0x140302130
mov r8, r13
xor edx, edx
add r8, r8
mov rcx, r12
call fcn.140328b50
mov rdx, qword [rsp + 0x90]
mov r9, r14
xor r8d, r8d
mov rcx, rbx
call fcn.1402d0800
test eax, eax
jne 0x140301e60
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xbd
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
mov edx, 0xc0103
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call fcn.1401c6ac0
mov rcx, qword [rsp + 0xd8]
call fcn.1401c52b0
mov rcx, qword [rsp + 0xd0]
call fcn.1401c52b0
mov r8d, 0x109
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rdi
call fcn.1401a7280
mov r8d, 0x10a
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r12
call fcn.1401a7280
mov r8d, 0x10b
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.1401a7280
mov rcx, r15
call fcn.1401c6900
mov rcx, r14
call fcn.14020aad0
mov rcx, qword [rsp + 0x68]
call fcn.14022d240
mov rcx, qword [rsp + 0x70]
call fcn.14022d240
mov rbx, qword [rsp + 0x130]
mov eax, ebp
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r13, qword [rsp + 0x140]
mov r8, rbp
cmp rsi, 0x40
jb 0x1403021e1
lea rcx, [rsi - 1]
lea rax, [r13 - 1]
add rcx, rdi
add rax, rsi
cmp rdi, rax
ja 0x140302161
cmp rcx, r13
jae 0x1403021e1
mov rdx, rsi
and rdx, 0xffffffffffffffc0
mov rcx, r13
lea rax, [rdi + 0x10]
sub rcx, rdi
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r8, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rcx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rcx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp r8, rdx
jne 0x140302180
cmp r8, rsi
je 0x140302202
mov r9, r13
lea rcx, [r8 + rdi]
sub r9, rdi
mov rdx, rsi
sub rdx, r8
movzx eax, byte [rcx + r9]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1403021f1
mov rcx, qword [rsp + 0x138]
call fcn.1401ad220
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1401c6a70
mov qword [rsp + 0xb8], rax
test rax, rax
jne 0x140302247
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xe0
jmp 0x140302062
mov r15, qword [rsp + 0x58]
mov rdx, rax
mov rcx, r15
call fcn.1401c61f0
test eax, eax
je 0x140302415
mov rbx, qword [rsp + 0xa0]
mov rdx, r12
mov r8, rbx
mov rcx, r15
call fcn.1401c6270
test eax, eax
je 0x140302415
mov r8, rsi
mov rdx, r13
mov rcx, r15
call fcn.1401c6270
test eax, eax
je 0x140302415
lea rdx, [rbx + r12]
mov r8, rbx
mov rcx, r15
call fcn.1401c6270
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x14030241a
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.1401c5cc0
test eax, eax
je 0x14030241a
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc8], rax
call fcn.1401c52e0
mov qword [rsp + 0xd0], rax
call fcn.1401c52e0
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
test rcx, rcx
je 0x1403023e2
test rax, rax
je 0x1403023e2
mov r8d, dword [rsp + 0x60]
mov rdx, rbx
call fcn.1401ed3e0
test eax, eax
je 0x1403023af
mov rcx, qword [rsp + 0xd8]
mov r8d, esi
mov rdx, rdi
call fcn.1401ed3e0
test eax, eax
je 0x1403023af
lea r8, [0x14040b440]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xc0]
call fcn.1401ec290
test eax, eax
jns 0x140302398
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xfe
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
jmp 0x140302089
mov rcx, qword [rsp + 0x158]
mov ebp, 1
cdqe
mov qword [rcx], rax
jmp 0x140302089
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xf7
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
jmp 0x140302089
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xf2
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0x8000d
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
jmp 0x140302089
mov rbx, qword [rsp + 0x50]
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xe8
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0x80006
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
jmp 0x140302089
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xd2
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
mov edx, 0x80006
jmp 0x140302073
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xcb
jmp 0x140302062
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0xc5
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
mov edx, 0x80010
jmp 0x140302073
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0x9a
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0x80010
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
mov rbx, rdi
jmp 0x140302084
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0x93
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
mov rbx, rdi
jmp 0x140302084
call fcn.1401adf50
lea r8, str.ossl_sm2_encrypt
mov edx, 0x8d
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.1401ae070
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.1401ae1d0
mov r15, r13
mov rbx, rdi
jmp 0x140302089
mov rbx, rax
jmp 0x140302084