Function at 0x5a9640
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.0042ed50
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x94]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0
call fcn.00533340
add esp, 4
test edi, edi
jne 0x5a969f
mov dword [esp + 0x1c], ebp
push ebp
call fcn.00542510
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jl 0x5a99ba
mov eax, dword [esp + 0x9c]
cmp eax, 0xffffffff
jne 0x5a9710
mov dword [esp + 0x9c], edi
mov edx, dword [ebx + 0x10]
push edx
call fcn.00530580
mov ebp, eax
dec ebp
push ebx
and ebp, 7
call fcn.00533c80
mov ecx, ebp
mov edx, 0xff
shl edx, cl
mov cl, byte [esi]
add esp, 8
test cl, dl
je 0x5a9740
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ba
cmp eax, 0xfffffffe
jne 0x5a971e
mov dword [esp + 0x9c], eax
jmp 0x5a96c9
jge 0x5a96c9
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ba
test ebp, ebp
jne 0x5a9746
inc esi
dec eax
lea edx, [edi + 2]
cmp eax, edx
jge 0x5a976a
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ba
mov ebx, eax
sub ebx, edi
lea ecx, [ebx - 2]
cmp dword [esp + 0x9c], ecx
jle 0x5a9781
push 0x82
jmp 0x5a974f
cmp byte [esi + eax - 1], 0xbc
je 0x5a97ab
push 0x86
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ba
push 0x8b
dec ebx
lea edx, [esi + ebx]
push str..crypto_rsa_rsa_pss.c
push ebx
mov dword [esp + 0x20], edx
call fcn.005290e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5a97ec
push 0x8d
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebx
push edi
call fcn.0059bf30
add esp, 0x14
test eax, eax
jl 0x5a99ad
test ebx, ebx
jle 0x5a9822
mov eax, edi
sub esi, edi
mov ecx, ebx
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x5a9817
test ebp, ebp
je 0x5a9836
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [edi], al
xor esi, esi
cmp byte [edi], 0
jne 0x5a984b
lea eax, [ebx - 1]
cmp esi, eax
jge 0x5a984b
inc esi
cmp byte [esi + edi], 0
je 0x5a9840
mov cl, byte [esi + edi]
inc esi
cmp cl, 1
je 0x5a9877
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ad
mov eax, dword [esp + 0x9c]
test eax, eax
jl 0x5a98ad
mov edx, ebx
sub edx, esi
cmp edx, eax
je 0x5a98ad
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
jmp 0x5a99ad
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00533390
add esp, 0xc
test eax, eax
je 0x5a99ad
push 8
lea edx, [esp + 0x2c]
push 0x61b874
push edx
call fcn.00533540
add esp, 0xc
test eax, eax
je 0x5a99ad
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00533540
add esp, 0xc
test eax, eax
je 0x5a99ad
sub ebx, esi
je 0x5a9921
push ebx
add esi, edi
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00533540
add esp, 0xc
test eax, eax
je 0x5a99ad
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00533550
add esp, 0xc
test eax, eax
je 0x5a99ad
mov ecx, dword [esp + 0x14]
mov eax, ebp
lea esi, [esp + 0x40]
cmp ebp, 4
jb 0x5a995c
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x5a9980
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x5a9948
test eax, eax
je 0x5a99a5
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x5a9980
cmp eax, 1
jbe 0x5a99a5
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x5a9980
cmp eax, 2
jbe 0x5a99a5
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x5a99a5
push 0xaa
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.005235f0
add esp, 0x14
mov dword [esp + 0x10], 0
jmp 0x5a99ad
mov dword [esp + 0x10], 1
test edi, edi
je 0x5a99ba
push edi
call fcn.005292e0
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.005335d0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00418878
add esp, 0x74
ret