Function at 0x100ffab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
dec edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
jne 0x100ffaf6
call fcn.100849c0
mov ecx, eax
mov dword [ebp - 0x4c], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [ebp - 0x6c], esi
call fcn.100a9f80
mov esi, eax
mov ecx, edi
add esp, 4
mov dword [ebp - 0x60], esi
lea eax, [esi + esi]
sub ecx, eax
mov dword [ebp - 0x50], ecx
dec ecx
cmp ebx, ecx
jle 0x100ffb46
push 0x3a
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.10099cb0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
inc eax
cmp edi, eax
jge 0x100ffb56
push 0x40
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x78
jmp 0x100ffb24
mov eax, dword [ebp - 0x5c]
push 0
push dword [ebp - 0x4c]
lea ebx, [eax + 1]
mov byte [eax], 0
add eax, esi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], eax
inc eax
push 0
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x68]
call fcn.10084110
add esp, 0x18
test eax, eax
je 0x100ffb33
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x48]
dec eax
push eax
mov eax, dword [ebp - 0x5c]
inc eax
add eax, esi
push 0
push eax
call fcn.10155de0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x58]
sub eax, ecx
sub eax, esi
push ecx
push dword [ebp - 0x54]
add eax, edi
push eax
mov byte [eax - 1], 1
call fcn.10155f40
push esi
push ebx
call fcn.10096d50
add esp, 0x20
test eax, eax
jle 0x100ffb33
push 0x55
sub edi, esi
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push edi
mov dword [ebp - 0x50], edi
call fcn.1007d8e0
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x100ffbf1
push 0x57
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x41
jmp 0x100ffb24
push dword [ebp - 0x6c]
push esi
push ebx
push edi
push eax
call fcn.100ff940
add esp, 0x14
test eax, eax
js 0x100ffb33
xor ebx, ebx
test edi, edi
jle 0x100ffcd5
mov edx, dword [ebp - 0x58]
cmp edi, 0x40
jb 0x100ffcb1
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx - 1]
add eax, edi
cmp edx, eax
ja 0x100ffc33
lea eax, [edx - 1]
add eax, edi
cmp eax, ecx
jae 0x100ffcb1
mov eax, edi
and eax, 0x8000003f
jns 0x100ffc41
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp - 0x48], edi
mov esi, ecx
sub dword [ebp - 0x48], eax
sub esi, edx
mov dword [ebp - 0x54], esi
mov eax, edx
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x54]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + ebx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + ebx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + ebx + 0x30]
add ebx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ebx, dword [ebp - 0x48]
jl 0x100ffc60
mov edi, dword [ebp - 0x50]
cmp ebx, edi
jge 0x100ffcd5
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x4c]
inc ecx
sub esi, edx
add ecx, ebx
mov edx, edi
sub edx, ebx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x100ffcc4
mov esi, dword [ebp - 0x60]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x58]
push esi
push eax
call fcn.100ff940
add esp, 0x14
test eax, eax
js 0x100ffb33
xor edx, edx
test esi, esi
jle 0x100ffdce
mov ebx, dword [ebp - 0x64]
cmp esi, 0x40
jb 0x100ffdac
lea ecx, [ebx - 1]
lea eax, [ebp + esi - 0x45]
add ecx, esi
cmp ebx, eax
ja 0x100ffd1f
lea eax, [ebp - 0x44]
cmp ecx, eax
jae 0x100ffdac
mov eax, esi
and eax, 0x8000003f
jns 0x100ffd2d
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x34]
sub ecx, eax
sub esi, ebx
sub edi, ebx
mov dword [ebp - 0x54], esi
mov eax, ebx
lea esi, [ebp - 0x24]
sub esi, ebx
mov dword [ebp - 0x50], esi
lea esi, [ebp - 0x14]
sub esi, ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x68], esi
movups xmm0, xmmword [eax]
mov esi, dword [ebp - 0x50]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [esi + eax - 0x40]
mov esi, dword [ebp - 0x68]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + eax - 0x40]
mov esi, dword [ebp - 0x60]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x100ffd53
mov ebx, dword [ebp - 0x64]
cmp edx, esi
jge 0x100ffdce
lea edi, [ebp - 0x44]
sub edi, ebx
lea ecx, [edx + ebx]
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x100ffdc0
push dword [ebp - 0x4c]
call fcn.1007d810
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.10153588
mov esp, ebp
pop ebp
ret