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

Disassembly:
sub esp, 0x140
push edi
mov edi, dword [esp + 0x148]
test edi, edi
jne 0x40e2fb
push 0x20
lea eax, [esp + 0x128]
push eax
call fcn.0040dbf1
push 0x100
lea eax, [esp + 0x28]
push eax
call fcn.0040dbf1
jmp 0x40e558
mov eax, dword [edi + 0x28]
push ebx
push ebp
push esi
push dword [eax]
call fcn.00422d08
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x28]
push dword [eax + 4]
call fcn.00422d08
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x28]
push dword [eax + 8]
call fcn.00422d08
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0xc]
call fcn.00422d08
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x10]
call fcn.00422d08
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x14]
call fcn.00422d08
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x18]
call fcn.00422d08
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x1c]
call fcn.00422d08
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x20]
call fcn.00422d08
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x24]
call fcn.00422d08
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x28]
call fcn.00422d08
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x2c]
call fcn.00422d08
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x28]
push 0x30
pop ebp
push dword [eax + ebp]
call fcn.00422d08
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x34]
call fcn.00422d08
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x38]
call fcn.00422d08
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x28]
push dword [eax + 0x3c]
call fcn.00422d08
add esp, 0x40
mov dword [esp + 0x6c], eax
lea ebx, [esp + 0x68]
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub ebp, 1
jne 0x40e406
mov eax, dword [edi]
xor edx, edx
mov ebx, dword [edi + 0x10]
mov ebp, eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [esp + 0x14]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [esp + 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [edx + 0x42f690]
add esi, dword [esp + edx + 0x30]
mov edx, ebp
add esi, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, ebp
rol eax, 0xa
ror edx, 0xd
xor edx, eax
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x20]
mov eax, ebp
ror eax, 2
add ebx, esi
xor edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x20], eax
mov ecx, edi
mov edi, ebp
mov dword [esp + 0x18], ecx
lea ebp, [edx + esi]
mov edx, dword [esp + 0x28]
add edx, 4
mov dword [esp + 0x28], edx
cmp edx, 0x100
jb 0x40e47f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
add eax, ebp
mov edi, dword [esp + 0x154]
pop esi
pop ebp
add dword [edi + 8], ecx
mov ecx, dword [esp + 0x18]
add dword [edi + 0xc], ecx
mov ecx, dword [esp + 8]
add dword [edi + 0x14], ecx
mov ecx, dword [esp + 0xc]
add dword [edi + 0x18], ecx
add dword [edi + 0x10], ebx
mov ecx, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
add dword [edi + 4], eax
add dword [edi + 0x1c], ecx
pop ebx
pop edi
add esp, 0x140
ret 4