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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56caa5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5b3480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0xcccccccd
xor edi, edi
mov esi, 0x811c9dc5
mov ebx, dword [ecx + 4]
and ebx, 0x7fffffff
mul ebx
shr edx, 3
inc edx
test ebx, ebx
je 0x536a77
mov ecx, dword [ecx]
nop
movzx eax, word [ecx]
add edi, edx
imul esi, esi, 0x1000193
lea ecx, [ecx + edx*2]
xor esi, eax
cmp edi, ebx
jb 0x536a60
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push esi
push ecx
push eax
mov ecx, ebx
call fcn.00536490
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x536aab
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [ebx + 8], 0xfffffff
je 0x536c0a
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00491411
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov edx, dword [eax + 4]
mov ecx, dword [eax]
and edx, 0x7fffffff
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 8]
fld dword [ebx]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
mov dword [ebp - 4], 1
jns 0x536b0c
fadd dword [0x573cf8]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], eax
fild dword [ebp + 0xc]
test eax, eax
jns 0x536b28
fadd dword [0x573cf8]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x536ba8
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 - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x14]
fldcw word [ebp + 0xe]
cmp eax, ecx
jae 0x536b8c
cmp eax, 0x200
jae 0x536b8a
shl eax, 3
cmp eax, ecx
jae 0x536b8c
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0053e3d0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00536490
mov edx, dword [eax]
jmp 0x536baf
mov edx, dword [ebp - 0x1c]
fstp st(0)
fstp st(0)
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x536bd7
mov dword [ecx + eax*8], edi
jmp 0x536be9
cmp esi, edx
jne 0x536be0
mov dword [ecx + eax*8], edi
jmp 0x536bed
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x536bed
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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 0x573cc0
call fcn.0048f815
int3