Function at 0x503490
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7c
call fcn.0055dba0
mov eax, dword [0x6807dc]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push edi
mov edi, dword [esp + 0x98]
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
call fcn.00498450
test ebx, ebx
push edi
cmove ebx, edi
mov dword [esp + 0x18], ebx
call fcn.004ac9d0
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
js 0x5038df
mov ebx, dword [esp + 0xa4]
cmp ebx, 0xffffffff
jne 0x50356c
mov ebx, edi
mov dword [esp + 0xa4], ebx
push dword [ebp + 0x10]
call fcn.00493fe0
push dword [esp + 0x18]
lea ebp, [eax - 1]
and ebp, 7
mov dword [esp + 0x2c], ebp
call fcn.00499450
mov edx, eax
mov ecx, ebp
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [esi], al
je 0x503595
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038df
cmp ebx, 0xfffffffe
jne 0x503573
jmp 0x503518
jge 0x50351f
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038df
test ebp, ebp
jne 0x50359a
dec edx
test ebp, ebp
lea ecx, [esi + 1]
lea eax, [edi + 2]
cmovne ecx, esi
mov dword [esp + 0x14], ecx
cmp edx, eax
jge 0x5035ca
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038df
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, eax
jle 0x5035dc
push 0x82
jmp 0x5035af
cmp byte [ecx + edx - 1], 0xbc
je 0x503606
push 0x86
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038df
dec esi
push 0x8b
push str..crypto_rsa_rsa_pss.c
push esi
mov dword [esp + 0x24], esi
lea ebx, [ecx + esi]
call fcn.00490e60
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x503647
push 0x8d
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038df
push dword [esp + 0x10]
push edi
push ebx
push esi
push ebp
call fcn.004ec730
add esp, 0x14
test eax, eax
js 0x5038d6
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jle 0x503731
mov edx, dword [esp + 0x14]
cmp esi, 0x40
jb 0x503717
lea eax, [edx - 1]
mov dword [esp + 0x10], ecx
add eax, esi
cmp ebp, eax
ja 0x503694
lea eax, [ebp - 1]
add eax, esi
cmp eax, edx
jae 0x503717
mov eax, esi
and eax, 0x8000003f
jns 0x5036a2
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x10], esi
mov esi, edx
sub dword [esp + 0x10], eax
sub esi, ebp
mov dword [esp + 0x14], esi
mov eax, ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx + ecx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx + ecx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edx + ecx + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [esp + 0x10]
jl 0x5036c0
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp ecx, esi
jge 0x503731
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 0x503723
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50374a
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov al, byte [ebp]
xor esi, esi
mov ecx, dword [esp + 0x18]
test al, al
jne 0x50376b
lea eax, [ecx - 1]
nop word [eax + eax]
cmp esi, eax
jge 0x50376b
inc esi
cmp byte [esi + ebp], 0
je 0x503760
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x503796
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038d6
mov eax, dword [esp + 0xa4]
sub ecx, esi
mov dword [esp + 0x18], ecx
test eax, eax
js 0x5037ce
cmp ecx, eax
je 0x5037ce
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
jmp 0x5038d6
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
call fcn.00497f00
add esp, 0xc
test eax, eax
je 0x5038d6
push 8
lea eax, [esp + 0x34]
push 0x63607c
push eax
call fcn.004980a0
add esp, 0xc
test eax, eax
je 0x5038d6
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
call fcn.004980a0
add esp, 0xc
test eax, eax
je 0x5038d6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x503841
push eax
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004980a0
add esp, 0xc
test eax, eax
je 0x5038d6
push 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00497e60
add esp, 0xc
test eax, eax
je 0x5038d6
lea ecx, [esp + 0x48]
sub edi, 4
jb 0x503877
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x50387c
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x503866
cmp edi, 0xfffffffc
je 0x5038ce
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x5038a9
cmp edi, 0xfffffffd
je 0x5038ce
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x5038a9
cmp edi, 0xfffffffe
je 0x5038ce
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x5038a9
cmp edi, 0xffffffff
je 0x5038ce
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x5038ce
push 0xaa
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.0049edd0
add esp, 0x14
mov dword [esp + 0x1c], 0
jmp 0x5038d6
mov dword [esp + 0x1c], 1
push ebp
call fcn.00490d90
add esp, 4
lea eax, [esp + 0x30]
push eax
call fcn.004980b0
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.0055cf54
add esp, 0x7c
ret