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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x114
lea esi, [esp + 0x10]
mov edi, 0x80fc0c
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x46118b
mov edx, dword [0x8094c0]
lea eax, [esp + 0x10]
call fcn.00462fac
mov dword [esp + 0x110], eax
test eax, eax
je 0x4614f3
lea ebp, [esp + 0x10]
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x4614ec
xor esi, esi
lea edx, [esp + 0x10]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x4611e4
movzx eax, al
movzx edx, byte [eax + 0x5b60a0]
inc edx
movsx ecx, dl
add esi, ecx
jmp 0x4611e9
lea ebp, [edx + 1]
xor esi, esi
lea edx, [ebp + esi]
movsx eax, byte [edx]
test eax, eax
jne 0x4611cd
push 0x38
call fcn.00403564
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4614d6
lea edx, [esi + 1]
push edx
call fcn.0046adec
pop ecx
mov dword [ebx + 0x14], eax
test eax, eax
je 0x4614c0
push esi
push ebp
push eax
call dword [0x5d348c]
add esp, 0xc
mov ecx, dword [ebx + 0x14]
xor edx, edx
mov byte [ecx + esi], dl
mov ecx, esi
xor edx, esi
cmp esi, 4
jl 0x46125f
imul eax, dword [ebp], 0x5bd1e995
mov edi, eax
shr edi, 0x18
xor eax, edi
imul edi, eax, 0x5bd1e995
imul edx, edx, 0x5bd1e995
xor edx, edi
add ebp, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x461238
cmp ecx, 3
je 0x461270
cmp ecx, 2
je 0x461279
cmp ecx, 1
je 0x461282
jmp 0x46128e
movzx ecx, byte [ebp + 2]
shl ecx, 0x10
xor edx, ecx
movzx ecx, byte [ebp + 1]
shl ecx, 8
xor edx, ecx
movzx ecx, byte [ebp]
xor edx, ecx
imul edx, edx, 0x5bd1e995
mov ebp, edx
shr ebp, 0xd
xor edx, ebp
imul edx, edx, 0x5bd1e995
mov edi, edx
shr edi, 0xf
xor edx, edi
and edx, 0x7fffffff
xor ecx, ecx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x18], esi
mov byte [ebx + 0x30], cl
mov esi, 0x3b9ac9ff
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x110]
mov edx, ebx
call fcn.00463044
push ebx
call fcn.00467120
pop ecx
mov ebp, eax
test ebx, ebx
je 0x4614fa
test ebp, ebp
je 0x4614fa
mov esi, ebp
mov edi, 0x80fc14
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4612f4
mov byte [ebp + 0x105], 2
push 0x809760
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x8099e4]
mov ecx, dword [0x8099e8]
mov dword [ecx + eax*4], ebx
mov eax, dword [0x8099ec]
mov ecx, dword [0x8099e4]
mov byte [ecx + eax], 5
mov eax, dword [0x8099e4]
mov ecx, dword [0x8099f4]
mov dword [ecx + eax*4], 2
mov eax, dword [0x8099e4]
mov ecx, dword [0x8099f8]
mov dword [ecx + eax*4], 0
mov eax, dword [0x8099e4]
inc eax
cdq
xor eax, edx
sub eax, edx
and eax, 0x3ff
xor eax, edx
sub eax, edx
mov dword [0x8099e4], eax
cmp eax, dword [0x8099e0]
je 0x4614ac
push 0x809760
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x809760
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x8099e4]
mov ecx, dword [0x8099e8]
mov dword [ecx + eax*4], ebx
mov eax, dword [0x8099ec]
mov ecx, dword [0x8099e4]
mov byte [ecx + eax], 1
mov eax, dword [0x8099e4]
mov ecx, dword [0x8099f0]
mov esi, dword [ecx + eax*4]
mov edi, ebp
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x4613b9
mov ebp, dword [0x8099e4]
mov ecx, dword [0x8099f8]
mov dword [ecx + ebp*4], 0
mov eax, dword [0x8099e4]
inc eax
cdq
xor eax, edx
sub eax, edx
and eax, 0x3ff
xor eax, edx
sub eax, edx
mov dword [0x8099e4], eax
cmp eax, dword [0x8099e0]
je 0x461498
push 0x809760
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x809760
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [0x8099e4]
mov ecx, dword [0x8099e8]
mov dword [ecx + ebp*4], ebx
mov esi, dword [0x8099ec]
mov ebx, dword [0x8099e4]
mov byte [ebx + esi], 2
mov eax, dword [0x8099e4]
mov edi, dword [0x8099f4]
xor edx, edx
mov dword [edi + eax*4], edx
mov ecx, dword [0x8099e4]
mov eax, dword [0x8099f8]
mov dword [eax + ecx*4], edx
mov eax, dword [0x8099e4]
inc eax
cdq
xor eax, edx
sub eax, edx
and eax, 0x3ff
xor eax, edx
sub eax, edx
mov dword [0x8099e4], eax
cmp eax, dword [0x8099e0]
je 0x461487
push 0x809760
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x114
pop ebx
pop ebp
pop esi
pop edi
ret
push 0
push 0x1ae78
call fcn.00467ed0
add esp, 8
jmp 0x46146f
push 0
push 0x1ae78
call fcn.00467ed0
add esp, 8
jmp 0x4613fb
push 0
push 0x1ae78
call fcn.00467ed0
add esp, 8
jmp 0x461376
push 1
push 0x186aa
call fcn.00467ed0
add esp, 8
xor ebx, ebx
jmp 0x4612d4
push 1
push 0x186aa
call fcn.00467ed0
add esp, 8
xor ebx, ebx
jmp 0x4612d4
xor esi, esi
jmp 0x4611f4
xor ebx, ebx
jmp 0x4612d4
mov eax, 0xffffffff
add esp, 0x114
pop ebx
pop ebp
pop esi
pop edi
ret