Function at 0x554f50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.005c8080
mov eax, dword [0x678dc8]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
push ebp
mov ebp, dword [esp + 0xec]
xor ebx, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe0]
push esi
push edi
mov dword [esp + 0x18], eax
xor edi, edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x30], 0
test eax, eax
jne 0x554fc0
call fcn.004f8be0
mov dword [esp + 0x38], eax
test ebp, ebp
push eax
cmove ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.004ab140
add esp, 4
mov ebp, eax
mov dword [esp + 0x2c], ebp
cmp dword [esp + 0xd8], ebx
jle 0x5555f4
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x5555f4
mov ecx, dword [esp + 0x40]
cmp ecx, esi
jl 0x5555d0
lea eax, [ebp*2 + 2]
cmp ecx, eax
jl 0x5555d0
sub ecx, ebp
push 0
dec ecx
push 0x66ed1f
push ecx
mov dword [esp + 0x30], ecx
call fcn.004a4e80
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x55505e
call fcn.004a93e0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0xc0100
push 4
call fcn.004a94f0
mov esi, dword [esp + 0x3c]
add esp, 0x18
jmp 0x555584
mov edi, dword [esp + 0x40]
push 0
push 0x66ed1f
push edi
call fcn.004a4e80
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x5550a6
call fcn.004a93e0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0xc0100
push 4
call fcn.004a94f0
add esp, 0x18
jmp 0x55557c
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xdc]
add ebx, edi
add edx, esi
mov dword [esp + 0x1c], ebx
test edi, edi
jle 0x5550e7
nop dword [eax]
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebx
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [ebx], cl
sub edi, 1
jne 0x5550c0
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
push dword [esp + 0x28]
movzx ebx, byte [ebx]
mov esi, dword [esp + 0x28]
lea edi, [eax + 1]
inc eax
add eax, ebp
mov dword [esp + 0x14], edi
push esi
push eax
lea ebx, [ebx - 1]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
shr ebx, 0x1f
push ebp
push eax
neg ebx
call fcn.00554d80
add esp, 0x14
test eax, eax
jne 0x555580
xor edx, edx
test ebp, ebp
jle 0x555208
cmp ebp, 0x40
jb 0x5551f2
lea eax, [edi - 1]
lea esi, [esp + 0x4c]
add eax, ebp
cmp esi, eax
lea ecx, [esp + ebp + 0x4b]
mov esi, dword [esp + 0x24]
ja 0x555154
cmp ecx, edi
jae 0x5551f2
mov eax, ebp
and eax, 0x8000003f
jns 0x555162
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, ebp
lea esi, [esp + 0x4c]
sub esi, edi
lea ebp, [esp + 0x5c]
sub ecx, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x24]
lea eax, [edi + 0x20]
sub ebp, edi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
nop dword [eax]
movups xmm0, xmmword [esp + edx + 0x4c]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm0, xmmword [esp + edx + 0x5c]
movups xmm1, xmmword [eax - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [esp + edx + 0x5c], xmm1
add edx, 0x40
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax + ebp - 0x40], xmm1
movups xmm0, xmmword [edi + eax - 0x40]
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
cmp edx, ecx
jl 0x555190
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
cmp edx, ebp
jge 0x555208
lea eax, [esp + 0x4c]
sub edi, eax
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor byte [ecx], al
cmp edx, ebp
jl 0x5551f8
push dword [esp + 0x28]
lea eax, [esp + 0x50]
push ebp
push eax
push esi
push dword [esp + 0x24]
call fcn.00554d80
add esp, 0x14
test eax, eax
jne 0x555580
xor edi, edi
test esi, esi
jle 0x555312
mov ecx, dword [esp + 0x14]
cmp esi, 0x40
jb 0x5552e6
mov edx, dword [esp + 0x34]
lea eax, [edx - 1]
add eax, esi
cmp ecx, eax
ja 0x555258
lea eax, [ecx - 1]
add eax, esi
cmp eax, edx
jae 0x5552e6
mov eax, esi
and eax, 0x8000003f
jns 0x555266
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
add eax, 0x10
lea ecx, [edx + 0x30]
sub edx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x10]
add edi, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, edx
jl 0x555290
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp edi, esi
jge 0x555312
mov ebp, dword [esp + 0x34]
mov edx, esi
sub ebp, dword [esp + 0x14]
add ecx, edi
sub edx, edi
nop dword [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x555300
mov ebp, dword [esp + 0x2c]
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x2c]
call fcn.004ae620
add esp, 0x18
test eax, eax
je 0x555580
push ebp
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x1c]
call fcn.00401390
add esp, 0xc
mov edi, ebp
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov dword [esp + 0x28], ebx
xor ebx, ebx
cmp ebp, esi
jge 0x5553c9
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
movzx esi, byte [edi + eax]
mov eax, ebx
mov edx, esi
not eax
xor edx, 1
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or ebx, edx
mov dword [esp + 0x18], eax
not eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
and ecx, edi
and eax, dword [esp + 0x30]
inc edi
or eax, ecx
mov dword [esp + 0x30], eax
lea eax, [esi - 1]
mov esi, dword [esp + 0x24]
shr eax, 0x1f
neg eax
or eax, ebx
and ebp, eax
cmp edi, esi
jl 0x555373
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0xd8]
mov eax, esi
sub eax, dword [esp + 0x30]
mov edx, esi
dec eax
sub edx, ebp
sub ecx, eax
mov dword [esp + 0x3c], eax
xor ecx, eax
xor eax, dword [esp + 0xd8]
or ecx, eax
mov eax, dword [esp + 0xd8]
xor ecx, eax
lea edi, [edx - 1]
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x38], edi
and ecx, ebx
mov ebx, dword [esp + 0x28]
and ebx, ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x28], ebx
xor ecx, eax
mov eax, edi
xor eax, dword [esp + 0xd8]
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
neg ecx
mov dword [esp + 0x18], ecx
not ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and eax, edi
and ecx, dword [esp + 0xd8]
mov edi, 1
or ecx, eax
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x38], edi
jle 0x5554de
sub edx, dword [esp + 0x3c]
lea eax, [edx - 1]
lea edx, [ebp + 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
and eax, edi
sub esi, edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, esi
jge 0x5554c2
mov eax, dword [esp + 0x14]
movzx ecx, cl
add eax, edx
mov ebp, ecx
mov dword [esp + 0x20], ecx
not ebp
sub esi, edx
nop
mov dword [esp + 0x18], ecx
lea eax, [eax + 1]
movzx ecx, byte [eax + edi - 1]
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
and bl, cl
movzx ecx, byte [eax - 1]
and dl, cl
mov ecx, dword [esp + 0x20]
or dl, bl
mov byte [eax - 1], dl
sub esi, 1
jne 0x555490
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
add edi, edi
mov eax, dword [esp + 0x30]
cmp edi, dword [esp + 0x38]
jl 0x555466
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
jle 0x55554d
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
inc eax
shr ecx, 0x1f
neg edi
mov dword [esp + 0x20], ecx
add ebp, eax
nop dword [eax]
mov eax, edi
lea ebp, [ebp + 1]
shr eax, 0x1f
inc edi
xor al, cl
or al, cl
neg al
movzx ecx, al
movzx eax, bl
and ecx, eax
movzx eax, byte [ebp - 1]
mov dword [esp + 0x18], ecx
not ecx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and dl, al
mov eax, dword [esp + 0x48]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x48]
or cl, dl
mov byte [eax + esi], cl
inc esi
mov ecx, dword [esp + 0x20]
cmp esi, dword [esp + 0x34]
jl 0x555500
call fcn.004a93e0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0x79
push 4
call fcn.004a94f0
mov eax, ebx
and eax, 1
push eax
call fcn.004a32f0
add esp, 0x1c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push 0x40
push eax
call fcn.00401320
push 0
push 0x66ed1f
push esi
push dword [esp + 0x28]
call fcn.004a4f60
mov eax, dword [esp + 0x58]
push 0
push 0x66ed1f
push eax
push edi
call fcn.004a4f60
mov dword [esp + 0x40], ebx
add esp, 0x28
not ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
or eax, ecx
jmp 0x5555f7
call fcn.004a93e0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0x79
push 4
call fcn.004a94f0
add esp, 0x18
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c77ea
add esp, 0xc0
ret