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

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x1c]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0x1c], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x457bd1
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push esi
mov esi, dword [ebx + 4]
push esi
mov dword [esp + 0x1c], esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040e4c0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x457bac
push ebp
mov ebx, dword [ecx + 0x1c]
lea ebp, [ecx + 8]
mov edx, dword [edx]
mov dword [esp + 0x20], ebx
cmp ebx, 0x10
jb 0x4579a7
mov ebp, dword [ecx + 8]
mov eax, dword [ecx + 0x18]
xor edi, edi
mov dword [esp + 0x10], eax
mov ebx, 0x811c9dc5
test eax, eax
je 0x4579d5
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [edi + ebp]
inc edi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edi, esi
jb 0x4579c0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and edi, ebx
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp dword [eax], esi
jne 0x4579f6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x457ba1
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov ebx, edi
mov dword [esp + 0x18], edi
jb 0x457a0e
mov ebx, dword [edi]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x20], 0x10
lea ebp, [ecx + 8]
jb 0x457a1b
mov ebp, dword [ecx + 8]
mov esi, dword [esp + 0x10]
cmp esi, dword [edi + 0x10]
mov esi, dword [esp + 0x1c]
jne 0x457ad3
mov edi, dword [esp + 0x10]
sub edi, 4
mov dword [esp + 0x2c], edi
jb 0x457a5e
nop dword [eax]
mov edi, dword [ebp]
cmp edi, dword [ebx]
jne 0x457a63
mov edi, dword [esp + 0x2c]
add ebx, 4
add ebp, 4
mov dword [esp + 0x18], ebx
sub edi, 4
mov dword [esp + 0x2c], edi
jae 0x457a40
cmp edi, 0xfffffffc
je 0x457aa2
mov edi, dword [esp + 0x18]
mov bl, byte [ebp]
cmp bl, byte [edi]
jne 0x457a9b
cmp dword [esp + 0x2c], 0xfffffffd
je 0x457aa2
mov bl, byte [ebp + 1]
cmp bl, byte [edi + 1]
jne 0x457a9b
cmp dword [esp + 0x2c], 0xfffffffe
je 0x457aa2
mov bl, byte [ebp + 2]
cmp bl, byte [edi + 2]
jne 0x457a9b
cmp dword [esp + 0x2c], 0xffffffff
je 0x457aa2
mov bl, byte [ebp + 3]
cmp bl, byte [edi + 3]
je 0x457aa2
sbb edi, edi
or edi, 1
jmp 0x457aa4
xor edi, edi
test edi, edi
jne 0x457ad3
mov eax, dword [eax]
cmp eax, ecx
je 0x457ac7
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x457ba1
mov edi, dword [esp + 0x14]
cmp dword [edi], eax
je 0x457b82
nop
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea ebp, [eax + 8]
jb 0x457aef
mov ebp, dword [eax + 8]
cmp dword [esp + 0x20], 0x10
lea edi, [ecx + 8]
jb 0x457afc
mov edi, dword [ecx + 8]
mov esi, dword [esp + 0x10]
cmp esi, dword [eax + 0x18]
mov esi, dword [esp + 0x1c]
jne 0x457b76
mov ebx, dword [esp + 0x10]
sub ebx, 4
mov dword [esp + 0x2c], ebx
jb 0x457b30
mov ebx, dword [edi]
cmp ebx, dword [ebp]
jne 0x457b35
mov ebx, dword [esp + 0x2c]
add edi, 4
add ebp, 4
sub ebx, 4
mov dword [esp + 0x2c], ebx
jae 0x457b16
cmp ebx, 0xfffffffc
je 0x457b70
mov bl, byte [edi]
cmp bl, byte [ebp]
jne 0x457b69
cmp dword [esp + 0x2c], 0xfffffffd
je 0x457b70
mov bl, byte [edi + 1]
cmp bl, byte [ebp + 1]
jne 0x457b69
cmp dword [esp + 0x2c], 0xfffffffe
je 0x457b70
mov bl, byte [edi + 2]
cmp bl, byte [ebp + 2]
jne 0x457b69
cmp dword [esp + 0x2c], 0xffffffff
je 0x457b70
mov bl, byte [edi + 3]
cmp bl, byte [ebp + 3]
je 0x457b70
sbb edi, edi
or edi, 1
jmp 0x457b72
xor edi, edi
test edi, edi
je 0x457bb5
mov ebx, dword [esp + 0x14]
cmp dword [ebx], eax
jne 0x457ae0
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x457993
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x18
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x457ba1
push str.invalid_hash_bucket_count
call fcn.0045d131
int3