Function at 0x4c2280
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb0
call fcn.0052c8c0
mov eax, dword [0x5ed284]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xd0]
push ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc0]
push ebp
mov ebp, dword [esp + 0xcc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd0]
push esi
mov dword [esp + 0x30], eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0xe4]
test ecx, ecx
jne 0x4c2300
call fcn.004921a0
mov ecx, eax
mov dword [esp + 0x28], eax
test edi, edi
push ecx
cmove edi, ecx
mov dword [esp + 0x1c], edi
call fcn.00495000
add esp, 4
mov edi, eax
mov dword [esp + 0x24], edi
cmp dword [esp + 0xc8], esi
jle 0x4c26ae
test ebx, ebx
jle 0x4c26ae
cmp ebp, ebx
jl 0x4c264e
lea eax, [edi*2 + 2]
cmp ebp, eax
jl 0x4c264e
mov ebx, ebp
push 0x97
sub ebx, edi
dec ebx
push str..crypto_rsa_rsa_oaep.c
push ebx
mov dword [esp + 0x2c], ebx
call fcn.004942a0
push 0x98
mov esi, eax
push str..crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x48], esi
call fcn.004942a0
add esp, 0x18
mov dword [esp + 0x14], eax
test esi, esi
je 0x4c26a0
test eax, eax
je 0x4c26a0
push ebp
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x28]
sub ebp, eax
add ebp, dword [esp + 0x20]
push eax
push dword [esp + 0x20]
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
push ebx
movzx eax, byte [ecx]
lea ebp, [ecx + 1]
dec eax
shr eax, 0x1f
neg eax
mov dword [esp + 0x30], eax
lea eax, [ecx + 1]
add eax, edi
push eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x60]
push edi
push eax
call fcn.004c1d10
add esp, 0x2c
test eax, eax
jne 0x4c2669
xor edx, edx
test edi, edi
jle 0x4c2490
cmp edi, 0x40
jb 0x4c2472
lea eax, [ebp - 1]
lea ebx, [esp + 0x3c]
add eax, edi
cmp ebx, eax
lea ecx, [esp + edi + 0x3b]
mov ebx, dword [esp + 0x20]
ja 0x4c240d
cmp ecx, ebp
jae 0x4c2472
mov eax, edi
and eax, 0x8000003f
jns 0x4c241b
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
sub ecx, eax
nop
movups xmm0, xmmword [esp + edx + 0x3c]
movups xmm1, xmmword [edx + ebp]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x3c], xmm1
movups xmm0, xmmword [esp + edx + 0x4c]
movups xmm1, xmmword [edx + ebp + 0x10]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm0, xmmword [esp + edx + 0x5c]
movups xmm1, xmmword [edx + ebp + 0x20]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x5c], xmm1
movups xmm0, xmmword [esp + edx + 0x6c]
movups xmm1, xmmword [edx + ebp + 0x30]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x6c], xmm1
add edx, 0x40
cmp edx, ecx
jl 0x4c2420
cmp edx, edi
jge 0x4c2490
lea eax, [esp + 0x3c]
sub ebp, eax
nop dword [eax]
lea ecx, [esp + 0x3c]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor byte [ecx], al
cmp edx, edi
jl 0x4c2480
push dword [esp + 0x18]
lea eax, [esp + 0x40]
push edi
push eax
push ebx
push esi
call fcn.004c1d10
add esp, 0x14
test eax, eax
jne 0x4c2669
xor edx, edx
test ebx, ebx
jle 0x4c2574
cmp ebx, 0x40
jb 0x4c2551
mov ecx, dword [esp + 0x1c]
lea ebp, [esi - 1]
add ebp, ebx
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x4c24d5
cmp ebp, ecx
jae 0x4c2551
mov eax, ebx
and eax, 0x8000003f
jns 0x4c24e3
dec eax
or eax, 0xffffffc0
inc eax
mov ebp, ebx
mov edi, ecx
sub ebp, eax
sub edi, esi
mov dword [esp + 0x18], edi
mov eax, esi
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ebp
jl 0x4c2500
mov ebx, dword [esp + 0x20]
cmp edx, ebx
jge 0x4c2574
mov edi, dword [esp + 0x1c]
lea ecx, [edx + esi]
mov ebp, ebx
sub edi, esi
sub ebp, edx
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebp, 1
jne 0x4c2562
mov edi, dword [esp + 0x24]
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x84]
push 0
push eax
push dword [esp + 0xec]
push dword [esp + 0x48]
call fcn.004913a0
add esp, 0x18
test eax, eax
je 0x4c2669
push edi
lea eax, [esp + 0x80]
push eax
push esi
call fcn.004947b0
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor ebp, ebp
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
mov dword [esp + 0x10], edx
cmp edi, ebx
jge 0x4c261f
movzx esi, byte [edi + esi]
mov ecx, ebp
mov eax, esi
not ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or ebp, edx
mov edx, dword [esp + 0x10]
mov eax, ecx
not eax
and ecx, edi
and eax, dword [esp + 0x2c]
inc edi
or ecx, eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x30]
shr eax, 0x1f
neg eax
mov dword [esp + 0x2c], ecx
or eax, ebp
and edx, eax
mov dword [esp + 0x10], edx
cmp edi, ebx
jl 0x4c25d0
jmp 0x4c2621
xor ecx, ecx
test edx, ebp
je 0x4c264e
lea eax, [ecx + 1]
sub ebx, eax
cmp dword [esp + 0xc8], ebx
jge 0x4c268e
push 0xdd
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.00494060
add esp, 0x14
push 0xea
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.00494060
add esp, 0x14
or ebx, 0xffffffff
test esi, esi
je 0x4c2679
push esi
call fcn.00494220
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c268a
push eax
call fcn.00494220
add esp, 4
mov eax, ebx
jmp 0x4c26b1
push ebx
add eax, esi
push eax
push dword [esp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4c266c
push 0x9a
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x4c265a
or eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052bfb9
add esp, 0xb0
ret