Function at 0x1001340f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
lea edx, [eax + 0x1c]
mov ecx, dword [edx]
mov edi, ecx
shl edi, 0x18
mov ebx, ecx
shr ebx, 8
or edi, ebx
mov ebx, ecx
and ebx, 0xff00
and edi, 0xff00ff00
shl ebx, 8
or edi, ebx
shr ecx, 0x18
or edi, ecx
mov dword [ebp + esi*4 - 0x14c], edi
inc esi
add edx, 4
cmp esi, 0x10
jb 0x10013423
push 0x40
lea edx, [ebp - 0x144]
pop esi
mov ecx, dword [edx + 0x2c]
xor ecx, dword [edx + 0x18]
xor ecx, dword [edx - 8]
xor ecx, dword [edx]
add edx, 4
mov edi, ecx
shr edi, 0x1f
add ecx, ecx
or edi, ecx
dec esi
mov dword [edx + 0x34], edi
jne 0x10013462
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
and dword [ebp + 8], 0
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 8], edi
mov ebx, esi
not ebx
and ebx, edi
mov edi, dword [ebp - 4]
and edi, esi
xor ebx, edi
mov edi, ecx
mov dword [ebp - 0xc], ecx
shl ecx, 5
shr edi, 0x1b
or edi, ecx
mov ecx, dword [ebp + 8]
add ebx, edi
add ebx, dword [ebp + ecx*4 - 0x14c]
mov edi, dword [ebp - 4]
lea ecx, [ebx + edx + 0x5a827999]
mov edx, dword [ebp - 8]
mov ebx, esi
shr esi, 2
shl ebx, 0x1e
or ebx, esi
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x14
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jb 0x10013498
mov dword [ebp + 8], 0x14
mov ebx, ecx
mov dword [ebp - 0xc], ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, edi
mov edi, dword [ebp - 4]
xor ecx, edi
xor ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
add ebx, dword [ebp + ecx*4 - 0x14c]
lea ecx, [ebx + edx + 0x6ed9eba1]
mov edx, dword [ebp - 8]
mov ebx, esi
shr esi, 2
shl ebx, 0x1e
or ebx, esi
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x28
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jb 0x100134ee
mov dword [ebp + 8], 0x28
mov ebx, dword [ebp - 4]
xor ebx, esi
and ebx, edi
mov edi, dword [ebp - 4]
and edi, esi
xor ebx, edi
mov edi, ecx
mov dword [ebp - 0xc], ecx
shl ecx, 5
shr edi, 0x1b
or edi, ecx
mov ecx, dword [ebp + 8]
add ebx, edi
add ebx, dword [ebp + ecx*4 - 0x14c]
mov edi, dword [ebp - 4]
lea ecx, [ebx + edx - 0x70e44324]
mov edx, dword [ebp - 8]
mov ebx, esi
shr esi, 2
shl ebx, 0x1e
or ebx, esi
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x3c
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jb 0x1001353d
mov dword [ebp + 8], 0x3c
mov ebx, ecx
mov dword [ebp - 0xc], ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, edi
mov edi, dword [ebp - 4]
xor ecx, edi
xor ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
add ebx, dword [ebp + ecx*4 - 0x14c]
lea ecx, [ebx + edx - 0x359d3e2a]
mov edx, dword [ebp - 8]
mov ebx, esi
shr esi, 2
shl ebx, 0x1e
or ebx, esi
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x50
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jb 0x10013594
mov esi, dword [eax + 8]
add esi, ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xc]
add ecx, esi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov esi, ebx
add ecx, esi
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, edi
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x18], ecx
pop ebx
leave
ret