Function at 0x14005c4c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xf0
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movsxd rbx, dword [rsp + 0x148]
mov esi, r9d
mov r14, qword [rsp + 0x158]
lea rbp, str.e:ladik_appdir_stormlib_srclibtomcrypt_srcpkpkcs1pkcs_1_pss_decode.c
mov edi, dword [rsp + 0x150]
mov dword [rsp + 0x34], ebx
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x50], rcx
test rcx, rcx
jne 0x14005c552
mov ecx, 2
call fcn.1400a2a10
mov rcx, rax
mov qword [rsp + 0x20], rbp
mov r9d, 0x2a
lea r8, str.msghash___NULL
lea rdx, str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
call fcn.140005b40
mov ecx, SafeArrayCopy
call fcn.1400a325c
test r14, r14
jne 0x14005c588
lea ecx, [r14 + 2]
call fcn.1400a2a10
mov rcx, rax
mov qword [rsp + 0x20], rbp
lea r9d, [r14 + 0x2b]
lea r8, str.res___NULL
lea rdx, str.LTC_ARGCHK__s_failure_on_line__d_of_file__s_n
call fcn.140005b40
lea ecx, [r14 + 0x16]
call fcn.1400a325c
mov qword [rsp + 0x138], r12
mov dword [r14], 0
cmp ebx, 0x1f
ja 0x14005c93c
mov r12, rbx
lea rax, [0x1400df6a0]
shl r12, 7
cmp qword [r12 + rax], 0
je 0x14005c93c
mov r14d, 0
mov qword [rsp + 0xe8], r13
mov r13d, dword [r12 + rax + 0xc]
mov eax, edi
and eax, 7
mov dword [rsp + 0x30], eax
mov eax, edi
setne r14b
shr eax, 3
add r14d, eax
mov eax, dword [rsp + 0x140]
cmp eax, r14d
ja 0x14005c935
add eax, 2
add eax, r13d
cmp r14d, eax
jb 0x14005c935
cmp esi, r14d
jne 0x14005c935
mov ecx, r14d
mov qword [rsp + 0xe0], r15
call fcn.1400a2ae4
mov ecx, r14d
mov rbp, rax
call fcn.1400a2ae4
mov ecx, r14d
mov rdi, rax
call fcn.1400a2ae4
mov ecx, r14d
mov qword [rsp + 0x40], rax
call fcn.1400a2ae4
mov r15, rax
test rbp, rbp
je 0x14005c902
test rdi, rdi
je 0x14005c8fa
cmp qword [rsp + 0x40], 0
je 0x14005c8fa
test rax, rax
je 0x14005c8fa
mov rbx, qword [rsp + 0x48]
lea eax, [rsi - 1]
cmp byte [rax + rbx], 0xbc
je 0x14005c67e
mov ebx, 7
jmp 0x14005c8a0
sub r14d, r13d
mov rdx, rbx
mov rcx, rbp
lea esi, [r14 - 1]
mov r8d, esi
call fcn.1400b1500
mov edx, esi
mov r8, r13
add rdx, rbx
mov qword [rsp + 0x48], r13
mov rcx, r15
call fcn.1400b1500
neg dword [rsp + 0x30]
mov eax, dword [rsp + 0x150]
sbb ecx, ecx
and eax, 0xfffffff8
and ecx, 8
add ecx, eax
mov eax, 0xff
sub ecx, dword [rsp + 0x150]
inc ecx
sar eax, cl
mov ecx, eax
mov dword [rsp + 0x30], eax
not ecx
test byte [rbx], cl
jne 0x14005c674
mov ecx, dword [rsp + 0x34]
mov r9, rdi
mov r8d, r13d
mov dword [rsp + 0x20], esi
mov rdx, r15
call fcn.14005c2a0
mov ebx, eax
test eax, eax
jne 0x14005c8a0
xor edx, edx
test esi, esi
je 0x14005c7c1
cmp esi, 0x40
jb 0x14005c793
lea eax, [rsi - 1]
lea r8, [rax + rbp]
add rax, rdi
cmp rbp, rax
ja 0x14005c720
cmp r8, rdi
jae 0x14005c793
mov r8d, esi
and r8d, 0xffffffc0
mov r9d, 0x20
nop dword [rax]
movdqu xmm0, xmmword [rdx + rbp]
lea eax, [r9 - 0x10]
movdqu xmm1, xmmword [rdx + rdi]
pxor xmm1, xmm0
movdqu xmmword [rdx + rbp], xmm1
add edx, 0x40
movdqu xmm0, xmmword [rax + rbp]
movdqu xmm1, xmmword [rax + rdi]
pxor xmm1, xmm0
movdqu xmmword [rax + rbp], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rax + rbp]
movdqu xmm1, xmmword [rax + rdi]
pxor xmm1, xmm0
movdqu xmmword [rax + rbp], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm0, xmmword [rax + rbp]
movdqu xmm1, xmmword [rax + rdi]
pxor xmm1, xmm0
movdqu xmmword [rax + rbp], xmm1
cmp edx, r8d
jb 0x14005c730
cmp edx, esi
jae 0x14005c7c1
mov ecx, edx
mov r8, rdi
add rcx, rbp
sub r8, rbp
sub esi, edx
mov edx, esi
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14005c7b0
mov eax, dword [rsp + 0x30]
xor esi, esi
mov r13d, dword [rsp + 0x140]
sub r14d, r13d
and byte [rbp], al
add r14d, 0xfffffffe
je 0x14005c7f3
mov rax, rbp
nop
cmp byte [rax], 0
jne 0x14005c674
inc esi
inc rax
cmp esi, r14d
jb 0x14005c7e0
mov eax, esi
inc esi
cmp byte [rax + rbp], 1
jne 0x14005c674
lea rcx, [rsp + 0x60]
lea r14, [0x1400df6a0]
call qword [r12 + r14 + 0x58]
mov ebx, eax
test eax, eax
jne 0x14005c8a0
lea r8d, [rax + 8]
mov qword [rdi], 0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [r12 + r14 + 0x60]
mov ebx, eax
test eax, eax
jne 0x14005c8a0
mov r8d, dword [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
call qword [r12 + r14 + 0x60]
mov ebx, eax
test eax, eax
jne 0x14005c8a0
mov edx, esi
lea rcx, [rsp + 0x60]
add rdx, rbp
mov r8d, r13d
call qword [r12 + r14 + 0x60]
mov ebx, eax
test eax, eax
jne 0x14005c8a0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [r12 + r14 + 0x68]
mov ebx, eax
test eax, eax
jne 0x14005c8a0
mov r8, qword [rsp + 0x48]
mov rdx, r15
mov rcx, rdi
call fcn.1400b1b80
test eax, eax
jne 0x14005c89e
mov rax, qword [rsp + 0x58]
mov dword [rax], 1
xor ebx, ebx
mov rcx, r15
call fcn.1400a2ad0
mov rcx, qword [rsp + 0x40]
call fcn.1400a2ad0
mov rcx, rdi
call fcn.1400a2ad0
mov rcx, rbp
call fcn.1400a2ad0
mov eax, ebx
mov r15, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xe8]
mov r12, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140094850
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rbp
call fcn.1400a2ad0
test rdi, rdi
je 0x14005c90f
mov rcx, rdi
call fcn.1400a2ad0
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14005c921
mov rcx, rax
call fcn.1400a2ad0
test r15, r15
je 0x14005c92e
mov rcx, r15
call fcn.1400a2ad0
mov eax, SafeArrayGetDim
jmp 0x14005c8c4
mov eax, SafeArrayCopy
jmp 0x14005c8cc
mov eax, 0xb
jmp 0x14005c8d4