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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0938
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4cd1c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.00405240
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x418454
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x418443
mov eax, dword [ebx + 0xa8]
mov ecx, dword [ebx + 0x9c]
and eax, edx
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov ebx, dword [ecx + eax*8]
mov esi, ebx
mov edi, dword [edi + 0x94]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x30], eax
nop dword [eax]
cmp ebx, edi
jne 0x418488
mov eax, edi
jmp 0x41848d
mov eax, dword [eax + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x4184c2
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.0041ca30
test al, al
je 0x4184ac
mov esi, dword [esi]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
jmp 0x418480
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041ca30
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x4184c4
mov ecx, edi
mov eax, dword [ebp - 0x2c]
cmp ecx, edi
jne 0x4185c0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [eax + 0x90]
call fcn.00427500
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [edx + 0x20], eax
mov esi, dword [edx + 0x24]
mov dword [edx + 0x24], ecx
or edi, 0xffffffff
mov byte [ebp - 4], 3
test esi, esi
je 0x41852c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41852c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41852c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x418564
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41855a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185ee
push edx
push ecx
call fcn.00464810
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 4
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4185a2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4185a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4185a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004642be
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x28]
mov edx, str.logger_with_name_
push eax
lea ecx, [ebp - 0x50]
call fcn.0040ce80
sub esp, 0x14
mov byte [ebp - 4], 2
mov ecx, esp
mov edx, eax
push str._already_exists
call fcn.0040cf80
add esp, 4
call fcn.00415390
call fcn.00480792
int3