Function at 0x504c00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x7c
call fcn.0055f310
mov eax, dword [0x6817dc]
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.00499b80
test ebx, ebx
push edi
cmove ebx, edi
mov dword [esp + 0x18], ebx
call fcn.004ae120
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
js 0x50504f
mov ebx, dword [esp + 0xa4]
cmp ebx, 0xffffffff
jne 0x504cdc
mov ebx, edi
mov dword [esp + 0xa4], ebx
push dword [ebp + 0x10]
call fcn.00495710
push dword [esp + 0x18]
lea ebp, [eax - 1]
and ebp, 7
mov dword [esp + 0x2c], ebp
call fcn.0049ab80
mov edx, eax
mov ecx, ebp
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [esi], al
je 0x504d05
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x50504f
cmp ebx, 0xfffffffe
jne 0x504ce3
jmp 0x504c88
jge 0x504c8f
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x50504f
test ebp, ebp
jne 0x504d0a
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 0x504d3a
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x50504f
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, eax
jle 0x504d4c
push 0x82
jmp 0x504d1f
cmp byte [ecx + edx - 1], 0xbc
je 0x504d76
push 0x86
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x50504f
dec esi
push 0x8b
push str..crypto_rsa_rsa_pss.c
push esi
mov dword [esp + 0x24], esi
lea ebx, [ecx + esi]
call fcn.00492590
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x504db7
push 0x8d
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x50504f
push dword [esp + 0x10]
push edi
push ebx
push esi
push ebp
call fcn.004ede70
add esp, 0x14
test eax, eax
js 0x505046
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jle 0x504ea1
mov edx, dword [esp + 0x14]
cmp esi, 0x40
jb 0x504e87
lea eax, [edx - 1]
mov dword [esp + 0x10], ecx
add eax, esi
cmp ebp, eax
ja 0x504e04
lea eax, [ebp - 1]
add eax, esi
cmp eax, edx
jae 0x504e87
mov eax, esi
and eax, 0x8000003f
jns 0x504e12
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 0x504e30
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
cmp ecx, esi
jge 0x504ea1
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 0x504e93
mov eax, dword [esp + 0x24]
test eax, eax
je 0x504eba
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 0x504edb
lea eax, [ecx - 1]
nop word [eax + eax]
cmp esi, eax
jge 0x504edb
inc esi
cmp byte [esi + ebp], 0
je 0x504ed0
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x504f06
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x505046
mov eax, dword [esp + 0xa4]
sub ecx, esi
mov dword [esp + 0x18], ecx
test eax, eax
js 0x504f3e
cmp ecx, eax
je 0x504f3e
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
jmp 0x505046
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
call fcn.00499630
add esp, 0xc
test eax, eax
je 0x505046
push 8
lea eax, [esp + 0x34]
push 0x63707c
push eax
call fcn.004997d0
add esp, 0xc
test eax, eax
je 0x505046
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
call fcn.004997d0
add esp, 0xc
test eax, eax
je 0x505046
mov eax, dword [esp + 0x18]
test eax, eax
je 0x504fb1
push eax
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004997d0
add esp, 0xc
test eax, eax
je 0x505046
push 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00499590
add esp, 0xc
test eax, eax
je 0x505046
lea ecx, [esp + 0x48]
sub edi, 4
jb 0x504fe7
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x504fec
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x504fd6
cmp edi, 0xfffffffc
je 0x50503e
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x505019
cmp edi, 0xfffffffd
je 0x50503e
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x505019
cmp edi, 0xfffffffe
je 0x50503e
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x505019
cmp edi, 0xffffffff
je 0x50503e
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x50503e
push 0xaa
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.004a0500
add esp, 0x14
mov dword [esp + 0x1c], 0
jmp 0x505046
mov dword [esp + 0x1c], 1
push ebp
call fcn.004924c0
add esp, 4
lea eax, [esp + 0x30]
push eax
call fcn.004997e0
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.0055e6d4
add esp, 0x7c
ret