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

Disassembly:
sub esp, 0x158
mov eax, dword [0x596c60]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [esp + 0x164]
mov dword [esp + 0x54], ebx
cmp dword [ebx + 0x8c], 0
mov dword [esp + 0x40], edi
jne 0x4f362f
mov eax, dword [ebx + 0x28]
mov edx, eax
push ebp
push esi
mov esi, dword [esp + 0x170]
mov ebp, 0x40
shr edx, 3
and edx, 0x3f
sub ebp, edx
lea ecx, [eax + esi*8]
mov dword [esp + 0x50], ebp
lea eax, [esi*8]
mov dword [ebx + 0x28], ecx
cmp ecx, eax
jae 0x4f3387
inc dword [ebx + 0x24]
mov eax, esi
shr eax, 0x1d
add dword [ebx + 0x24], eax
cmp ebp, esi
ja 0x4f3616
push ebp
lea eax, [ebx + 0x2c]
add eax, edx
push edi
push eax
call fcn.0050bdb0
add esp, 0xc
lea eax, [ebx + 0x2c]
mov ecx, ebx
push eax
call fcn.004f3650
lea ecx, [ebp + 0x3f]
mov dword [esp + 0x4c], ecx
cmp ecx, esi
jae 0x4f3612
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
add eax, 0xffffffc2
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], eax
jmp 0x4f3418
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], edi
add eax, ecx
mov dword [esp + 0x30], esi
mov edi, 0x10
mov dword [esp + 0x60], edx
lea esi, [esp + 0x64]
mov dword [esp + 0x34], ebp
jmp 0x4f3460
movzx edx, byte [eax - 1]
lea esi, [esi + 4]
movzx ecx, byte [eax]
lea eax, [eax + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 2]
shl edx, 8
or edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x4f3460
lea edi, [esp + 0x68]
mov ebp, 0x30
mov ecx, dword [edi]
lea edi, [edi + 4]
mov edx, dword [edi + 0x30]
mov esi, ecx
mov eax, ecx
rol esi, 0xe
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 [edi + 0x1c]
add esi, dword [edi - 8]
mov dword [edi + 0x38], esi
dec ebp
jne 0x4f3493
mov ebp, dword [esp + 0x60]
xor edi, edi
mov ebx, dword [esp + 0x3c]
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
mov edx, ebp
ror eax, 6
xor esi, eax
ror edx, 0xd
mov eax, dword [esp + 0x10]
and eax, ebx
xor ecx, eax
mov eax, ebp
rol eax, 0xa
add esi, ecx
add esi, dword [edi + 0x571030]
xor edx, eax
add esi, dword [esp + edi + 0x64]
mov eax, ebp
add esi, dword [esp + 0x38]
add edi, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and eax, ebp
xor ecx, ebp
and ecx, dword [esp + 0x30]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
add edx, ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], eax
add ebx, esi
mov dword [esp + 0x30], ecx
mov eax, ebp
mov dword [esp + 0x20], eax
lea ebp, [edx + esi]
cmp edi, 0x100
jl 0x4f34d5
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
add edi, eax
mov eax, dword [esp + 0x40]
add edx, ebp
mov ebp, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x24]
add ebp, 0x40
mov esi, dword [esp + 0x170]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x5c]
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
add ecx, 0x40
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x38]
mov dword [esp + 0x44], edx
mov dword [ebx + 4], edx
mov dword [esp + 0x54], edi
mov dword [ebx + 8], edi
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ecx
cmp ecx, esi
jb 0x4f3410
mov edi, dword [esp + 0x48]
xor edx, edx
jmp 0x4f3618
xor ebp, ebp
sub esi, ebp
lea eax, [edi + ebp]
push esi
push eax
lea eax, [edx + 0x2c]
add eax, ebx
push eax
call fcn.0050bdb0
add esp, 0xc
pop esi
pop ebp
mov ecx, dword [esp + 0x15c]
pop edi
pop ebx
xor ecx, esp
call fcn.005072fd
add esp, 0x158
ret 8