Function at 0x100ffe20
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 0x100ffe92
call fcn.100849c0
mov dword [ebp - 0x94], eax
test edi, edi
push eax
cmove edi, eax
mov dword [ebp - 0x9c], edi
call fcn.100a9f80
add esp, 4
mov edi, eax
mov dword [ebp - 0xa8], edi
cmp dword [ebp + 0xc], esi
jle 0x101002d1
mov eax, dword [ebp - 0x90]
test eax, eax
jle 0x101002d1
cmp ebx, eax
jl 0x1010025e
lea eax, [edi*2 + 2]
cmp ebx, eax
jl 0x1010025e
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.1007d8e0
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.1007d8e0
add esp, 0x18
mov dword [ebp - 0x98], eax
test esi, esi
je 0x101002c3
test eax, eax
je 0x101002c3
push dword [ebp - 0x8c]
push 0
push eax
call fcn.10155de0
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.10155f40
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.100ff940
add esp, 0x2c
test eax, eax
jne 0x10100279
xor edx, edx
test edi, edi
jle 0x10100066
mov eax, dword [ebp - 0x88]
cmp edi, 0x40
jb 0x10100042
dec eax
lea ebx, [ebp - 0x44]
add eax, edi
lea ecx, [ebp + edi - 0x45]
cmp ebx, eax
mov ebx, dword [ebp - 0xa0]
ja 0x100fffd7
mov eax, dword [ebp - 0x88]
cmp ecx, eax
jae 0x10100042
mov eax, edi
and eax, 0x8000003f
jns 0x100fffe5
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 0x100ffff0
cmp edx, edi
jge 0x10100066
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 0x10100051
push dword [ebp - 0x9c]
lea eax, [ebp - 0x44]
push edi
push eax
push ebx
push esi
call fcn.100ff940
add esp, 0x14
test eax, eax
jne 0x10100279
xor edx, edx
test ebx, ebx
jle 0x1010016c
cmp ebx, 0x40
jb 0x1010013b
mov ecx, dword [ebp - 0x90]
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x101000b2
lea eax, [esi - 1]
add eax, ebx
cmp eax, ecx
jae 0x1010013b
mov eax, ebx
and eax, 0x8000003f
jns 0x101000c0
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 0x101000e4
mov ebx, dword [ebp - 0xa0]
cmp edx, ebx
jge 0x1010016c
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 0x10100152
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.10084110
add esp, 0x18
test eax, eax
je 0x10100279
push edi
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.100a58d0
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 0x10100231
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 0x101001d0
test edx, ecx
je 0x1010025e
mov eax, dword [ebp - 0xa4]
inc eax
sub ebx, eax
cmp dword [ebp + 0xc], ebx
jge 0x101002af
push 0xdd
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.10099cb0
add esp, 0x14
push 0xea
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.10099cb0
add esp, 0x14
or ebx, 0xffffffff
test esi, esi
je 0x10100289
push esi
call fcn.1007d810
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1010029c
push eax
call fcn.1007d810
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret
push ebx
add eax, esi
push eax
push dword [ebp - 0xb4]
call fcn.10155f40
add esp, 0xc
jmp 0x1010027c
push 0x9a
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_oaep.c
push 0x41
jmp 0x1010026a
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10153588
mov esp, ebp
pop ebp
ret