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

Disassembly:
sub esp, 0x144
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x14c]
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
push edi
mov edi, dword [esp + 0x15c]
mov ebp, dword [ebx + 0x20]
and ebp, 0x3f
mov dword [esp + 0x2c], ebx
add dword [ebx + 0x20], edi
mov dword [esp + 0x1c], eax
adc dword [ebx + 0x24], 0
test edi, edi
je 0x4af5be
push esi
lea ebx, [ebx]
mov esi, 0x40
sub esi, ebp
cmp edi, esi
ja 0x4af3ed
mov esi, edi
push esi
push eax
lea eax, [ebp + 0x28]
add eax, ebx
push eax
call fcn.0051f6b0
mov eax, dword [esp + 0x2c]
add ebp, esi
add eax, esi
sub edi, esi
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x160], edi
cmp ebp, 0x40
jne 0x4af5b5
mov dword [esp + 0x4c], 0
lea edx, [ebx + 0x28]
xor ecx, ecx
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x50], eax
inc ecx
cmp ecx, 0x10
jb 0x4af428
lea eax, [esp + 0x88]
mov ebp, 0x30
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 ebp, 1
jne 0x4af445
mov eax, dword [ebx]
mov ebp, eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], eax
mov eax, edi
rol eax, 7
mov dword [esp + 0x48], esi
mov esi, edi
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x3c], ecx
mov eax, edi
mov dword [esp + 0x44], edx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [esp + 0x28], edi
not ecx
mov dword [esp + 0x40], edi
and ecx, dword [esp + 0x14]
mov eax, edx
and eax, edi
mov dword [esp + 0x34], ebp
xor ecx, eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [ebx + 0x5526d8]
add esi, dword [esp + ebx + 0x50]
add ebx, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add edi, esi
mov dword [esp + 0x14], edx
mov eax, ebp
rol eax, 0xa
mov edx, ebp
ror edx, 0xd
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
lea ebp, [edx + esi]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
cmp ebx, 0x100
jb 0x4af4b7
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add eax, ebp
mov ebp, dword [esp + 0x4c]
add dword [ebx + 0x10], edi
mov edi, dword [esp + 0x160]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
add dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
add dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
add dword [ebx + 0xc], eax
mov eax, dword [esp + 0x40]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x44]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x48]
add dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x20]
test edi, edi
jne 0x4af3e0
pop esi
mov ecx, dword [esp + 0x14c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x144
ret 0xc