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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da76e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x65eb68]
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 esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov word [esi], ax
mov dword [ebp - 4], eax
mov eax, dword [0x668c50]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], eax
test eax, eax
je 0x47420e
cmp dword [edi + 0x14], 0x10
lea edx, [eax + 8]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x30], edi
jb 0x474078
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov eax, 0x811c9dc5
test ebx, ebx
je 0x4740a5
mov esi, dword [ebp - 0x30]
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x474088
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x50]
mov ecx, edx
push eax
call fcn.00472a50
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47420e
mov edx, dword [ebp - 0x40]
lea eax, [edx + 0xc]
mov dword [ebp - 0x2c], eax
cmp ecx, dword [edx + 0xc]
je 0x47420e
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x30], edi
jb 0x4740dd
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x474104
mov esi, dword [ebp - 0x30]
jmp 0x4740f0
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x4740f0
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push edi
push ebx
push eax
lea ecx, [edx + 8]
call fcn.00472a50
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4741f0
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x10], 0x4924924
je 0x4742d3
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
push 0x38
mov dword [ebp - 4], 1
mov dword [ebp - 0x4c], 0
call fcn.005649a6
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], eax
push ebx
lea ebx, [eax + 8]
mov ecx, ebx
call fcn.0045a330
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 7
mov ebx, dword [ebp - 0x40]
add ebx, 8
mov dword [ebp - 4], 2
fld dword [ebx]
mov eax, dword [ebx + 8]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
jns 0x47419d
fadd dword [0x5f745c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
mov eax, dword [ebx + 0x1c]
fild dword [ebx + 0x1c]
test eax, eax
jns 0x4741b3
fadd dword [0x5f745c]
fstp dword [ebp - 0x2c]
fdiv dword [ebp - 0x2c]
fcompi st(1)
fstp st(0)
jbe 0x4741dd
mov ecx, ebx
call fcn.00473bc0
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x44]
push edi
add ecx, 8
push ecx
push eax
mov ecx, ebx
call fcn.00472a50
mov ecx, dword [eax]
jmp 0x4741e0
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x38]
mov byte [ebp - 4], 0
push ecx
push edi
mov ecx, ebx
call fcn.00463a60
add eax, 0x20
cmp esi, eax
je 0x47420b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x474202
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.004049aa
mov edi, dword [ebp - 0x3c]
cmp dword [esi + 0x10], 0
jne 0x4742b0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00474670
mov edi, eax
add esp, 8
cmp esi, edi
je 0x4742a8
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x474260
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x474256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4742ce
mov eax, edx
push ecx
push eax
call fcn.00599f8e
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x28]
call fcn.00404866
mov eax, esi
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.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.005a1930
push 0x5ef6e0
call fcn.0059b7e1
int3