Function at 0x100fd6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
mov esi, dword [eax + 4]
cmp esi, 0x40
jb 0x100fd8f3
mov ecx, dword [eax]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100fd8f3
mov edx, dword [ecx + 0x3c]
lea eax, [esi + 4]
cmp edx, eax
ja 0x100fd8f3
cmp edx, 4
jb 0x100fd8f3
push edi
lea edi, [ecx - 4]
add ecx, 0x40
add edi, edx
cmp edi, ecx
jbe 0x100fd8f2
nop
cmp dword [edi], 0x68636952
lea esi, [edi - 4]
je 0x100fd737
mov edi, esi
cmp edi, ecx
ja 0x100fd720
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x100fd8f1
cmp esi, ecx
jbe 0x100fd8f1
nop dword [eax + eax]
mov edx, dword [esi]
mov eax, edx
xor eax, ebx
cmp eax, 0x536e6144
je 0x100fd76b
sub esi, 4
cmp esi, ecx
ja 0x100fd750
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
lea ebx, [esi + 4]
mov eax, dword [ebx]
cmp eax, ecx
jne 0x100fd8f1
cmp ecx, dword [esi + 0xc]
jne 0x100fd8f1
xor eax, edx
cmp eax, 0x536e6144
jne 0x100fd8f1
sub edi, esi
and edi, 0xfffffffc
push edi
call fcn.100eeff0
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x100fd8f1
push edi
push esi
push eax
call fcn.1024ad90
mov eax, dword [ebp + 8]
push str.rich_signature.offset
push dword [eax + 0x10]
sub esi, dword [eax]
mov eax, esi
cdq
add eax, dword [ebp + 0xc]
adc edx, dword [ebp + 0x10]
push edx
push eax
call fcn.100f02e0
mov esi, dword [ebp + 8]
push str.rich_signature.length
push dword [esi + 0x10]
push 0
push edi
call fcn.100f02e0
push str.rich_signature.key
push dword [esi + 0x10]
push 0
push dword [ebx]
call fcn.100f02e0
push edi
call fcn.100eeff0
mov esi, eax
add esp, 0x40
mov dword [ebp - 8], esi
test esi, esi
jne 0x100fd817
push dword [ebp - 4]
call fcn.100eef80
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 4]
push esi
call fcn.1024ad90
mov eax, esi
mov ecx, edi
add esi, edi
shr ecx, 2
xor edx, edx
mov dword [ebp - 0xc], esi
add esp, 0xc
cmp dword [ebp - 8], esi
cmova ecx, edx
test ecx, ecx
je 0x100fd8a8
cmp ecx, 0x10
jb 0x100fd8a8
mov esi, dword [ebp - 8]
cmp esi, ebx
movd xmm0, dword [ebx]
pshufd xmm1, xmm0, 0
lea edx, [esi - 4]
mov esi, dword [ebp - 0xc]
lea edx, [edx + ecx*4]
mov dword [ebp - 0x10], edx
mov edx, 0
ja 0x100fd867
cmp dword [ebp - 0x10], ebx
jae 0x100fd8a8
and ecx, 0xfffffff0
nop word [eax + eax]
movups xmm0, xmmword [eax]
add edx, 0x10
pxor xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [eax + 0x10]
pxor xmm0, xmm1
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
pxor xmm0, xmm1
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
pxor xmm0, xmm1
movups xmmword [eax + 0x30], xmm0
add eax, 0x40
cmp edx, ecx
jb 0x100fd870
cmp eax, esi
jae 0x100fd8bb
nop dword [eax]
mov ecx, dword [ebx]
xor dword [eax], ecx
add eax, 4
cmp eax, esi
jb 0x100fd8b0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 4]
push str.rich_signature.raw_data
push dword [esi + 0x10]
push edi
push ebx
call fcn.100f0350
push str.rich_signature.clear_data
push dword [esi + 0x10]
mov esi, dword [ebp - 8]
push edi
push esi
call fcn.100f0350
push ebx
call fcn.100eef80
push esi
call fcn.100eef80
add esp, 0x28
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret