Function at 0x4f7d10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x84
call fcn.0050b400
mov eax, dword [0x5949f0]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push edi
mov edi, dword [esp + 0xa0]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0
call fcn.004a4b60
test ebp, ebp
push edi
cmove ebp, edi
mov dword [esp + 0x18], ebp
call fcn.004a7ec0
mov edi, eax
add esp, 8
test edi, edi
js 0x4f8139
mov ebp, dword [esp + 0xac]
cmp ebp, 0xffffffff
jne 0x4f7def
mov ebp, edi
mov dword [esp + 0xac], ebp
push dword [esi + 0x10]
call fcn.00494dd0
push dword [esp + 0x18]
lea esi, [eax - 1]
and esi, 7
mov dword [esp + 0x34], esi
call fcn.00498d90
mov edx, eax
mov ecx, esi
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [ebx], al
je 0x4f7e18
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8139
cmp ebp, 0xfffffffe
jne 0x4f7df6
jmp 0x4f7d9b
jge 0x4f7da2
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8139
test esi, esi
jne 0x4f7e22
inc ebx
dec edx
mov dword [esp + 0x18], ebx
lea eax, [edi + 2]
cmp edx, eax
jge 0x4f7e46
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8139
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebp, eax
jle 0x4f7e58
push 0x82
jmp 0x4f7e2b
cmp byte [ebx + edx - 1], 0xbc
je 0x4f7e82
push 0x86
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8139
push 0x8b
dec esi
push str..crypto_rsa_rsa_pss.c
push esi
mov dword [esp + 0x28], esi
add ebx, esi
call fcn.00492640
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x4f7ec2
push 0x8d
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8139
push dword [esp + 0x10]
push edi
push ebx
push esi
push ebp
call fcn.004e9420
add esp, 0x14
test eax, eax
js 0x4f8130
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jle 0x4f7f92
mov edx, dword [esp + 0x18]
cmp esi, 0x20
jb 0x4f7f78
lea eax, [edx - 1]
mov dword [esp + 0x10], ecx
add eax, esi
cmp ebp, eax
ja 0x4f7f0b
lea eax, [ebp - 1]
add eax, esi
cmp eax, edx
jae 0x4f7f78
mov eax, esi
and eax, 0x8000001f
jns 0x4f7f19
dec eax
or eax, 0xffffffe0
inc eax
mov dword [esp + 0x14], esi
mov ecx, edx
sub dword [esp + 0x14], eax
sub ecx, ebp
mov dword [esp + 0x24], ecx
mov eax, ebp
lea ecx, [edx + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edx + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + ecx]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [esp + 0x14]
jl 0x4f7f40
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
cmp ecx, esi
jge 0x4f7f92
add ecx, ebp
sub edx, ebp
sub esi, dword [esp + 0x10]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4f7f84
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4f7fab
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp byte [ebp], 0
jne 0x4f7fcb
lea eax, [ecx - 1]
nop word [eax + eax]
cmp esi, eax
jge 0x4f7fcb
inc esi
cmp byte [esi + ebp], 0
je 0x4f7fc0
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x4f7ff6
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8130
mov edx, dword [esp + 0xac]
test edx, edx
js 0x4f802c
mov eax, ecx
sub eax, esi
cmp eax, edx
je 0x4f802c
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
jmp 0x4f8130
push 0
push dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
call fcn.004a4740
add esp, 0xc
test eax, eax
je 0x4f8130
push 8
lea eax, [esp + 0x3c]
push 0x5716b0
push eax
call fcn.004a48f0
add esp, 0xc
test eax, eax
je 0x4f8130
push edi
push dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
call fcn.004a48f0
add esp, 0xc
test eax, eax
je 0x4f8130
mov eax, dword [esp + 0x1c]
sub eax, esi
je 0x4f809f
push eax
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004a48f0
add esp, 0xc
test eax, eax
je 0x4f8130
push 0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004a46a0
add esp, 0xc
test eax, eax
je 0x4f8130
lea ecx, [esp + 0x50]
sub edi, 4
jb 0x4f80d1
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4f80d6
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x4f80c0
cmp edi, 0xfffffffc
je 0x4f8128
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x4f8103
cmp edi, 0xfffffffd
je 0x4f8128
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x4f8103
cmp edi, 0xfffffffe
je 0x4f8128
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x4f8103
cmp edi, 0xffffffff
je 0x4f8128
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x4f8128
push 0xaa
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.0049e9e0
add esp, 0x14
mov dword [esp + 0x20], 0
jmp 0x4f8130
mov dword [esp + 0x20], 1
push ebp
call fcn.004925c0
add esp, 4
lea eax, [esp + 0x38]
push eax
call fcn.004a4900
mov ecx, dword [esp + 0x94]
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050a877
add esp, 0x84
ret