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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push edi
mov edi, dword [esp + 0x144]
mov ebp, dword [ebx + 0x20]
and ebp, 0x3f
mov dword [esp + 0x2c], ebx
add dword [ebx + 0x20], edi
mov dword [esp + 0x20], eax
adc dword [ebx + 0x24], 0
test edi, edi
je 0x49c0fa
push esi
lea ecx, [ebx + 0x28]
lea ecx, [ecx]
mov esi, 0x40
sub esi, ebp
cmp edi, esi
ja 0x49bf4d
mov esi, edi
push esi
push eax
lea eax, [ecx + ebp]
push eax
call fcn.00504fb0
mov eax, dword [esp + 0x30]
add ebp, esi
add eax, esi
sub edi, esi
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x148], edi
cmp ebp, 0x40
jne 0x49c0ee
mov dword [esp + 0x34], 0
lea edx, [ebx + 0x28]
xor ecx, ecx
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x38], eax
inc ecx
cmp ecx, 0x10
jb 0x49bf86
lea eax, [esp + 0x70]
mov ebp, 0x30
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
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 0x49bfa0
mov eax, dword [ebx]
mov ebp, eax
mov edi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
xor ebx, ebx
mov dword [esp + 0x20], eax
jmp 0x49c014
mov edx, dword [esp + 0x28]
mov esi, edi
mov dword [esp + 0x28], edi
ror esi, 0xb
mov eax, edi
rol eax, 7
mov ecx, edi
xor esi, eax
not ecx
and ecx, dword [esp + 0x18]
mov eax, edi
ror eax, 6
xor esi, eax
mov eax, edx
and eax, edi
mov edi, dword [esp + 0x1c]
xor ecx, eax
mov eax, dword [esp + 0x18]
add esi, ecx
mov dword [esp + 0x18], edx
add esi, dword [ebx + 0x533098]
mov edx, ebp
add esi, dword [esp + ebx + 0x38]
add ebx, 4
add esi, dword [esp + 0x20]
mov dword [esp + 0x20], eax
add edi, esi
ror edx, 0xd
mov eax, ebp
rol eax, 0xa
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ebp, [edx + esi]
cmp ebx, 0x100
jb 0x49c010
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add eax, ebp
mov ebp, dword [esp + 0x34]
add dword [ebx + 0x10], edi
add dword [ebx + 4], ecx
mov edi, dword [esp + 0x148]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
add dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
add dword [ebx + 0xc], eax
mov eax, dword [esp + 0x28]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x18]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
add dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0x28]
test edi, edi
jne 0x49bf40
pop esi
mov ecx, dword [esp + 0x134]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x12c
ret 0xc