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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5153d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
jb 0x47695b
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x476977
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x476966
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx + 4]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + 0xc]
add eax, edx
mov dword [ebp - 0x1c], edx
mov ecx, eax
mov dword [ebp - 0x18], eax
cmp dword [ecx], edi
je 0x47699f
mov edi, dword [ecx + 4]
mov edi, dword [edi]
mov esi, dword [ebx + 0x10]
cmp edi, dword [ecx]
je 0x476a47
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea eax, [edi + 8]
mov ecx, dword [eax + 0x10]
jb 0x4769bb
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x4769c5
mov edx, dword [ebx]
cmp esi, ecx
mov ecx, dword [ebp - 0x18]
jne 0x4769a2
sub esi, 4
jb 0x4769e2
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4769e7
add edx, 4
add eax, 4
sub esi, 4
jae 0x4769d1
cmp esi, 0xfffffffc
je 0x476a1b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x476a14
cmp esi, 0xfffffffd
je 0x476a1b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x476a14
cmp esi, 0xfffffffe
je 0x476a1b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x476a14
cmp esi, 0xffffffff
je 0x476a1b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x476a1b
sbb eax, eax
or eax, 1
jmp 0x476a1d
xor eax, eax
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x4769a2
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp - 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov esi, dword [eax]
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp - 0x18], eax
call fcn.004766a0
mov edx, eax
mov ecx, 0x4924923
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x476b49
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], edx
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov esi, dword [edx]
mov dword [ebp + 0xc], esi
mov eax, dword [esi]
cmp edi, eax
je 0x476abc
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 edx, dword [edi + 4]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp eax, edx
jne 0x476ad6
mov dword [ecx], esi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx + 4], esi
jmp 0x476af9
cmp eax, edi
jne 0x476ade
mov dword [ecx], esi
jmp 0x476af9
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x476af9
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0040f610
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x51c4dc
call fcn.004ca32a
int3