Function at 0x140143ac0
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.140075e00
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140143ebb
test rbx, rbx
mov rax, rbp
mov rcx, rbp
cmovne rax, rbx
mov qword [rsp + 0x48], rax
call fcn.140060870
mov dword [rsp + 0x30], eax
mov r13d, eax
test eax, eax
js 0x140143bbd
mov ebp, dword [rsp + 0xf8]
cmp ebp, 0xffffffff
jne 0x140143b98
mov ebp, eax
mov rcx, qword [rsi + 0x18]
call fcn.1400c4750
mov rcx, rsi
lea r14d, [rax - 1]
and r14d, 7
call fcn.1400ae620
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 0x140143bc7
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.14006b9e0
mov rbp, qword [rsp + 0x38]
jmp 0x140143ebe
cmp ebp, 0xfffffffd
jge 0x140143b37
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.14006b9e0
mov rbp, qword [rsp + 0x38]
jmp 0x140143ebe
test r14d, r14d
jne 0x140143bcf
dec r8d
test r14d, r14d
lea rbx, [rcx + 1]
lea eax, [r13 + 2]
cmovne rbx, rcx
cmp r8d, eax
jge 0x140143c0f
mov dword [rsp + 0x20], 0x4e
mov r8d, WSAGetLastError
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.14006b9e0
mov rbp, qword [rsp + 0x38]
jmp 0x140143ebe
mov esi, r8d
sub esi, r13d
lea eax, [rsi - 2]
cmp ebp, 0xfffffffd
jne 0x140143c39
mov ebp, eax
movsxd rax, r8d
cmp byte [rax + rbx - 1], 0xbc
je 0x140143c47
mov dword [rsp + 0x20], 0x58
mov r8d, 0x86
jmp 0x140143bf1
cmp ebp, eax
jle 0x140143c1f
mov dword [rsp + 0x20], 0x54
jmp 0x140143beb
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.14006c030
mov rdi, rax
test rax, rax
jne 0x140143c83
mov dword [rsp + 0x20], 0x5f
lea r8d, [rax + 0x41]
jmp 0x140143bf1
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.14012d3f0
test eax, eax
js 0x140143bbd
mov r8d, r15d
test esi, esi
jle 0x140143d60
cmp esi, 0x40
jb 0x140143d60
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x140143cd9
cmp rdx, rbx
jae 0x140143d60
mov ecx, esi
and ecx, 0x8000003f
jge 0x140143cea
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 0x140143d00
movsxd rax, r8d
cmp rax, r13
jge 0x140143d84
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 0x140143d70
movzx edx, byte [rdi]
test r14d, r14d
je 0x140143d9f
mov ecx, 8
sub ecx, r14d
sar r12d, cl
and r12b, dl
mov byte [rdi], r12b
jmp 0x140143da3
movzx r12d, dl
mov ebx, r15d
test r12b, r12b
jne 0x140143dbf
lea ecx, [rsi - 1]
mov rax, rdi
cmp ebx, ecx
jge 0x140143dbf
inc rax
inc ebx
cmp byte [rax], r15b
je 0x140143db1
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x140143ddd
mov dword [rsp + 0x20], WSAGetLastError
mov r8d, 0x87
jmp 0x140143bf1
sub esi, ebx
cmp ebp, 0xfffffffe
je 0x140143df5
cmp esi, ebp
je 0x140143df5
mov dword [rsp + 0x20], WSAGetLastError
jmp 0x140143ba5
mov rbp, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, rbp
call fcn.140075930
test eax, eax
je 0x140143ebe
mov r8d, 8
lea rdx, [0x1402108f8]
mov rcx, rbp
call fcn.140075b80
test eax, eax
je 0x140143ebe
movsxd r14, dword [rsp + 0x30]
mov rcx, rbp
mov rdx, qword [rsp + 0xd8]
mov r8, r14
call fcn.140075b80
test eax, eax
je 0x140143ebe
test esi, esi
je 0x140143e67
movsxd rdx, ebx
mov rcx, rbp
add rdx, rdi
movsxd r8, esi
call fcn.140075b80
test eax, eax
je 0x140143ebe
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.140075860
test eax, eax
je 0x140143ebe
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r8, r14
call fcn.140175c20
test eax, eax
je 0x140143eb3
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.14006b9e0
jmp 0x140143ebe
mov r15d, 1
jmp 0x140143ebe
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.14006c070
mov rcx, rbp
call fcn.140075dd0
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