joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ebx
lea eax, [ecx - 1]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
mov esi, edi
sar eax, 1
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1003b10f
nop word [eax + eax]
add esi, esi
lea ecx, [esi + 2]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ebx + eax*4]
lea eax, [ecx - 0x1c]
push eax
push ecx
call fcn.1003a320
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi*8]
sub eax, esi
movups xmm0, xmmword [ebx + eax*4]
lea edx, [ebx + eax*4]
lea eax, [edi*8]
sub eax, edi
mov edi, esi
lea ecx, [ebx + eax*4]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp esi, eax
jl 0x1003b0b0
mov ecx, dword [ebp + 8]
cmp esi, eax
jne 0x1003b14b
test cl, 1
jne 0x1003b14b
lea eax, [ecx*8]
sub eax, ecx
movups xmm0, xmmword [ebx + eax*4 - 0x1c]
lea edx, [ebx + eax*4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebp - 0x10]
lea ecx, [ebx + eax*4]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx - 0xc]
movq qword [ecx + 0x10], xmm0
mov eax, dword [edx - 4]
mov dword [ecx + 0x18], eax
cmp dword [ebp - 8], edi
jge 0x1003b1a0
push dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
lea eax, [esi*8]
sub eax, esi
lea ebx, [ebx + eax*4]
push ebx
call fcn.1003a320
test al, al
je 0x1003b19d
movups xmm0, xmmword [ebx]
mov ecx, dword [ebp - 4]
lea eax, [edi*8]
sub eax, edi
mov edi, esi
lea ecx, [ecx + eax*4]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
cmp dword [ebp - 8], esi
jl 0x1003b150
mov ebx, dword [ebp - 4]
lea eax, [edi*8]
sub eax, edi
lea ecx, [ebx + eax*4]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
mov esp, ebp
pop ebp
ret
Function at 0x1003f9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ebx
lea eax, [ecx - 1]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
mov esi, edi
sar eax, 1
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x1003fa4f
nop word [eax + eax]
add esi, esi
lea ecx, [esi + 2]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ebx + eax*4]
lea eax, [ecx - 0x1c]
push eax
push ecx
call fcn.1003d3c0
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi*8]
sub eax, esi
movups xmm0, xmmword [ebx + eax*4]
lea edx, [ebx + eax*4]
lea eax, [edi*8]
sub eax, edi
mov edi, esi
lea ecx, [ebx + eax*4]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp esi, eax
jl 0x1003f9f0
mov ecx, dword [ebp + 8]
cmp esi, eax
jne 0x1003fa8b
test cl, 1
jne 0x1003fa8b
lea eax, [ecx*8]
sub eax, ecx
movups xmm0, xmmword [ebx + eax*4 - 0x1c]
lea edx, [ebx + eax*4]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [ebp - 0x10]
lea ecx, [ebx + eax*4]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx - 0xc]
movq qword [ecx + 0x10], xmm0
mov eax, dword [edx - 4]
mov dword [ecx + 0x18], eax
cmp dword [ebp - 8], edi
jge 0x1003fae0
push dword [ebp + 0xc]
lea esi, [edi - 1]
sar esi, 1
lea eax, [esi*8]
sub eax, esi
lea ebx, [ebx + eax*4]
push ebx
call fcn.1003d3c0
test al, al
je 0x1003fadd
movups xmm0, xmmword [ebx]
mov ecx, dword [ebp - 4]
lea eax, [edi*8]
sub eax, edi
mov edi, esi
lea ecx, [ecx + eax*4]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
cmp dword [ebp - 8], esi
jl 0x1003fa90
mov ebx, dword [ebp - 4]
lea eax, [edi*8]
sub eax, edi
lea ecx, [ebx + eax*4]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x18], eax
mov esp, ebp
pop ebp
ret
Function at 0x10046c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x100488d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.10048c20
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10048935
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x102b9e28], 0xfffffff
je 0x10048a88
push 0x10
call fcn.101e2257
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [edi + 4]
add esp, 4
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ebx, dword [0x102b9e28]
mov edi, dword [0x102b9e3c]
mov eax, edi
shr eax, 0x1f
lea ecx, [ebx + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1026c3b0]
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1026c3b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x102b9e20]
comiss xmm1, xmm0
jbe 0x10048a1e
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 8], xmm0
fld qword [ebp - 8]
fstp qword [esp]
call fcn.10207f20
fstp qword [ebp - 8]
movsd xmm0, qword [ebp - 8]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10209560
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x100489fe
cmp edi, 0x200
jae 0x100489fc
shl edi, 3
cmp edi, ecx
jae 0x100489fe
mov edi, ecx
push edi
call fcn.10048aa0
push dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10048c20
mov ebx, dword [0x102b9e28]
mov edx, dword [eax]
jmp 0x10048a21
mov edx, dword [ebp - 8]
mov edi, dword [edx + 4]
inc ebx
mov dword [0x102b9e28], ebx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x102b9e38]
and eax, dword [ebp + 0xc]
mov ecx, dword [0x102b9e2c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x102b9e24]
jne 0x10048a53
mov dword [ecx + eax*8], esi
jmp 0x10048a72
cmp ebx, edx
jne 0x10048a6c
mov dword [ecx + eax*8], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ecx + eax*8 + 4], edi
jne 0x10048a76
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.101dfec8
int3
Function at 0x10048aa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10048c0e
lea eax, [ecx - 1]
mov esi, dword [0x102b9e24]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x102b9e2c
lea eax, [edi + edi]
push eax
call fcn.10003810
mov ecx, dword [0x102b9e24]
lea ebx, [edi - 1]
mov dword [0x102b9e38], ebx
mov dword [0x102b9e3c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10048c05
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x102b9e2c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x10048b60
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10048bcf
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10048b97
mov eax, dword [eax]
cmp eax, ecx
je 0x10048b8f
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x10048bcf
cmp ebx, eax
je 0x10048bac
nop dword [eax + eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10048be0
cmp ebx, eax
jne 0x10048ba0
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x10048c05
mov ebx, dword [0x102b9e38]
jmp 0x10048b10
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x10048bcf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.101dfec8
int3
Function at 0x1004fb90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.10050290
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1004fbf5
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x102b165c], 0xccccccc
je 0x1004fd4c
push 0x14
call fcn.101e2257
movq xmm0, qword [edi]
mov esi, eax
add esp, 4
movq qword [esi + 8], xmm0
mov ecx, dword [edi + 8]
mov dword [esi + 0x10], ecx
mov ebx, dword [0x102b165c]
mov edi, dword [0x102b1670]
mov eax, edi
shr eax, 0x1f
lea ecx, [ebx + 1]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1026c3b0]
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1026c3b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x102b1654]
comiss xmm1, xmm0
jbe 0x1004fce2
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 8], xmm0
fld qword [ebp - 8]
fstp qword [esp]
call fcn.10207f20
fstp qword [ebp - 8]
movsd xmm0, qword [ebp - 8]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10209560
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x1004fcc2
cmp edi, 0x200
jae 0x1004fcc0
shl edi, 3
cmp edi, ecx
jae 0x1004fcc2
mov edi, ecx
push edi
call fcn.1004ff20
push dword [ebp + 0xc]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10050290
mov ebx, dword [0x102b165c]
mov edx, dword [eax]
jmp 0x1004fce5
mov edx, dword [ebp - 8]
mov edi, dword [edx + 4]
inc ebx
mov dword [0x102b165c], ebx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x102b166c]
and eax, dword [ebp + 0xc]
mov ecx, dword [0x102b1660]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x102b1658]
jne 0x1004fd17
mov dword [ecx + eax*8], esi
jmp 0x1004fd36
cmp ebx, edx
jne 0x1004fd30
mov dword [ecx + eax*8], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ecx + eax*8 + 4], edi
jne 0x1004fd3a
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.101dfec8
int3
Function at 0x1004fd60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 8
xor ecx, ecx
mov edx, dword [eax + 4]
push esi
mov esi, 0x811c9dc5
push edi
mov edi, dword [eax]
test edx, edx
je 0x1004fd94
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1004fd80
mov eax, dword [ebp + 0xc]
push esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10050300
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x1004fdb9
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x102b163c], 0xaaaaaaa
je 0x1004ff0c
push 0x18
call fcn.101e2257
mov edi, eax
add esp, 4
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
mov ecx, dword [0x102b163c]
mov eax, dword [0x102b1650]
inc ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1026c3b0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1026c3b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x102b1634]
comiss xmm1, xmm0
jbe 0x1004fe9d
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.10207f20
fstp qword [esp + 0x10]
movsd xmm0, qword [esp + 0x10]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10209560
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x102b1650]
cmp eax, ecx
jae 0x1004fe84
cmp eax, 0x200
jae 0x1004fe82
shl eax, 3
cmp eax, ecx
jae 0x1004fe84
mov eax, ecx
push eax
call fcn.100500a0
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10050300
mov edx, dword [eax]
jmp 0x1004fea1
mov edx, dword [esp + 8]
mov eax, dword [edx + 4]
inc dword [0x102b163c]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x102b1640]
mov dword [esp + 8], eax
mov eax, dword [0x102b164c]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x102b1638]
jne 0x1004fed5
mov dword [ecx + eax*8], edi
jmp 0x1004fef7
cmp esi, edx
jne 0x1004feed
mov dword [ecx + eax*8], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 8]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1004fefb
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov byte [eax + 4], 1
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.101dfec8
int3
Function at 0x1004ff20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 8
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1005008e
lea eax, [ecx - 1]
mov esi, dword [0x102b1658]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x102b1660
lea eax, [edi + edi]
push eax
call fcn.10003810
mov ecx, dword [0x102b1658]
lea ebx, [edi - 1]
mov dword [0x102b166c], ebx
mov dword [0x102b1670], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10050085
nop dword [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x102b1660]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x1004ffe0
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1005004f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10050017
mov eax, dword [eax]
cmp eax, ecx
je 0x1005000f
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x1005004f
cmp ebx, eax
je 0x1005002c
nop dword [eax + eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10050060
cmp ebx, eax
jne 0x10050020
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
je 0x10050085
mov ebx, dword [0x102b166c]
jmp 0x1004ff90
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x1005004f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.101dfec8
int3
Function at 0x100500a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x10050254
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x102b1638]
push eax
mov dword [esp + 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x102b1640
lea eax, [esi + esi]
push eax
call fcn.10003810
mov edi, dword [0x102b1638]
lea eax, [esi - 1]
mov ecx, dword [esp + 0xc]
mov dword [0x102b164c], eax
mov dword [0x102b1650], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x10050220
mov eax, dword [eax]
xor edx, edx
mov esi, 0x811c9dc5
mov dword [esp + 8], eax
cmp dword [edi + 0xc], edx
jbe 0x10050149
mov eax, dword [edi + 8]
mov ecx, esi
movzx esi, byte [eax + edx]
inc edx
xor esi, ecx
imul ecx, esi, 0x1000193
cmp edx, dword [edi + 0xc]
jb 0x10050127
mov eax, dword [esp + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
and esi, dword [0x102b164c]
mov edx, dword [0x102b1640]
lea edx, [edx + esi*8]
mov dword [esp + 0x10], edx
cmp dword [edx], ecx
jne 0x1005016a
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10050211
mov esi, dword [edx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10050450
add esp, 8
test al, al
je 0x100501b8
mov ecx, dword [esi]
mov eax, dword [esp + 8]
cmp ecx, edi
je 0x100501af
mov edx, dword [edi + 4]
mov dword [esp + 0x14], edx
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], edi
mov dword [ecx + 4], esi
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], edi
jmp 0x1005020d
mov eax, dword [esp + 0x10]
cmp dword [eax], esi
je 0x100501e3
mov esi, dword [esi + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.10050450
add esp, 8
test al, al
jne 0x10050228
mov eax, dword [esp + 0x10]
cmp dword [eax], esi
jne 0x100501c0
mov ecx, dword [edi + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov dword [ecx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov dword [esi + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
mov ecx, dword [esp + 0xc]
mov edi, eax
cmp eax, ecx
jne 0x10050110
nop dword [eax + eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x14], ecx
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [esp + 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x1005020d
push str.invalid_hash_bucket_count
call fcn.101dfec8
int3
Function at 0x100582d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x1005842e
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10003810
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10058400
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x10058383
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100583ef
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100583ba
mov eax, dword [eax]
cmp eax, ecx
je 0x100583b2
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x100583ef
cmp ebx, eax
je 0x100583cc
nop
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x10058409
cmp ebx, eax
jne 0x100583c0
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], 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 [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x10058332
nop dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100583ef
push str.invalid_hash_bucket_count
call fcn.101dfec8
int3