Function at 0x100da550
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.100feb80
push ebx
push esi
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
cmp dword [esp + 0x34], esi
jne 0x100da578
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
push ecx
call fcn.10056bd0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, esi
jl 0x100da7a1
mov esi, dword [esp + 0x38]
cmp esi, 0xffffffff
jne 0x100da5e9
mov esi, ebx
push ebp
push edi
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x10]
push edx
call fcn.10072090
lea ebp, [eax - 1]
and ebp, 7
push edi
mov dword [esp + 0x2c], ebp
call fcn.10078490
add esp, 8
mov edi, eax
test ebp, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
jne 0x100da5d8
mov byte [ebp], 0
inc ebp
dec edi
mov dword [esp + 0x1c], edi
lea eax, [ebx + 2]
cmp edi, eax
jge 0x100da615
push 0xb8
jmp 0x100da66a
cmp esi, 0xfffffffe
jne 0x100da5f0
jmp 0x100da59e
jge 0x100da59e
push 0xac
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x98
push 4
call fcn.10053dd0
add esp, 0x14
jmp 0x100da7a1
sub edi, ebx
cmp esi, 0xfffffffe
jne 0x100da65e
lea esi, [edi - 2]
test esi, esi
jle 0x100da697
push 0xc3
push str.crypto_rsa_rsa_pss.c
push esi
call fcn.10054290
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100da685
push 0xc6
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x98
push 4
call fcn.10053dd0
add esp, 0x14
jmp 0x100da79f
lea ecx, [edi - 2]
cmp esi, ecx
jle 0x100da61f
push 0xbf
push str.crypto_rsa_rsa_pss.c
push 0x6e
push 0x98
push 4
call fcn.10053dd0
add esp, 0x14
jmp 0x100da79f
push esi
push eax
call fcn.10060660
add esp, 8
test eax, eax
jle 0x100da79f
lea ebx, [edi - 1]
call fcn.1005ea20
mov dword [esp + 0x10], eax
test eax, eax
je 0x100da79f
mov edx, dword [esp + 0x38]
push 0
push edx
push eax
call fcn.1005ea60
add esp, 0xc
test eax, eax
je 0x100da79f
mov ecx, dword [esp + 0x10]
push 8
push 0x10159de8
push ecx
call fcn.1005ec10
add esp, 0xc
test eax, eax
je 0x100da79f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.1005ec10
add esp, 0xc
test eax, eax
je 0x100da79f
test esi, esi
je 0x100da71d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push esi
push edx
push eax
call fcn.1005ec10
add esp, 0xc
test eax, eax
je 0x100da79f
mov ecx, dword [esp + 0x10]
push 0
lea eax, [ebx + ebp]
push eax
push ecx
call fcn.1005ec20
add esp, 0xc
test eax, eax
je 0x100da79f
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebx + ebp]
push eax
push ebx
push ebp
call fcn.100dafe0
add esp, 0x14
test eax, eax
jne 0x100da79f
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x100da775
xor ecx, ecx
test esi, esi
jle 0x100da775
mov edx, dword [esp + 0x14]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x100da766
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100da78e
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x1c]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x20], 1
pop edi
pop ebp
mov edx, dword [esp + 8]
push edx
call fcn.1005ea40
mov eax, dword [esp + 0x10]
push 0xf5
push str.crypto_rsa_rsa_pss.c
push eax
call fcn.10054320
mov eax, dword [esp + 0x28]
add esp, 0x10
pop esi
pop ebx
add esp, 0x18
ret