joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404640
Capabilities:
Accept command line arguments
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4250d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
push esi
push eax
call fcn.00402c70
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jb 0x404699
push str.PsGetSid_requires_Windows_NT_or_higher._n_n
call fcn.00405eea
add eax, 0x40
push eax
call fcn.0040622f
add esp, 8
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405755
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea edx, [ebp - 0x108]
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x4046a7
cmp byte [ebp - 0x108], 0x22
lea edx, [ebp - 0x108]
jne 0x4046e1
lea edx, [ebp - 0x107]
mov ecx, edx
push edi
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4046d0
sub ecx, edi
pop edi
mov byte [ebp + ecx - 0x107], al
lea eax, [ebp - 0x110]
push eax
push 0x427500
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x404706
mov byte [eax], 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x104
push eax
push 0x427620
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push dword [ebp + 8]
call fcn.00404070
add esp, 8
test al, al
je 0x4047bc
cmp byte [0x42640c], 0
je 0x404799
cmp byte [0x42640d], 0
jne 0x404799
push str.Password:
call fcn.00405193
call fcn.00405eea
add eax, 0x20
push eax
call fcn.00406079
add esp, 8
xor esi, esi
call fcn.00405587
cmp al, 0xd
je 0x40477d
mov byte [esi + 0x4273e0], al
inc esi
cmp esi, 0x103
jb 0x404765
cmp esi, 0x104
jae 0x4047c3
push 0x41e9cc
mov byte [esi + 0x4273e0], 0
call fcn.00405193
add esp, 4
push 0x404400
push 0x426308
push 1
call fcn.004029c0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.00405755
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.004050a0
call fcn.004078bd
int3
Function at 0x4119e2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4250d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004091eb
mov dword [ebp - 0x14], eax
cmp dword [0x4273a8], esi
jne 0x411ad5
push 0x800
push esi
push 0x4230c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x411a62
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x411bb5
push esi
push esi
push 0x4230c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x411bb5
push 0x4230d8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411bb5
push eax
call ebx
push 0x4230e4
push edi
mov dword [0x4273a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4230f4
push edi
mov dword [0x4273ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x423108
push edi
mov dword [0x4273b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4273b8], eax
test eax, eax
je 0x411ad2
push 0x423124
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4273b4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x411afa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411aed
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x411b0f
push 4
pop eax
jmp 0x411bb7
cmp dword [ebp - 0x14], esi
je 0x411b0f
push dword [0x4273a8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x411af4
mov eax, dword [0x4273b4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x411b6d
cmp dword [0x4273b8], edi
je 0x411b6d
push eax
call ebx
push dword [0x4273b8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x411b6d
test eax, eax
je 0x411b6d
call ecx
test eax, eax
je 0x411b62
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x411b62
test byte [ebp - 8], 1
jne 0x411b6d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x411b9d
mov eax, dword [0x4273ac]
cmp eax, edi
je 0x411b9a
push eax
call ebx
test eax, eax
je 0x411b9a
call eax
mov esi, eax
test esi, esi
je 0x411b9a
mov eax, dword [0x4273b0]
cmp eax, edi
je 0x411b9a
push eax
call ebx
test eax, eax
je 0x411b9a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4273a8]
call ebx
test eax, eax
je 0x411bb5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x411bb7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405755
mov esp, ebp
pop ebp
ret
Function at 0x433003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1002bcc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae2bd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100ca040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
movups xmmword [ecx + 0x88], xmm0
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 0xf
mov dword [ebp - 0x10], ecx
mov byte [ecx + 0x88], 0
mov dword [ebp - 4], 0
movups xmmword [ecx + 0xa0], xmm0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xb4], 0xf
mov byte [ecx + 0xa0], 0
movups xmmword [ecx + 0xb8], xmm0
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 0xf
mov byte [ecx + 0xb8], 0
movups xmmword [ecx + 0xd4], xmm0
mov dword [ecx + 0xe4], 0
mov dword [ecx + 0xe8], 0xf
mov byte [ecx + 0xd4], 0
mov byte [ebp - 4], 3
mov word [ecx + 0xed], 0
mov byte [ecx + 0xef], 0
push eax
mov dword [ecx + 0xec], 0
mov dword [ecx + 0x44c], 0
mov dword [ecx + 0x450], 0
mov dword [ecx + 0x454], 0
mov byte [ecx + 0x458], 0
mov dword [ecx + 0x45c], 0
mov byte [ecx + 0x460], 0
mov dword [ecx + 0x464], 0
mov dword [ecx + 0x468], 0
mov dword [ecx + 0x46c], 0
mov dword [ecx + 0x470], 0
mov dword [ecx + 0x474], 0
mov dword [ecx + 0x478], 0
mov word [ecx + 0x488], 0
mov byte [ecx + 0x494], 0
call fcn.100233f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10032a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100ca040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10032adc
cmp byte [esi + 0x3d], 0
je 0x10032adc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10032aca
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10032a91
sub eax, 1
je 0x10032a95
sub eax, 2
jne 0x10032aca
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac9dc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10032ab3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10032aca
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac9dc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ac9dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100ac9dc
mov esp, ebp
pop ebp
ret
Function at 0x10034830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae775
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100ca040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x10144520
call fcn.10037d50
mov ecx, dword [0x1013ee30]
test ecx, ecx
je 0x10034a25
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10034a25
mov ecx, dword [eax + 0x14]
mov ebx, 0x811c9dc5
mov esi, dword [eax + 8]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10034892
xor edx, edx
test ecx, ecx
je 0x100348b1
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x100348a0
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 0x10], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul edi, eax, 0x1000193
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10039360
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x10034a0e
cmp dword [0x10144528], 0xfffffff
je 0x10034a37
mov dword [ebp - 0x28], 0x10144524
mov dword [ebp - 4], esi
push 0x10
mov dword [ebp - 0x24], esi
call fcn.100ac9f8
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ebx, [esi + 8]
mov dword [ebp - 0x24], esi
add esp, 4
mov dword [ebx], ecx
mov dword [ebx + 4], 0
mov dword [ebp - 4], 1
mov edx, dword [0x10144528]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100bfd90]
mov eax, dword [0x1014453c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100bfd90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x10144520]
seta al
test al, al
je 0x100349bb
call fcn.10039170
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.10039360
mov edx, dword [0x10144528]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
jmp 0x100349be
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ecx + 4]
inc edx
mov dword [0x10144528], edx
mov dword [esi], ecx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [ecx + 4], esi
and edi, dword [0x10144538]
mov eax, dword [0x1014452c]
mov dword [ebp - 0x24], 0
mov edx, dword [eax + edi*8]
cmp edx, dword [0x10144524]
jne 0x100349f4
mov dword [eax + edi*8], esi
jmp 0x10034a03
cmp edx, ecx
jne 0x100349fd
mov dword [eax + edi*8], esi
jmp 0x10034a07
cmp dword [eax + edi*8 + 4], ebx
jne 0x10034a07
mov dword [eax + edi*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10034882
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x100358a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100db52c], 0
push ebx
push esi
push edi
je 0x10035a2e
mov ecx, dword [0x1013ee38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10035a2e
mov ecx, dword [0x1013eebc]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10035a2e
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10035900
xor edx, edx
test ecx, ecx
je 0x10035929
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10035910
cmp edi, 0x5ff56dc5
je 0x10035938
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10035a2e
mov ecx, dword [ebp - 4]
jmp 0x100358e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x10035a2e
mov edx, dword [edi + 0x88]
test edx, edx
je 0x10035a2e
movss xmm1, dword [0x100bfaf0]
xor ebx, ebx
cmp edx, 4
jl 0x100359fb
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003599c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100359b7
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100359d2
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100359e5
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x10035981
cmp ebx, edx
jl 0x100359ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x10035a2e
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10035a23
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x10035a10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100381e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10038336
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
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 [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100ace57
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x10038299
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10038257
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1003832c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100382ad
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x100382b0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1003832c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 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 dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.100ace57
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1003833d
cmp esi, eax
jne 0x10038307
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100382c0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100391f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
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
jbe 0x1003921c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x10144524]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1014452c
lea eax, [edi + edi]
push eax
call fcn.1002a7c0
mov eax, dword [0x10144524]
lea ebx, [edi - 1]
mov dword [0x10144538], ebx
mov dword [0x1014453c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10039356
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 [0x1014452c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x100392b4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10039321
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x100392ee
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100392e6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
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 - 0xc]
mov dword [edx + 4], eax
jmp 0x10039321
cmp ebx, edx
je 0x100392fe
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10039332
cmp ebx, edx
jne 0x100392f2
mov ebx, dword [eax + 4]
mov dword [ebp - 4], 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 - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x10039356
mov ebx, dword [0x10144538]
jmp 0x10039262
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], 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 0x10039321
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10046290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x10046401
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10046ac0
push 0x2c
push edi
call fcn.100ace57
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x1004635d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10046310
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100463f7
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x10046371
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x10046374
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x100463f7
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10046ac0
push 0x2c
push edi
call fcn.100ace57
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x10046408
cmp esi, eax
jne 0x100463c7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x10046380
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8