Function at 0x140142d60
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, 0x90
xor r15d, r15d
mov rbx, r9
mov edi, r15d
mov rbp, r8
mov rsi, rcx
call fcn.1400798d0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14014315b
test rbx, rbx
mov rax, rbp
mov rcx, rbp
cmovne rax, rbx
mov qword [rsp + 0x48], rax
call fcn.140061840
mov dword [rsp + 0x30], eax
mov r13d, eax
test eax, eax
js 0x140142e5d
mov ebp, dword [rsp + 0xf8]
cmp ebp, 0xffffffff
jne 0x140142e38
mov ebp, eax
mov rcx, qword [rsi + 0x18]
call fcn.1400c3de0
mov rcx, rsi
lea r14d, [rax - 1]
and r14d, 7
call fcn.1400adaf0
mov ecx, r14d
mov r12d, 0xff
mov edx, r12d
mov r8d, eax
shl edx, cl
mov rcx, qword [rsp + 0xf0]
test byte [rcx], dl
je 0x140142e67
mov edx, 0x7e
mov dword [rsp + 0x20], 0x46
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_pss.c
lea r8d, [r12 - 0x7a]
lea ecx, [rdx - 0x7a]
call fcn.14006c2b0
mov rbp, qword [rsp + 0x38]
jmp 0x14014315e
cmp ebp, 0xfffffffd
jge 0x140142dd7
mov dword [rsp + 0x20], 0x3f
mov edx, 0x7e
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 0xa]
call fcn.14006c2b0
mov rbp, qword [rsp + 0x38]
jmp 0x14014315e
test r14d, r14d
jne 0x140142e6f
dec r8d
test r14d, r14d
lea rbx, [rcx + 1]
lea eax, [r13 + 2]
cmovne rbx, rcx
cmp r8d, eax
jge 0x140142eaf
mov dword [rsp + 0x20], 0x4e
mov r8d, WSASetLastError
mov ecx, 4
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_pss.c
lea edx, [rcx + 0x7a]
call fcn.14006c2b0
mov rbp, qword [rsp + 0x38]
jmp 0x14014315e
mov esi, r8d
sub esi, r13d
lea eax, [rsi - 2]
cmp ebp, 0xfffffffd
jne 0x140142ed9
mov ebp, eax
movsxd rax, r8d
cmp byte [rax + rbx - 1], 0xbc
je 0x140142ee7
mov dword [rsp + 0x20], 0x58
mov r8d, 0x86
jmp 0x140142e91
cmp ebp, eax
jle 0x140142ebf
mov dword [rsp + 0x20], 0x54
jmp 0x140142e8b
dec esi
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_pss.c
movsxd r13, esi
mov r8d, 0x5d
mov rcx, r13
lea rax, [rbx + r13]
mov qword [rsp + 0x40], rax
call fcn.14006c900
mov rdi, rax
test rax, rax
jne 0x140142f23
mov dword [rsp + 0x20], 0x5f
lea r8d, [rax + 0x41]
jmp 0x140142e91
mov rax, qword [rsp + 0x48]
mov edx, esi
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov r8, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.14012bc50
test eax, eax
js 0x140142e5d
mov r8d, r15d
test esi, esi
jle 0x140143000
cmp esi, 0x40
jb 0x140143000
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x140142f79
cmp rdx, rbx
jae 0x140143000
mov ecx, esi
and ecx, 0x8000003f
jge 0x140142f8a
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
mov rdx, rbx
sub eax, ecx
mov rcx, rdi
movsxd r9, eax
sub rdx, rdi
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + rdx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + rdx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm1, xmmword [rcx + rdx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
mov rax, rcx
sub rax, rdi
cmp rax, r9
jl 0x140142fa0
movsxd rax, r8d
cmp rax, r13
jge 0x140143024
add rax, rdi
sub rbx, rdi
nop
movzx ecx, byte [rbx + rax]
xor byte [rax], cl
inc rax
mov rcx, rax
sub rcx, rdi
cmp rcx, r13
jl 0x140143010
movzx edx, byte [rdi]
test r14d, r14d
je 0x14014303f
mov ecx, 8
sub ecx, r14d
sar r12d, cl
and r12b, dl
mov byte [rdi], r12b
jmp 0x140143043
movzx r12d, dl
mov ebx, r15d
test r12b, r12b
jne 0x14014305f
lea ecx, [rsi - 1]
mov rax, rdi
cmp ebx, ecx
jge 0x14014305f
inc rax
inc ebx
cmp byte [rax], r15b
je 0x140143051
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x14014307d
mov dword [rsp + 0x20], WSASetLastError
mov r8d, 0x87
jmp 0x140142e91
sub esi, ebx
cmp ebp, 0xfffffffe
je 0x140143095
cmp esi, ebp
je 0x140143095
mov dword [rsp + 0x20], WSASetLastError
jmp 0x140142e45
mov rbp, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, rbp
call fcn.140079400
test eax, eax
je 0x14014315e
mov r8d, 8
lea rdx, [0x14021e038]
mov rcx, rbp
call fcn.140079650
test eax, eax
je 0x14014315e
movsxd r14, dword [rsp + 0x30]
mov rcx, rbp
mov rdx, qword [rsp + 0xd8]
mov r8, r14
call fcn.140079650
test eax, eax
je 0x14014315e
test esi, esi
je 0x140143107
movsxd rdx, ebx
mov rcx, rbp
add rdx, rdi
movsxd r8, esi
call fcn.140079650
test eax, eax
je 0x14014315e
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.140079330
test eax, eax
je 0x14014315e
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r8, r14
call fcn.140175340
test eax, eax
je 0x140143153
mov edx, 0x7e
mov dword [rsp + 0x20], 0x7c
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_pss.c
lea ecx, [rdx - 0x7a]
lea r8d, [rdx - 0x16]
call fcn.14006c2b0
jmp 0x14014315e
mov r15d, 1
jmp 0x14014315e
mov rbp, rax
mov r8d, 0x83
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_pss.c
mov rcx, rdi
call fcn.14006c940
mov rcx, rbp
call fcn.1400798a0
mov rbx, qword [rsp + 0xd0]
mov eax, r15d
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret