Function at 0x14012c2f0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xc0
mov rcx, qword [rsp + 0x138]
xor esi, esi
movsxd r15, r9d
mov r13, r8
mov dword [rsp + 0x30], 0xffffffff
mov ebx, edx
mov qword [rsp + 0x38], rsi
mov r14d, esi
mov ebp, esi
test rcx, rcx
jne 0x14012c343
call fcn.1400b3be0
mov rcx, rax
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x140]
test rax, rax
cmove rax, rcx
mov qword [rsp + 0x140], rax
call fcn.140061840
movsxd rdi, eax
test ebx, ebx
jle 0x14012c80d
test r15d, r15d
jle 0x14012c80d
movsxd rbx, dword [rsp + 0x120]
mov qword [rsp + 0x110], r12
cmp ebx, r15d
jl 0x14012c777
lea eax, [rdi*2 + 2]
cmp ebx, eax
jl 0x14012c777
mov r14d, ebx
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
sub r14d, edi
mov r8d, 0x9a
dec r14d
movsxd rcx, r14d
call fcn.14006c900
mov rbp, rax
test rax, rax
jne 0x14012c3e8
mov dword [rsp + 0x20], 0x9c
mov edx, 0x99
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x58]
call fcn.14006c2b0
jmp 0x14012c7a1
cmp r15d, ebx
je 0x14012c42d
mov r8d, 0xa1
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
mov rcx, rbx
call fcn.14006cc20
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14012c416
mov dword [rsp + 0x20], 0xa4
jmp 0x14012c3c9
sub rbx, r15
mov r8, r15
mov rdx, r13
lea rcx, [rax + rbx]
call fcn.140174ce0
mov r13, qword [rsp + 0x38]
movzx r15d, byte [r13]
lea r12, [r13 + 1]
mov rax, qword [rsp + 0x140]
lea rcx, [rsp + 0x40]
dec r15d
mov qword [rsp + 0x20], rax
inc r13
shr r15d, 0x1f
add r13, rdi
mov r9d, r14d
mov r8, r13
mov edx, edi
neg r15d
mov rbx, rdi
call fcn.14012bc50
test eax, eax
jne 0x14012c7a1
mov edx, esi
test edi, edi
jle 0x14012c531
cmp edi, 0x40
jb 0x14012c531
lea eax, [rdi - 1]
movsxd rcx, eax
lea r8, [rsp + 0x40]
add r8, rcx
lea rax, [rcx + r12]
lea rcx, [rsp + 0x40]
cmp rcx, rax
ja 0x14012c4a8
cmp r8, r12
jae 0x14012c531
mov ecx, edi
and ecx, 0x8000003f
jge 0x14012c4b9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
mov r8, rsi
sub eax, ecx
mov rcx, r12
movsxd r9, eax
lea rax, [rsp + 0x40]
sub rcx, rax
nop
lea rax, [rsp + 0x40]
add edx, 0x40
add rax, r8
add r8, 0x40
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + rcx]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rax + rcx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmm1, xmmword [rax + rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmm1, xmmword [rax + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
cmp r8, r9
jl 0x14012c4d0
movsxd rdx, edx
cmp rdx, rbx
jge 0x14012c567
lea rax, [rsp + 0x40]
sub r12, rax
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
add rcx, rdx
inc rdx
movzx eax, byte [rcx + r12]
xor byte [rcx], al
cmp rdx, rbx
jl 0x14012c550
mov rax, qword [rsp + 0x140]
lea r8, [rsp + 0x40]
mov r9d, edi
mov qword [rsp + 0x20], rax
mov edx, r14d
mov rcx, rbp
call fcn.14012bc50
test eax, eax
jne 0x14012c7a1
mov r8d, esi
test r14d, r14d
jle 0x14012c650
cmp r14d, 0x40
jb 0x14012c650
lea eax, [r14 - 1]
movsxd rcx, eax
lea rax, [rcx + r13]
lea rdx, [rcx + rbp]
cmp rbp, rax
ja 0x14012c5c2
cmp rdx, r13
jae 0x14012c650
mov ecx, r14d
and ecx, 0x8000003f
jge 0x14012c5d4
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r14d
mov rdx, r13
sub eax, ecx
mov rcx, rbp
movsxd r9, eax
sub rdx, rbp
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add r8d, 0x40
movdqu xmm1, xmmword [rdx + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rdx + rcx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rdx + rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm1, xmmword [rdx + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
mov rax, rcx
sub rax, rbp
cmp rax, r9
jl 0x14012c5f0
movsxd rax, r8d
movsxd r12, r14d
cmp rax, r12
jge 0x14012c681
sub r13, rbp
lea rcx, [rax + rbp]
mov rdx, r12
sub rdx, rax
nop dword [rax + rax]
movzx eax, byte [rcx + r13]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14012c670
mov rax, qword [rsp + 0x138]
lea r8, [rsp + 0x80]
movsxd rdx, dword [rsp + 0x130]
xor r9d, r9d
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.140079180
test eax, eax
je 0x14012c7a1
mov r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.14006e850
mov r9d, esi
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and r15d, ecx
cmp rbx, r12
jge 0x14012c737
nop dword [rax + rax]
movzx r8d, byte [rbx + rbp]
mov ecx, r9d
not ecx
mov eax, r8d
xor eax, 1
inc rbx
lea edx, [rax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or r9d, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and esi, eax
lea eax, [r8 - 1]
shr eax, 0x1f
or esi, ecx
neg eax
or eax, r9d
and r15d, eax
cmp rbx, r12
jl 0x14012c6f0
test r15d, r9d
je 0x14012c777
lea ecx, [rsi + 1]
mov eax, r14d
sub eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x108], eax
jge 0x14012c7f5
mov edx, 0x99
mov dword [rsp + 0x20], 0xe8
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x2c]
call fcn.14006c2b0
mov edx, 0x99
mov dword [rsp + 0x20], 0xf5
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x20]
call fcn.14006c2b0
mov dword [rsp + 0x30], 0xffffffff
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14006c690
movsxd rdx, r14d
lea r8, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
mov r9d, 0xf8
mov rcx, rbp
call fcn.14006ca20
movsxd rdx, dword [rsp + 0x120]
lea r8, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
mov rcx, qword [rsp + 0x38]
mov r9d, 0xf9
call fcn.14006ca20
mov eax, dword [rsp + 0x30]
mov r12, qword [rsp + 0x110]
jmp 0x14012c810
movsxd rdx, ecx
mov rcx, qword [rsp + 0x100]
add rdx, rbp
movsxd r8, eax
call fcn.140174ce0
jmp 0x14012c7a1
or eax, 0xffffffff
add rsp, 0xc0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret