Function at 0x40c960
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x128], ebx
push edi
add edx, 2
nop word [eax + eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jb 0x40c990
cmp esi, 0x40
jae 0x40ca13
mov ebx, 0x40
lea eax, [ebp + esi*4 - 0x10c]
sub ebx, esi
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x40c9d2
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebx + 0x4c]
xor edx, edx
mov dword [ebp - 0x12c], eax
mov edi, eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x114], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x108], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x118], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 0x68]
mov ebx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], edx
nop dword [eax + eax]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0x110]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 0x10c]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x4980a8]
add esi, dword [ebp + edx - 0x104]
mov edx, edi
add esi, dword [ebp - 0x120]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x114]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 0x108]
xor ecx, eax
mov eax, dword [ebp - 0x110]
add edx, ecx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x10c]
mov ecx, edi
mov dword [ebp - 0x10c], ebx
mov ebx, dword [ebp - 0x118]
lea edi, [edx + esi]
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x124]
add ebx, esi
mov eax, dword [ebp - 0x108]
add edx, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x124], edx
cmp edx, 0x100
jb 0x40ca70
mov eax, dword [ebp - 0x12c]
add eax, edi
mov dword [ebp - 0x11c], ebx
mov ebx, dword [ebp - 0x128]
pop edi
pop esi
add dword [ebx + 0x50], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x4c], eax
xor ecx, ebp
mov eax, dword [ebp - 0x108]
add dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x118]
add dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x11c]
add dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x10c]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x110]
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x120]
add dword [ebx + 0x68], eax
pop ebx
call fcn.00444ab5
mov esp, ebp
pop ebp
ret