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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449e30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x45fc48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x10
jb 0x4011df
mov esi, dword [eax]
jmp 0x4011e1
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x401201
lea esp, [esp]
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x4011f0
mov ecx, dword [edi + 0x14]
and edx, ecx
cmp dword [edi + 0x18], edx
ja 0x401214
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edx, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [edi]
mov eax, dword [eax + 8]
lea ecx, [edx*8]
mov dword [ebp - 0x24], ecx
add ecx, eax
mov eax, dword [ecx]
cmp edi, eax
je 0x40130f
mov edi, dword [ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x40130f
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
mov ecx, dword [edi + 0x18]
lea edx, [edi + 8]
mov dword [ebp - 0x1c], ecx
jb 0x401253
mov edx, dword [edx]
cmp dword [ebp - 0x20], 0x10
mov ebx, dword [ebp + 0xc]
jb 0x40125e
mov ebx, dword [ebx]
mov esi, ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
cmovb esi, ecx
test esi, esi
je 0x4012c7
sub esi, 4
jb 0x401283
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x401288
add ebx, 4
add edx, 4
sub esi, 4
jae 0x401272
cmp esi, 0xfffffffc
je 0x4012bc
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x4012b5
cmp esi, 0xfffffffd
je 0x4012bc
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x4012b5
cmp esi, 0xfffffffe
je 0x4012bc
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x4012b5
cmp esi, 0xffffffff
je 0x4012bc
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x4012bc
sbb ecx, ecx
or ecx, 1
jmp 0x4012be
xor ecx, ecx
test ecx, ecx
je 0x4012c7
mov ebx, dword [ebp - 0x18]
jmp 0x4012dd
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp ebx, edx
jae 0x4012d6
or ecx, 0xffffffff
jmp 0x4012dd
xor ecx, ecx
cmp ebx, edx
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
jne 0x401237
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 8]
jb 0x4012fd
mov eax, dword [eax]
push ebx
push eax
push dword [ecx + 0x10]
push 0
call fcn.00402820
test eax, eax
je 0x40135c
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
cmp edi, eax
je 0x401340
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [edx + 8]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4013b1
mov dword [ecx], esi
mov eax, dword [edx + 8]
mov dword [eax + ebx + 4], esi
jmp 0x4013d3
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebx]
je 0x401380
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
push edx
mov ecx, ebx
call fcn.00401f30
dec dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x4013b9
mov dword [ecx], esi
jmp 0x4013d3
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x4013d3
mov ecx, dword [edx + 8]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
call fcn.00401b50
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc