Function at 0x14012c290
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 0x14012c2e3
call fcn.1400b3b80
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.1400617e0
movsxd rdi, eax
test ebx, ebx
jle 0x14012c7ad
test r15d, r15d
jle 0x14012c7ad
movsxd rbx, dword [rsp + 0x120]
mov qword [rsp + 0x110], r12
cmp ebx, r15d
jl 0x14012c717
lea eax, [rdi*2 + 2]
cmp ebx, eax
jl 0x14012c717
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.14006c8a0
mov rbp, rax
test rax, rax
jne 0x14012c388
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.14006c250
jmp 0x14012c741
cmp r15d, ebx
je 0x14012c3cd
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.14006cbc0
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14012c3b6
mov dword [rsp + 0x20], 0xa4
jmp 0x14012c369
sub rbx, r15
mov r8, r15
mov rdx, r13
lea rcx, [rax + rbx]
call fcn.140174c80
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.14012bbf0
test eax, eax
jne 0x14012c741
mov edx, esi
test edi, edi
jle 0x14012c4d1
cmp edi, 0x40
jb 0x14012c4d1
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 0x14012c448
cmp r8, r12
jae 0x14012c4d1
mov ecx, edi
and ecx, 0x8000003f
jge 0x14012c459
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 0x14012c470
movsxd rdx, edx
cmp rdx, rbx
jge 0x14012c507
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 0x14012c4f0
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.14012bbf0
test eax, eax
jne 0x14012c741
mov r8d, esi
test r14d, r14d
jle 0x14012c5f0
cmp r14d, 0x40
jb 0x14012c5f0
lea eax, [r14 - 1]
movsxd rcx, eax
lea rax, [rcx + r13]
lea rdx, [rcx + rbp]
cmp rbp, rax
ja 0x14012c562
cmp rdx, r13
jae 0x14012c5f0
mov ecx, r14d
and ecx, 0x8000003f
jge 0x14012c574
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 0x14012c590
movsxd rax, r8d
movsxd r12, r14d
cmp rax, r12
jge 0x14012c621
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 0x14012c610
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.140079120
test eax, eax
je 0x14012c741
mov r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.14006e7f0
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 0x14012c6d7
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 0x14012c690
test r15d, r9d
je 0x14012c717
lea ecx, [rsi + 1]
mov eax, r14d
sub eax, ecx
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x108], eax
jge 0x14012c795
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.14006c250
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.14006c250
mov dword [rsp + 0x30], 0xffffffff
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14006c630
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.14006c9c0
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.14006c9c0
mov eax, dword [rsp + 0x30]
mov r12, qword [rsp + 0x110]
jmp 0x14012c7b0
movsxd rdx, ecx
mov rcx, qword [rsp + 0x100]
add rdx, rbp
movsxd r8, eax
call fcn.140174c80
jmp 0x14012c741
or eax, 0xffffffff
add rsp, 0xc0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret