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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x603024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x618c58]
cmp esi, 1
jbe 0x4f2a49
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f2a36
mov eax, dword [0x618c58]
cmp eax, 1
jbe 0x4f2a88
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
mov eax, dword [0x618c60]
test eax, eax
je 0x4f2ac2
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 4]
test edi, edi
je 0x4f2ae5
push edi
call fcn.00520c00
add esp, 4
mov ebx, eax
test eax, eax
je 0x4f2726
xor eax, eax
xor esi, esi
nop word [eax + eax]
movsx ecx, byte [edi + eax]
imul esi, esi, 0x83
add esi, ecx
inc eax
cmp ebx, eax
jne 0x4f2650
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x4f273c
mov ecx, eax
shr ecx, 1
and ecx, 0x55555555
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 - 0x38], eax
cmp eax, 1
jbe 0x4f2732
mov edx, esi
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
jb 0x4f26bf
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4f2742
mov edx, dword [eax]
test edx, edx
je 0x4f2742
lea eax, [ecx - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
cmp eax, esi
mov dword [ebp - 0x2c], edx
je 0x4f26fc
cmp dword [ebp - 0x38], 1
jbe 0x4f272d
cmp eax, ecx
jb 0x4f26f4
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jne 0x4f2742
cmp dword [edx + 0xc], ebx
je 0x4f2709
mov edx, dword [edx]
test edx, edx
jne 0x4f26da
jmp 0x4f2742
push ebx
push edi
push dword [edx + 8]
call fcn.00505e3d
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
je 0x4f27c6
jmp 0x4f2701
xor esi, esi
jmp 0x4f2661
and eax, dword [ebp - 0x34]
jmp 0x4f26f7
mov ecx, dword [ebp - 0x20]
lea edx, [ecx - 1]
and edx, esi
jmp 0x4f26bf
xor eax, eax
dec eax
mov dword [ebp - 0x24], eax
push 0x14
call fcn.0050397a
add esp, 4
mov edx, eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
xor eax, eax
mov dword [edx + 0x10], eax
mov dword [edx + 4], esi
mov dword [edx], eax
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x5e0b18]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4f296a
movd xmm3, eax
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4f296a
mov eax, dword [ebx]
mov esi, dword [ebp - 0x24]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4f2897
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], edx
inc dword [ebx + 0xc]
mov ebx, dword [edx + 0x10]
test ebx, ebx
jne 0x4f293f
mov eax, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov eax, dword [0x618c60]
mov dword [ebp - 0x28], eax
push edi
call fcn.00520c00
add esp, 4
cmp eax, 0xfffffff0
jae 0x4f2add
mov ebx, eax
cmp eax, 0xb
jae 0x4f2804
lea esi, [ebp - 0x1c]
mov byte [esi + 0xb], bl
test ebx, ebx
jne 0x4f282d
jmp 0x4f2838
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.0050397a
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], eax
or ebx, 0x80000000
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push ebx
push edi
push esi
call fcn.00506d50
add esp, 0xc
mov byte [esi + ebx], 0
movzx ebx, byte [ebp - 0x11]
mov ecx, ebx
test bl, bl
jns 0x4f284e
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
jmp 0x4f2851
lea eax, [ebp - 0x1c]
mov edx, ebx
cmp ebx, 4
jb 0x4f2886
nop dword [eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul edx, edx, 0x5bd1e995
xor edx, esi
add eax, 4
add ebx, 0xfffffffc
cmp ebx, 3
ja 0x4f2860
cmp ebx, 1
je 0x4f28ec
cmp ebx, 3
je 0x4f28da
cmp ebx, 2
je 0x4f28e3
jmp 0x4f28f7
mov ecx, dword [ebx + 8]
mov dword [edx], ecx
lea ecx, [ebx + 8]
mov dword [ebx + 8], edx
mov dword [eax + esi*4], ecx
mov eax, dword [edx]
test eax, eax
je 0x4f27c3
mov esi, edx
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
lea ecx, [edx - 1]
test edx, ecx
je 0x4f2a42
cmp eax, edx
jb 0x4f28ce
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov ecx, dword [ebx]
mov edx, esi
mov dword [ecx + eax*4], esi
jmp 0x4f27c3
movzx esi, byte [eax + 2]
shl esi, 0x10
xor edx, esi
movzx esi, byte [eax + 1]
shl esi, 8
xor edx, esi
movzx eax, byte [eax]
xor eax, edx
imul edx, eax, 0x5bd1e995
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0x18]
xor ebx, ebx
test esi, esi
jne 0x4f2ae8
test cl, cl
jns 0x4f2916
push dword [ebp - 0x1c]
call fcn.005039aa
add esp, 4
test ebx, ebx
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
jne 0x4f2ba8
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00504b53
mov eax, edi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 8]
cmp ebx, edi
mov esi, dword [ebp - 0x30]
je 0x4f2924
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4f2966
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 1
call esi
mov edi, ebx
jmp 0x4f292b
mov dword [ebp - 0x2c], edx
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ebx, eax
call fcn.00534780
add esp, 8
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5cd5f8]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
jb 0x4f2a1d
lea edx, [ebx - 1]
test ebx, edx
mov edx, 0
setne dl
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x4f2a22
lea eax, [edx - 1]
test edx, eax
je 0x4f2a27
push edx
call fcn.004dbb90
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x4f2bdd
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
push edx
call fcn.004f3180
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
test ecx, eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
je 0x4f2a2c
cmp esi, ecx
jb 0x4f2c94
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x2c]
jmp 0x4f27ad
xor edx, edx
inc edx
jmp 0x4f29bd
mov edx, 2
mov eax, dword [ebp - 0x20]
jmp 0x4f29e1
and eax, esi
mov dword [ebp - 0x24], eax
jmp 0x4f27ad
mov ecx, esi
call fcn.004e9a60
jmp 0x4f2601
and eax, ecx
jmp 0x4f28ce
push 0x618c58
call fcn.0045d150
add esp, 4
test al, al
je 0x4f2cbe
mov esi, 0x618c5c
mov ecx, 0x618c5c
call fcn.004e9a50
mov eax, 0x618c58
push eax
push 0
push 0x618c5c
push eax
call fcn.0045d210
add esp, 0x10
jmp 0x4f25f2
push 0x618c58
call fcn.0045d150
add esp, 4
test al, al
je 0x4f2cc9
mov ecx, 0x618c5c
call fcn.004e9a50
mov eax, 0x618c58
push eax
push 0
push 0x618c5c
push eax
call fcn.0045d210
add esp, 0x10
jmp 0x4f260f
push 0x54
call fcn.0050397a
add esp, 4
mov ecx, eax
call fcn.00483e20
mov eax, dword [0x618c60]
jmp 0x4f2622
lea ecx, [ebp - 0x1c]
call fcn.0055adb0
int3
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xf
xor edx, eax
mov dword [ebp - 0x20], edx
mov edx, esi
shr edx, 1
and edx, 0x55555555
mov eax, esi
sub eax, edx
mov edx, 0x33333333
mov edi, eax
and edi, edx
shr eax, 2
and eax, edx
add eax, edi
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x2c], eax
cmp eax, 1
ja 0x4f2bb6
lea eax, [esi - 1]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4f2907
mov edi, dword [eax]
test edi, edi
je 0x4f2907
lea ebx, [esi - 1]
add dword [ebp - 0x28], 0x28
mov eax, dword [edi + 4]
cmp dword [ebp - 0x20], eax
jne 0x4f2b87
lea eax, [edi + 8]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
push edx
push eax
call fcn.00436180
test al, al
je 0x4f2b94
jmp 0x4f2bd3
cmp dword [ebp - 0x2c], 1
ja 0x4f2b9c
and eax, ebx
cmp eax, dword [ebp - 0x24]
jne 0x4f2bd1
mov edi, dword [edi]
test edi, edi
jne 0x4f2b69
jmp 0x4f2bd1
cmp eax, esi
jb 0x4f2b8f
xor edx, edx
div esi
mov eax, edx
jmp 0x4f2b8f
mov ecx, edi
push 0x20
call fcn.004e3820
jmp 0x4f2924
mov eax, dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 0x24], eax
cmp eax, esi
jb 0x4f2b44
mov eax, dword [ebp - 0x20]
xor edx, edx
div esi
mov dword [ebp - 0x24], edx
jmp 0x4f2b44
xor edi, edi
mov cl, byte [ebp - 0x11]
mov ebx, edi
jmp 0x4f2907
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x28]
jae 0x4f29f4
mov dword [ebp - 0x24], edx
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x5e0e00]
subsd xmm0, qword [0x5e0b18]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00534780
add esp, 8
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
cvttss2si ecx, xmm0
mov edx, ecx
subss xmm0, dword [0x5cd5f8]
cvttss2si eax, xmm0
sar edx, 0x1f
and eax, edx
or eax, ecx
cmp dword [ebp - 0x20], 3
jb 0x4f2c9c
mov ecx, dword [ebp - 0x20]
mov edx, ecx
shr edx, 1
and edx, 0x55555555
sub ecx, edx
mov ebx, 0x33333333
mov edx, ecx
and edx, ebx
shr ecx, 2
and ecx, ebx
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
imul ecx, edx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x4f2c9c
cmp eax, 2
jb 0x4f2ca5
dec eax
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
jmp 0x4f2ca5
mov dword [ebp - 0x24], esi
jmp 0x4f2a15
push eax
call fcn.004dbb90
add esp, 4
mov edx, dword [ebp - 0x24]
cmp edx, eax
cmovbe edx, eax
cmp edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jb 0x4f29ec
jmp 0x4f29f4
mov esi, dword [0x618c58]
jmp 0x4f25f2
mov eax, dword [0x618c58]
jmp 0x4f260f