Function at 0x10066050
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.10022920
mov eax, dword [0x101fd024]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
push ebx
mov dword [esp + 8], eax
xor ebx, ebx
mov eax, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x18], eax
dec ebp
mov eax, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
push edi
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], ebp
test ecx, ecx
jne 0x100660d6
call fcn.10029a90
mov ecx, eax
mov dword [esp + 0x1c], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x38], esi
call fcn.1003d130
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
test esi, esi
jg 0x1006612e
call fcn.1002efd0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x51
push str.crypto_rsa_rsa_oaep.c
call fcn.1002f0d0
push 0
push 0xb5
push 4
call fcn.1002f180
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10021a20
add esp, 0x74
ret
lea ecx, [esi + esi]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x28], eax
dec eax
cmp dword [esp + 0x10], eax
jle 0x10066179
call fcn.1002efd0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x57
push str.crypto_rsa_rsa_oaep.c
call fcn.1002f0d0
push 0
push 0x6e
push 4
call fcn.1002f180
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10021a20
add esp, 0x74
ret
lea eax, [ecx + 1]
cmp ebp, eax
jge 0x100661b9
call fcn.1002efd0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x5c
push str.crypto_rsa_rsa_oaep.c
call fcn.1002f0d0
push 0
push 0x78
push 4
call fcn.1002f180
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10021a20
add esp, 0x74
ret
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x20]
lea ebp, [eax + 1]
mov byte [eax], bl
add eax, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
inc eax
push 0
push eax
push dword [esp + 0xb0]
push dword [esp + 0x38]
call fcn.100268e0
add esp, 0x18
test eax, eax
je 0x100664aa
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x10]
dec eax
push eax
mov eax, dword [esp + 0x1c]
inc eax
add eax, esi
push 0
push eax
call fcn.10146e60
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc eax
sub eax, edx
sub eax, esi
add eax, dword [esp + 0x3c]
push edx
push dword [esp + 0x3c]
push eax
mov byte [eax - 1], 1
call fcn.10146360
push 0
push esi
push ebp
push dword [esp + 0x38]
call fcn.100900f0
add esp, 0x28
test eax, eax
jle 0x100664aa
mov edi, dword [esp + 0x30]
push 0x72
sub edi, esi
push str.crypto_rsa_rsa_oaep.c
push edi
mov dword [esp + 0x30], edi
call fcn.1002eab0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10066290
call fcn.1002efd0
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x74
push str.crypto_rsa_rsa_oaep.c
call fcn.1002f0d0
push 0
push 0xc0100
push 4
call fcn.1002f180
add esp, 0x18
jmp 0x100664a6
push dword [esp + 0x34]
push esi
push ebp
push edi
push eax
call fcn.10065810
add esp, 0x14
test eax, eax
js 0x100664a6
xor ebx, ebx
test edi, edi
jle 0x10066392
mov edx, dword [esp + 0x10]
cmp edi, 0x40
jb 0x10066361
mov ecx, dword [esp + 0x18]
inc ecx
lea eax, [ecx - 1]
add eax, edi
mov dword [esp + 0x14], eax
lea eax, [edx - 1]
add eax, edi
cmp ecx, eax
ja 0x100662e0
cmp dword [esp + 0x14], edx
jae 0x10066361
mov eax, edi
and eax, 0x8000003f
jns 0x100662ee
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x1c], edi
mov esi, edx
sub dword [esp + 0x1c], eax
sub esi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
nop dword [eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx + ebx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx + ebx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edx + ebx + 0x30]
add ebx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jl 0x10066310
mov ebp, dword [esp + 0x20]
cmp ebx, edi
jge 0x10066392
mov ecx, dword [esp + 0x18]
mov ebp, edx
mov eax, dword [esp + 0x18]
inc ecx
inc eax
mov edx, edi
add ecx, ebx
sub ebp, eax
sub edx, ebx
nop dword [eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10066380
mov ebp, dword [esp + 0x20]
push dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push edi
inc eax
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.10065810
add esp, 0x14
test eax, eax
js 0x100664a6
xor edx, edx
test esi, esi
jle 0x1006649e
cmp esi, 0x40
jb 0x1006647d
lea ecx, [ebp - 1]
lea eax, [esp + esi + 0x3f]
add ecx, esi
cmp ebp, eax
ja 0x100663df
lea eax, [esp + 0x40]
cmp ecx, eax
jae 0x1006647d
mov eax, esi
and eax, 0x8000003f
jns 0x100663ed
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea ebx, [esp + 0x40]
lea esi, [esp + 0x50]
sub ecx, eax
sub esi, ebp
sub ebx, ebp
mov dword [esp + 0x14], esi
mov eax, ebp
lea esi, [esp + 0x60]
sub esi, ebp
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x70]
mov edi, dword [esp + 0x2c]
sub esi, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x28], esi
nop
movups xmm0, xmmword [eax]
mov esi, dword [esp + 0x28]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [esp + 0x38]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x10066420
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
cmp edx, esi
jge 0x1006649e
lea ebx, [esp + 0x40]
sub ebx, ebp
lea ecx, [edx + ebp]
sub esi, edx
nop dword [eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x10066490
mov dword [esp + 0x3c], 1
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push 0x40
push eax
call fcn.1003ac40
push 0x89
push str.crypto_rsa_rsa_oaep.c
push edi
push ebx
call fcn.1002eb90
mov ecx, dword [esp + 0x98]
add esp, 0x18
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10021a20
add esp, 0x74
ret