Function at 0x457fa0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov dword [esp], eax
lea esi, [ebp - 0x1c]
mov ecx, esi
call fcn.0051d070
sub esp, 4
movzx ecx, byte [esi + 0xb]
mov eax, dword [esi]
test cl, cl
jns 0x457fdc
mov edx, dword [ebp - 0x18]
mov esi, eax
jmp 0x457fe1
mov edx, ecx
and edx, 0x7f
mov dword [ebp - 0x28], eax
add edx, edx
mov edi, edx
cmp edx, 4
jb 0x458013
imul eax, dword [esi], 0x5bd1e995
mov ebx, eax
shr ebx, 0x18
xor ebx, eax
imul eax, ebx, 0x5bd1e995
imul edi, edi, 0x5bd1e995
xor edi, eax
add esi, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x457fed
cmp edx, 2
jne 0x458023
movzx eax, word [esi]
xor eax, edi
imul edi, eax, 0x5bd1e995
mov esi, dword [ebp - 0x20]
test cl, cl
jns 0x458035
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.004eca8e
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov edx, dword [esi + 4]
test edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
je 0x458098
mov ecx, edx
shr ecx, 1
and ecx, 0x55555555
mov eax, edx
sub eax, ecx
mov ecx, 0x33333333
mov edi, edx
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul esi, ecx, 0x1010101
shr esi, 0x18
cmp esi, 1
ja 0x45809d
mov ecx, edi
dec edi
and edi, ebx
jmp 0x4580b1
xor edi, edi
dec edi
jmp 0x45810b
mov ecx, edi
mov edi, ebx
cmp ebx, ecx
jb 0x4580b1
mov eax, ebx
xor edx, edx
div dword [ebp - 0x24]
mov edi, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x45810b
lea eax, [ecx - 1]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x45810b
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x28]
je 0x4580ec
cmp esi, 1
ja 0x4580db
and eax, dword [ebp - 0x2c]
jmp 0x4580e8
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x4580e8
xor edx, edx
div ecx
mov eax, edx
cmp eax, edi
jne 0x45810b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0050985a
test eax, eax
jne 0x4580c3
xor eax, eax
jmp 0x45833c
mov esi, dword [ebp + 0x10]
mov dword [esp], 0x10
call fcn.004eca5e
mov ebx, eax
movsd xmm0, qword [esi]
movsd qword [eax + 8], xmm0
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0xc]
inc eax
movq xmm2, qword [0x584c90]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x45817c
movd xmm3, edx
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
jbe 0x4582f3
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
mov edi, edx
call fcn.0051c4a0
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x5735e0]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [edi + edi]
cmp edi, 3
jb 0x4581c8
lea esi, [edi - 1]
xor eax, eax
test edi, esi
mov esi, dword [ebp - 0x20]
setne al
jmp 0x4581cb
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov edi, 2
cmp eax, 1
je 0x4581ed
lea ecx, [eax - 1]
test eax, ecx
je 0x4581eb
mov dword [esp], eax
call fcn.004af5d0
mov edi, eax
mov esi, dword [esi + 4]
cmp edi, esi
ja 0x4582c0
jae 0x4582ce
mov eax, dword [ebp - 0x20]
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x584c80]
subsd xmm0, qword [0x584c90]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0051c4a0
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x5735e0]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x4582af
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, eax
mov dword [ebp - 0x24], edx
mov edx, 0x33333333
and ecx, edx
shr eax, 2
mov edx, 0x33333333
and eax, edx
mov edx, dword [ebp - 0x24]
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x4582af
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x4582b7
mov dword [esp], edx
call fcn.004af5d0
cmp edi, eax
cmovbe edi, eax
cmp edi, esi
jae 0x4582ce
mov dword [esp], edi
mov ecx, dword [ebp - 0x20]
call fcn.00457e50
sub esp, 4
mov esi, dword [ebp - 0x20]
mov edx, dword [esi + 4]
lea edi, [edx - 1]
test edx, edi
jne 0x4582e0
and edi, dword [ebp - 0x28]
jmp 0x4582f3
mov edi, dword [ebp - 0x28]
cmp edi, edx
jb 0x4582f3
mov eax, edi
mov ecx, edx
xor edx, edx
div ecx
mov edi, edx
mov edx, ecx
mov ecx, dword [esi]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x458302
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x458335
mov eax, dword [esi + 8]
mov dword [ebx], eax
lea eax, [esi + 8]
mov dword [esi + 8], ebx
mov dword [ecx + edi*4], eax
mov eax, dword [ebx]
test eax, eax
je 0x458337
mov eax, dword [eax + 4]
lea ecx, [edx - 1]
test edx, ecx
jne 0x458324
and eax, ecx
jmp 0x458330
cmp eax, edx
jb 0x458330
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
shl eax, 2
add eax, dword [esi]
mov dword [eax], ebx
inc dword [esi + 0xc]
mov al, 1
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 0xc