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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbe5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.00414300
mov ebx, dword [esi]
lea ecx, [ebp - 0x4c]
mov edi, eax
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
push eax
push 0x52f564
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00409830
mov dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x18]
mov ecx, edx
mov dword [ebp - 0x34], 0
mov word [ebp - 0x34], ax
mov dword [ebp - 0x24], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x20], 7
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dae2
sub ecx, dword [ebp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00409830
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040cfe0
push 0xffffffffffffffff
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00414410
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x40db61
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40db57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de05
push edx
push ecx
call fcn.004b4fdc
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 8
jb 0x40dbb2
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dba8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de05
push edx
push ecx
call fcn.004b4fdc
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x40dc07
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de05
push edx
push ecx
call fcn.004b4fdc
add esp, 8
mov ebx, dword [ebp + 0x14]
cmp ebx, 2
jne 0x40dc1c
mov eax, dword [esi]
xor ebx, ebx
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], bl
sete bl
lea eax, [esi + 0x2c]
push eax
mov dword [ebp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 3
call fcn.00409600
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 4
lea esi, [ebp - 0x80]
mov eax, dword [ebp - 0x70]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x6c], 8
cmovae esi, dword [ebp - 0x80]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x40dc71
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x40dc60
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x80]
xor edx, ebx
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0xc]
call fcn.00410cd0
cmp dword [eax + 4], 0
je 0x40dd2f
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0xc]
call fcn.0040ff50
mov eax, dword [eax]
cmp byte [eax + 0x48], 0
jne 0x40dcc3
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0xc]
call fcn.0040ff50
mov ecx, edi
mov eax, dword [eax]
push dword [eax + 4]
push dword [eax]
call fcn.0040f980
test al, al
je 0x40dd2f
lea ecx, [edi + 0xc]
lea eax, [ebp - 0x80]
push eax
call fcn.0040ff50
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [esi + 4], 0
mov dword [esi], 0
test ecx, ecx
je 0x40dced
lock inc dword [ecx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp edx, 8
jb 0x40ddd3
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0a
push edx
push ecx
jmp 0x40ddcb
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0040fd20
mov eax, dword [ebp - 0x70]
lea esi, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x80]
cmovae esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x40dd69
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40dd58
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x14]
xor eax, edx
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0xc]
call fcn.00410cd0
cmp dword [eax + 4], 0
je 0x40dd90
lea ecx, [esi + 0xc]
jmp 0x40dcc6
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x6c]
mov dword [esi], 0
mov dword [esi + 4], 0
cmp eax, 8
jb 0x40ddd3
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40ddc9
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0a
push ecx
push edi
call fcn.004b4fdc
add esp, 8
push dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.004e34cc
call fcn.004e34cc
int3