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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007857d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, 0x1fffffff
mov esi, 1
bsr ecx, eax
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10038f7f
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x14], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10010660
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 0x14]
mov edi, dword [edi]
mov ecx, edi
cmp edi, eax
je 0x10038f3e
nop
cmp dword [edi + 0x1c], 7
lea esi, [edi + 8]
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], esi
jbe 0x10038e2c
mov edx, dword [esi]
mov dword [ebp - 0x18], edx
mov edx, dword [esi + 0x10]
mov ebx, 0x811c9dc5
xor esi, esi
add edx, edx
mov dword [ebp - 0x1c], edx
je 0x10038e59
mov eax, dword [ebp - 0x18]
mov ecx, edx
movzx edx, byte [eax + esi]
inc esi
xor edx, ebx
imul ebx, edx, 0x1000193
cmp esi, ecx
jb 0x10038e42
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
and esi, ebx
mov ebx, dword [edx + esi*8]
mov dword [ebp - 0x18], ebx
lea edx, [edx + esi*8]
mov dword [ebp - 0x1c], edx
cmp ebx, eax
jne 0x10038e7e
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10038f34
mov esi, dword [edx + 4]
lea ebx, [edi + 8]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10012b70
test al, al
jne 0x10038ebb
mov eax, dword [esi]
mov ecx, dword [ebp - 0x10]
cmp eax, edi
je 0x10038eb3
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov dword [edi + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edi
jmp 0x10038f31
cmp dword [ebp - 0x18], esi
je 0x10038f11
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jbe 0x10038ed1
mov eax, dword [eax]
cmp dword [ebx + 0x14], 7
mov ecx, ebx
jbe 0x10038edb
mov ecx, dword [ebx]
cmp dword [ebx + 0x10], edx
jne 0x10038f0c
mov edx, dword [ebp - 0x24]
mov ebx, edx
test edx, edx
je 0x10038f60
sub ecx, eax
mov dword [ebp - 0x28], ecx
nop
movzx edx, word [eax + ecx]
movzx ecx, word [eax]
cmp dx, cx
jne 0x10038f09
add eax, 2
sub ebx, 1
je 0x10038f60
mov ecx, dword [ebp - 0x28]
jmp 0x10038ef0
lea ebx, [edi + 8]
cmp dword [ebp - 0x18], esi
jne 0x10038ec0
mov ebx, dword [edi + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ebx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], esi
mov eax, dword [esi + 4]
mov dword [eax], edi
mov dword [esi + 4], edx
mov dword [ecx + 4], ebx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov eax, dword [ebp - 0x14]
mov edi, ecx
cmp ecx, eax
jne 0x10038e10
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebx], ecx
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov dword [edi + 4], edx
jmp 0x10038f31
push str.invalid_hash_bucket_count
call fcn.10052dba
int3