Function at 0x1402fe840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xc0
call fcn.140342130
sub rsp, rax
xor esi, esi
mov rdi, r9
mov r14d, esi
mov r13, r8
mov r15, rdx
mov rbx, rcx
call fcn.140246db0
mov rcx, rbx
mov qword [rsp + 0x68], rax
call fcn.14024c760
mov rcx, rax
mov rbp, rax
call fcn.14024a9d0
mov rcx, rbx
mov qword [rsp + 0xb0], rax
call fcn.14024c780
mov rcx, r15
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x58], rsi
mov ebx, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rsi
call fcn.14022bee0
mov dword [rsp + 0x48], eax
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], rsi
cmp qword [rsp + 0x68], rbx
je 0x1402feecb
test eax, eax
jle 0x1402feecb
mov rcx, rbp
call fcn.1402fdf70
mov r15, rax
test rax, rax
jne 0x1402fe90d
mov dword [rsp + 0x20], 0x8a
jmp 0x1402feed3
mov rcx, rbp
call fcn.14024ba10
mov rcx, rbp
mov qword [rsp + 0x58], rax
call fcn.14024ba10
mov qword [rsp + 0x60], rax
call fcn.140260ac0
mov r14, rax
cmp qword [rsp + 0x58], rbx
je 0x1402feebb
cmp qword [rsp + 0x60], rbx
je 0x1402feebb
test rax, rax
je 0x1402feebb
mov rcx, rax
call fcn.140260bb0
mov rcx, r14
call fcn.140260910
mov rcx, r14
mov r12, rax
call fcn.140260910
mov rcx, r14
mov qword [rsp + 0x80], rax
call fcn.140260910
mov rcx, r14
mov qword [rsp + 0x78], rax
call fcn.140260910
mov rcx, r14
mov qword [rsp + 0x88], rax
call fcn.140260910
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1402fe9b1
mov dword [rsp + 0x20], 0x9e
lea r8d, [rax + 3]
jmp 0x1402feed9
lea rcx, [r15 + r15]
mov r8d, 0xa2
lea rdx, str.crypto_sm2_sm2_crypt.c
call fcn.14023ae50
movsxd rcx, dword [rsp + 0x48]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0xa3
mov qword [rsp + 0x50], rax
call fcn.14023ae50
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x50], rbx
je 0x1402fee92
test rax, rax
je 0x1402fee92
mov rax, qword [rsp + 0x118]
xor edx, edx
mov rcx, qword [rsp + 0x110]
mov r8, qword [rax]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rsp + 0xb0]
mov rcx, r12
call fcn.140261540
test eax, eax
jne 0x1402fea54
mov dword [rsp + 0x20], 0xad
mov edx, 0x67
lea r9, str.crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x23]
call fcn.140253150
mov rbp, qword [rsp + 0x40]
jmp 0x1402feef0
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8, r12
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call fcn.14024b860
test eax, eax
je 0x1402fee6b
mov r9, qword [rsp + 0x88]
mov rcx, rbp
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
call fcn.14024b520
test eax, eax
je 0x1402fee6b
mov r9, qword [rsp + 0xb8]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
call fcn.14024b860
test eax, eax
je 0x1402fee6b
mov r12, qword [rsp + 0x70]
mov rcx, rbp
mov r8, qword [rsp + 0x78]
mov r9, r12
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r14
call fcn.14024b520
test eax, eax
je 0x1402fee6b
mov rbp, qword [rsp + 0x50]
mov r8d, r15d
mov rcx, qword [rsp + 0x78]
mov rdx, rbp
call fcn.14025f780
test eax, eax
js 0x1402fee5e
lea rax, [r15 + rbp]
mov r8d, r15d
mov rdx, rax
mov qword [rsp + 0x70], rax
mov rcx, r12
call fcn.14025f780
test eax, eax
js 0x1402fee5e
mov r8d, 0xbf
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rdi
call fcn.14023ae50
mov rbx, rax
test rax, rax
jne 0x1402feb5a
mov dword [rsp + 0x20], 0xc1
jmp 0x1402fee9a
mov r12, qword [rsp + 0xf8]
lea r9, [r15 + r15]
mov qword [rsp + 0x30], r12
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1402fd1e0
test eax, eax
jne 0x1402feb98
mov dword [rsp + 0x20], 0xc8
lea r8d, [rax + 6]
jmp 0x1402feea0
mov rdx, rsi
test rdi, rdi
je 0x1402fecb1
cmp rdi, 8
jb 0x1402fec86
lea rcx, [rdi - 1]
lea rax, [r13 - 1]
add rcx, rbx
add rax, rdi
cmp rbx, rax
ja 0x1402febca
cmp rcx, r13
jae 0x1402fec86
mov rcx, r13
cmp rdi, 0x40
jb 0x1402fec54
mov r8, rdi
mov r9, rdi
and r8d, 0x3f
sub r9, r8
lea rax, [rbx + 0x10]
sub rcx, rbx
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rax + rcx]
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 rdx, r9
jne 0x1402febf0
cmp r8, 8
jb 0x1402fec81
jmp 0x1402fec57
sub rcx, rbx
mov r8, rdi
lea rax, [rdx + rbx]
and r8, 0xfffffffffffffff8
movq xmm0, qword [rax]
add rdx, 8
movq xmm1, qword [rcx + rax]
lea rax, [rax + 8]
pxor xmm1, xmm0
movq qword [rax - 8], xmm1
cmp rdx, r8
jne 0x1402fec62
cmp rdx, rdi
je 0x1402fecb1
mov r9, r13
lea rcx, [rdx + rbx]
sub r9, rbx
mov r8, rdi
sub r8, rdx
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x1402feca0
mov rbp, qword [rsp + 0x68]
mov rdx, r12
mov rcx, rbp
call fcn.1402468e0
test eax, eax
je 0x1402fee34
mov rdx, qword [rsp + 0x50]
mov r8, r15
mov rcx, rbp
call fcn.140246a80
test eax, eax
je 0x1402fee34
mov rdx, r13
mov r8, rdi
mov rcx, rbp
mov r13, rbp
call fcn.140246a80
test eax, eax
je 0x1402fee34
mov rdx, qword [rsp + 0x70]
mov r8, r15
mov rcx, rbp
call fcn.140246a80
mov rbp, qword [rsp + 0x40]
test eax, eax
je 0x1402fee39
xor r8d, r8d
mov rdx, rbp
mov rcx, r13
call fcn.140246740
test eax, eax
je 0x1402fee39
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
call fcn.140287d80
mov qword [rsp + 0xa0], rax
call fcn.140287d80
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
test rcx, rcx
je 0x1402fee0f
test rax, rax
je 0x1402fee0f
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
call fcn.1402873e0
test eax, eax
je 0x1402fedea
mov rcx, qword [rsp + 0xa8]
mov r8d, edi
mov rdx, rbx
call fcn.1402873e0
test eax, eax
je 0x1402fedea
lea r8, [0x140392a10]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x90]
call fcn.14028b320
test eax, eax
jns 0x1402fedd3
mov dword [rsp + 0x20], 0xea
jmp 0x1402fedf2
mov rcx, qword [rsp + 0x118]
mov esi, 1
cdqe
mov qword [rcx], rax
jmp 0x1402feef0
mov dword [rsp + 0x20], 0xe3
mov edx, 0x67
lea r9, str.crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x23]
call fcn.140253150
jmp 0x1402feef0
mov edx, 0x67
mov dword [rsp + 0x20], 0xde
lea r9, str.crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x26]
call fcn.140253150
jmp 0x1402feef0
mov rbp, qword [rsp + 0x40]
mov edx, 0x67
mov dword [rsp + 0x20], 0xd4
lea r9, str.crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x61]
call fcn.140253150
jmp 0x1402feef0
mov dword [rsp + 0x20], 0xbb
jmp 0x1402fea32
mov edx, 0x67
mov dword [rsp + 0x20], 0xb5
lea r9, str.crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x57]
call fcn.140253150
mov rbp, qword [rsp + 0x40]
jmp 0x1402feef0
mov dword [rsp + 0x20], 0xa6
mov r8d, 0x41
mov ecx, 0x35
lea r9, str.crypto_sm2_sm2_crypt.c
lea edx, [rcx + 0x32]
call fcn.140253150
mov rbp, qword [rsp + 0x40]
jmp 0x1402feef0
mov dword [rsp + 0x20], 0x92
mov r8d, 0x41
jmp 0x1402feed9
mov dword [rsp + 0x20], 0x84
mov r8d, 0x44
mov edx, 0x67
lea r9, str.crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
call fcn.140253150
mov rbp, rbx
mov rcx, qword [rsp + 0xa8]
call fcn.140287d50
mov rcx, qword [rsp + 0xa0]
call fcn.140287d50
mov r8d, 0xf4
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.14023ab50
mov rcx, qword [rsp + 0x50]
lea rdx, str.crypto_sm2_sm2_crypt.c
mov r8d, 0xf5
call fcn.14023ab50
mov r8d, 0xf6
lea rdx, str.crypto_sm2_sm2_crypt.c
mov rcx, rbp
call fcn.14023ab50
mov rcx, qword [rsp + 0x68]
call fcn.140246d70
mov rcx, r14
call fcn.140260850
mov rcx, qword [rsp + 0x58]
call fcn.14024b4e0
mov rcx, qword [rsp + 0x60]
call fcn.14024b4e0
lea r11, [rsp + 0xc0]
mov eax, esi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret