Function at 0x10122c00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.10084f50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push ebx
xor ebx, ebx
mov dword [esp + 0x14], 0
test eax, eax
mov dword [esp + 4], ebx
push ebp
cmove eax, ecx
push ecx
mov dword [esp + 0x38], eax
call fcn.100cfe30
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x10122ea9
push edi
mov edi, dword [esp + 0x3c]
cmp edi, 0xffffffff
jne 0x10122cd1
mov edi, ebp
push esi
mov esi, dword [esp + 0x2c]
push dword [esi + 0x10]
call fcn.100b9790
dec eax
and eax, 7
push esi
mov dword [esp + 0x24], eax
call fcn.100e6160
mov esi, dword [esp + 0x38]
add esp, 8
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x1c], ebx
jne 0x10122c84
mov byte [esi], bl
inc esi
dec ecx
mov dword [esp + 0x14], ecx
cmp edi, 0xfffffffe
jne 0x10122d04
mov edi, ecx
sub edi, ebp
sub edi, 2
test edi, edi
jle 0x10122d43
push 0xba
push str.crypto_rsa_rsa_pss.c
push edi
call fcn.100a7570
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10122d2d
push 0xbd
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.100b3a40
add esp, 0x14
jmp 0x10122ea7
cmp edi, 0xfffffffe
jne 0x10122cdb
jmp 0x10122c4e
jge 0x10122c4e
push 0xa8
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.100b3a40
add esp, 0x14
jmp 0x10122ea8
lea eax, [ebp + 2]
add eax, edi
cmp ecx, eax
jge 0x10122c90
push 0xb6
push str.crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call fcn.100b3a40
add esp, 0x14
jmp 0x10122ea7
push edi
push ebx
call fcn.100b1130
add esp, 8
test eax, eax
jle 0x10122ea7
mov ecx, dword [esp + 0x14]
sub ecx, ebp
mov dword [esp + 0x24], ecx
dec ecx
mov dword [esp + 0x18], ecx
call fcn.100c98e0
mov dword [esp + 0x10], eax
test eax, eax
je 0x10122ea7
push 0
push dword [esp + 0x3c]
push eax
call fcn.100c9550
add esp, 0xc
test eax, eax
je 0x10122ea7
push 8
push 0x101b2468
push dword [esp + 0x18]
call fcn.100c9700
add esp, 0xc
test eax, eax
je 0x10122ea7
push ebp
push dword [esp + 0x38]
push dword [esp + 0x18]
call fcn.100c9700
add esp, 0xc
test eax, eax
je 0x10122ea7
test edi, edi
je 0x10122dc4
push edi
push ebx
push dword [esp + 0x18]
call fcn.100c9700
add esp, 0xc
test eax, eax
je 0x10122ea7
mov eax, dword [esp + 0x18]
push 0
add eax, esi
push eax
push dword [esp + 0x18]
call fcn.100c94b0
add esp, 0xc
test eax, eax
je 0x10122ea7
mov ecx, dword [esp + 0x18]
push dword [esp + 0x3c]
push ebp
lea eax, [ecx + esi]
push eax
push ecx
push esi
call fcn.100e6620
add esp, 0x14
test eax, eax
jne 0x10122ea7
mov ecx, dword [esp + 0x24]
sub ecx, edi
add ecx, esi
xor byte [ecx - 2], 1
dec ecx
test edi, edi
jle 0x10122e7e
xor edx, edx
cmp edi, 0x20
jb 0x10122e6b
lea eax, [ebx - 1]
lea ebp, [ecx - 1]
add eax, edi
add ebp, edi
cmp ecx, eax
ja 0x10122e2a
cmp ebp, ebx
jae 0x10122e6b
mov eax, edi
and eax, 0x8000001f
jns 0x10122e38
dec eax
or eax, 0xffffffe0
inc eax
mov ebp, edi
sub ebp, eax
lea eax, [ebx + 0x10]
nop
movups xmm0, xmmword [ecx]
add edx, 0x20
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
add ecx, 0x20
cmp edx, ebp
jl 0x10122e40
cmp edx, edi
jge 0x10122e7e
nop
mov al, byte [edx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, edi
jl 0x10122e70
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10122e96
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [esi], al
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 1
mov byte [eax + esi - 1], 0xbc
pop esi
pop edi
push dword [esp + 8]
call fcn.100c98c0
push 0xec
push str.crypto_rsa_rsa_pss.c
push ebx
call fcn.100a75a0
mov eax, dword [esp + 0x28]
add esp, 0x10
pop ebp
pop ebx
add esp, 0x18
ret