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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f263
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x442094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x74]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004047f0
add esp, 8
mov dword [ebp - 4], 1
lea ecx, [esi + 0x30]
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 0x18], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x1c], ebx
jb 0x40a311
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x40a331
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40a320
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 0xc]
and eax, edx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x20], edx
mov esi, edx
mov dword [ebp - 0x2c], eax
cmp edx, ecx
jne 0x40a35f
mov eax, ecx
jmp 0x40a364
mov eax, dword [eax + ebx]
mov eax, dword [eax]
cmp esi, eax
je 0x40a401
cmp dword [edi + 0x14], 0x10
lea ebx, [esi + 8]
mov edx, edi
jb 0x40a379
mov edx, dword [edi]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov edi, dword [ebx + 0x10]
jb 0x40a386
mov ecx, dword [ebx]
cmp edi, dword [ebp - 0x1c]
jne 0x40a3d3
sub edi, 4
jb 0x40a3a1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40a3a6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x40a390
cmp edi, 0xfffffffc
je 0x40a3e9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40a3d3
cmp edi, 0xfffffffd
je 0x40a3e9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40a3d3
cmp edi, 0xfffffffe
je 0x40a3e9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40a3d3
cmp edi, 0xffffffff
je 0x40a3e9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40a3e9
mov esi, dword [esi]
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
jmp 0x40a357
mov ecx, dword [ebp - 0x18]
push ebx
push dword [ebp + 0xc]
call fcn.00409d40
mov edx, dword [ebp - 0x14]
test al, al
mov ecx, edx
cmove ecx, esi
jmp 0x40a404
mov edx, dword [ebp - 0x14]
cmp ecx, edx
je 0x40a43b
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x40a424
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x24]
mov esi, dword [ecx + 0x20]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x40a45a
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
mov ebx, 2
xor esi, esi
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [edx], esi
mov dword [edx + 4], eax
or ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 2
or edi, 0xffffffff
test bl, 2
je 0x40a4b6
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x40a4b6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a4b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a4b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 1
je 0x40a4ed
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x40a4ed
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a4ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40a4ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
cmp byte [ebp - 0x34], 0
je 0x40a500
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8