Function at 0x1007aaf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x24
call fcn.10084230
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
jne 0x1007ab18
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
push ecx
call fcn.10030c30
mov ebx, eax
add esp, 4
cmp ebx, edi
mov dword [esp + 0x18], ebx
jl 0x1007abaa
mov esi, dword [esp + 0x4c]
cmp esi, 0xffffffff
jne 0x1007ab83
mov esi, ebx
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 0x10]
push edx
call fcn.10026db0
mov ebp, eax
push edi
dec ebp
and ebp, 7
mov dword [esp + 0x40], ebp
call fcn.10022300
add esp, 8
mov edi, eax
test ebp, ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x4c], edi
jne 0x1007ab72
mov byte [ebp], 0
inc ebp
dec edi
mov dword [esp + 0x4c], edi
lea eax, [ebx + 2]
cmp edi, eax
jge 0x1007abb4
push 0xe7
jmp 0x1007ac0d
cmp esi, 0xfffffffe
jne 0x1007ab8a
jmp 0x1007ab3a
jge 0x1007ab3a
push 0xdb
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x94
push 4
call fcn.10025e30
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
cmp esi, 0xfffffffe
jne 0x1007abff
sub edi, ebx
lea esi, [edi - 2]
test esi, esi
jle 0x1007ac41
push 0xf2
push str..crypto_rsa_rsa_pss.c
push esi
call fcn.100254a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x1007ac2f
push 0xf5
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x94
push 4
call fcn.10025e30
add esp, 0x14
jmp 0x1007ad5c
sub edi, ebx
lea ecx, [edi - 2]
cmp esi, ecx
jle 0x1007abbe
push 0xee
push str..crypto_rsa_rsa_pss.c
push 0x6e
push 0x94
push 4
call fcn.10025e30
mov eax, dword [esp + 0x28]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push esi
push ebx
call fcn.10028550
add esp, 8
test eax, eax
jle 0x1007ad58
lea edx, [esp + 0x1c]
lea ebx, [edi - 1]
push edx
call fcn.10049760
mov eax, dword [esp + 0x48]
push 0
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.100497a0
add esp, 0x10
test eax, eax
je 0x1007ad58
push 8
lea edx, [esp + 0x20]
push 0x100b48ac
push edx
call fcn.10049960
add esp, 0xc
test eax, eax
je 0x1007ad58
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.10049960
add esp, 0xc
test eax, eax
je 0x1007ad58
test esi, esi
je 0x1007acc4
mov eax, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.10049960
add esp, 0xc
test eax, eax
je 0x1007ad58
lea eax, [ebx + ebp]
push 0
lea edx, [esp + 0x20]
push eax
push edx
call fcn.10049a80
add esp, 0xc
test eax, eax
je 0x1007ad58
lea eax, [esp + 0x1c]
push eax
call fcn.10049fe0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [ebx + ebp]
push edx
push eax
push ebx
push ebp
call fcn.100338b0
add esp, 0x18
test eax, eax
jne 0x1007ad58
sub edi, esi
mov bl, byte [edi + ebp - 2]
lea eax, [edi + ebp - 2]
xor bl, 1
mov byte [eax], bl
inc eax
test esi, esi
jle 0x1007ad2e
xor ecx, ecx
test esi, esi
jle 0x1007ad2e
mov edx, dword [esp + 0x10]
mov bl, byte [eax]
mov dl, byte [ecx + edx]
xor bl, dl
mov byte [eax], bl
inc eax
inc ecx
cmp ecx, esi
jl 0x1007ad1b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1007ad47
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], 1
mov byte [ecx + ebp - 1], 0xbc
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1007ad69
push ebx
call fcn.10025720
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret