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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, dword [ebp + 0xc]
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx ebx, byte [esi + 0xb]
test bl, bl
mov dword [ebp - 0x28], ecx
jns 0x439666
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov eax, ebx
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0x24], ebx
cmp ebx, 4
jb 0x4396a1
mov eax, dword [ebp - 0x24]
mov edx, eax
mov ecx, esi
imul ebx, dword [ecx], 0x5bd1e995
mov edi, ebx
shr edi, 0x18
xor edi, ebx
imul edi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x43967b
cmp edx, 1
je 0x4396c7
cmp edx, 2
je 0x4396b9
cmp edx, 3
jne 0x4396d7
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
mov edi, dword [ebp - 0x28]
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
jmp 0x4396ca
mov edi, dword [ebp - 0x28]
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x4396da
mov edi, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov edi, dword [edi + 4]
xor eax, eax
dec eax
test edi, edi
mov dword [ebp - 0x2c], edi
je 0x439800
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, 0x33333333
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 eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x34], eax
cmp eax, 1
ja 0x439742
lea edx, [edi - 1]
and edx, ebx
jmp 0x439750
mov eax, ebx
mov edx, ebx
cmp ebx, edi
jb 0x439750
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4397fd
mov edi, dword [eax]
test edi, edi
je 0x4397fd
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x439798
cmp dword [ebp - 0x34], 1
ja 0x439786
and eax, dword [ebp - 0x30]
jmp 0x439793
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x439793
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [ebp - 0x20]
jne 0x4397fd
movzx ecx, byte [edi + 0x13]
mov eax, ecx
test cl, cl
jns 0x4397a5
mov eax, dword [edi + 0xc]
cmp eax, dword [ebp - 0x24]
jne 0x4397f3
lea eax, [edi + 8]
mov edx, dword [eax]
test cl, cl
cmovs eax, edx
js 0x4397d5
xor eax, eax
test ecx, ecx
je 0x439877
dec ecx
cmp dl, byte [esi + eax]
jne 0x4397f3
cmp ecx, eax
je 0x439875
mov dl, byte [edi + eax + 9]
inc eax
jmp 0x4397c1
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x439875
push ecx
push esi
push eax
call fcn.005065ad
add esp, 0xc
test eax, eax
je 0x439875
mov edi, dword [edi]
test edi, edi
jne 0x439774
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x1c]
xor ecx, ecx
dec ecx
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov ecx, dword [ebp - 0x28]
push eax
push edx
push esi
mov dword [ebp - 0x24], ebx
push ebx
push edi
mov edi, ecx
mov esi, dword [ebp - 0x2c]
call fcn.00538d90
mov eax, dword [edi + 0xc]
inc eax
movq xmm1, qword [0x5d82d0]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movd xmm2, esi
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [edi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x439895
test esi, esi
je 0x439895
mov edx, dword [ebp - 0x20]
jmp 0x439917
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504596
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00532ba0
add esp, 8
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5c9708]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x4398e6
lea edx, [esi - 1]
mov dword [ebp - 0x24], edx
xor edx, edx
test dword [ebp - 0x24], esi
setne dl
jmp 0x4398ec
xor edx, edx
inc edx
mov ebx, dword [ebp - 0x24]
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, edi
push edx
call fcn.00439980
mov esi, dword [edi + 4]
lea edx, [esi - 1]
test esi, edx
jne 0x439909
and edx, ebx
jmp 0x439917
cmp ebx, esi
jae 0x439911
mov edx, ebx
jmp 0x439917
mov eax, ebx
xor edx, edx
div esi
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x43992e
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x43996a
lea eax, [edi + 8]
mov ecx, dword [edi + 8]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 8], ecx
mov ecx, dword [edi]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x43996a
mov eax, dword [eax + 4]
lea edx, [esi - 1]
test esi, edx
jne 0x43995b
and eax, edx
jmp 0x439965
cmp eax, esi
jb 0x439965
xor edx, edx
div esi
mov eax, edx
mov edx, dword [edi]
mov dword [edx + eax*4], ecx
mov eax, edi
mov edi, dword [ebp - 0x1c]
inc dword [eax + 0xc]
mov al, 1
jmp 0x439877