joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aeb20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10242944
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
lea esi, [ebp - 0x10]
push 0xc
cmovne esi, eax
call fcn.100c162c
add esp, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100aeb6d
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
jmp 0x100aeb6f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push esi
push 0
push eax
push 0x100af530
push dword [ebp + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100aeba0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x100aebaf
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
cmp byte [0x1046f7e8], 0
jne 0x100aebdb
push str.Bad_thread_local:_Get_n
push 0xb2d
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x1046f7e8], 1
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100aebdb
int3
xor eax, eax
ret

Function at 0x100aec80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x100aed26
mov eax, dword [0x1046f7e4]
cmp eax, 0xffffffff
je 0x100aeca3
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x100aeca5
xor eax, eax
cmp eax, esi
jne 0x100aecc5
push str.Thread_cannot_be_joined_with_self
push 0xee5
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100aecc5
int3
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x100aed07
test eax, eax
je 0x100aed0e
cmp eax, 0xffffffff
je 0x100aed0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100aed0e
push 0x1024cb88
push 0xeee
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100aed07
int3
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x100aeee0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x100aeef8
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
cmp byte [0x1046f7e9], 0
jne 0x100aef24
push str.Bad_thread_local:_Set_n
push 0xb44
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x1046f7e9], 1
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100aef24
int3
pop ebp
ret 4
Function at 0x100af1f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x10], 0
lea eax, [ebx + 0x10]
push esi
push edi
mov dword [ebp - 4], eax
jne 0x100af223
push dword [ebx + 8]
push dword [ebx + 4]
push ebx
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push eax
call fcn.10060580
mov eax, dword [ebp - 4]
add esp, 0x18
mov byte [ebx + 0x2f], 0
push eax
push str.WARNING__CThread::Terminate:__s_n
call fcn.100ae1a0
add esp, 8
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x100af24c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
push eax
mov dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx + 8], 0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100afa50
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1046f7dc]
cmp eax, 0xffffffff
je 0x100afa6e
movzx ecx, byte [ebp + 8]
xor ecx, 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret
cmp byte [0x1046f7e9], 0
jne 0x100afa9a
push str.Bad_thread_local:_Set_n
push 0xb44
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x1046f7e9], 1
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100afa9a
int3
pop ebp
ret

