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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx + 0xb]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
test bl, bl
mov dword [ebp - 0x18], edx
lea edi, [eax + edx]
lea edx, [ecx + ebx]
mov dword [ebp - 0x28], ebx
cmovs edx, edi
mov edi, ecx
cmovs edi, eax
sub edx, edi
mov dword [ebp - 0x1c], edi
cmp edx, 4
jb 0x4356d1
mov ebx, edi
mov edi, edx
mov eax, edx
mov dword [ebp - 0x10], esi
nop word cs:[eax + eax]
nop
imul esi, dword [ebx], 0x5bd1e995
imul eax, eax, 0x5bd1e995
add edi, 0xfffffffc
add ebx, 4
mov ecx, esi
shr ecx, 0x18
xor ecx, esi
imul ecx, ecx, 0x5bd1e995
xor eax, ecx
cmp edi, 3
ja 0x435600
mov esi, dword [ebp - 0x1c]
add edx, 0xfffffffc
mov ecx, edx
and ecx, 0xfffffffc
sub edx, ecx
lea edi, [ecx + esi + 4]
mov esi, dword [ebp - 0x10]
cmp edx, 1
je 0x43565b
cmp edx, 2
je 0x435652
cmp edx, 3
jne 0x435666
movzx ecx, byte [edi + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edi + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edi]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
mov edi, dword [esi + 4]
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
mov dword [ebp - 0x14], edi
shr ebx, 0xf
xor ebx, eax
test edi, edi
mov dword [ebp - 0x10], ebx
je 0x4356e1
mov eax, edi
mov ecx, edi
shr eax, 1
and eax, 0x55555555
sub ecx, eax
mov eax, ecx
shr ecx, 2
and eax, 0x33333333
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
cmp eax, 1
mov dword [ebp - 0x2c], eax
jbe 0x4356e6
cmp ebx, edi
mov edx, ebx
jb 0x4356eb
mov eax, ebx
xor edx, edx
div edi
jmp 0x4356eb
mov eax, edx
cmp edx, 1
jne 0x43563f
jmp 0x43565b
jmp 0x4357db
lea edx, [edi - 1]
and edx, ebx
mov eax, dword [esi]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4357db
mov ebx, dword [eax]
test ebx, ebx
je 0x4357db
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
test cl, cl
lea eax, [eax - 1]
cmovns edx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
jmp 0x43573a
mov ebx, dword [ebx]
test ebx, ebx
je 0x4357db
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x10]
je 0x435768
cmp dword [ebp - 0x2c], 1
jbe 0x435760
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jb 0x435763
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [ebp - 0x20]
je 0x435768
jmp 0x4357db
and eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jne 0x4357db
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, eax
jns 0x435775
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x435730
lea ecx, [ebx + 8]
test al, al
mov edx, dword [ecx]
cmovs ecx, edx
js 0x4357b7
cmp dword [ebp - 0x18], 0
je 0x4357d1
cmp byte [edi], dl
jne 0x435730
dec eax
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, ecx
je 0x4357d1
movzx edx, byte [ebx + ecx + 9]
cmp dl, byte [edi + ecx + 1]
lea ecx, [ecx + 1]
je 0x4357a0
jmp 0x435730
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4357d1
push eax
push edi
push ecx
call fcn.004e924d
add esp, 0xc
test eax, eax
jne 0x435730
mov edi, dword [ebp + 8]
xor eax, eax
jmp 0x435929
mov edi, dword [ebp + 0x14]
push 0x18
call fcn.004e6826
add esp, 4
mov ebx, eax
lea ecx, [eax + 8]
push dword [edi]
call fcn.0041ca56
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], 0
movq xmm2, qword [0x512428]
mov edi, dword [ebp - 0x14]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov eax, dword [esi + 0xc]
movss xmm1, dword [esi + 0x10]
inc eax
test edi, edi
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
je 0x435856
movd xmm3, edi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x435856
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
jmp 0x4358df
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004fd000
add esp, 8
fstp dword [ebp - 0x30]
movss xmm1, dword [0x512430]
lea ecx, [edi - 1]
movss xmm0, dword [ebp - 0x30]
movaps xmm2, xmm0
cvttss2si edx, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
xor eax, 0x80000000
ucomiss xmm0, xmm1
cmovae edx, eax
cmp edi, 3
setb al
test edi, ecx
setne cl
or cl, al
movzx eax, cl
mov ecx, esi
lea eax, [eax + edi*2]
cmp eax, edx
cmovae edx, eax
push edx
call fcn.00435940
mov ecx, dword [esi + 4]
lea edx, [ecx - 1]
mov dword [ebp - 0x14], ecx
test ecx, edx
je 0x4358d3
mov eax, dword [ebp - 0x10]
cmp eax, ecx
jae 0x4358d8
mov edx, eax
jmp 0x4358dc
and edx, dword [ebp - 0x10]
jmp 0x4358dc
xor edx, edx
div ecx
mov edi, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x4358ee
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x435922
mov eax, dword [esi + 8]
mov dword [ebx], eax
lea eax, [esi + 8]
mov dword [esi + 8], ebx
mov dword [ecx + edx*4], eax
mov eax, dword [ebx]
test eax, eax
je 0x435924
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
lea edx, [ecx - 1]
test ecx, edx
je 0x43591b
cmp eax, ecx
jb 0x43591d
xor edx, edx
div ecx
mov eax, edx
jmp 0x43591d
and eax, edx
shl eax, 2
add eax, dword [esi]
mov dword [eax], ebx
inc dword [esi + 0xc]
mov al, 1
mov dword [edi], ebx
mov byte [edi + 4], al
mov eax, edi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14