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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [eax + 0x10]
push ebp
mov ebp, ecx
mov ecx, dword [eax + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ecx
cmp ecx, 0x10
jb 0x405c84
mov esi, dword [eax]
jmp 0x405c86
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x405ca2
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x405c91
mov esi, dword [ebp + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebp + 0x18], ecx
ja 0x405cb7
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edi, dword [ebp]
lea ebx, [ecx*8]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + ebx]
mov dword [esp + 0x1c], eax
cmp edi, eax
je 0x405dae
mov edi, dword [ecx + ebx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x405dae
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
mov ebp, dword [edi + 0x18]
lea edx, [edi + 8]
jb 0x405cf6
mov edx, dword [edx]
cmp dword [esp + 0x18], 0x10
jb 0x405d05
mov ecx, dword [esp + 0x28]
mov ebx, dword [ecx]
jmp 0x405d09
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov esi, ebp
cmp dword [eax + 0x10], ebp
cmovb esi, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
test esi, esi
je 0x405d79
sub esi, 4
jb 0x405d34
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x405d39
add ebx, 4
add edx, 4
sub esi, 4
jae 0x405d23
cmp esi, 0xfffffffc
je 0x405d6d
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x405d66
cmp esi, 0xfffffffd
je 0x405d6d
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x405d66
cmp esi, 0xfffffffe
je 0x405d6d
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x405d66
cmp esi, 0xffffffff
je 0x405d6d
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x405d6d
sbb ecx, ecx
or ecx, 1
jmp 0x405d6f
xor ecx, ecx
test ecx, ecx
je 0x405d79
mov edx, dword [esp + 0x28]
jmp 0x405d90
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 0x10]
cmp ebx, ebp
jae 0x405d89
or ecx, 0xffffffff
jmp 0x405d90
xor ecx, ecx
cmp ebx, ebp
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x405dd6
cmp edi, eax
jne 0x405ce5
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp]
push dword [esp + 0x28]
mov esi, dword [eax]
push dword [esi + 4]
push esi
call fcn.00405ee0
mov edx, eax
mov eax, dword [ebp + 4]
mov ecx, 0x3fffffe
sub ecx, eax
cmp ecx, 1
jae 0x405dfc
jmp 0x405e88
lea eax, [edi + 8]
push edx
push eax
call fcn.004038e0
test al, al
je 0x405de8
mov edi, dword [edi]
jmp 0x405da6
mov eax, dword [esp + 0x24]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
inc eax
mov dword [ebp + 4], eax
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov esi, dword [ebp]
mov esi, dword [esi]
mov eax, dword [esi]
cmp edi, eax
je 0x405e34
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov ecx, dword [ebp + 8]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [ebp]
jne 0x405e4b
mov dword [ecx], esi
mov eax, dword [ebp + 8]
mov dword [eax + ebx + 4], esi
jmp 0x405e6d
cmp eax, edi
jne 0x405e53
mov dword [ecx], esi
jmp 0x405e6d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x405e6d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, ebp
call fcn.004056b0
mov eax, dword [esp + 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
add esp, 0x10
ret 0xc
push str.list_T__too_long
call fcn.0041f38b
int3