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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5905
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x6244f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
jb 0x527754
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x527778
mov edi, dword [ebp - 0x14]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x527763
mov edi, dword [ebp - 0x18]
push esi
push edx
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0044f1b0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x527797
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x52793f
cmp dword [edi + 8], 0x71c71c7
je 0x527955
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.00538ef6
mov edx, dword [ebp - 0x10]
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov ecx, dword [edx]
mov dword [edi + 8], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 0xc], ecx
mov eax, dword [edx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x1c], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [edi + 0x20], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
fld dword [edx]
mov dword [ebp - 0x14], eax
add eax, 1
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
jns 0x527840
fadd dword [0x5c6240]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x10]
test eax, eax
jns 0x52785c
fadd dword [0x5c6240]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdivr st(1)
fcompi st(2)
ja 0x527871
mov ecx, dword [ebp - 0x24]
fstp st(0)
fstp st(0)
jmp 0x5278ee
fdivrp st(1)
sub esp, 8
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp qword [esp]
call fcn.0057aef0
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
mov ecx, 8
or eax, 0xc00
add esp, 8
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
fldcw word [ebp - 0x10]
fistp qword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x1c]
fldcw word [ebp - 0x12]
cmp eax, ecx
jae 0x5278c9
cmp eax, 0x200
jae 0x5278c7
shl eax, 3
cmp eax, ecx
jae 0x5278c9
mov eax, ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00529270
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0044f1b0
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
mov esi, dword [ebp - 0x28]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x527922
mov dword [ecx + eax*8], edi
jmp 0x527935
cmp edx, dword [ebp - 0x10]
jne 0x52792c
mov dword [ecx + eax*8], edi
jmp 0x527939
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x527939
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5c07d4
call fcn.0056f7f3
int3