Function at 0x1012aea0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
sub esp, 0x248
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x258]
push ebx
mov ebx, dword [esp + 0x250]
push esi
push edi
push 0xa0
mov dword [esp + 0x1c], eax
mov esi, edx
lea eax, [esp + 0xd8]
mov edi, ecx
push 0
push eax
call fcn.10152e30
lea eax, [esp + 0xe0]
mov edx, esi
push eax
mov ecx, edi
call fcn.1012ac00
mov edx, dword [esp + 0x26c]
lea esi, [esp + 0xe4]
mov ecx, 0x28
lea edi, [esp + 0x184]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x184]
mov ecx, ebx
push eax
call fcn.1012acb0
mov ecx, dword [esp + 0x27c]
mov eax, 0xcccccccd
dec ecx
add esp, 0x14
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [esp + 0x1c], eax
je 0x1012b18b
mov edx, 1
mov dword [esp + 0x10], 0
lea eax, [esp + 0x228]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
nop dword [eax]
mov eax, edx
mov dword [esp + 0x20], edx
shr eax, 0x18
lea esi, [esp + 0x174]
mov byte [esp + 0x214], al
lea edi, [esp + 0x34]
mov eax, edx
mov dword [esp + 0x238], 0
shr eax, 0x10
mov ecx, 0x28
mov byte [esp + 0x215], al
xorps xmm0, xmm0
mov eax, edx
mov byte [esp + 0x217], dl
shr eax, 8
mov ebx, 0x3e8
mov byte [esp + 0x216], al
mov eax, 4
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x34]
mov edx, eax
push ecx
lea ecx, [esp + 0x218]
movups xmmword [esp + 0x28], xmm0
call fcn.1012acb0
add esp, 4
cmp dword [esp + 0xd0], 0xffffffff
je 0x1012afef
lea eax, [esp + 0x34]
xor edx, edx
push eax
xor ecx, ecx
call fcn.1012acb0
add esp, 4
lea edx, [esp + 0x74]
lea ecx, [esp + 0x23c]
call fcn.10143ac0
movaps xmm2, xmmword [0x101d3670]
lea eax, [esp + 0x74]
movups xmm0, xmmword [esp + 0x34]
mov dword [esp + 0x78], 0
mov edx, 0x40
movaps xmm1, xmm2
mov dword [esp + 0x74], 0
xorps xmm1, xmm0
mov dword [esp + 0x7c], 0x67452301
movups xmm0, xmmword [esp + 0x44]
push eax
movups xmmword [esp + 0x38], xmm1
mov dword [esp + 0x84], 0xefcdab89
lea ecx, [esp + 0x38]
movaps xmm1, xmm2
mov dword [esp + 0x88], 0x98badcfe
xorps xmm1, xmm0
mov dword [esp + 0x8c], 0x10325476
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x90], 0xc3d2e1f0
movups xmmword [esp + 0x48], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esp + 0x58], xmm1
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [esp + 0x68], xmm1
call fcn.10143a50
lea eax, [esp + 0x78]
mov edx, 0x14
push eax
lea ecx, [esp + 0x244]
call fcn.10143a50
add esp, 8
lea edx, [esp + 0x74]
lea ecx, [esp + 0x23c]
call fcn.10143ac0
movups xmm0, xmmword [esp + 0x23c]
mov eax, dword [esp + 0x24c]
movups xmm1, xmmword [esp + 0x24]
mov dword [esp + 0x224], eax
mov eax, 0x10
movups xmmword [esp + 0x214], xmm0
xorps xmm1, xmm0
movups xmmword [esp + 0x228], xmm1
nop dword [eax]
mov cl, byte [esp + eax + 0x214]
xor byte [esp + eax + 0x228], cl
inc eax
cmp eax, 0x14
jb 0x1012b100
lea esi, [esp + 0xd4]
mov ecx, 0x28
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
sub ebx, 1
je 0x1012b138
movups xmm0, xmmword [esp + 0x228]
jmp 0x1012afb9
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, dword [esp + 0x14]
mov ecx, edi
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
cmp ecx, dword [esp + 0x268]
jae 0x1012b166
mov al, byte [ebx + ecx]
inc edx
mov byte [ecx + esi], al
inc ecx
cmp edx, 0x14
jb 0x1012b150
mov edx, dword [esp + 0xc]
add edi, 0x14
mov eax, dword [esp + 0x1c]
inc edx
sub ebx, 0x14
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x20], eax
jb 0x1012af60
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x248
ret