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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x40], eax
mov esi, dword [0x528294]
cmp esi, 1
jbe 0x47f6f5
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x47f6e9
mov eax, dword [0x528294]
cmp eax, 1
jbe 0x47f734
mov edi, dword [ebp + 8]
mov eax, dword [0x52829c]
mov dword [esp], eax
test eax, eax
mov dword [esp + 0x1c], esi
je 0x47f775
mov edi, dword [edi + 4]
xor ebx, ebx
test edi, edi
je 0x47f815
push edi
call fcn.004a2ba0
add esp, 4
mov esi, 0
test eax, eax
je 0x47f305
xor ecx, ecx
xor esi, esi
nop
nop
nop
movsx edx, byte [edi + ecx]
imul esi, esi, 0x83
add esi, edx
add ecx, 1
cmp eax, ecx
jne 0x47f2f0
mov ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp]
mov ebx, dword [eax + 4]
test ebx, ebx
mov dword [esp + 8], ebx
je 0x47f6a9
mov eax, ebx
shr eax, 1
and eax, 0x55555555
mov ecx, ebx
sub ecx, eax
mov eax, 0x33333333
mov edx, ecx
and edx, eax
shr ecx, 2
and ecx, eax
add ecx, edx
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0x18], eax
cmp eax, 1
jbe 0x47f678
mov edx, esi
cmp esi, ebx
mov ecx, ebx
jb 0x47f368
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [esp + 4], edx
je 0x47f3bc
mov ebx, dword [eax]
test ebx, ebx
je 0x47f3bc
lea eax, [ecx - 1]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x47f3a9
cmp dword [esp + 0x18], 1
jbe 0x47f66a
cmp eax, ecx
jb 0x47f3a1
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [esp + 4]
cmp eax, edx
jne 0x47f3bc
mov eax, dword [esp + 0xc]
cmp dword [ebx + 0xc], eax
je 0x47f684
mov ebx, dword [ebx]
test ebx, ebx
jne 0x47f385
push 0x14
call fcn.00489952
add esp, 4
mov ebx, eax
mov dword [eax + 8], edi
mov eax, dword [esp + 0xc]
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov ecx, dword [esp]
mov eax, dword [ecx + 0xc]
inc eax
movd xmm0, eax
movq xmm1, qword [0x501c70]
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 8]
movd xmm2, eax
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [ecx + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x47f5e2
test eax, eax
je 0x47f5e2
mov edx, dword [esp]
mov eax, dword [edx]
mov esi, dword [esp + 4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x47f441
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
jmp 0x47f47b
mov ecx, dword [edx + 8]
mov dword [ebx], ecx
lea ecx, [edx + 8]
mov dword [edx + 8], ebx
mov dword [eax + esi*4], ecx
mov eax, dword [ebx]
test eax, eax
je 0x47f47b
mov eax, dword [eax + 4]
mov edx, dword [esp + 8]
lea ecx, [edx - 1]
test edx, ecx
je 0x47f76e
cmp eax, edx
jb 0x47f473
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [esp]
mov ecx, dword [edx]
mov dword [ecx + eax*4], ebx
inc dword [edx + 0xc]
mov esi, dword [ebx + 0x10]
test esi, esi
jne 0x47f6c0
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [0x52829c]
mov dword [esp], eax
push edi
call fcn.004a2ba0
add esp, 4
cmp eax, 0xfffffff0
jae 0x47f7d2
mov ebx, eax
cmp eax, 0xb
jae 0x47f4bd
lea esi, [esp + 0x34]
mov byte [esi + 0xb], bl
test ebx, ebx
jne 0x47f4ec
jmp 0x47f4f7
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.00489952
add esp, 4
mov esi, eax
mov dword [esp + 0x34], eax
or ebx, 0x80000000
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x38], ebx
push ebx
push edi
push esi
call fcn.0048cc70
add esp, 0xc
mov byte [esi + ebx], 0
movzx ebx, byte [esp + 0x3f]
mov ecx, ebx
mov eax, dword [esp + 0x34]
mov byte [esp + 4], bl
test bl, bl
mov dword [esp + 0xc], eax
jns 0x47f51a
mov ebx, dword [esp + 0x38]
mov ecx, eax
jmp 0x47f51e
lea ecx, [esp + 0x34]
mov eax, ebx
mov dword [esp + 8], ecx
mov edx, ebx
cmp ebx, 4
jb 0x47f566
mov edx, ebx
mov ecx, dword [esp + 8]
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul edi, dword [ecx], 0x5bd1e995
mov esi, edi
shr esi, 0x18
xor esi, edi
imul esi, esi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x47f540
cmp edx, 3
je 0x47f577
cmp edx, 1
je 0x47f589
cmp edx, 2
jne 0x47f594
jmp 0x47f580
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [esp]
mov edx, dword [ecx + 0x18]
xor esi, esi
test edx, edx
jne 0x47f81c
cmp byte [esp + 4], 0
jns 0x47f5b7
push dword [esp + 0xc]
call fcn.00489982
add esp, 4
test esi, esi
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
jne 0x47f962
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.0048a678
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004b3030
add esp, 8
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fisttp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 8]
lea ecx, [edx + edx]
cmp edx, 3
jb 0x47f673
mov dword [esp + 4], ecx
mov ecx, dword [esp + 8]
lea edx, [ecx - 1]
mov dword [esp + 0xc], edx
xor edx, edx
test dword [esp + 0xc], ecx
mov ecx, dword [esp + 4]
setne dl
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, dword [esp]
push edx
call fcn.0045cce0
mov eax, dword [esp]
mov ecx, dword [eax + 4]
lea eax, [ecx - 1]
test ecx, eax
mov dword [esp + 8], ecx
je 0x47f6b5
cmp esi, ecx
jb 0x47f9c0
mov eax, esi
xor edx, edx
div ecx
mov dword [esp + 4], edx
jmp 0x47f429
and eax, dword [esp + 0x14]
jmp 0x47f3a5
xor edx, edx
inc edx
jmp 0x47f632
lea edx, [ebx - 1]
and edx, esi
mov ecx, ebx
jmp 0x47f368
push dword [esp + 0xc]
push edi
push dword [ebx + 8]
call fcn.0048bd5d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x47f3b6
jmp 0x47f47e
xor eax, eax
dec eax
mov dword [esp + 4], eax
jmp 0x47f3bc
and eax, esi
mov dword [esp + 4], eax
jmp 0x47f429
mov edi, dword [ebp + 8]
cmp esi, edi
mov eax, dword [esp + 0x1c]
je 0x47f5c6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x47f6e2
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, esi
jmp 0x47f5cd
mov ecx, esi
call fcn.00470630
jmp 0x47f2a5
push 0x528294
call fcn.00441d60
add esp, 4
test al, al
je 0x47f9c9
mov esi, 0x528298
mov ecx, 0x528298
call fcn.00470620
mov eax, 0x528294
push eax
push 0
push 0x528298
push eax
call fcn.00441e10
add esp, 0x10
jmp 0x47f296
push 0x528294
call fcn.00441d60
add esp, 4
test al, al
je 0x47f9d4
mov ecx, 0x528298
call fcn.00470620
mov eax, 0x528294
push eax
push 0
push 0x528298
push eax
call fcn.00441e10
add esp, 0x10
jmp 0x47f2b3
and eax, ecx
jmp 0x47f473
push 0x50
call fcn.00489952
add esp, 4
mov esi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov eax, 0x3f800000
mov dword [esi + 0x10], eax
movups xmmword [esi + 0x14], xmm0
mov dword [esi + 0x24], eax
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0x38], eax
movups xmmword [esi + 0x3c], xmm0
mov dword [esi + 0x4c], 0
mov eax, dword [0x528294]
cmp eax, 1
jbe 0x47f7db
mov eax, dword [0x52829c]
mov dword [esi + 0x4c], eax
mov dword [0x52829c], esi
call fcn.0045cc60
mov eax, dword [0x52829c]
mov dword [esp], eax
jmp 0x47f2ca
lea ecx, [esp + 0x34]
call fcn.004c9f10
push 0x528294
call fcn.00441d60
add esp, 4
test al, al
je 0x47f9de
mov ecx, 0x528298
call fcn.00470620
mov eax, 0x528294
push eax
push 0
push 0x528298
push eax
call fcn.00441e10
add esp, 0x10
mov edi, dword [ebp + 8]
jmp 0x47f7b2
xor esi, esi
jmp 0x47f305
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
mov dword [esp + 0x18], ecx
mov eax, edx
shr eax, 1
and eax, 0x55555555
mov dword [esp + 0x10], edx
mov ecx, edx
sub ecx, eax
mov eax, 0x33333333
mov edx, ecx
and edx, eax
shr ecx, 2
and ecx, eax
add ecx, edx
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0x30], eax
cmp eax, 1
ja 0x47f97d
mov eax, dword [esp + 0x10]
dec eax
and eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x47f5a4
mov eax, dword [eax]
mov dword [esp], eax
test eax, eax
je 0x47f5a4
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 8]
mov eax, dword [esp]
mov eax, dword [eax + 4]
cmp eax, dword [esp + 0x18]
jne 0x47f90c
mov eax, dword [esp]
movzx eax, byte [eax + 0x13]
mov ecx, eax
test al, al
jns 0x47f8d2
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xc]
cmp ecx, ebx
jne 0x47f921
mov ecx, dword [esp]
add ecx, 8
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x47f944
test al, al
je 0x47f95a
mov ecx, dword [esp + 8]
cmp byte [ecx], dl
jne 0x47f921
dec eax
xor ecx, ecx
cmp eax, ecx
je 0x47f95a
mov edx, dword [esp]
mov dl, byte [edx + ecx + 9]
lea esi, [ecx + 1]
cmp dl, byte [edi + ecx + 1]
mov ecx, esi
je 0x47f8f4
jmp 0x47f921
cmp dword [esp + 0x30], 1
ja 0x47f934
and eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x14]
jne 0x47f9b9
mov eax, dword [esp]
mov eax, dword [eax]
xor esi, esi
mov dword [esp], eax
test eax, eax
jne 0x47f8b3
jmp 0x47f5a4
cmp eax, dword [esp + 0x10]
jb 0x47f917
xor edx, edx
div dword [esp + 0x10]
mov eax, edx
jmp 0x47f917
test ebx, ebx
je 0x47f95a
push ebx
push dword [esp + 0xc]
push ecx
call fcn.0048bd5d
add esp, 0xc
test eax, eax
jne 0x47f921
mov esi, dword [esp]
jmp 0x47f5a4
cmp dword [esi + 0x14], 0
je 0x47f9a4
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x20
call fcn.00479430
mov eax, dword [esp + 0x1c]
jmp 0x47f5c6
mov eax, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jb 0x47f884
mov eax, dword [esp + 0x18]
xor edx, edx
div dword [esp + 0x10]
mov dword [esp + 0x14], edx
jmp 0x47f884
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x20
call fcn.004e1250
mov eax, dword [esp + 0x1c]
jmp 0x47f5c6
xor esi, esi
jmp 0x47f5a4
mov dword [esp + 4], esi
jmp 0x47f429
mov esi, dword [0x528294]
jmp 0x47f296
mov eax, dword [0x528294]
jmp 0x47f2b3
mov eax, dword [0x528294]
jmp 0x47f810