Function at 0x14030c800
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x110
call fcn.140342130
sub rsp, rax
mov rax, qword [0x1403e1658]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x178]
xor r14d, r14d
mov r13d, dword [rsp + 0x170]
mov esi, 0xffffffff
mov r12, qword [rsp + 0x190]
mov rdi, r8
mov qword [rsp + 0x60], rax
mov ebp, r14d
mov rax, qword [rsp + 0x188]
mov r15d, r14d
movsxd rbx, r9d
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r14d
test rax, rax
jne 0x14030c88e
call fcn.1402461b0
mov qword [rsp + 0x40], rax
test r12, r12
mov rcx, rax
cmove r12, rax
mov qword [rsp + 0x48], r12
call fcn.14022bee0
movsxd r12, eax
cmp dword [rsp + 0x34], ebp
jle 0x14030cfea
test ebx, ebx
jle 0x14030cfea
cmp r13d, ebx
jl 0x14030cfc8
lea ecx, [r12*2 + 2]
cmp r13d, ecx
jl 0x14030cfc8
mov ecx, r13d
lea rdx, str.crypto_rsa_rsa_oaep.c
sub ecx, r12d
mov r8d, 0x9d
dec ecx
movsxd rax, ecx
mov dword [rsp + 0x50], ecx
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.14023ab00
mov rsi, rax
movsxd rax, r13d
mov qword [rsp + 0x70], rax
test rsi, rsi
jne 0x14030c931
mov dword [rsp + 0x20], 0x9f
mov edx, 0x99
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x58]
call fcn.140253150
jmp 0x14030cf65
mov r8d, 0xa3
lea rdx, str.crypto_rsa_rsa_oaep.c
mov rcx, rax
call fcn.14023ab00
mov r15, rax
test rax, rax
jne 0x14030c958
mov dword [rsp + 0x20], 0xa6
jmp 0x14030c912
movsxd rax, r13d
add rdi, rbx
add r15, rax
test r13d, r13d
jle 0x14030c99e
mov rdx, r13
nop dword [rax]
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec r15
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
mov eax, ecx
and eax, 1
sub rdi, rax
and cl, byte [rdi]
mov byte [r15], cl
sub rdx, 1
jne 0x14030c970
movzx ebp, byte [r15]
lea r8, [r12 + 1]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x80]
movsxd rdi, dword [rsp + 0x50]
lea rbx, [r15 + 1]
dec ebp
mov qword [rsp + 0x20], rax
shr ebp, 0x1f
add r8, r15
mov r9d, edi
mov edx, r12d
neg ebp
mov r13, r12
call fcn.14030c0a0
test eax, eax
jne 0x14030cf65
mov edx, r14d
test r12d, r12d
jle 0x14030cb39
cmp r12d, 8
jb 0x14030cb39
lea eax, [r12 - 1]
movsxd rcx, eax
lea r8, [rsp + 0x80]
add r8, rcx
lea rax, [rcx + rbx]
lea rcx, [rsp + 0x80]
cmp rcx, rax
ja 0x14030ca25
cmp r8, rbx
jae 0x14030cb39
cmp r12d, 0x40
jb 0x14030cae5
mov ecx, r12d
and ecx, 0x8000003f
jge 0x14030ca41
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r12d
sub eax, ecx
lea r8, [rsp + 0x80]
movsxd r11, eax
lea r9, [rsp + 0x90]
sub r8, rbx
sub r9, rbx
lea rcx, [rbx + 0x20]
mov r10, 0xffffffffffffffe0
sub r10, rbx
nop dword [rax]
movdqu xmm0, xmmword [r8 + rcx - 0x20]
add edx, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
lea rax, [r10 + rcx]
pxor xmm1, xmm0
movdqu xmmword [r8 + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmm1, xmmword [rcx - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [r9 + rcx - 0x60], xmm1
movdqu xmm1, xmmword [rcx + r8 - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + r8 - 0x40], xmm1
movdqu xmm0, xmmword [rcx + r9 - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + r9 - 0x40], xmm1
cmp rax, r11
jl 0x14030ca70
mov eax, r12d
and al, 0x3f
cmp al, 8
jb 0x14030cb39
mov ecx, r12d
and ecx, 0x80000007
jge 0x14030caf7
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, r12d
mov r8, rbx
sub eax, ecx
movsxd rcx, edx
movsxd r9, eax
lea rax, [rsp + 0x80]
sub r8, rax
lea rax, [rsp + 0x80]
add edx, 8
add rax, rcx
add rcx, 8
movq xmm0, qword [rax]
movq xmm1, qword [rax + r8]
pxor xmm1, xmm0
movq qword [rax], xmm1
cmp rcx, r9
jl 0x14030cb10
movsxd rdx, edx
cmp rdx, r13
jge 0x14030cb69
lea rax, [rsp + 0x80]
sub rbx, rax
nop dword [rax]
lea rcx, [rsp + 0x80]
add rcx, rdx
inc rdx
movzx eax, byte [rcx + rbx]
xor byte [rcx], al
cmp rdx, r13
jl 0x14030cb50
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x80]
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov edx, edi
mov rcx, rsi
call fcn.14030c0a0
test eax, eax
jne 0x14030cf65
lea r9, [r12 + 1]
mov r8d, r14d
add r9, r15
test edi, edi
jle 0x14030ccb4
cmp edi, 8
jb 0x14030ccb4
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + r9]
lea rdx, [rcx + rsi]
cmp rsi, rax
ja 0x14030cbc8
cmp rdx, r9
jae 0x14030ccb4
cmp edi, 0x40
jb 0x14030cc6a
mov ecx, edi
and ecx, 0x8000003f
jge 0x14030cbe2
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
mov rdx, r9
movsxd r11, eax
sub rdx, rsi
lea rcx, [rsi + 0x10]
mov r10, 0xfffffffffffffff0
sub r10, rsi
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x10]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [r10 + rcx]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rdx + rcx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rdx + rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r11
jl 0x14030cc00
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x14030ccb4
jmp 0x14030cc70
mov rdx, r9
sub rdx, rsi
mov eax, edi
and eax, 0x80000007
jge 0x14030cc80
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
sub ecx, eax
movsxd rax, r8d
movsxd r10, ecx
lea rcx, [rax + rsi]
nop
movq xmm0, qword [rcx]
add r8d, 8
movq xmm1, qword [rdx + rcx]
pxor xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rsi
cmp rax, r10
jl 0x14030cc90
movsxd rax, r8d
mov rbx, rdi
cmp rax, rdi
jge 0x14030cce1
sub r9, rsi
lea rdx, [rax + rsi]
mov r8, rbx
sub r8, rax
nop dword [rax]
movzx eax, byte [rdx + r9]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14030ccd0
mov rax, qword [rsp + 0x40]
lea r8, [rsp + 0xc0]
movsxd rdx, dword [rsp + 0x180]
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140246670
test eax, eax
je 0x14030cf6a
mov r8, r13
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.140235f90
mov r9d, r14d
mov r11d, r12d
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
cmp r13, rbx
jge 0x14030cda6
mov r10, r13
mov edi, r14d
nop word [rax + rax]
movzx r8d, byte [r10 + rsi]
mov eax, r9d
not eax
mov edx, r8d
xor edx, 1
inc r10
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or r9d, edx
mov dword [rsp + 0x38], eax
not eax
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
and ecx, r11d
and edi, eax
inc r11d
lea eax, [r8 - 1]
or edi, ecx
shr eax, 0x1f
neg eax
or eax, r9d
and ebp, eax
cmp r10, rbx
jl 0x14030cd50
mov dword [rsp + 0x30], edi
mov edi, dword [rsp + 0x50]
mov r10d, dword [rsp + 0x34]
mov ebx, edi
sub ebx, dword [rsp + 0x30]
mov ecx, r10d
dec ebx
mov eax, r10d
sub ecx, ebx
mov dword [rsp + 0x38], ebx
xor ecx, ebx
xor eax, ebx
or ecx, eax
mov edx, edi
xor ecx, r10d
sub edx, r12d
shr ecx, 0x1f
mov eax, r10d
dec ecx
mov r11d, 1
and ecx, r9d
and ebp, ecx
lea r8d, [rdx - 1]
xor eax, r8d
mov dword [rsp + 0x40], r8d
mov ecx, r8d
sub ecx, r10d
xor ecx, r10d
or ecx, eax
xor ecx, r8d
shr ecx, 0x1f
neg ecx
mov dword [rsp + 0x34], ecx
not ecx
mov dword [rsp + 0x30], ecx
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
and eax, r8d
and ecx, r10d
or ecx, eax
mov dword [rsp + 0x48], ecx
cmp r8d, r11d
jle 0x14030cebb
sub edx, ebx
inc r12
lea r14d, [rdx - 1]
nop
mov eax, r14d
and eax, r11d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edi
sub eax, r11d
dec ecx
movsxd r9, eax
cmp r12, r9
jge 0x14030cea8
movzx ebx, cl
lea rax, [r12 + rsi]
mov r10d, ebx
movsxd rdi, r11d
sub r9, r13
not r10d
dec r9
nop dword [rax + rax]
movzx ecx, byte [rax + rdi]
lea rax, [rax + 1]
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], r10d
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
and r8b, cl
movzx ecx, byte [rax - 1]
and dl, cl
or dl, r8b
mov byte [rax - 1], dl
sub r9, 1
jne 0x14030ce70
mov edi, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
add r11d, r11d
cmp r11d, r8d
jl 0x14030ce30
mov ebx, dword [rsp + 0x38]
xor r14d, r14d
mov ecx, dword [rsp + 0x48]
movsxd r9, ecx
test ecx, ecx
jle 0x14030cf39
mov r10, qword [rsp + 0x68]
mov r8d, ebx
shr r8d, 0x1f
sub r13, r10
lea r11, [rsi + r13]
nop word [rax + rax]
mov edx, r14d
lea r10, [r10 + 1]
sub edx, ebx
mov ecx, r14d
shr ecx, 0x1f
movzx eax, r8b
xor al, cl
shr edx, 0x1f
xor dl, r8b
inc r14d
or dl, al
movzx eax, bpl
xor dl, cl
neg dl
movzx ecx, dl
and ecx, eax
movzx eax, byte [r11 + r10]
mov dword [rsp + 0x48], ecx
not ecx
mov dword [rsp + 0x40], ecx
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
and dl, al
movzx eax, byte [r10 - 1]
and cl, al
or cl, dl
mov byte [r10 - 1], cl
sub r9, 1
jne 0x14030cee0
mov edx, 0x99
mov dword [rsp + 0x20], 0x107
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x20]
call fcn.140253150
mov ecx, ebp
and ecx, 1
call fcn.1402534a0
mov rbx, qword [rsp + 0x58]
mov edx, 0x40
lea rcx, [rsp + 0x80]
call fcn.1402767c0
mov r9d, 0x10b
lea r8, str.crypto_rsa_rsa_oaep.c
mov rdx, rbx
mov rcx, rsi
call fcn.14023ac60
mov rdx, qword [rsp + 0x70]
lea r8, str.crypto_rsa_rsa_oaep.c
mov r9d, 0x10c
mov rcx, r15
call fcn.14023ac60
mov dword [rsp + 0x48], ebp
not ebp
mov dword [rsp + 0x40], ebp
mov ecx, dword [rsp + 0x48]
and ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
or eax, ecx
jmp 0x14030cfec
mov edx, 0x99
mov dword [rsp + 0x20], 0x98
lea r9, str.crypto_rsa_rsa_oaep.c
mov ecx, 4
lea r8d, [rdx - 0x20]
call fcn.140253150
mov eax, esi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1403424b0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret