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

Disassembly:
cmp ecx, 0x100
jae 0x401402
cmp byte [esi], 0x40
je 0x405dcb
cmp byte [esi], 0x2e
jne 0x405e3c
cmp byte [esi + 1], 0x2e
je 0x405e3c
cmp dword [0x43c070], 0
je 0x405e3c
push edi
mov edi, dword [0x43c00c]
sub edi, 2
sub edi, ecx
push ecx
push esi
mov esi, dword [0x43c070]
lodsb al, byte [esi]
movzx ecx, al
sub edi, ecx
cmp edi, dword [0x43c024]
jb 0x4012d6
mov word [edi], 0
add edi, 2
mov ebx, edi
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
add al, cl
jb 0x401402
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
push esi
movzx ecx, al
mov byte [ebx - 1], al
mov esi, ebx
call fcn.00405d3b
pop esi
pop ebx
cmp ebx, dword [eax + 0x18]
jne 0x405dca
lea edx, [ebx - 2]
mov dword [0x43c00c], edx
ret
cmp ecx, 2
jne 0x405e3c
mov al, byte [esi + 1]
mov ebx, 0x43c171
xlatb
cmp al, 0x40
je 0x405e1a
cmp al, 0x62
je 0x405e0c
cmp al, 0x72
je 0x405e0c
cmp al, 0x66
jne 0x405e3c
add esi, 2
mov eax, dword [0x43c078]
or eax, eax
jne 0x405e09
mov eax, dword [0x43c040]
mov dword [0x43c0b4], eax
call fcn.00405fe3
mov dword [0x43c078], eax
xor ebx, ebx
ret
mov eax, dword [0x43c074]
or eax, eax
je 0x405e1a
add esi, 2
jmp 0x405e09
add esi, 2
mov eax, dword [0x43c078]
or eax, eax
jne 0x405e2b
call fcn.00405fe3
mov dword [0x43c074], eax
mov dword [0x43c078], 0
jmp 0x405e09
cmp byte [esi], 0x25
je 0x405e6e
cmp byte [esi], 0x24
jne 0x405e87
cmp ecx, 2
ja 0x405e87
inc esi
jb 0x405e59
inc esi
cmp byte [esi - 1], 0x24
je 0x405e68
sub esi, ecx
jmp 0x405e87
xor eax, eax
ret
mov eax, 1
ret
mov eax, 2
ret
mov eax, 3
ret
cmp ecx, 2
ja 0x405e87
inc esi
cmp cl, 1
je 0x405e5c
lodsb al, byte [esi]
mov ebx, 0x43c171
xlatb
cmp al, 0x74
je 0x405e62
sub esi, 2
xor ebx, ebx
mov eax, 0x811c9dc5
mov ebp, 0x1000193
xor al, byte [esi + ebx]
mul ebp
inc bl
cmp bl, cl
jb 0x405e93
mov ebp, eax
shl eax, 8
and ebp, 0xff000000
xor ebp, eax
or ebp, ebx
mov dword [0x43c080], ebp
push edi
push esi
push ecx
mov ecx, 0x20
mov ebx, 0x43c088
mov edx, dword [ebx]
or edx, edx
je 0x405f06
xor eax, eax
shl ebp, 1
adc eax, 0
lea ebx, [edx + eax*4]
dec ecx
jne 0x405ec0
mov dword [0x43c084], ebx
pop edx
mov eax, dword [ebx]
or eax, eax
je 0x405f3b
mov ebx, esi
mov ebp, dword [0x43c080]
mov esi, ebx
mov ecx, edx
mov edi, dword [eax + 4]
mov edi, dword [edi + 0x18]
repe cmpsb byte [esi], byte es:[edi]
je 0x405efe
mov eax, dword [eax]
or eax, eax
jne 0x405ee8
jmp 0x405f3b
add esp, 4
pop edi
mov eax, dword [eax + 4]
ret
mov edx, dword [0x43c024]
lea eax, [edx + 8]
cmp eax, dword [0x43c00c]
ja 0x4012d6
mov dword [0x43c024], eax
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
shl ebp, 1
adc eax, 0
mov dword [ebx], edx
lea ebx, [edx + eax*4]
dec ecx
jne 0x405f06
mov dword [0x43c084], ebx
pop edx
mov ecx, edx
pop esi
cmp byte [esi - 2], 0
je 0x405fad
mov al, byte [esi]
cmp al, 0x30
jb 0x405f52
cmp al, 0x39
jbe 0x40140c
cmp al, 0x24
jne 0x405f66
cmp ecx, 1
jne 0x40140c
mov eax, 0xf
pop edi
ret
call fcn.00405cd4
jae 0x405f5f
call fcn.00405ca8
jae 0x405f5f
call fcn.00405c44
jae 0x405f5f
sub esi, 2
mov edi, 0x41079b
call fcn.00405be0
or al, al
jne 0x405f5f
mov edi, 0x4107c5
call fcn.00405be0
or al, al
jne 0x405f5f
mov edi, 0x4107db
call fcn.00405be0
or al, al
jne 0x405f5f
inc esi
movzx ecx, byte [esi]
inc esi
mov edx, dword [0x43c024]
lea eax, [edx + 8]
cmp eax, dword [0x43c00c]
ja 0x4012d6
mov dword [0x43c024], eax
mov ebx, esi
add esi, ecx
mov eax, dword [0x43c084]
mov edi, dword [eax]
mov dword [edx], edi
mov dword [eax], edx
call fcn.00405fe3
mov dword [edx + 4], eax
mov dword [eax + 0x18], ebx
pop edi
ret