Function at 0x140142f60
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.140079ad0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14014335b
test rbx, rbx
mov rax, rbp
mov rcx, rbp
cmovne rax, rbx
mov qword [rsp + 0x48], rax
call fcn.140061a40
mov dword [rsp + 0x30], eax
mov r13d, eax
test eax, eax
js 0x14014305d
mov ebp, dword [rsp + 0xf8]
cmp ebp, 0xffffffff
jne 0x140143038
mov ebp, eax
mov rcx, qword [rsi + 0x18]
call fcn.1400c3fe0
mov rcx, rsi
lea r14d, [rax - 1]
and r14d, 7
call fcn.1400adcf0
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 0x140143067
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.14006c4b0
mov rbp, qword [rsp + 0x38]
jmp 0x14014335e
cmp ebp, 0xfffffffd
jge 0x140142fd7
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.14006c4b0
mov rbp, qword [rsp + 0x38]
jmp 0x14014335e
test r14d, r14d
jne 0x14014306f
dec r8d
test r14d, r14d
lea rbx, [rcx + 1]
lea eax, [r13 + 2]
cmovne rbx, rcx
cmp r8d, eax
jge 0x1401430af
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.14006c4b0
mov rbp, qword [rsp + 0x38]
jmp 0x14014335e
mov esi, r8d
sub esi, r13d
lea eax, [rsi - 2]
cmp ebp, 0xfffffffd
jne 0x1401430d9
mov ebp, eax
movsxd rax, r8d
cmp byte [rax + rbx - 1], 0xbc
je 0x1401430e7
mov dword [rsp + 0x20], 0x58
mov r8d, 0x86
jmp 0x140143091
cmp ebp, eax
jle 0x1401430bf
mov dword [rsp + 0x20], 0x54
jmp 0x14014308b
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.14006cb00
mov rdi, rax
test rax, rax
jne 0x140143123
mov dword [rsp + 0x20], 0x5f
lea r8d, [rax + 0x41]
jmp 0x140143091
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.14012be50
test eax, eax
js 0x14014305d
mov r8d, r15d
test esi, esi
jle 0x140143200
cmp esi, 0x40
jb 0x140143200
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x140143179
cmp rdx, rbx
jae 0x140143200
mov ecx, esi
and ecx, 0x8000003f
jge 0x14014318a
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 0x1401431a0
movsxd rax, r8d
cmp rax, r13
jge 0x140143224
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 0x140143210
movzx edx, byte [rdi]
test r14d, r14d
je 0x14014323f
mov ecx, 8
sub ecx, r14d
sar r12d, cl
and r12b, dl
mov byte [rdi], r12b
jmp 0x140143243
movzx r12d, dl
mov ebx, r15d
test r12b, r12b
jne 0x14014325f
lea ecx, [rsi - 1]
mov rax, rdi
cmp ebx, ecx
jge 0x14014325f
inc rax
inc ebx
cmp byte [rax], r15b
je 0x140143251
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x14014327d
mov dword [rsp + 0x20], WSASetLastError
mov r8d, 0x87
jmp 0x140143091
sub esi, ebx
cmp ebp, 0xfffffffe
je 0x140143295
cmp esi, ebp
je 0x140143295
mov dword [rsp + 0x20], WSAStartup
jmp 0x140143045
mov rbp, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, rbp
call fcn.140079600
test eax, eax
je 0x14014335e
mov r8d, 8
lea rdx, [0x14021df58]
mov rcx, rbp
call fcn.140079850
test eax, eax
je 0x14014335e
movsxd r14, dword [rsp + 0x30]
mov rcx, rbp
mov rdx, qword [rsp + 0xd8]
mov r8, r14
call fcn.140079850
test eax, eax
je 0x14014335e
test esi, esi
je 0x140143307
movsxd rdx, ebx
mov rcx, rbp
add rdx, rdi
movsxd r8, esi
call fcn.140079850
test eax, eax
je 0x14014335e
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.140079530
test eax, eax
je 0x14014335e
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r8, r14
call fcn.140175530
test eax, eax
je 0x140143353
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.14006c4b0
jmp 0x14014335e
mov r15d, 1
jmp 0x14014335e
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.14006cb40
mov rcx, rbp
call fcn.140079aa0
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