joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d71f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x1e608c
call fcn.001d39dd
lea ecx, [ebp - 0x34]
call fcn.001d6c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.001d758b
test eax, eax
jl 0x1d722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.001d72a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x1d7298
cmp ax, si
jne 0x1de4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.001d1451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.001d758b
mov esi, eax
test esi, esi
jl 0x1d7280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.001d72a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.001d760b
mov eax, esi
call fcn.001d2b9f
ret

Function at 0x1d791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x1ddc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x1d7900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x1d79a8
push 1
lea ecx, [ebp - 0x20]
call fcn.001d79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x1d78ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.001d71e0
cmp esi, ebx
jl 0x1d79a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x1d7992
push 0x24
mov eax, 0x1e5c85
call fcn.001d26dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x1d7854
push 1
lea ecx, [ebp - 0x20]
call fcn.001d79e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x1d3984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x1d79a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x1d79d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.001d7455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.001d71e0
mov eax, esi
call fcn.001d1390
ret 0xc
Function at 0x1d7b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x1e5fc0
call fcn.001d39dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.001d7c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x1d7b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x1d7b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x1d7b5b
inc esi
cmp esi, edi
jb 0x1d7b46
cmp esi, edi
jb 0x1d7c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x1d7c0e
cmp word [edx], 0x30
jne 0x1d7b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x1d7b6f
cmp eax, edi
jae 0x1d7c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1d7b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x1d7c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x1d7c03
movzx eax, ax
movzx eax, ax
push eax
push 0x1d7c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.001d1451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.001d6c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.001d760b
mov eax, dword [ebp - 0x54]
call fcn.001d2b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x1d7bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x1d7be9
Function at 0x1d7f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x1e6a7d
call fcn.001d1350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x1d8046
push 1
call fcn.001d227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x1d803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1d7fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.001d21cb
mov ebx, eax
test ebx, ebx
jl 0x1d8024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.001d2436
mov ebx, eax
test ebx, ebx
jl 0x1d8024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x1d8024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1d7ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x1df33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x1d8024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0x1df353
cmp dword [ebp - 0x14], 0
je 0x1d8033
push dword [ebp - 0x14]
call fcn.001d13c0
pop ecx
push dword [ebp - 0x18]
call fcn.001d13c0
pop ecx
mov eax, ebx
call fcn.001d1390
ret 4
mov ebx, 0x80070057
jmp 0x1d803c

Function at 0x1d85f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1eb004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x1d8684
cmp eax, 0xffffffff
je 0x1d8684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1d8684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.001d85b5
mov eax, esp
push esi
push ebx
push eax
call fcn.001d8692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1df2da
cmp esi, dword [ebp - 0xc]
jne 0x1df2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001d20d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0x1d866d
Function at 0x1d88ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x1e6be9
call fcn.001d20e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001d13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1d8999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x1d89a4
push esi
push edi
call fcn.001d1451
add esp, 0x14
mov eax, edi
call fcn.001d2126
ret 4
Function at 0x1e0d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x1e0dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1e0db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1e0dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x1e0da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401350
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0
push 0
push 0x4010d0
push 0
push 0
mov dword [0x406560], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0x4060f8
push 0x4060e4
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
push esi
mov dword [0x406560], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x406574]
xor esi, esi
test eax, eax
jle 0x4013c4
mov ecx, dword [0x406570]
mov edx, dword [ecx + esi*4]
push edx
call fcn.00401578
mov eax, dword [0x406574]
add esp, 4
inc esi
cmp esi, eax
jl 0x4013a8
mov eax, dword [0x406570]
push eax
call fcn.00401578
mov ecx, dword [esp + 0x10]
mov edx, dword [0x40656c]
mov eax, dword [0x406568]
add esp, 4
push 0
push ecx
push 0
push 0
push edx
push eax
push 0
push 0
push 0x10000000
push 0
push 0x4060dc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 3
push 0
push 0
push 0
mov esi, eax
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop esi
pop ecx
ret 0x10

