Function at 0x1401350c0
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
sub rsp, 0xc0
xor edi, edi
mov rsi, r9
mov r14d, edi
mov r15, rdx
mov rbx, rcx
call fcn.140079ad0
mov rcx, rbx
mov r12, rax
call fcn.14009a7f0
mov rcx, rax
mov rbp, rax
call fcn.1400d7a40
mov rcx, rbx
mov qword [rsp + 0xa0], rax
call fcn.14009a810
mov rcx, r15
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x50], rdi
mov ebx, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
call fcn.140061a40
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], rdi
test r12, r12
je 0x1401356cf
test eax, eax
jle 0x1401356cf
mov rcx, rbp
call fcn.140134930
mov r15, rax
test rax, rax
jne 0x14013517d
mov dword [rsp + 0x20], __WSAFDIsSet
jmp 0x1401356d7
mov rcx, rbp
call fcn.1400d8590
mov rcx, rbp
mov qword [rsp + 0x50], rax
call fcn.1400d8590
mov qword [rsp + 0x58], rax
call fcn.1400f4d90
mov r14, rax
cmp qword [rsp + 0x50], rbx
je 0x1401356bf
cmp qword [rsp + 0x58], rbx
je 0x1401356bf
test rax, rax
je 0x1401356bf
mov rcx, rax
call fcn.1400f4e70
mov rcx, r14
call fcn.1400f4be0
mov rcx, r14
mov r13, rax
call fcn.1400f4be0
mov rcx, r14
mov qword [rsp + 0x70], rax
call fcn.1400f4be0
mov rcx, r14
mov qword [rsp + 0x68], rax
call fcn.1400f4be0
mov rcx, r14
mov qword [rsp + 0x78], rax
call fcn.1400f4be0
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x14013521e
mov dword [rsp + 0x20], 0xa7
lea r8d, [rax + 3]
jmp 0x1401356dd
lea rcx, [r15 + r15]
mov r8d, 0xab
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
call fcn.14006ce20
movsxd rcx, dword [rsp + 0x48]
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov r8d, 0xac
mov qword [rsp + 0x60], rax
call fcn.14006ce20
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x60], rbx
je 0x140135696
test rax, rax
je 0x140135696
mov rax, qword [rsp + 0x128]
xor edx, edx
mov rcx, qword [rsp + 0x120]
mov r8, qword [rax]
call fcn.140174d10
mov rdx, qword [rsp + 0xa0]
mov rcx, r13
call fcn.1400f5200
test eax, eax
jne 0x1401352c1
mov dword [rsp + 0x20], 0xb6
mov edx, 0x67
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x23]
call fcn.14006c4b0
mov rbp, qword [rsp + 0x40]
jmp 0x1401356f4
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8, r13
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call fcn.1400d8540
test eax, eax
je 0x14013566f
mov r9, qword [rsp + 0x78]
mov rcx, rbp
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r14
call fcn.1400d8250
test eax, eax
je 0x14013566f
mov r9, qword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
call fcn.1400d8540
test eax, eax
je 0x14013566f
mov r13, qword [rsp + 0xb0]
mov rcx, rbp
mov r8, qword [rsp + 0x68]
mov r9, r13
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
call fcn.1400d8250
test eax, eax
je 0x14013566f
mov rbp, qword [rsp + 0x60]
mov r8d, r15d
mov rcx, qword [rsp + 0x68]
mov rdx, rbp
call fcn.1400c37b0
test eax, eax
js 0x140135662
lea rdx, [r15 + rbp]
mov r8d, r15d
mov rcx, r13
call fcn.1400c37b0
test eax, eax
js 0x140135662
mov r8d, 0xc8
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov rcx, rsi
call fcn.14006ce20
mov rbx, rax
test rax, rax
jne 0x1401353bc
mov dword [rsp + 0x20], 0xca
jmp 0x14013569e
mov r13, qword [rsp + 0x108]
lea r9, [r15 + r15]
mov qword [rsp + 0x30], r13
mov r8, rbp
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140133be0
test eax, eax
jne 0x1401353fa
mov dword [rsp + 0x20], 0xd1
lea r8d, [rax + 6]
jmp 0x1401356a4
mov r9, rdi
test rsi, rsi
je 0x1401354c1
mov r8, qword [rsp + 0x110]
cmp rsi, 0x40
jb 0x14013549b
lea rcx, [rsi - 1]
lea rax, [r8 - 1]
add rcx, rbx
add rax, rsi
cmp rbx, rax
ja 0x140135430
cmp rcx, r8
jae 0x14013549b
mov rdx, rsi
and rdx, 0xffffffffffffffc0
mov rcx, r8
mov rax, rbx
sub rcx, rbx
movdqu xmm0, xmmword [rax]
add r9, 0x40
movdqu xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + 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
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rcx + rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r9, rdx
jne 0x140135440
cmp r9, rsi
je 0x1401354c1
sub r8, rbx
lea rcx, [r9 + rbx]
mov rdx, rsi
sub rdx, r9
nop dword [rax]
movzx eax, byte [rcx + r8]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1401354b0
mov rdx, r13
mov rcx, r12
call fcn.1400795d0
test eax, eax
je 0x140135638
mov r8, r15
mov rdx, rbp
mov rcx, r12
call fcn.140079850
test eax, eax
je 0x140135638
mov rdx, qword [rsp + 0x110]
mov r8, rsi
mov rcx, r12
call fcn.140079850
test eax, eax
je 0x140135638
mov r8, r15
lea rdx, [r15 + rbp]
mov rcx, r12
call fcn.140079850
mov rbp, qword [rsp + 0x40]
test eax, eax
je 0x14013563d
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.140079450
test eax, eax
je 0x14013563d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
call fcn.1400a1630
mov qword [rsp + 0x90], rax
call fcn.1400a1630
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
test rcx, rcx
je 0x140135613
test rax, rax
je 0x140135613
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
call fcn.1400c9220
test eax, eax
je 0x1401355ee
mov rcx, qword [rsp + 0x98]
mov r8d, esi
mov rdx, rbx
call fcn.1400c9220
test eax, eax
je 0x1401355ee
lea r8, [0x140215ba0]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x80]
call fcn.1400a4620
test eax, eax
jns 0x1401355d7
mov dword [rsp + 0x20], 0xf3
jmp 0x1401355f6
mov rcx, qword [rsp + 0x128]
mov edi, 1
cdqe
mov qword [rcx], rax
jmp 0x1401356f4
mov dword [rsp + 0x20], 0xec
mov edx, 0x67
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x23]
call fcn.14006c4b0
jmp 0x1401356f4
mov edx, 0x67
mov dword [rsp + 0x20], 0xe7
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x26]
call fcn.14006c4b0
jmp 0x1401356f4
mov rbp, qword [rsp + 0x40]
mov edx, 0x67
mov dword [rsp + 0x20], 0xdd
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x61]
call fcn.14006c4b0
jmp 0x1401356f4
mov dword [rsp + 0x20], 0xc4
jmp 0x14013529f
mov edx, 0x67
mov dword [rsp + 0x20], 0xbe
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x57]
call fcn.14006c4b0
mov rbp, qword [rsp + 0x40]
jmp 0x1401356f4
mov dword [rsp + 0x20], 0xaf
mov r8d, 0x41
mov ecx, 0x35
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea edx, [rcx + 0x32]
call fcn.14006c4b0
mov rbp, qword [rsp + 0x40]
jmp 0x1401356f4
mov dword [rsp + 0x20], 0x9b
mov r8d, 0x41
jmp 0x1401356dd
mov dword [rsp + 0x20], 0x8d
mov r8d, 0x44
mov edx, 0x67
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
call fcn.14006c4b0
mov rbp, rbx
mov rcx, qword [rsp + 0x98]
call fcn.1400a1610
mov rcx, qword [rsp + 0x90]
call fcn.1400a1610
mov r8d, 0xfd
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.14006cb40
mov rcx, qword [rsp + 0x60]
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov r8d, 0xfe
call fcn.14006cb40
mov r8d, 0xff
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov rcx, rbp
call fcn.14006cb40
mov rcx, r12
call fcn.140079aa0
mov rcx, r14
call fcn.1400f4b30
mov rcx, qword [rsp + 0x50]
call fcn.1400d8210
mov rcx, qword [rsp + 0x58]
call fcn.1400d8210
mov rbx, qword [rsp + 0x100]
mov eax, edi
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret