Function at 0x1010a070
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.10063940
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, ecx
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x18], 0
push esi
test eax, eax
mov dword [esp + 0xc], ebx
push edi
cmovne edx, eax
push ecx
mov dword [esp + 0x28], edx
call fcn.100b52a0
mov edi, dword [esp + 0x44]
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x1010a347
cmp edi, 0xffffffff
jne 0x1010a119
mov edi, ebp
mov esi, dword [esp + 0x2c]
push dword [esi + 0x10]
call fcn.100bd970
dec eax
and eax, 7
push esi
mov dword [esp + 0x20], eax
call fcn.100b6480
mov esi, dword [esp + 0x38]
add esp, 8
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x18], ebx
jne 0x1010a0f2
mov byte [esi], bl
inc esi
dec ecx
mov dword [esp + 0x1c], ecx
lea eax, [ebp + 2]
cmp ecx, eax
jge 0x1010a14d
push 0xba
push str.crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call fcn.100b44a0
add esp, 0x14
jmp 0x1010a347
cmp edi, 0xfffffffe
jne 0x1010a125
mov edi, 0xfffffffd
jmp 0x1010a0bd
cmp edi, 0xfffffffd
jge 0x1010a0bd
push 0xae
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.100b44a0
add esp, 0x14
jmp 0x1010a347
mov eax, ecx
sub eax, ebp
mov dword [esp + 0x14], eax
lea ecx, [eax - 2]
cmp edi, 0xfffffffd
jne 0x1010a19c
mov edi, ecx
test edi, edi
jle 0x1010a1c0
push 0xc5
push str.crypto_rsa_rsa_pss.c
push edi
call fcn.100beff0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1010a1aa
push 0xc8
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.100b44a0
add esp, 0x14
jmp 0x1010a347
cmp edi, ecx
jle 0x1010a15f
push 0xc1
jmp 0x1010a0fe
push edi
push ebx
call fcn.100c29f0
add esp, 8
test eax, eax
jle 0x1010a347
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x3c], eax
call fcn.100ced50
mov dword [esp + 0x10], eax
test eax, eax
je 0x1010a347
push 0
push dword [esp + 0x3c]
push eax
call fcn.100ce9f0
add esp, 0xc
test eax, eax
je 0x1010a347
push 8
push 0x101c97dc
push dword [esp + 0x18]
call fcn.100ceba0
add esp, 0xc
test eax, eax
je 0x1010a347
push ebp
push dword [esp + 0x38]
push dword [esp + 0x18]
call fcn.100ceba0
add esp, 0xc
test eax, eax
je 0x1010a347
test edi, edi
je 0x1010a23b
push edi
push ebx
push dword [esp + 0x18]
call fcn.100ceba0
add esp, 0xc
test eax, eax
je 0x1010a347
mov eax, dword [esp + 0x3c]
push 0
add eax, esi
push eax
push dword [esp + 0x18]
call fcn.100ce950
add esp, 0xc
test eax, eax
je 0x1010a347
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x24]
push ebp
lea eax, [ecx + esi]
push eax
push ecx
push esi
call fcn.101091b0
add esp, 0x14
test eax, eax
jne 0x1010a347
mov ecx, dword [esp + 0x14]
sub ecx, edi
add ecx, esi
xor byte [ecx - 2], 1
lea eax, [ecx - 2]
dec ecx
test edi, edi
jle 0x1010a31e
xor edx, edx
cmp edi, 0x40
jb 0x1010a310
lea ebp, [eax + edi]
lea eax, [edi - 1]
add eax, ebx
cmp ecx, eax
ja 0x1010a2a6
cmp ebp, ebx
jae 0x1010a310
mov eax, edi
and eax, 0x8000003f
jns 0x1010a2b4
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, edi
sub ebp, eax
lea eax, [ebx + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
xorps xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ecx + 0x20]
xorps xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm1, xmmword [eax - 0x30]
movups xmm0, xmmword [ecx + 0x30]
xorps xmm1, xmm0
movups xmmword [ecx + 0x30], xmm1
add ecx, 0x40
cmp edx, ebp
jl 0x1010a2c0
cmp edx, edi
jge 0x1010a31e
nop dword [eax + eax]
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x1010a310
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1010a336
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [esi], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
mov byte [eax + esi - 1], 0xbc
push dword [esp + 0x10]
call fcn.100ced30
push 0xf7
push str.crypto_rsa_rsa_pss.c
push edi
push ebx
call fcn.100bf100
mov eax, dword [esp + 0x34]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret