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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a08d0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 - 0x18], ebx
mov dword [ebp - 4], 0
push ebx
mov dword [ebp - 0x7c], ebx
call fcn.004505f3
add esp, 4
test eax, eax
je 0x418010
push eax
call fcn.00450084
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x24]
mov ecx, dword [ebx + 0xd0]
mov edi, dword [ebp + 8]
push edx
mov dword [ebp - 0x28], edi
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x48], eax
cmp esi, eax
je 0x41809d
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
cmp ecx, eax
je 0x41807f
mov ebx, dword [esi]
mov ecx, dword [ebp - 0x24]
push ecx
push esp
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x28]
add esi, 8
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x48], eax
cmp esi, eax
jne 0x418040
jmp 0x41809a
mov ecx, dword [esi]
push ecx
mov edx, esp
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], eax
mov dword [edx], eax
call esi
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4180ae
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebx + 0x104]
test edx, edx
je 0x41816f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 3
test edx, edx
je 0x4180e1
mov eax, dword [edx]
lea ecx, [ebp - 0x78]
push ecx
mov ecx, edx
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x54], ecx
add esi, 0x38
lea eax, [ebp - 0x78]
cmp esi, eax
je 0x41814c
mov byte [ebp - 4], 5
mov edi, dword [esi + 0x24]
test edi, edi
je 0x41810f
mov eax, dword [edi]
cmp edi, esi
mov ecx, edi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41814c
lea eax, [ebp - 0x78]
cmp ecx, eax
jne 0x418144
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x41814c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x418147
mov dword [esi + 0x24], ecx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 7
test ecx, ecx
je 0x41816b
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x18], eax
mov esi, eax
cmp dword [eax + 0x14], 0x10
mov edi, dword [eax + 0x10]
jb 0x418185
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4181a1
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x418190
mov eax, dword [ebx + 0xc8]
mov edi, dword [ebx + 0xb4]
and eax, edx
mov edx, dword [ebx + 0xbc]
mov ecx, dword [edx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x1c], ecx
mov esi, ecx
mov dword [ebp - 0x20], eax
nop word [eax + eax]
mov dword [ebp - 0x88], edi
cmp ecx, edi
jne 0x4181e1
mov dword [ebp - 0x28], edi
mov eax, edi
jmp 0x4181e9
mov eax, dword [eax + edx]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp esi, eax
je 0x418220
push dword [ebp - 0x18]
lea eax, [esi + 8]
push eax
call fcn.0041ca30
test al, al
je 0x41820d
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0xbc]
mov eax, dword [ebp - 0x20]
jmp 0x4181d0
lea eax, [esi + 8]
push eax
push dword [ebp - 0x18]
call fcn.0041ca30
test al, al
je 0x41822e
mov dword [ebp - 0x20], edi
mov esi, edi
mov dword [ebp - 0x1c], edi
cmp esi, edi
je 0x418233
mov ecx, dword [esi + 0x20]
jmp 0x418239
mov dword [ebp - 0x18], esi
jmp 0x418222
mov ecx, dword [ebx + 0xd4]
mov eax, dword [ebp + 8]
add eax, 0x2c
xchg dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0xd8]
add eax, 0x30
xchg dword [eax], ecx
mov edi, dword [ebx + 0x120]
test edi, edi
je 0x41833a
mov esi, dword [ebp + 8]
add esi, 0x60
push esi
mov dword [ebp - 0x4c], esi
call fcn.004505f3
add esp, 4
test eax, eax
je 0x41827c
push eax
call fcn.00450084
add esp, 4
mov byte [ebp - 4], 8
lea eax, [edi + 1]
push ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [esi + 0x30], 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0041c030
mov eax, dword [ebp - 0x44]
lea edi, [esi + 0x44]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x34]
cmp edi, eax
je 0x4182f8
mov ecx, edi
call fcn.0041bfb0
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 8], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
call fcn.0041bfb0
push esi
mov byte [ebp - 4], 9
call fcn.00450618
add esp, 4
test eax, eax
je 0x418336
push eax
call fcn.00450084
add esp, 4
mov byte [ebp - 4], 1
cmp byte [ebx + 0x11c], 0
je 0x418375
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
call fcn.004183e0
push ebx
mov byte [ebp - 4], 0xa
call fcn.00450618
add esp, 4
test eax, eax
je 0x41838f
push eax
call fcn.00450084
add esp, 4
mov dword [ebp - 4], 0xb
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4183be
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4183be
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4183be
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