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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x56bb45
push eax
mov dword fs:[0], esp
sub esp, 0x1c
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
jbe 0x484600
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
je 0x484624
mov edx, eax
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x484610
mov edx, dword [ebp + 0xc]
push edi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00483e10
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x484654
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x7ffffff
je 0x4847ee
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00491411
mov ecx, dword [ebp + 0xc]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1c], esi
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov eax, dword [ebx + 8]
fld dword [ebx]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x4846ee
fadd dword [0x573cf8]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], eax
fild dword [ebp + 0xc]
test eax, eax
jns 0x48470a
fadd dword [0x573cf8]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x48478d
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.004a0720
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ecx, 8
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x18]
fldcw word [ebp + 0xe]
cmp eax, ecx
jae 0x48476e
cmp eax, 0x200
jae 0x48476c
shl eax, 3
cmp eax, ecx
jae 0x48476e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0048b150
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
push edi
add eax, 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00483e10
mov edx, dword [eax]
jmp 0x484794
mov edx, dword [ebp - 0x14]
fstp st(0)
fstp st(0)
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx + 4]
jne 0x4847bc
mov dword [ecx + eax*8], esi
jmp 0x4847ce
cmp edi, edx
jne 0x4847c5
mov dword [ecx + eax*8], esi
jmp 0x4847d2
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4847d2
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x573cc0
call fcn.0048f815
int3