joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x28]
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x2c]
push 0
movups xmmword [ecx], xmm0
push 0x100d8c00
movups xmm0, xmmword [ebp + 0x18]
add eax, 0x28
push eax
push ecx
movups xmmword [ecx + 0x10], xmm0
push dword [0x100d4300]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
ret

Function at 0x100055c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acf2d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100d4cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub eax, 0
je 0x10005772
sub eax, 1
jne 0x10005792
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100d8be0], edi
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10005480
add esp, 8
push 0x100d8c64
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.100031b0
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.10003670
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x100d8bec]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov dword [0x100d8bec], ecx
test eax, eax
je 0x1000566f
cmp eax, 0xffffffff
je 0x1000566f
push eax
call esi
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
test eax, eax
je 0x10005682
cmp eax, 0xffffffff
je 0x10005682
push eax
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10003860
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100056a5
xor eax, eax
jmp 0x10005797
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10005480
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push str.LUNA_VNR_SECTION_
push eax
call fcn.100031b0
add esp, 0x14
push eax
push 0x414ec0
push 0x100d8bf0
push 0x100d4304
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 4
call fcn.100038e0
lea ecx, [ebp - 0x28]
call fcn.10003860
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10003860
call ebx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10005480
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 5
push str.EMBED_SHARED_MEM
push eax
call fcn.100031b0
add esp, 0x14
push eax
push 0x9f8
push 0x100d8be4
push 0x100d4308
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 6
call fcn.100038e0
lea ecx, [ebp - 0x58]
call fcn.10003860
lea ecx, [ebp - 0x70]
call fcn.10003860
call fcn.1007aa10
push 0
push 0
push 0
push fcn.10003f70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
jmp 0x10005790
call fcn.1007acc0
call fcn.10074190
push dword [0x100d8bf0]
mov esi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call esi
push dword [0x100d8be4]
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005af0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0xc350
mov ebx, ecx
call fcn.1009cfce
mov dword [ebx + 0x6a8], eax
add esp, 4
mov eax, dword [0x100d8bec]
test eax, eax
je 0x10005b24
cmp eax, 0xffffffff
je 0x10005b24
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 8]
lea esi, [ebp + 8]
push edi
mov ecx, 0x17e
mov dword [ebx + 0x5f8], eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x5fc], ecx
mov eax, dword [0x100d8bec]
pop edi
test eax, eax
je 0x10005b59
cmp eax, 0xffffffff
je 0x10005b59
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 0x188]
and eax, 0x1000
or eax, 0
je 0x10005ba1
push 0
push 0
push ebx
push 0x100057d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [ebx + 0x608], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x610], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x5f8
mov eax, dword [ebx + 0x184]
mov ecx, dword [ebx + 0x180]
mov dword [ebp - 4], eax
mov eax, ecx
and eax, 0x40
or eax, 0
je 0x10005bf6
and ecx, 0x80
lea edx, [ebx + 0x18]
or ecx, 0
je 0x10005cd6
lea eax, [ebx + 0x108]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005cbf
add dword [ebx + 0x5f8], eax
adc dword [ebx + 0x5fc], 0
push 0x100d8c00
push 0x40
push 0xa
push dword [ebx + 0x5f8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
lea esi, [ebx + 0x619]
push esi
push dword [ebx + 0x5f8]
call fcn.1007a7c0
test eax, eax
je 0x10005c58
cmp eax, 3
jne 0x10005d0a
push 9
push dword [ebx + 0x5fc]
push dword [ebx + 0x5f8]
call fcn.10004f90
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push dword [ebx + 0x5f8]
call fcn.1007a7c0
test eax, eax
jne 0x10005c25
mov eax, dword [0x100d432c]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x100d430c], ebx
mov eax, dword [0x100d4330]
mov dword [eax + 0x100d430c], 0x10005f30
mov eax, dword [0x100d4334]
mov dword [eax + 0x100d430c], ecx
movups xmm0, xmmword [0x100d430c]
push dword [ebx + 0x5f8]
movups xmmword [esi], xmm0
movq xmm0, qword [0x100d431c]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x100d4324]
mov dword [esi + 0x18], eax
mov al, byte [0x100d4328]
mov byte [esi + 0x1c], al
call fcn.1007a9f0
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x5f8
push str.function_not_present
call fcn.100039b0
add esp, 4
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x5f8
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10005cf3
cdq
add dword [ebx + 0x5f8], eax
adc dword [ebx + 0x5fc], edx
jmp 0x10005bf6
push str.module_not_present
call fcn.100039b0
add esp, 4
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x5f8
push eax
call fcn.1007abe0
push eax
call fcn.100039b0
add esp, 4
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x5f8
Function at 0x100075b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad02d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100d4cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10007608
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x100075df
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x100075df
mov eax, dword [eax + edi + 0x78]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100075df
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [eax + edi + 0x18], esi
jbe 0x1000768e
mov eax, dword [eax + edi + 0x24]
lea ecx, [edi + esi*2]
movzx ecx, word [ecx + eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
mov dword [ebp - 0x10], eax
cmp edx, ebx
je 0x1000766e
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x1c], edx
jmp 0x10007681
lea eax, [ebp - 0x10]
push eax
push edx
lea ecx, [ebp - 0x20]
call fcn.10006480
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [eax + edi + 0x18]
jb 0x10007643
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100077e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad06b
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x100d4cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xa0
lea esi, [ebp + 8]
lea edi, [ebp - 0x290]
rep movsd dword es:[edi], dword [esi]
push 0x280
call fcn.1009cf5f
add esp, 4
test eax, eax
je 0x1000783f
mov ecx, 0xa0
lea esi, [ebp - 0x290]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x10007841
xor eax, eax
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10006560
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x100078b4
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100078ad
push ecx
push eax
call fcn.10085eea
add esp, 8
test eax, eax
jne 0x100078ad
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009cf9d
mov esp, ebp
pop ebp
ret
push 1
call fcn.10086305
push 6
mov dword [ebp - 0x298], 0
call fcn.10086305
int3
Function at 0x1000f990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1000f9c1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000f9b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10010040
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad615
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d4cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1000ffd0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100100d3
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x10010228
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.1009cf5f
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b8b80]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b8b80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100101ca
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call sub.msvcrt.dll_ceil
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1009d0c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100101ac
cmp ebx, 0x200
jae 0x100101aa
shl ebx, 3
cmp ebx, ecx
jae 0x100101ac
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100107d0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000ffd0
mov edx, dword [eax]
jmp 0x100101cd
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x100101f8
mov dword [ecx + eax*8], esi
jmp 0x10010207
cmp edi, edx
jne 0x10010201
mov dword [ecx + eax*8], esi
jmp 0x1001020b
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001020b
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10085b0b
int3
Function at 0x100107d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10010929
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.100106e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100108fc
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x10010881
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100108f2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100108bb
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x100108b3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x100108ef
cmp edi, edx
je 0x100108cc
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10010905
cmp edi, edx
jne 0x100108c0
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x10010832
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100108ef
push str.invalid_hash_bucket_count
call fcn.10085b0b
int3
Function at 0x10012d00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 7
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x10012d1e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x10012d44
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10012d30
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10012b50
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10012d64
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10013540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0xc], edi
shl eax, cl
cmp edx, eax
ja 0x100136b3
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 4], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.100106e0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edi, dword [edi + 4]
mov edi, dword [edi]
cmp edi, ebx
je 0x1001368e
mov esi, edi
cmp dword [esi + 0x1c], 7
lea ebx, [esi + 8]
mov edi, dword [edi]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 8], edi
jbe 0x100135b6
mov ebx, dword [esi + 8]
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x100135e4
mov edi, eax
nop dword [eax]
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100135d0
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
and edx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + edx*8]
mov dword [ebp + 8], eax
cmp dword [eax], ecx
jne 0x10013604
mov dword [eax], esi
mov dword [eax + 4], esi
jmp 0x10013683
mov ebx, dword [eax + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10012610
add esp, 8
test al, al
je 0x10013641
mov ebx, dword [ebx]
cmp ebx, esi
je 0x10013639
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
jmp 0x10013683
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x10013666
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10012610
add esp, 8
test al, al
jne 0x10013697
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
jne 0x10013648
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov esi, edi
cmp edi, dword [ebp - 4]
jne 0x100135a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x10013683
push str.invalid_hash_bucket_count
call fcn.10085b0b
int3
Function at 0x10016a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adc05
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100d4cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x14], 7
mov ecx, dword [edi + 0x10]
jbe 0x10016a70
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x10016a9a
mov edx, dword [ebp - 0x14]
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10016a83
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
push esi
push edi
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
call fcn.10012b50
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016aba
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor al, al
jmp 0x10016ba2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x7ffffff
je 0x10016bc1
add eax, 4
mov dword [ebp - 0x20], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.1009cf5f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add esp, 4
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [edi]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x18], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b8b80]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b8b80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x10016b8c
mov ecx, edi
call fcn.10013930
mov eax, dword [ebp - 0x1c]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10012b50
mov ecx, dword [eax]
jmp 0x10016b8f
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ecx
push esi
mov ecx, edi
call fcn.100138d0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
mov esi, 4
mov edx, ecx
mov byte [esi + edx], al
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10085b0b
int3
Function at 0x10016bd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adc45
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d4cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov edx, edi
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x10016c0a
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x10016c2b
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10016c17
mov edi, dword [ebp + 0xc]
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10012b50
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10016c4b
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor al, al
jmp 0x10016cfe
cmp dword [ebx + 8], 0x7ffffff
je 0x10016d1e
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.1009cf5f
add esp, 4
mov dword [ebp - 0x18], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 0xc], eax
push edi
call fcn.10012e90
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b8b80]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b8b80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x10016ce8
mov ecx, ebx
call fcn.10013930
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10012b50
mov ecx, dword [eax]
jmp 0x10016ceb
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.100138d0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
mov esi, 4
mov edx, ecx
mov byte [esi + edx], al
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10085b0b
int3