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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push edi
mov edi, ecx
mov dword [esp + 0x24], edi
cmp eax, ebx
jne 0x53e751
pop edi
mov eax, ebx
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [edi + 4]
push ebp
mov ebp, dword [edi + 0xc]
push esi
mov dword [esp + 0x20], ecx
mov esi, eax
mov ecx, dword [eax + 4]
add eax, 8
mov dword [esp + 0x10], ecx
mov ecx, edi
push eax
mov dword [esp + 0x34], ebp
call fcn.0053ea10
lea eax, [eax*8]
add eax, ebp
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
nop
mov ebp, esi
mov dword [esp + 0x28], esi
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jns 0x53e7d5
mov eax, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x53e7cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53e939
mov eax, edx
push ecx
push eax
call fcn.00491173
add esp, 8
push 0x10
push ebp
call fcn.00491173
dec dword [edi + 8]
add esp, 8
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
je 0x53e816
cmp esi, ebx
jne 0x53e790
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x38]
jne 0x53e801
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [esp + 0x38]
jne 0x53e82c
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x53e830
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x53e801
jmp 0x53e840
mov ebp, dword [esi + 0xc]
mov eax, 0xcccccccd
and ebp, 0x7fffffff
xor ebx, ebx
mul ebp
mov ecx, 0x811c9dc5
shr edx, 3
inc edx
test ebp, ebp
je 0x53e87c
mov edi, dword [esi + 8]
lea esi, [edx + edx]
movzx eax, word [edi]
add ebx, edx
imul ecx, ecx, 0x1000193
add edi, esi
xor ecx, eax
cmp ebx, ebp
jb 0x53e865
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax*8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
jns 0x53e8d6
mov eax, dword [edi + 8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x53e8cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53e939
mov eax, edx
push ecx
push eax
call fcn.00491173
add esp, 8
push 0x10
push edi
call fcn.00491173
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x28]
je 0x53e90b
mov eax, dword [esp + 0x3c]
cmp esi, eax
jne 0x53e897
mov ecx, dword [esp + 0x38]
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, ebx
jne 0x53e840
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x24
ret 8
call fcn.004956fe
int3