Function at 0x100ffda0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x90], ecx
xor esi, esi
mov dword [ebp - 0xb0], eax
xor ecx, ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x98], ecx
push edi
mov edi, dword [ebp + 0x28]
test eax, eax
jne 0x100ffe12
call fcn.10084970
mov dword [ebp - 0x94], eax
test edi, edi
push eax
cmove edi, eax
mov dword [ebp - 0x9c], edi
call fcn.100a9f40
add esp, 4
mov edi, eax
mov dword [ebp - 0xa8], edi
cmp dword [ebp + 0xc], esi
jle 0x10100251
mov eax, dword [ebp - 0x90]
test eax, eax
jle 0x10100251
cmp ebx, eax
jl 0x101001de
lea eax, [edi*2 + 2]
cmp ebx, eax
jl 0x101001de
push 0x97
sub ebx, edi
dec ebx
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push ebx
mov dword [ebp - 0xa0], ebx
call fcn.1007d880
push 0x98
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push dword [ebp - 0x8c]
mov esi, eax
mov dword [ebp - 0xac], esi
call fcn.1007d880
add esp, 0x18
mov dword [ebp - 0x98], eax
test esi, esi
je 0x10100243
test eax, eax
je 0x10100243
push dword [ebp - 0x8c]
push 0
push eax
call fcn.10155d20
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
push ecx
push dword [ebp - 0x88]
sub eax, ecx
add eax, dword [ebp - 0x98]
push eax
call fcn.10155e80
mov ecx, dword [ebp - 0x98]
push dword [ebp - 0x9c]
push ebx
movzx eax, byte [ecx]
dec eax
shr eax, 0x1f
neg eax
mov dword [ebp - 0x8c], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x88], eax
lea eax, [ecx + 1]
add eax, edi
push eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.100ff8c0
add esp, 0x2c
test eax, eax
jne 0x101001f9
xor edx, edx
test edi, edi
jle 0x100fffe6
mov eax, dword [ebp - 0x88]
cmp edi, 0x40
jb 0x100fffc2
dec eax
lea ebx, [ebp - 0x44]
add eax, edi
lea ecx, [ebp + edi - 0x45]
cmp ebx, eax
mov ebx, dword [ebp - 0xa0]
ja 0x100fff57
mov eax, dword [ebp - 0x88]
cmp ecx, eax
jae 0x100fffc2
mov eax, edi
and eax, 0x8000003f
jns 0x100fff65
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
sub ecx, eax
mov eax, dword [ebp - 0x88]
nop
movups xmm0, xmmword [ebp + edx - 0x44]
movups xmm1, xmmword [eax + edx]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x44], xmm1
movups xmm0, xmmword [ebp + edx - 0x34]
movups xmm1, xmmword [eax + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x34], xmm1
movups xmm0, xmmword [ebp + edx - 0x24]
movups xmm1, xmmword [eax + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x24], xmm1
movups xmm0, xmmword [ebp + edx - 0x14]
movups xmm1, xmmword [eax + edx + 0x30]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x14], xmm1
add edx, 0x40
cmp edx, ecx
jl 0x100fff70
cmp edx, edi
jge 0x100fffe6
lea ecx, [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ecx + eax]
xor byte [ecx], al
mov eax, dword [ebp - 0x88]
cmp edx, edi
jl 0x100fffd1
push dword [ebp - 0x9c]
lea eax, [ebp - 0x44]
push edi
push eax
push ebx
push esi
call fcn.100ff8c0
add esp, 0x14
test eax, eax
jne 0x101001f9
xor edx, edx
test ebx, ebx
jle 0x101000ec
cmp ebx, 0x40
jb 0x101000bb
mov ecx, dword [ebp - 0x90]
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x10100032
lea eax, [esi - 1]
add eax, ebx
cmp eax, ecx
jae 0x101000bb
mov eax, ebx
and eax, 0x8000003f
jns 0x10100040
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp - 0x88], ebx
mov edi, ecx
sub dword [ebp - 0x88], eax
sub edi, esi
mov dword [ebp - 0x9c], edi
mov eax, esi
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0x9c]
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, dword [ebp - 0x88]
jl 0x10100064
mov ebx, dword [ebp - 0xa0]
cmp edx, ebx
jge 0x101000ec
sub dword [ebp - 0x90], esi
lea ecx, [edx + esi]
mov edi, ebx
mov ebx, dword [ebp - 0x90]
sub edi, edx
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x101000d2
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa0]
push 0
push dword [ebp - 0x94]
lea eax, [ebp - 0x84]
push 0
push eax
push dword [ebp + 0x20]
push dword [ebp - 0xb0]
call fcn.100840c0
add esp, 0x18
test eax, eax
je 0x101001f9
push edi
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.100a5890
mov edx, dword [ebp - 0x8c]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
xor ecx, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x94], ecx
cmp edi, ebx
jge 0x101001b1
movzx esi, byte [edi + esi]
not ecx
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [ebp - 0xa4]
or eax, ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
or ecx, edx
mov edx, dword [ebp - 0x8c]
lea eax, [esi - 1]
mov esi, dword [ebp - 0xac]
shr eax, 0x1f
neg eax
mov dword [ebp - 0x94], ecx
or eax, ecx
and edx, eax
mov dword [ebp - 0x8c], edx
cmp edi, ebx
jl 0x10100150
test edx, ecx
je 0x101001de
mov eax, dword [ebp - 0xa4]
inc eax
sub ebx, eax
cmp dword [ebp + 0xc], ebx
jge 0x1010022f
push 0xdd
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.10099c70
add esp, 0x14
push 0xea
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.10099c70
add esp, 0x14
or ebx, 0xffffffff
test esi, esi
je 0x10100209
push esi
call fcn.1007d7b0
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1010021c
push eax
call fcn.1007d7b0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret
push ebx
add eax, esi
push eax
push dword [ebp - 0xb4]
call fcn.10155e80
add esp, 0xc
jmp 0x101001fc
push 0x9a
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x41
jmp 0x101001ea
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret