Function at 0x4c3470
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7c
call fcn.0052c8c0
mov eax, dword [0x5ed284]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push edi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], 0
call fcn.00491a60
test ebx, ebx
push esi
cmove ebx, esi
mov dword [esp + 0x1c], ebx
call fcn.00495000
mov edi, eax
add esp, 8
test edi, edi
js 0x4c3766
mov ebx, dword [esp + 0xa4]
cmp ebx, 0xffffffff
jne 0x4c3549
mov ebx, edi
mov dword [esp + 0xa4], ebx
push dword [ebp + 0x10]
call fcn.004a25e0
push ebp
lea esi, [eax - 1]
and esi, 7
mov dword [esp + 0x28], esi
call fcn.004bd7f0
mov ebp, eax
mov ecx, esi
mov eax, 0xff
add esp, 8
shl eax, cl
mov ecx, dword [esp + 0x18]
test byte [ecx], al
je 0x4c3572
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.00494060
add esp, 0x14
jmp 0x4c3766
cmp ebx, 0xfffffffe
jne 0x4c3550
jmp 0x4c34f4
jge 0x4c34fb
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00494060
add esp, 0x14
jmp 0x4c3766
test esi, esi
jne 0x4c3577
dec ebp
cmp dword [esp + 0x20], 0
lea esi, [ecx + 1]
lea eax, [edi + 2]
cmovne esi, ecx
add eax, ebx
cmp ebp, eax
jge 0x4c35a8
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.00494060
add esp, 0x14
jmp 0x4c3766
cmp byte [esi + ebp - 1], 0xbc
je 0x4c35d2
push 0x82
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.00494060
add esp, 0x14
jmp 0x4c3766
sub ebp, edi
dec ebp
push 0x87
push str..crypto_rsa_rsa_pss.c
push ebp
lea ebx, [esi + ebp]
call fcn.004942a0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4c3613
push 0x89
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.00494060
add esp, 0x14
jmp 0x4c3766
push dword [esp + 0x14]
push edi
push ebx
push ebp
push eax
call fcn.004c1d10
add esp, 0x14
test eax, eax
js 0x4c3759
xor ecx, ecx
mov dword [esp + 0x14], ecx
test ebp, ebp
jle 0x4c36fb
mov edx, dword [esp + 0x10]
cmp ebp, 0x40
jb 0x4c36db
lea eax, [esi - 1]
mov dword [esp + 0x14], ecx
add eax, ebp
cmp edx, eax
ja 0x4c365c
lea eax, [edx - 1]
add eax, ebp
cmp eax, esi
jae 0x4c36db
mov eax, ebp
and eax, 0x8000003f
jns 0x4c366a
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x18], ebp
mov ecx, esi
sub dword [esp + 0x18], eax
sub ecx, edx
mov dword [esp + 0x24], ecx
mov eax, edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + edx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [esi + ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [esi + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [esp + 0x18]
jl 0x4c3684
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
cmp ecx, ebp
jge 0x4c36fb
add ecx, edx
sub esi, edx
mov edx, ebp
sub edx, dword [esp + 0x14]
nop dword [eax]
mov al, byte [ecx + esi]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x4c36f0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c3719
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [esp + 0x10]
sar edx, cl
and byte [eax], dl
jmp 0x4c371d
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
xor esi, esi
test cl, cl
jne 0x4c3733
lea ecx, [ebp - 1]
cmp esi, ecx
jge 0x4c3733
inc esi
cmp byte [esi + eax], 0
je 0x4c3728
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x4c378d
push 0x94
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.00494060
add esp, 0x14
mov ebp, dword [esp + 0x10]
push ebp
call fcn.00494220
add esp, 4
lea eax, [esp + 0x30]
push eax
call fcn.004916c0
mov ecx, dword [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052bfb9
add esp, 0x7c
ret
mov eax, dword [esp + 0xa4]
sub ebp, esi
test eax, eax
js 0x4c37af
cmp ebp, eax
je 0x4c37af
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x88
jmp 0x4c374a
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
call fcn.00491510
add esp, 0xc
test eax, eax
je 0x4c3759
push 8
lea eax, [esp + 0x34]
push 0x593478
push eax
call fcn.004916b0
add esp, 0xc
test eax, eax
je 0x4c3759
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
call fcn.004916b0
add esp, 0xc
test eax, eax
je 0x4c3759
test ebp, ebp
je 0x4c3820
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004916b0
add esp, 0xc
test eax, eax
je 0x4c375d
jmp 0x4c3824
mov ebp, dword [esp + 0x10]
push 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00491470
add esp, 0xc
test eax, eax
je 0x4c375d
lea ecx, [esp + 0x48]
sub edi, 4
jb 0x4c3861
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4c3866
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x4c3850
cmp edi, 0xfffffffc
je 0x4c38bb
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x4c3893
cmp edi, 0xfffffffd
je 0x4c38bb
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x4c3893
cmp edi, 0xfffffffe
je 0x4c38bb
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x4c3893
cmp edi, 0xffffffff
je 0x4c38bb
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x4c38bb
push 0xa6
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.00494060
add esp, 0x14
mov dword [esp + 0x1c], 0
jmp 0x4c375d
mov dword [esp + 0x1c], 1
jmp 0x4c375d