Function at 0x4030f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4061c0
cmp edx, dword [eax]
je 0x403117
add eax, 8
inc ecx
cmp eax, 0x406250
jl 0x403108
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4061c0]
jne 0x403245
mov eax, dword [0x406580]
cmp eax, 1
je 0x40321f
test eax, eax
jne 0x403148
cmp dword [0x406108], 1
je 0x40321f
cmp edx, 0xfc
je 0x403245
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40317f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004039b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403aa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4031c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403aa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053d8
push edi
call fcn.00403bb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004039b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004039c0
lea eax, [ebp - 0xa0]
push 0x4053b8
push eax
call fcn.004039c0
push dword [esi + 0x4061c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004039c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403b1b
add esp, 0x2c
pop edi
jmp 0x403245
lea eax, [ebp + 8]
lea esi, [esi + 0x4061c4]
push 0
push eax
push dword [esi]
call fcn.00403aa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x407000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x407005
push ebp
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
sub dword [esp + 4], 0x5a5e
and ebx, 0xfffff000
sub ebp, 0x401005
cmp dword [ebx + 0x4e], 0x73696854
jne 0x407037
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
je 0x40703f
sub ebx, 0x100
jmp 0x407022
mov edx, dword [eax + 0x78]
add edx, ebx
mov esi, dword [edx + 0x20]
mov ecx, dword [edx + 0x18]
add esi, ebx
push ecx
lodsd eax, dword [esi]
add eax, ebx
cmp dword [eax - 1], 0x74654700
jne 0x407074
cmp dword [eax + 3], 0x636f7250
jne 0x407074
cmp dword [eax + 7], 0x72646441
jne 0x407074
cmp dword [eax + 0xb], 0x737365
je 0x407079
loop 0x40704d
pop ecx
pop ebp
ret
sub dword [esp], ecx
mov esi, dword [edx + 0x24]
pop ecx
add esi, ebx
movzx eax, word [esi + ecx*2]
mov edi, dword [edx + 0x1c]
add edi, ebx
mov esi, dword [edi + eax*4]
add esi, ebx
call 0x4070a1
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x4070ff
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[ebx - 1], dl
salc
mov dword [ebp + 0x402407], eax
call 0x4070bc
inc ebx
jb 0x407117
popal
je 0x40711a
inc ebp
jbe 0x40711d
outsb dx, byte [esi]
je 0x4070fc
add byte [ebx - 1], dl
salc
mov dword [ebp + fcn.0040240b], eax
call 0x4070d7
inc edi
je 0x40711a
popal
jae 0x407145
inc ebp
jb 0x407146
outsd dx, dword [esi]
jb 0x4070d7
push ebx
call esi
mov dword [ebp + 0x40240f], eax
call fcn.0040712a
test eax, eax
je 0x40710a
push eax
call dword [ebp + 0x40240f]
test eax, eax
jne 0x407104
lea eax, [ebp + 0x401155]
mov dl, byte [eax - 1]
call 0x407145
jmp 0x407155
invalid
add byte [eax], al
add bl, ch
push ecx
call dword [ebp + 0x402407]
pop ebp
ret
add byte [eax + eax], al
mov eax, esp
push 0
push eax
push 0xc
mov eax, esp
jmp edx
add byte [eax + 0x6a], dl
or al, 0x8b
invalid
mov dh, dl
mov ecx, 0x12b2
mov ecx, 0x12b2
xor byte [eax], dl
inc eax
add dl, dh
loop 0x40714c
ret
std
pop ecx
cli
in al, dx
hlt
Function at 0x407145
Capabilities:
Encode data using xor

Disassembly:
call 0x407005
push ebp
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
sub dword [esp + 4], 0x5a5e
and ebx, 0xfffff000
sub ebp, 0x401005
cmp dword [ebx + 0x4e], 0x73696854
jne 0x407037
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
je 0x40703f
sub ebx, 0x100
jmp 0x407022
mov edx, dword [eax + 0x78]
add edx, ebx
mov esi, dword [edx + 0x20]
mov ecx, dword [edx + 0x18]
add esi, ebx
push ecx
lodsd eax, dword [esi]
add eax, ebx
cmp dword [eax - 1], 0x74654700
jne 0x407074
cmp dword [eax + 3], 0x636f7250
jne 0x407074
cmp dword [eax + 7], 0x72646441
jne 0x407074
cmp dword [eax + 0xb], 0x737365
je 0x407079
loop 0x40704d
pop ecx
pop ebp
ret
sub dword [esp], ecx
mov esi, dword [edx + 0x24]
pop ecx
add esi, ebx
movzx eax, word [esi + ecx*2]
mov edi, dword [edx + 0x1c]
add edi, ebx
mov esi, dword [edi + eax*4]
add esi, ebx
call 0x4070a1
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x4070ff
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[ebx - 1], dl
salc
mov dword [ebp + 0x402407], eax
call 0x4070bc
inc ebx
jb 0x407117
popal
je 0x40711a
inc ebp
jbe 0x40711d
outsb dx, byte [esi]
je 0x4070fc
add byte [ebx - 1], dl
salc
mov dword [ebp + fcn.0040240b], eax
call 0x4070d7
inc edi
je 0x40711a
popal
jae 0x407145
inc ebp
jb 0x407146
outsd dx, dword [esi]
jb 0x4070d7
push ebx
call esi
mov dword [ebp + 0x40240f], eax
call fcn.0040712a
test eax, eax
je 0x40710a
push eax
call dword [ebp + 0x40240f]
test eax, eax
jne 0x407104
lea eax, [ebp + 0x401155]
mov dl, byte [eax - 1]
call 0x407145
jmp 0x407155
invalid
add byte [eax], al
add bl, ch
push ecx
call dword [ebp + 0x402407]
pop ebp
ret
add byte [eax + eax], al
mov eax, esp
push 0
push eax
push 0xc
mov eax, esp
jmp edx
add byte [eax + 0x6a], dl
or al, 0x8b
invalid
mov dh, dl
mov ecx, 0x12b2
mov ecx, 0x12b2
xor byte [eax], dl
inc eax
add dl, dh
loop 0x40714c
ret
std
pop ecx
cli
in al, dx
hlt
Function at 0x10008470
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 0x100085c6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], 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 - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.1008dd1a
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x10008529
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100084e7
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100085bc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
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 - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1000853d
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x10008540
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x100085bc
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 + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.1008dd1a
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x100085cd
cmp esi, eax
jne 0x10008597
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
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 + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x10008550
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10008700
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0575
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100dc280]
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 - 0x18]
push ebx
push eax
call fcn.10008b00
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10008793
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 0x100088e7
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.1008d9d0
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
vmovss xmm1, dword [edi]
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, eax
shr eax, 0x1f
vaddsd xmm0, xmm0, qword [eax*8 + 0x100d6130]
vcvtsd2ss xmm2, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
mov eax, ebx
shr eax, 0x1f
vcvtsi2sd xmm0, xmm0, ebx
vaddsd xmm0, xmm0, qword [eax*8 + 0x100d6130]
vcvtsd2ss xmm0, xmm0, xmm0
vdivss xmm0, xmm2, xmm0
vcomiss xmm0, xmm1
jbe 0x10008889
vdivss xmm0, xmm2, xmm1
vmovss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fstp qword [ebp - 0x18]
vxorpd xmm0, xmm0, xmm0
vroundsd xmm0, xmm0, qword [ebp - 0x18], 2
vmovsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp dword [ebp - 0x14]
vmovss xmm0, dword [ebp - 0x14]
call fcn.1008e4f0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1000886b
cmp ebx, 0x200
jae 0x10008869
shl ebx, 3
cmp ebx, ecx
jae 0x1000886b
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10008990
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10008b00
mov edx, dword [eax]
jmp 0x1000888c
mov edx, dword [ebp - 0x18]
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 - 0x20]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x1c]
jne 0x100088b7
mov dword [ecx + eax*8], esi
jmp 0x100088c6
cmp edi, edx
jne 0x100088c0
mov dword [ecx + eax*8], esi
jmp 0x100088ca
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100088ca
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.1008f990
int3
Function at 0x10008990
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
bsr eax, eax
push ebx
mov ebx, ecx
mov ecx, 1
shlx eax, ecx, eax
mov dword [ebp - 4], ebx
push esi
push edi
cmp edx, eax
ja 0x10008aec
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, ecx
mov dword [ebp + 8], esi
bsr eax, eax
push esi
inc eax
shlx edi, ecx, eax
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10008600
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 0x10008abf
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 - 8], edx
cmp edi, esi
jne 0x10008a45
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10008ab5
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10008a7f
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10008a77
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 0x10008ab2
cmp edi, edx
je 0x10008a8f
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10008ac8
cmp edi, edx
jne 0x10008a83
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 0x100089f4
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 0x10008ab2
push str.invalid_hash_bucket_count
call fcn.1008f990
int3