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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5d1b90
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x5ce848]
call fcn.0040afa0
xor ecx, ecx
push ebp
push 0x5d1b6d
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0xc]
xor eax, 0x811c9dc5
imul ebx, eax, 0x19660d
mov eax, esi
test eax, eax
je 0x5d196d
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x5d19ac
inc edx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
add ebx, dword [eax]
xor ebx, dword [eax + 4]
imul ecx, ebx, 0x1000193
mov ebx, ecx
movzx ecx, byte [eax + 8]
sub ebx, ecx
movzx eax, byte [eax + 9]
xor ebx, eax
imul eax, ebx, 0x19660d
mov ebx, eax
inc dword [ebp - 0x14]
dec edx
jne 0x5d197c
mov eax, 0xffff
and eax, ebx
mov edx, dword [ebp - 8]
lea edi, [edx + eax*8 + 0x14]
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5d19f0
push esi
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.005d1618
test eax, eax
je 0x5d19e1
call fcn.00407e14
jmp 0x5d1b74
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5d19c5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x5ce45c]
call fcn.005d1308
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 8]
inc dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 8], 0
je 0x5d1ab6
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.005d13e4
test eax, eax
je 0x5d1ab6
mov ebx, esi
mov edx, ebx
mov eax, edx
test eax, eax
je 0x5d1a59
sub eax, 4
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jle 0x5d1a92
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x20], eax
call fcn.005d13cc
test ebx, ebx
je 0x5d1a75
sub ebx, 4
mov ebx, dword [ebx]
sub ebx, dword [ebp - 0x18]
push ebx
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x5ce414]
mov eax, esi
call fcn.0040aeac
jmp 0x5d1ad8
mov ebx, edx
test ebx, ebx
je 0x5d1a9d
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
xor ecx, ecx
mov edx, dword [0x5ce414]
mov eax, esi
call fcn.0040aeac
jmp 0x5d1ad8
mov ebx, esi
test ebx, ebx
je 0x5d1ac1
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
xor ecx, ecx
mov edx, dword [0x5ce414]
mov eax, esi
call fcn.0040aeac
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [edi + 4]
test eax, eax
je 0x5d1afb
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
jmp 0x5d1b0e
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5d1b37
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
jmp 0x5d1b51
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1b74
lea eax, [ebp - 4]
mov edx, dword [0x5ce848]
call fcn.0040afa0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1b97
lea eax, [ebp - 4]
mov edx, dword [0x5ce848]
call fcn.0040afa0
ret