Function at 0x140135c20
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.140075e00
mov rcx, rbx
mov r12, rax
call fcn.14009b120
mov rcx, rax
mov rbp, rax
call fcn.1400d8e40
mov rcx, rbx
mov qword [rsp + 0xa0], rax
call fcn.14009b140
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.140060870
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], rdi
test r12, r12
je 0x14013622f
test eax, eax
jle 0x14013622f
mov rcx, rbp
call fcn.140135490
mov r15, rax
test rax, rax
jne 0x140135cdd
mov dword [rsp + 0x20], __WSAFDIsSet
jmp 0x140136237
mov rcx, rbp
call fcn.1400d9990
mov rcx, rbp
mov qword [rsp + 0x50], rax
call fcn.1400d9990
mov qword [rsp + 0x58], rax
call fcn.1400f66d0
mov r14, rax
cmp qword [rsp + 0x50], rbx
je 0x14013621f
cmp qword [rsp + 0x58], rbx
je 0x14013621f
test rax, rax
je 0x14013621f
mov rcx, rax
call fcn.1400f67b0
mov rcx, r14
call fcn.1400f6520
mov rcx, r14
mov r13, rax
call fcn.1400f6520
mov rcx, r14
mov qword [rsp + 0x70], rax
call fcn.1400f6520
mov rcx, r14
mov qword [rsp + 0x68], rax
call fcn.1400f6520
mov rcx, r14
mov qword [rsp + 0x78], rax
call fcn.1400f6520
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x140135d7e
mov dword [rsp + 0x20], 0xa7
lea r8d, [rax + 3]
jmp 0x14013623d
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.14006c350
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.14006c350
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x60], rbx
je 0x1401361f6
test rax, rax
je 0x1401361f6
mov rax, qword [rsp + 0x128]
xor edx, edx
mov rcx, qword [rsp + 0x120]
mov r8, qword [rax]
call fcn.140175020
mov rdx, qword [rsp + 0xa0]
mov rcx, r13
call fcn.1400f6b40
test eax, eax
jne 0x140135e21
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.14006b9e0
mov rbp, qword [rsp + 0x40]
jmp 0x140136254
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.1400d9940
test eax, eax
je 0x1401361cf
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.1400d9650
test eax, eax
je 0x1401361cf
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.1400d9940
test eax, eax
je 0x1401361cf
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.1400d9650
test eax, eax
je 0x1401361cf
mov rbp, qword [rsp + 0x60]
mov r8d, r15d
mov rcx, qword [rsp + 0x68]
mov rdx, rbp
call fcn.1400c3f20
test eax, eax
js 0x1401361c2
lea rdx, [r15 + rbp]
mov r8d, r15d
mov rcx, r13
call fcn.1400c3f20
test eax, eax
js 0x1401361c2
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.14006c350
mov rbx, rax
test rax, rax
jne 0x140135f1c
mov dword [rsp + 0x20], 0xca
jmp 0x1401361fe
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.140134740
test eax, eax
jne 0x140135f5a
mov dword [rsp + 0x20], 0xd1
lea r8d, [rax + 6]
jmp 0x140136204
mov r9, rdi
test rsi, rsi
je 0x140136021
mov r8, qword [rsp + 0x110]
cmp rsi, 0x40
jb 0x140135ffb
lea rcx, [rsi - 1]
lea rax, [r8 - 1]
add rcx, rbx
add rax, rsi
cmp rbx, rax
ja 0x140135f90
cmp rcx, r8
jae 0x140135ffb
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 0x140135fa0
cmp r9, rsi
je 0x140136021
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 0x140136010
mov rdx, r13
mov rcx, r12
call fcn.140075900
test eax, eax
je 0x140136198
mov r8, r15
mov rdx, rbp
mov rcx, r12
call fcn.140075b80
test eax, eax
je 0x140136198
mov rdx, qword [rsp + 0x110]
mov r8, rsi
mov rcx, r12
call fcn.140075b80
test eax, eax
je 0x140136198
mov r8, r15
lea rdx, [r15 + rbp]
mov rcx, r12
call fcn.140075b80
mov rbp, qword [rsp + 0x40]
test eax, eax
je 0x14013619d
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.140075780
test eax, eax
je 0x14013619d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
call fcn.1400a1f60
mov qword [rsp + 0x90], rax
call fcn.1400a1f60
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
test rcx, rcx
je 0x140136173
test rax, rax
je 0x140136173
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
call fcn.1400c9990
test eax, eax
je 0x14013614e
mov rcx, qword [rsp + 0x98]
mov r8d, esi
mov rdx, rbx
call fcn.1400c9990
test eax, eax
je 0x14013614e
lea r8, [0x140208540]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x80]
call fcn.1400a4f50
test eax, eax
jns 0x140136137
mov dword [rsp + 0x20], 0xf3
jmp 0x140136156
mov rcx, qword [rsp + 0x128]
mov edi, 1
cdqe
mov qword [rcx], rax
jmp 0x140136254
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.14006b9e0
jmp 0x140136254
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.14006b9e0
jmp 0x140136254
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.14006b9e0
jmp 0x140136254
mov dword [rsp + 0x20], 0xc4
jmp 0x140135dff
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.14006b9e0
mov rbp, qword [rsp + 0x40]
jmp 0x140136254
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.14006b9e0
mov rbp, qword [rsp + 0x40]
jmp 0x140136254
mov dword [rsp + 0x20], 0x9b
mov r8d, 0x41
jmp 0x14013623d
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.14006b9e0
mov rbp, rbx
mov rcx, qword [rsp + 0x98]
call fcn.1400a1f40
mov rcx, qword [rsp + 0x90]
call fcn.1400a1f40
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.14006c070
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.14006c070
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.14006c070
mov rcx, r12
call fcn.140075dd0
mov rcx, r14
call fcn.1400f6470
mov rcx, qword [rsp + 0x50]
call fcn.1400d9610
mov rcx, qword [rsp + 0x58]
call fcn.1400d9610
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