Function at 0x14035f8d0
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, 0xe0
call fcn.1403e54f0
sub rsp, rax
xor ebp, ebp
mov rsi, r9
mov r14d, ebp
mov rbx, rcx
call fcn.1401fe570
mov rcx, rbx
mov qword [rsp + 0x58], rax
mov r13, rax
call fcn.140240190
mov rcx, rax
mov r15, rax
call fcn.1400fece0
mov rcx, rbx
mov qword [rsp + 0x90], rax
call fcn.140173f80
mov rcx, qword [rsp + 0x128]
mov edi, ebp
mov qword [rsp + 0xd8], rax
mov r12d, ebp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rbp
call fcn.1401fc9d0
mov rcx, rbx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0xb0], rbp
call fcn.1402168d0
mov rcx, rbx
mov qword [rsp + 0x78], rax
call fcn.14026b9f0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xc8], rbp
test r13, r13
je 0x140360284
cmp dword [rsp + 0x60], edi
jle 0x140360284
mov rcx, r15
call fcn.1401f9c90
test rax, rax
je 0x14036024e
mov rcx, rax
call fcn.140233b20
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r13, eax
test eax, eax
je 0x14036024e
mov rcx, r15
call fcn.1402697b0
mov rcx, r15
mov qword [rsp + 0x68], rax
call fcn.1402697b0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x68], rbp
je 0x140360218
test rax, rax
je 0x140360218
mov rcx, qword [rsp + 0x78]
call fcn.14028d850
mov r14, rax
test rax, rax
jne 0x14035fa46
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0x9f
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
lea ecx, [rbp + 0x35]
mov edx, 0x80003
call fcn.14020ae40
mov ebx, ebp
jmp 0x14035fda6
mov rcx, r14
call fcn.14028d970
mov rcx, r14
call fcn.14028d650
mov rcx, r14
mov rbx, rax
call fcn.14028d650
mov rcx, r14
mov qword [rsp + 0xa0], rax
call fcn.14028d650
mov rcx, r14
mov qword [rsp + 0x80], rax
call fcn.14028d650
mov rcx, r14
mov qword [rsp + 0xa8], rax
call fcn.14028d650
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x14035fad4
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xab
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0x80003
lea ecx, [r8 + 0x35]
call fcn.14020ae40
mov rbx, rdi
jmp 0x14035fda6
lea rcx, [r13*2]
mov r8d, 0xaf
lea rdx, str.crypto_sm2_sm2_crypt.c
call fcn.14020a900
movsxd rcx, dword [rsp + 0x60]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0xb0
mov r12, rax
call fcn.14020a900
mov qword [rsp + 0x50], rax
test r12, r12
je 0x1403602bd
test rax, rax
je 0x1403602bd
mov rax, qword [rsp + 0x148]
xor edx, edx
mov rcx, qword [rsp + 0x140]
mov r8, qword [rax]
call fcn.14041cf40
mov r8d, 0xb7
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rsi
call fcn.14020a900
mov rdi, rax
test rax, rax
je 0x14035fda1
mov rdx, qword [rsp + 0x90]
mov r9, r14
xor r8d, r8d
mov rcx, rbx
call fcn.1402aa870
test eax, eax
je 0x14035fd73
nop dword [rax + rax]
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.140269610
test eax, eax
je 0x1403601f1
mov r9, qword [rsp + 0xa8]
mov rcx, r15
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], r14
call fcn.140269270
test eax, eax
je 0x1403601f1
mov r9, qword [rsp + 0xd8]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
call fcn.140269610
test eax, eax
je 0x1403601f1
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.140269270
test eax, eax
je 0x1403601f1
mov rcx, qword [rsp + 0x80]
mov r8d, r13d
mov rdx, r12
call fcn.140233390
test eax, eax
js 0x1403601db
mov rcx, qword [rsp + 0x88]
lea rdx, [r12 + r13]
mov r8d, r13d
call fcn.140233390
test eax, eax
js 0x1403601db
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 + 0x128]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.14026ed10
test eax, eax
je 0x1403601b4
xor cl, cl
mov rax, rbp
test rsi, rsi
je 0x14035fd21
cmp rsi, 0x20
jb 0x14035fd30
mov rcx, rsi
xorps xmm2, xmm2
and rcx, 0xffffffffffffffe0
xorps xmm1, xmm1
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax + rdi]
orps xmm2, xmm0
movdqu xmm0, xmmword [rax + rdi + 0x10]
add rax, 0x20
orps xmm1, xmm0
cmp rax, rcx
jb 0x14035fcd0
orps xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
orps xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
orps xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
orps xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 1
orps xmm1, xmm0
movd ecx, xmm1
cmp rax, rsi
jae 0x14035fd3b
nop word [rax + rax]
or cl, byte [rax + rdi]
inc rax
cmp rax, rsi
jb 0x14035fd30
test cl, cl
jne 0x14035fe52
lea r8, [r13*2]
xor edx, edx
mov rcx, r12
call fcn.14041cf40
mov rdx, qword [rsp + 0x90]
mov r9, r14
xor r8d, r8d
mov rcx, rbx
call fcn.1402aa870
test eax, eax
jne 0x14035fb80
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xbd
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
mov edx, 0xc0103
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.14020ae40
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
call fcn.1401fe680
mov rcx, qword [rsp + 0xd0]
call fcn.14020eea0
mov rcx, qword [rsp + 0xc8]
call fcn.14020eea0
mov r8d, 0x109
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rdi
call fcn.14020a670
mov r8d, 0x10a
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r12
call fcn.14020a670
mov r8d, 0x10b
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.14020a670
mov rcx, r15
call fcn.1401fe4c0
mov rcx, r14
call fcn.14028d590
mov rcx, qword [rsp + 0x68]
call fcn.140269230
mov rcx, qword [rsp + 0x70]
call fcn.140269230
mov rbx, qword [rsp + 0x120]
mov eax, ebp
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x130]
mov rdx, rbp
test rsi, rsi
je 0x14035ff71
cmp rsi, 8
jb 0x14035ff43
lea rcx, [rsi - 1]
lea rax, [rbx - 1]
add rcx, rdi
add rax, rsi
cmp rdi, rax
ja 0x14035fe8c
cmp rcx, rbx
jae 0x14035ff43
mov rcx, rbx
cmp rsi, 0x40
jb 0x14035ff10
mov r8, rsi
mov r9, rsi
and r8d, 0x3f
sub r9, r8
lea rax, [rdi + 0x10]
sub rcx, rdi
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rcx + rax - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rcx + rax - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rdx, r9
jne 0x14035feb0
cmp r8, 8
jb 0x14035ff3e
jmp 0x14035ff13
sub rcx, rdi
mov r8, rsi
and r8, 0xfffffffffffffff8
lea rax, [rdx + rdi]
nop
movq xmm0, qword [rax]
add rdx, 8
movq xmm1, qword [rcx + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp rdx, r8
jne 0x14035ff20
cmp rdx, rsi
je 0x14035ff71
mov r9, rbx
lea rcx, [rdx + rdi]
sub r9, rdi
mov r8, rsi
sub r8, rdx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r9]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x14035ff60
mov rcx, qword [rsp + 0x128]
call fcn.1401fc910
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1401fe630
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x14035ffb6
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xe0
jmp 0x14035fd84
mov r15, qword [rsp + 0x58]
mov rdx, rax
mov rcx, r15
call fcn.1401fddb0
test eax, eax
je 0x14036017c
mov r8, r13
mov rdx, r12
mov rcx, r15
call fcn.1401fde30
test eax, eax
je 0x14036017c
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.1401fde30
test eax, eax
je 0x14036017c
mov r8, r13
lea rdx, [r12 + r13]
mov rcx, r15
call fcn.1401fde30
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x140360181
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.1401fd880
test eax, eax
je 0x140360181
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
call fcn.14020f000
mov qword [rsp + 0xc8], rax
call fcn.14020f000
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
test rcx, rcx
je 0x140360149
test rax, rax
je 0x140360149
mov r8d, dword [rsp + 0x60]
mov rdx, rbx
call fcn.1402355c0
test eax, eax
je 0x140360116
mov rcx, qword [rsp + 0xd0]
mov r8d, esi
mov rdx, rdi
call fcn.1402355c0
test eax, eax
je 0x140360116
lea r8, [0x1404fff20]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xb8]
call fcn.140231fe0
test eax, eax
jns 0x1403600ff
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xfe
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14020ae40
jmp 0x14035fdab
mov rcx, qword [rsp + 0x148]
mov ebp, 1
cdqe
mov qword [rcx], rax
jmp 0x14035fdab
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xf7
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14020ae40
jmp 0x14035fdab
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xf2
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0x8000d
lea ecx, [r8 + 0x35]
call fcn.14020ae40
jmp 0x14035fdab
mov rbx, qword [rsp + 0x50]
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xe8
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0x80006
lea ecx, [r8 + 0x35]
call fcn.14020ae40
jmp 0x14035fdab
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xd2
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
mov edx, 0x80006
jmp 0x14035fd95
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xcb
jmp 0x14035fd84
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0xc5
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
mov edx, 0x80010
jmp 0x14035fd95
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0x9a
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0x80010
lea ecx, [r8 + 0x35]
call fcn.14020ae40
mov rbx, rdi
jmp 0x14035fda6
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, Ordinal_151
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14020ae40
mov rbx, rdi
jmp 0x14035fda6
call fcn.14020abc0
lea r8, str.ossl_sm2_encrypt
mov edx, 0x8d
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14020ace0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14020ae40
mov r15, r13
mov rbx, rdi
jmp 0x14035fdab
mov rbx, rax
jmp 0x14035fda6