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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea edx, [eax + ecx]
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
mov dword [ebp - 0x28], ebx
jb 0x100534a8
mov edx, esi
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x10053480
jmp 0x100534ac
mov eax, edi
mov edx, esi
cmp edi, 1
mov dword [ebp - 0x30], esi
je 0x100534d0
cmp edi, 2
je 0x100534c7
cmp edi, 3
jne 0x100534db
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
test esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], edi
je 0x10053542
mov eax, esi
shr eax, 1
and eax, 0x55555555
mov ecx, esi
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
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
mov dword [ebp - 0x2c], eax
cmp eax, 1
ja 0x1005354e
lea edx, [esi - 1]
and edx, edi
jmp 0x1005355e
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x10053637
mov edx, edi
cmp edi, esi
jb 0x1005355e
mov eax, edi
xor edx, edx
div dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10053637
mov ebx, dword [eax]
test ebx, ebx
je 0x10053637
lea eax, [esi - 1]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x100535ad
mov ebx, dword [ebx]
test ebx, ebx
mov esi, dword [ebp - 0x10]
je 0x10053637
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x18]
je 0x100535d0
cmp dword [ebp - 0x2c], 1
ja 0x100535c0
and eax, dword [ebp - 0x24]
jmp 0x100535cb
cmp eax, esi
jb 0x100535cb
xor edx, edx
div dword [ebp - 0x10]
mov eax, edx
cmp eax, dword [ebp - 0x1c]
jne 0x10053637
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x100535dd
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
jne 0x100535a0
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x10053616
cmp dword [ebp - 0x14], 0
je 0x10053630
cmp byte [esi], dl
jne 0x100535a0
add eax, 0xffffffff
xor ecx, ecx
cmp eax, ecx
je 0x10053630
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x10053600
jmp 0x100535a0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10053630
push eax
push esi
push ecx
call fcn.100a8eed
add esp, 0xc
test eax, eax
jne 0x100535a0
xor ecx, ecx
jmp 0x10053787
mov esi, dword [ebp + 0x14]
push 0x18
call fcn.100a6594
add esp, 4
mov ebx, eax
lea ecx, [eax + 8]
push dword [esi]
call fcn.1003cefe
mov dword [ebx + 0x14], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0xc]
add eax, 1
movq xmm2, qword [0x100cd1f8]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x100536b4
movd xmm3, edx
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x100536b4
mov eax, dword [ebp - 0x1c]
jmp 0x1005373b
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov edi, edx
call fcn.100b9680
add esp, 8
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
movss xmm1, dword [0x100cd200]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
xor eax, 0x80000000
cvttss2si edx, xmm0
ucomiss xmm0, xmm1
cmovae edx, eax
cmp edi, 3
setb al
lea ecx, [edi - 1]
test edi, ecx
setne cl
or cl, al
movzx eax, cl
lea eax, [eax + edi*2]
cmp eax, edx
cmovae edx, eax
mov ecx, esi
push edx
call fcn.100537a0
mov edx, dword [esi + 4]
lea eax, [edx - 1]
test edx, eax
jne 0x1005372a
and eax, dword [ebp - 0x18]
jmp 0x1005373b
mov eax, dword [ebp - 0x18]
cmp eax, edx
jb 0x1005373b
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov edx, ecx
mov ecx, dword [esi]
mov edi, eax
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x1005374c
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x1005377f
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 0x10053781
mov eax, dword [eax + 4]
lea ecx, [edx - 1]
test edx, ecx
jne 0x1005376e
and eax, ecx
jmp 0x1005377a
cmp eax, edx
jb 0x1005377a
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
shl eax, 2
add eax, dword [esi]
mov dword [eax], ebx
add dword [esi + 0xc], 1
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x14