Function at 0x4c5e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x592830]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
test eax, eax
push esi
mov esi, dword [ebp + 0x10]
xorps xmm0, xmm0
cmove eax, ecx
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 0
movdqa xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x4c5e7d
push 0x139
push str.cryptoevpevp_lib.c
push 0x9f
mov edx, 0xa2
mov ecx, 6
call fcn.004144f0
add esp, 0xc
jmp 0x4c61db
mov edi, dword [ecx + 8]
test edi, edi
js 0x4c61db
mov ecx, dword [ebp + 0x14]
cmp ecx, 0xffffffff
jne 0x4c5eaa
mov dword [ebp + 0x14], edi
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 4]
lea edx, [eax - 1]
mov dword [esp + 0xc], edx
test eax, eax
jne 0x4c5ed9
jmp 0x4c5ef0
cmp ecx, 0xfffffffe
jne 0x4c5eb4
mov dword [ebp + 0x14], ecx
jmp 0x4c5e93
jge 0x4c5e93
push 0x6f
push str.crypto_rsa_rsa_pss.c
push 0x88
mov edx, 0x95
mov ecx, 4
call fcn.004144f0
add esp, 0xc
jmp 0x4c61db
mov ecx, dword [ecx]
mov ecx, dword [ecx + edx*4]
call fcn.0041da60
mov ecx, dword [esp + 0xc]
shl ecx, 5
add eax, ecx
mov ecx, dword [esp + 0x18]
dec eax
and eax, 7
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
lea edx, [eax - 1]
mov dword [esp + 0xc], edx
test eax, eax
je 0x4c5f19
mov ecx, dword [ecx]
mov ecx, dword [ecx + edx*4]
call fcn.0041da60
mov ecx, dword [esp + 0xc]
shl ecx, 5
add eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 7
cdq
and edx, 7
add edx, eax
mov eax, 0xff
shl eax, cl
sar edx, 3
test byte [esi], al
je 0x4c5f42
push 0x76
push str.crypto_rsa_rsa_pss.c
push 0x85
jmp 0x4c5ec2
test ecx, ecx
jne 0x4c5f4c
inc esi
mov dword [esp + 0x24], esi
dec edx
lea eax, [edi + 2]
cmp edx, eax
jge 0x4c5f61
push 0x7e
push str.crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x4c5ec2
mov ecx, edx
sub ecx, edi
lea eax, [ecx - 2]
cmp dword [ebp + 0x14], eax
jle 0x4c5f7e
push 0x82
push str.crypto_rsa_rsa_pss.c
push 0x6d
jmp 0x4c5ec2
cmp byte [esi + edx - 1], 0xbc
je 0x4c5f99
push 0x86
push str.crypto_rsa_rsa_pss.c
push 0x86
jmp 0x4c5ec2
lea eax, [ecx - 1]
add esi, eax
push 0x8b
mov edx, str.crypto_rsa_rsa_pss.c
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
call fcn.0042e6b0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4c5fd3
push 0x8d
push str.crypto_rsa_rsa_pss.c
push 0x41
jmp 0x4c5ec2
push dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push edi
push esi
mov ecx, eax
call fcn.0049e030
add esp, 0xc
test eax, eax
js 0x4c61a7
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4c6012
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
sub esi, ecx
mov edx, eax
mov al, byte [esi + ecx]
xor byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4c6003
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
test esi, esi
je 0x4c6034
mov ecx, 8
sub ecx, esi
mov esi, 0xff
sar esi, cl
mov ecx, esi
and byte [edx], cl
mov dword [esp + 0x1c], esi
xor esi, esi
cmp byte [edx], 0
jne 0x4c604b
dec eax
lea esp, [esp]
cmp esi, eax
jge 0x4c604b
inc esi
cmp byte [esi + edx], 0
je 0x4c6040
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x4c6079
push 0x98
push str.crypto_rsa_rsa_pss.c
push 0x87
mov edx, 0x95
mov ecx, 4
call fcn.004144f0
add esp, 0xc
jmp 0x4c61a7
mov ecx, dword [ebp + 0x14]
test ecx, ecx
js 0x4c609b
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, ecx
je 0x4c609b
push 0x9c
push str.crypto_rsa_rsa_pss.c
push 0x88
jmp 0x4c6062
mov edx, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x34]
call fcn.00424050
add esp, 4
test eax, eax
je 0x4c61a7
push 8
lea eax, [esp + 0x34]
push 0x5619b4
push eax
call dword [esp + 0x50]
add esp, 0xc
test eax, eax
je 0x4c61a7
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
call dword [esp + 0x50]
add esp, 0xc
test eax, eax
je 0x4c61a7
mov eax, dword [esp + 0x14]
sub eax, esi
je 0x4c610d
push eax
mov eax, dword [esp + 0x14]
add eax, esi
push eax
lea eax, [esp + 0x38]
push eax
call dword [esp + 0x50]
add esp, 0xc
test eax, eax
je 0x4c61a7
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x34]
call fcn.004242a0
add esp, 4
test eax, eax
je 0x4c61a7
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x58]
sub edi, 4
jb 0x4c6145
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4c614a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4c6134
cmp edi, 0xfffffffc
je 0x4c619f
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4c6177
cmp edi, 0xfffffffd
je 0x4c619f
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4c6177
cmp edi, 0xfffffffe
je 0x4c619f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4c6177
cmp edi, 0xffffffff
je 0x4c619f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4c619f
push 0xaa
push str.crypto_rsa_rsa_pss.c
push 0x68
mov edx, 0x95
mov ecx, 4
call fcn.004144f0
add esp, 0xc
mov dword [esp + 0x20], 0
jmp 0x4c61a7
mov dword [esp + 0x20], 1
mov eax, dword [0x59fb4c]
test eax, eax
je 0x4c61bb
push 0
push dword [esp + 0x14]
call eax
add esp, 8
push dword [esp + 0x10]
call dword [0x594128]
mov ecx, dword [0x59fb4c]
add esp, 4
test ecx, ecx
je 0x4c61db
push 1
push 0
call ecx
add esp, 8
lea ecx, [esp + 0x30]
call fcn.00424520
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret