Function at 0x1401da980
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.1401e4c70
sub rsp, rax
xor ebp, ebp
mov rdi, r9
mov r14d, ebp
mov r13, rdx
mov rbx, rcx
call fcn.14003e050
mov rcx, rbx
mov qword [rsp + 0x70], rax
call fcn.140023040
mov rcx, rax
mov r15, rax
call fcn.140045a70
mov rcx, rbx
mov qword [rsp + 0x88], rax
call sym.ConsoleApplication1.exe_llhttp_get_error_reason
mov rcx, r13
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x60], rbp
mov esi, ebp
mov qword [rsp + 0x68], rbp
mov r12d, ebp
call fcn.14003c360
mov rcx, rbx
mov dword [rsp + 0x58], eax
mov qword [rsp + 0xb0], rbp
call fcn.14004a080
mov rcx, rbx
mov qword [rsp + 0x98], rax
mov r13, rax
call fcn.1400bafa0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xc8], rbp
cmp qword [rsp + 0x70], rbp
je 0x1401db2bd
cmp dword [rsp + 0x58], esi
jle 0x1401db2bd
mov rcx, r15
call fcn.1401d9ee0
mov rbx, rax
test rax, rax
jne 0x1401daa74
call fcn.14002f680
mov edx, 0xa0
jmp 0x1401db2c7
mov rcx, r15
call fcn.1400488a0
mov rcx, r15
mov qword [rsp + 0x60], rax
call fcn.1400488a0
mov rcx, r13
mov qword [rsp + 0x68], rax
call fcn.1400cbcb0
mov r14, rax
cmp qword [rsp + 0x60], rsi
je 0x1401db299
cmp qword [rsp + 0x68], rsi
je 0x1401db299
test rax, rax
je 0x1401db299
mov rcx, rax
call fcn.1400cbda0
mov rcx, r14
call fcn.1400cbac0
mov rcx, r14
mov r13, rax
call fcn.1400cbac0
mov rcx, r14
mov qword [rsp + 0xa0], rax
call fcn.1400cbac0
mov rcx, r14
mov qword [rsp + 0x78], rax
call fcn.1400cbac0
mov rcx, r14
mov qword [rsp + 0xa8], rax
call fcn.1400cbac0
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1401dab34
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xb4
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
mov edx, 0x80003
jmp 0x1401db2df
lea rcx, [rbx + rbx]
mov r8d, 0xb8
lea rdx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f600
movsxd rcx, dword [rsp + 0x58]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0xb9
mov r12, rax
call fcn.14002f600
mov qword [rsp + 0x50], rax
test r12, r12
je 0x1401db264
test rax, rax
je 0x1401db264
mov rax, qword [rsp + 0x148]
xor edx, edx
mov rcx, qword [rsp + 0x140]
mov r8, qword [rax]
call sub.msvcrt.dll_memset
mov r8d, 0xc2
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rdi
call fcn.14002f600
mov rsi, rax
test rax, rax
jne 0x1401dabe9
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xc4
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
lea ecx, [rsi + 0x35]
mov edx, 0xc0100
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
mov rdx, qword [rsp + 0x88]
mov r9, r14
xor r8d, r8d
mov rcx, r13
call fcn.1400d3bf0
test eax, eax
je 0x1401dadeb
nop word [rax + rax]
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8, r13
mov rcx, r15
mov qword [rsp + 0x20], rbp
call fcn.140048700
test eax, eax
je 0x1401db22c
mov r9, qword [rsp + 0xa8]
mov rcx, r15
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r14
call fcn.140048360
test eax, eax
je 0x1401db22c
mov r9, qword [rsp + 0xd8]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, r15
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
call fcn.140048700
test eax, eax
je 0x1401db22c
mov r9, qword [rsp + 0x80]
mov rcx, r15
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], r14
call fcn.140048360
test eax, eax
je 0x1401db22c
mov rcx, qword [rsp + 0x78]
mov r8d, ebx
mov rdx, r12
call fcn.1400368e0
test eax, eax
js 0x1401db1f4
mov rcx, qword [rsp + 0x80]
lea rdx, [rbx + r12]
mov r8d, ebx
call fcn.1400368e0
test eax, eax
js 0x1401db1f4
mov rax, qword [rsp + 0x90]
lea r9, [rbx + rbx]
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0x98]
mov rdx, rdi
mov qword [rsp + 0x38], rax
mov rcx, rsi
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.1401201a0
test eax, eax
je 0x1401db1bc
xor cl, cl
mov rax, rbp
test rdi, rdi
je 0x1401dada1
cmp rdi, 0x20
jb 0x1401dadb0
mov rcx, rdi
xorps xmm2, xmm2
and rcx, 0xffffffffffffffe0
xorps xmm1, xmm1
nop dword [rax]
movdqu xmm0, xmmword [rsi + rax]
orps xmm2, xmm0
movdqu xmm0, xmmword [rsi + rax + 0x10]
add rax, 0x20
orps xmm1, xmm0
cmp rax, rcx
jb 0x1401dad50
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, rdi
jae 0x1401dadbb
nop word [rax + rax]
or cl, byte [rsi + rax]
inc rax
cmp rax, rdi
jb 0x1401dadb0
test cl, cl
jne 0x1401dae23
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, r12
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x88]
mov r9, r14
xor r8d, r8d
mov rcx, r13
call fcn.1400d3bf0
test eax, eax
jne 0x1401dac10
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xca
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
mov r15, qword [rsp + 0x130]
mov rdx, rbp
test rdi, rdi
je 0x1401daf51
cmp rdi, 8
jb 0x1401daf24
lea rcx, [rdi - 1]
lea rax, [r15 - 1]
add rcx, rsi
add rax, rdi
cmp rsi, rax
ja 0x1401dae5d
cmp rcx, r15
jae 0x1401daf24
cmp rdi, 0x40
jb 0x1401daee2
mov rcx, rdi
mov r8, rdi
and ecx, 0x3f
sub r8, rcx
mov r9, r15
lea rax, [rsi + 0x10]
sub r9, rsi
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [r9 + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r9 + 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 [r9 + rax - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rdx, r8
jne 0x1401dae80
cmp rcx, 8
jb 0x1401daf1f
mov rcx, rdi
and rcx, 0xfffffffffffffff8
mov r8, r15
lea rax, [rdx + rsi]
sub r8, rsi
nop dword [rax]
nop word [rax + rax]
movq xmm0, qword [rax]
add rdx, 8
movq xmm1, qword [r8 + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp rdx, rcx
jne 0x1401daf00
cmp rdx, rdi
je 0x1401daf51
mov r9, r15
lea rcx, [rdx + rsi]
sub r9, rsi
mov r8, rdi
sub r8, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x1401daf40
mov rcx, qword [rsp + 0x128]
call fcn.14003c2a0
mov r8, qword [rsp + 0x90]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.14003e110
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x1401dafbb
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xed
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
mov r13, qword [rsp + 0x70]
mov rdx, rax
mov rcx, r13
call fcn.14003d640
test eax, eax
je 0x1401db184
mov r8, rbx
mov rdx, r12
mov rcx, r13
call fcn.14003d6c0
test eax, eax
je 0x1401db184
mov rdx, r15
mov r8, rdi
mov rcx, r13
mov r15, r13
call fcn.14003d6c0
test eax, eax
je 0x1401db184
mov r8, rbx
lea rdx, [rbx + r12]
mov rcx, r13
call fcn.14003d6c0
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x1401db189
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call fcn.14003d280
test eax, eax
je 0x1401db189
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
call fcn.14005fef0
mov qword [rsp + 0xc8], rax
call fcn.14005fef0
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
test rcx, rcx
je 0x1401db151
test rax, rax
je 0x1401db151
mov r8d, dword [rsp + 0x58]
mov rdx, rbx
call fcn.1400e0be0
test eax, eax
je 0x1401db11e
mov rcx, qword [rsp + 0xd0]
mov r8d, edi
mov rdx, rsi
call fcn.1400e0be0
test eax, eax
je 0x1401db11e
lea r8, [0x140316460]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xb8]
call fcn.140065150
test eax, eax
jns 0x1401db107
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0x10b
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
jmp 0x1401db2ee
mov rcx, qword [rsp + 0x148]
mov ebp, 1
cdqe
mov qword [rcx], rax
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0x104
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xff
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0100
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
jmp 0x1401db2ee
mov rbx, qword [rsp + 0x50]
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xf5
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0x80006
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xdf
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0x80006
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xd8
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xd2
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0x80010
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xbc
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
xor r8d, r8d
mov edx, 0xc0100
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, qword [rsp + 0x50]
jmp 0x1401db2ee
call fcn.14002f680
lea r8, str.ossl_sm2_encrypt
mov edx, 0xa8
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
mov edx, 0xc0100
jmp 0x1401db2df
call fcn.14002f680
mov edx, 0x9a
lea r8, str.ossl_sm2_encrypt
lea rcx, str.crypto_sm2_sm2_crypt.c
call fcn.14002f7a0
mov edx, 0xc0103
xor r8d, r8d
lea ecx, [r8 + 0x35]
call fcn.14002f8a0
mov rbx, rsi
mov rcx, qword [rsp + 0xb0]
call fcn.14003e160
mov rcx, qword [rsp + 0xd0]
call fcn.14005fec0
mov rcx, qword [rsp + 0xc8]
call fcn.14005fec0
mov r8d, 0x116
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rsi
call fcn.14002f2f0
mov r8d, 0x117
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, r12
call fcn.14002f2f0
mov r8d, 0x118
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.14002f2f0
mov rcx, qword [rsp + 0x70]
call fcn.14003dfa0
mov rcx, r14
call fcn.1400cba00
mov rcx, qword [rsp + 0x60]
call fcn.140048320
mov rcx, qword [rsp + 0x68]
call fcn.140048320
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