Function at 0x4a6830
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.0043b180
mov eax, dword [0x4fc060]
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 + 0x24], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0
call fcn.004549c0
add esp, 4
test edi, edi
jne 0x4a688f
mov dword [esp + 0x1c], ebp
push ebp
call fcn.00455890
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
js 0x4a6ba6
mov eax, dword [esp + 0x9c]
cmp eax, 0xffffffff
jne 0x4a68fe
mov dword [esp + 0x9c], edi
mov edx, dword [ebx + 0x10]
push edx
call fcn.0040ce90
lea ebp, [eax - 1]
push ebx
and ebp, 7
call fcn.00452fc0
mov edx, 0xff
mov ecx, ebp
shl edx, cl
add esp, 8
test byte [esi], dl
je 0x4a692e
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6ba6
cmp eax, 0xfffffffe
jne 0x4a690c
mov dword [esp + 0x9c], eax
jmp 0x4a68b9
jge 0x4a68b9
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6ba6
test ebp, ebp
jne 0x4a6934
inc esi
dec eax
add edi, 2
cmp eax, edi
jge 0x4a6958
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6ba6
mov edi, eax
sub edi, dword [esp + 0x10]
lea edx, [edi - 2]
cmp dword [esp + 0x9c], edx
jle 0x4a6971
push 0x82
jmp 0x4a693d
cmp byte [esi + eax - 1], 0xbc
je 0x4a699b
push 0x86
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6ba6
push 0x8b
dec edi
lea eax, [esi + edi]
push str..crypto_rsa_rsa_pss.c
push edi
mov dword [esp + 0x24], eax
call fcn.004082b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4a69dc
push 0x8d
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6ba6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push edi
push ebx
call fcn.0049f870
add esp, 0x14
test eax, eax
js 0x4a6b9d
test edi, edi
jle 0x4a6a10
mov eax, ebx
sub esi, ebx
mov ecx, edi
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x4a6a07
test ebp, ebp
je 0x4a6a24
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x4a6a3b
lea eax, [edi - 1]
mov edi, edi
cmp esi, eax
jge 0x4a6a3b
inc esi
cmp byte [esi + ebx], 0
je 0x4a6a30
mov cl, byte [esi + ebx]
inc esi
cmp cl, 1
je 0x4a6a67
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6b9d
mov eax, dword [esp + 0x9c]
test eax, eax
js 0x4a6a9d
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x4a6a9d
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00406850
add esp, 0x14
jmp 0x4a6b9d
mov eax, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00454a10
add esp, 0xc
test eax, eax
je 0x4a6b9d
push 8
lea edx, [esp + 0x2c]
push 0x4f3d2c
push edx
call fcn.00454bc0
add esp, 0xc
test eax, eax
je 0x4a6b9d
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push ebp
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00454bc0
add esp, 0xc
test eax, eax
je 0x4a6b9d
sub edi, esi
je 0x4a6b11
push edi
add esi, ebx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00454bc0
add esp, 0xc
test eax, eax
je 0x4a6b9d
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00454bd0
add esp, 0xc
test eax, eax
je 0x4a6b9d
mov esi, dword [esp + 0x18]
mov eax, ebp
lea edi, [esp + 0x40]
cmp ebp, 4
jb 0x4a6b4c
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x4a6b70
sub eax, 4
add esi, 4
add edi, 4
cmp eax, 4
jae 0x4a6b38
test eax, eax
je 0x4a6b95
mov cl, byte [esi]
cmp cl, byte [edi]
jne 0x4a6b70
cmp eax, 1
jbe 0x4a6b95
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x4a6b70
cmp eax, 2
jbe 0x4a6b95
mov al, byte [esi + 2]
cmp al, byte [edi + 2]
je 0x4a6b95
push 0xaa
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.00406850
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x4a6b9d
mov dword [esp + 0x14], 1
push ebx
call fcn.004084b0
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.00454c50
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00439f9b
add esp, 0x74
ret