Function at 0x100afae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
xor bl, bl
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100afb10
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x100b5ac0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10242e8c
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push esi
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x100b5aeb
mov eax, dword [esi + 8]
jmp 0x100b5aed
xor eax, eax
push eax
lea ecx, [ebp - 0x468]
call fcn.100b5920
mov dword [ebp - 4], 0
test esi, esi
je 0x100b5b09
mov eax, dword [esi + 0xc]
jmp 0x100b5b0b
xor eax, eax
push ebx
push edi
push eax
lea ecx, [ebp - 0x25c]
call fcn.100b5920
mov byte [ebp - 4], 1
xor ebx, ebx
test esi, esi
je 0x100b5b9d
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x1a], ax
lea ebx, [ebp - 0x50]
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x20], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x10], eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xa8c]
call fcn.100b5920
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x880]
push dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.100b5920
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
push dword [ebp + 8]
mov edi, dword [eax]
call fcn.100b5920
mov byte [ebp - 4], 4
push dword [ebp + 0x2c]
push ebx
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x674]
lea ecx, [ebp - 0x670]
pop edi
pop ebx
cmp eax, ecx
je 0x100b5c15
push eax
call fcn.100c1934
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x87c]
mov eax, dword [ebp - 0x880]
cmp eax, ecx
je 0x100b5c32
push eax
call fcn.100c1934
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa88]
mov eax, dword [ebp - 0xa8c]
cmp eax, ecx
je 0x100b5c4f
push eax
call fcn.100c1934
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
cmp eax, ecx
je 0x100b5c6c
push eax
call fcn.100c1934
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
mov eax, dword [ebp - 0x468]
cmp eax, ecx
je 0x100b5c8c
push eax
call fcn.100c1934
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100b61d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10471c74], 0
jne 0x100b62fc
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x100b62fb
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
push edi
lea edi, [ecx*4 + 8]
test ecx, ecx
jle 0x100b624c
jmp 0x100b6220
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + esi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov ecx, 1
cmovg ecx, eax
inc esi
add edi, ecx
cmp esi, dword [ebp - 4]
jl 0x100b6220
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [eax], ecx
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea esi, [ecx + 1]
lea esi, [eax + esi*4]
test ecx, ecx
jle 0x100b62d9
mov edx, ebx
mov dword [ebp - 0xc], eax
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp - 0x14], edx
mov ebx, eax
lea esp, [esp]
cmp esi, ecx
jae 0x100b62d6
push 0
push 0
sub eax, esi
add eax, edi
push eax
push esi
push 0xffffffffffffffff
push dword [edx + ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 8]
test eax, eax
mov ecx, 1
mov dword [ebx], esi
cmovg ecx, eax
mov eax, dword [ebp - 0x10]
inc edx
add esi, ecx
add ebx, 4
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edi]
jl 0x100b6290
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [ebp - 0x1c]
mov edi, 0x10471c74
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x100b62f9
push edx
call esi
pop edi
pop esi
pop ebx
mov eax, dword [0x10471c74]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [0x10471c74]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x100b6360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.100c15d0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.100575a0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.100d2141
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jg 0x100b63c0
push 0x102531d8
push 0x2be
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100b63c0
int3
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x100b63f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10242f21
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104a28d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10471c90]
cmp eax, dword [ecx + 0x480]
jg 0x100b6463
mov eax, dword [0x10471c8c]
test eax, eax
je 0x100b6439
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
cmp al, 1
je 0x100b6455
push str.bRtlGenRandomOK
push 0x8000035b
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.100ad9f0
add esp, 0xc
test al, al
jne 0x100b6455
int3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x10471c90
call fcn.100c16d8
add esp, 4
cmp dword [0x10471c90], 0xffffffff
jne 0x100b6424
mov dword [ebp - 4], 0
push str.SystemFunction036
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10471c8c], eax
mov dword [ebp - 4], 0xffffffff
push 0x10471c90
call fcn.100c1687
add esp, 4
jmp 0x100b6424
Function at 0x100b6db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.100b6980
test al, al
je 0x100b6f41
push ebx
push edi
call fcn.100b6960
mov edi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.100c3490
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x10471c98
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x100b6eda
lea esp, [esp]
push 0
push dword [0x10471cd0]
lea eax, [ebp - 0x118]
push dword [0x10471ccc]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x10471cb4]
test eax, eax
je 0x100b6eda
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x100b6eda
cmp edi, dword [ebp + 0x10]
jle 0x100b6ed5
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x100b6ed5
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, ebx
jl 0x100b6e70
push 0x10471c98
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x100b6f3f
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x100b6f10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b7440
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10242ff3
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x104a28d4]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x10471cfc]
cmp eax, dword [edx + 0x480]
jg 0x100b75bd
mov dword [ebp - 0x10], 0x10471cdc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x10471cdc
cmp edx, dword [0x10471cdc]
je 0x100b74b8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x100b74b8
pause
push edx
mov ecx, esi
call fcn.100aed30
jmp 0x100b74bf
lock inc dword [0x10471ce0]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x100b74d7
mov eax, dword [edi + 0x24]
jmp 0x100b758f
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100a71c0
mov eax, dword [eax + 4]
test eax, eax
je 0x100b7541
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x100b7547
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x100b758f
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x100b7550
sub esi, ecx
inc esi
push esi
call fcn.100db9bd
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.100c2f10
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100b7050
mov eax, dword [esi]
mov esi, 0x10471cdc
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x10471ce0]
cmp dword [0x10471ce0], 0
pop ebx
jne 0x100b75ab
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x10471cfc
call fcn.100c16d8
add esp, 4
cmp dword [0x10471cfc], 0xffffffff
jne 0x100b747f
mov dword [ebp - 4], 0
mov ecx, 0x10471ce4
mov dword [0x10471cdc], 0
mov dword [0x10471ce0], 0
call fcn.100ae700
mov byte [ebp - 4], 0
push 0x1024b6f0
call fcn.100c15b8
mov dword [ebp - 4], 0xffffffff
push 0x10471cfc
call fcn.100c1687
add esp, 8
jmp 0x100b747f
Function at 0x100b7630
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024300d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x100b77c1
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
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.100aca90
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100b777c
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x14], edx
cmp edi, esi
jne 0x100b7702
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100b7772
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100b773c
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x100b7734
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
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 - 0x14]
mov dword [edx + 4], eax
jmp 0x100b776f
cmp edi, edx
je 0x100b774c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100b779d
cmp edi, edx
jne 0x100b7740
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], 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 - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x100b76b1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], 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 0x100b776f
push str.invalid_hash_bucket_count
call fcn.100c0b23
int3
Function at 0x100b77d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024264d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x100b797d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.100c15fb
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x100b78be
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x100b7880
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x100b796d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x100b796d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x100b78d0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x100b78d3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x100b796d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.100c15fb
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x100b7951
cmp edi, esi
je 0x100b7968
mov eax, dword [ebp + 0xc]
jmp 0x100b7927
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x100b796d
mov edx, dword [ebp - 0x10]
jmp 0x100b78e0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8