Function at 0x51ece0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x704d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
mov ebx, ecx
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], ebx
push esi
push edi
test ebx, ebx
je 0x51efff
call fcn.00500ba0
mov al, 1
mov byte [ebp - 0xd], al
mov byte [ebp - 0x3c], al
mov esi, dword [ebp + 0xc]
sub esp, 8
cmp dword [esi + 0x2c], 0x10
lea eax, [esi + 0x18]
mov edx, dword [eax + 0x10]
mov ecx, esp
mov dword [ebp - 4], 2
jb 0x51ed3f
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ecx + 4], edx
call fcn.0051feb0
add esp, 0xc
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
je 0x51ed66
lea ecx, [ebx + 0x68]
lea eax, [ebp - 0x60]
jmp 0x51ed6c
lea ecx, [ebx + 0x48]
lea eax, [ebp - 0x68]
push eax
call fcn.0051d660
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0x18], edx
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
add edi, 0x20
cmp byte [0x991b00], 0
mov dword [ebp - 0x14], edi
je 0x51ef48
cmp byte [0x7f0d6c], 0
je 0x51ef48
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0052f160
add esp, 8
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 4
je 0x51ef37
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
lea eax, [ebx + 0x364]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x58]
xor ecx, ecx
cmp dword [ebp - 0x48], ecx
jbe 0x51edf0
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x48]
jb 0x51edd8
lea eax, [ebx + 0x364]
push edx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00476960
mov esi, dword [eax + 4]
test esi, esi
jne 0x51ee0d
mov esi, dword [ebx + 0x368]
cmp esi, dword [ebx + 0x368]
je 0x51ef37
mov al, byte [esi + 0x20]
mov byte [ebp + 8], al
test al, al
lea eax, [ebp - 0x38]
push eax
je 0x51ee32
lea ecx, [ebx + 0xe8]
lea eax, [ebp - 0x20]
jmp 0x51ee3b
lea ecx, [ebx + 0xc8]
lea eax, [ebp - 0x78]
push eax
call fcn.0051d660
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
je 0x51ee5f
add dword [eax + 0x30], 1
adc dword [eax + 0x34], 0
add dword [eax + 0x38], ecx
mov ecx, dword [ebp + 0x14]
adc dword [eax + 0x3c], ecx
jmp 0x51ee70
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
add dword [eax + 0x28], ecx
mov ecx, dword [ebp + 0x14]
adc dword [eax + 0x2c], ecx
lea eax, [ebp - 0x20]
push eax
call fcn.0050eb40
add esp, 4
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x51ee9b
push dword [ebp + 8]
mov eax, dword [ecx]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00488c90
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], eax
jb 0x51eeb4
mov edx, dword [edx]
xor ecx, ecx
mov eax, 0x811c9dc5
cmp dword [ebp + 8], ecx
jbe 0x51eee2
mov ebx, dword [ebp + 8]
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x51eec5
mov ebx, dword [ebp - 0x18]
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x37c]
lea edx, [ebx + 0x368]
and ecx, eax
mov eax, dword [ebx + 0x370]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x51ef15
cmp eax, esi
jne 0x51ef0d
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x51ef1d
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x51ef1d
cmp eax, esi
jne 0x51ef1d
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edx + 4]
mov eax, dword [esi + 4]
push esi
push edx
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
call fcn.004968b0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.004716c0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
test dl, dl
je 0x51ef5c
add dword [edi + 0x10], 1
adc dword [edi + 0x14], 0
add dword [edi + 0x18], ecx
adc dword [edi + 0x1c], eax
jmp 0x51ef69
add dword [edi], 1
adc dword [edi + 4], 0
add dword [edi + 8], ecx
adc dword [edi + 0xc], eax
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x51efa1
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51ef97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51f01e
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 6
je 0x51efec
mov eax, bind
lock xadd dword [ebx], eax
test eax, 0x40000000
jne 0x51efec
cmp eax, 0x80000000
jle 0x51efec
lock bts dword [ebx], 0x1e
jb 0x51efec
mov ecx, ebx
call fcn.004e70d0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.boost_unique_lock_has_no_mutex
push 1
lea ecx, [ebp - 0xa4]
call fcn.004feeb0
push eax
mov dword [ebp - 4], 0
call fcn.004fe150
call fcn.006cc674
int3