Function at 0x1402e3610
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.140309830
sub rsp, rax
xor ebx, ebx
mov r13, r9
mov qword [rsp + 0x68], rbx
mov rdi, rdx
mov r12, rcx
call fcn.1401e0790
mov rcx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rbx
mov r14d, ebx
mov ebp, ebx
mov r15d, ebx
call fcn.1401a9000
test rax, rax
jne 0x1402e368f
mov rcx, rdi
call fcn.140197000
mov rcx, r12
call fcn.14019a240
mov rcx, r12
call fcn.140207420
mov edi, ebx
mov esi, ebx
jmp 0x1402e3824
mov rcx, rax
call fcn.1401a4470
add eax, 7
mov rcx, rdi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rsp + 0x70], eax
movsxd r15, eax
call fcn.140197000
mov rcx, r12
mov dword [rsp + 0x74], eax
mov ebp, eax
mov rdi, rbx
mov rsi, rbx
call fcn.14019a240
mov rcx, r12
mov qword [rsp + 0x98], rax
call fcn.140207420
mov qword [rsp + 0xa0], rax
test r15, r15
je 0x1402e381e
test ebp, ebp
jle 0x1402e381e
mov r8, qword [rsp + 0x118]
mov edx, 0xff
mov rcx, qword [rsp + 0x110]
mov r8, qword [r8]
call fcn.14030a840
lea r9, [0x1403e64b0]
mov r8d, r13d
lea rdx, [rsp + 0x100]
xor ecx, ecx
call fcn.1401d2c30
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1402e3756
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x134
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
mov edx, 0x64
jmp 0x1402e380d
mov rcx, qword [rax + 0x10]
cmp dword [rcx], ebp
je 0x1402e3785
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x139
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
mov edx, 0x68
jmp 0x1402e380d
mov rax, qword [rax + 0x18]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0xa8], rcx
movsxd rbp, dword [rax]
mov r14, qword [rax + 8]
mov r13, rbp
mov rax, qword [rsp + 0x118]
cmp qword [rax], rbp
jae 0x1402e37d0
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x141
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
mov edx, WSAGetLastError
jmp 0x1402e380d
mov rcx, qword [rsp + 0x98]
call fcn.1401f3db0
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1402e38c5
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x147
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
mov edx, 0x80003
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.140197ef0
mov r14, qword [rsp + 0x60]
mov rbp, rbx
mov r15, rbx
mov rax, qword [rsp + 0x118]
xor edx, edx
mov rcx, qword [rsp + 0x110]
mov r8, qword [rax]
call fcn.14030a840
mov r8d, 0x195
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rdi
call fcn.140191260
mov r8d, 0x196
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbp
call fcn.140191260
mov r8d, 0x197
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r15
call fcn.140191260
mov rcx, qword [rsp + 0x78]
call fcn.140214fe0
mov rcx, qword [rsp + 0x68]
call fcn.1401f3af0
lea rdx, [0x1403e64b0]
mov rcx, r14
call fcn.1401d2790
mov rcx, rsi
call fcn.1401b0450
mov eax, ebx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.1401f3ed0
mov rcx, qword [rsp + 0x68]
call fcn.1401f3bb0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
call fcn.1401f3bb0
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x1402e390c
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x150
jmp 0x1402e37fc
mov r8d, 0x154
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r13
call fcn.1401914f0
lea rcx, [r15 + r15]
mov r8d, 0x155
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rdi, rax
call fcn.1401914f0
movsxd rcx, dword [rsp + 0x74]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0x156
mov qword [rsp + 0x58], rax
call fcn.1401914f0
mov qword [rsp + 0x50], rax
test rdi, rdi
je 0x1402e3e1a
cmp qword [rsp + 0x58], rbx
je 0x1402e3e1a
test rax, rax
je 0x1402e3e1a
mov rcx, qword [rsp + 0x80]
call fcn.140215560
mov qword [rsp + 0x78], rax
mov rcx, rax
test rax, rax
jne 0x1402e39d4
call fcn.140197c70
mov edx, 0x15d
lea r8, str.ossl_sm2_decrypt
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
mov edx, 0x80010
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.140197ef0
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
jmp 0x1402e3824
mov rax, qword [rsp + 0x68]
mov rdx, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 8]
mov r8, qword [rax]
call fcn.140215710
test eax, eax
je 0x1402e3e0b
mov rcx, r12
call fcn.140196eb0
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov r9, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdx, r9
mov qword [rsp + 0x28], rcx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1402153c0
test eax, eax
je 0x1402e3e0b
mov rax, qword [rsp + 0x68]
mov rcx, r12
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.140215020
test eax, eax
je 0x1402e3e0b
mov r12, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x70]
mov rdx, r12
mov rcx, qword [rsp + 0x88]
call fcn.1401a3cd0
test eax, eax
js 0x1402e3dcb
mov r8d, dword [rsp + 0x70]
lea rdx, [r15 + r12]
mov rcx, qword [rsp + 0x90]
call fcn.1401a3cd0
test eax, eax
js 0x1402e3dcb
mov rax, qword [rsp + 0xa0]
lea r9, [r15 + r15]
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0x98]
mov rdx, r13
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.14021a7b0
test eax, eax
je 0x1402e3dcb
mov rdx, r13
mov rcx, rdi
call fcn.1402e3490
test eax, eax
je 0x1402e3b43
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x173
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
xor r8d, r8d
lea edx, [r8 + 0x68]
lea ecx, [rdx - 0x33]
call fcn.140197ef0
mov r14, qword [rsp + 0x60]
mov rbp, r12
mov r15, qword [rsp + 0x50]
jmp 0x1402e3824
mov r9d, ebx
mov r12, r15
test ebp, ebp
je 0x1402e3c38
mov r8, qword [rsp + 0x110]
cmp ebp, 0x40
jb 0x1402e3c40
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea rdx, [rcx + r8]
cmp r8, rax
ja 0x1402e3b7e
cmp rdx, rdi
jae 0x1402e3c40
lea rax, [rcx + r14]
cmp r8, rax
ja 0x1402e3b93
mov r12, r15
cmp rdx, r14
jae 0x1402e3c40
mov eax, ebp
and eax, 0x8000003f
jge 0x1402e3ba3
dec eax
or eax, 0xffffffc0
inc eax
sub ebp, eax
lea rcx, [rdi + 0x10]
mov rdx, r14
movsxd r11, ebp
sub rdx, rdi
sub r8, rdi
mov r10, 0xfffffffffffffff0
mov r12, r15
sub r10, rdi
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r10]
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [rcx + r8 - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rcx - 0x30]
movdqu xmm1, xmmword [rdx + rcx - 0x30]
movdqu xmmword [r8 + rcx - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm2, xmmword [rdx + rcx - 0x20]
movdqu xmmword [r8 + rcx - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rcx + r8 - 0x20], xmm2
cmp rax, r11
jne 0x1402e3bd0
mov r8, qword [rsp + 0x110]
movsxd rax, r9d
cmp rax, r13
je 0x1402e3c75
sub r14, rdi
lea rcx, [rax + rdi]
sub r8, rdi
mov rdx, r13
sub rdx, rax
nop dword [rax + rax]
movzx eax, byte [r14 + rcx]
xor al, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402e3c60
call fcn.1401b0500
mov rsi, rax
test rax, rax
jne 0x1402e3ca9
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x17c
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
mov edx, 0x80006
jmp 0x1402e39b4
mov rdx, qword [rsp + 0xf8]
mov rcx, rsi
call fcn.1401afd40
mov rbp, qword [rsp + 0x58]
test eax, eax
je 0x1402e3d8e
mov r8, r12
mov rdx, rbp
mov rcx, rsi
call fcn.1401afdc0
test eax, eax
je 0x1402e3d8e
mov rdx, qword [rsp + 0x110]
mov r8, r13
mov rcx, rsi
call fcn.1401afdc0
test eax, eax
je 0x1402e3d8e
mov r8, r12
lea rdx, [r15 + rbp]
mov rcx, rsi
call fcn.1401afdc0
mov r15, qword [rsp + 0x50]
test eax, eax
je 0x1402e3d93
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call fcn.1401af810
test eax, eax
je 0x1402e3d93
movsxd r8, dword [rsp + 0x74]
mov rcx, r15
mov rdx, qword [rsp + 0xa8]
call fcn.1400012b0
test eax, eax
je 0x1402e3d74
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x18a
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
xor r8d, r8d
lea edx, [r8 + 0x66]
lea ecx, [rdx - 0x31]
call fcn.140197ef0
mov r14, qword [rsp + 0x60]
jmp 0x1402e3824
mov rax, qword [rsp + 0x118]
mov ebx, 1
mov r14, qword [rsp + 0x60]
mov qword [rax], r13
jmp 0x1402e383e
mov r15, qword [rsp + 0x50]
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x185
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
xor r8d, r8d
mov edx, 0x80006
lea ecx, [r8 + 0x35]
call fcn.140197ef0
mov r14, qword [rsp + 0x60]
jmp 0x1402e3824
call fcn.140197c70
lea r8, str.ossl_sm2_decrypt
mov edx, 0x16e
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.140197d90
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.140197ef0
mov r14, qword [rsp + 0x60]
mov rbp, r12
mov r15, qword [rsp + 0x50]
jmp 0x1402e3824
call fcn.140197c70
mov edx, 0x166
jmp 0x1402e399c
mov rbp, qword [rsp + 0x58]
mov r15, rax
mov r14, qword [rsp + 0x60]
jmp 0x1402e3824