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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a81d5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100cef80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d2de4]
mov ecx, dword [ebp + 0x610]
inc eax
mov dword [0x100d2de4], eax
cmp eax, 0x9c4
jl 0x10004217
push dword [0x100cebec]
call fcn.10003f50
add esp, 4
xor al, al
jmp 0x100043f1
test ecx, ecx
je 0x10004234
cmp byte [ecx], 0
je 0x10004234
push 0x3b
push ecx
lea eax, [ebp + 0x1e8]
push 0x3c
push eax
call fcn.10099b40
add esp, 0x10
lea eax, [ebp + 0x1e8]
push eax
push dword [0x100cebe4]
call fcn.10003f50
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10005280
mov eax, dword [ebp + 0x190]
add esp, 0x14
test dword [ebp + 0x18c], 0x100
mov ecx, 0xfde9
cmovne eax, ecx
mov dword [ebp + 0x190], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x608
lea eax, [ebp - 0x28]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10073720
add esp, 0x610
cmp dword [eax + 0x14], 7
jbe 0x100042a4
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x224]
push 0x1f4
push eax
call fcn.100999b0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10003d40
imul eax, dword [0x100d2de4], 0x6c0
lea esi, [ebp + 8]
sub esp, 0x608
mov ecx, 0x182
mov edi, esp
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x100d2de0]
mov ecx, eax
call fcn.10006040
test al, al
jne 0x100043c3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 0x224]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004310
sub ecx, edx
lea eax, [ebp + 0x224]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10003450
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10005640
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x10004357
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10003f50
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10003cf0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x100043aa
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100043a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000440c
push ecx
push edx
call fcn.1009832f
add esp, 8
imul ecx, dword [0x100d2de4], 0x6c0
add ecx, dword [0x100d2de0]
call fcn.10005d70
xor al, al
jmp 0x100043f1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x100d2df0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push 0x10
push eax
push dword [0x100ce080]
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
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.1009833d
mov esp, ebp
pop ebp
ret
call fcn.10099820
int3
Function at 0x100046d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x100cef80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x610]
push esi
push edi
mov dword [ebp - 0xa18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x608
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x182
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10073720
add esp, 0x610
cmp dword [eax + 0x14], 7
jbe 0x10004721
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x224]
push 0x1f4
push eax
call fcn.100999b0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 7
jbe 0x10004770
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004766
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047eb
push ecx
push edx
call fcn.1009832f
add esp, 8
push 0x3e8
lea eax, [ebp - 0x404]
mov dword [ebp - 0xa14], 2
mov ecx, 0x182
lea esi, [ebp + 8]
lea edi, [ebp - 0xa0c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.msvcrt.dll_memset
push 0x1f3
push dword [ebp - 0xa18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.10099a50
add esp, 0x1c
lea eax, [ebp - 0xa14]
push 0
push 0x100d2df0
push 0x9f8
push eax
push dword [0x100ce080]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009833d
mov esp, ebp
pop ebp
ret
call fcn.10099820
int3

Function at 0x10004800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x1000481c
push eax
push dword [0x100cebe8]
call fcn.10003f50
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x100d2df0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x100ce080]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x100055e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x2c]
test esi, esi
js 0x100055f3
cmp esi, 0xc330
jbe 0x10005607
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push str.something_went_very_wrong__invalid_length__d_at_hook_address__I64d_
call fcn.10003f50
add esp, 0x10
mov ecx, dword [ebp + 0x28]
lea eax, [esi + 0x28]
movups xmm0, xmmword [ebp + 8]
push 0
push 0x100d2df0
movups xmmword [ecx], xmm0
push eax
movups xmm0, xmmword [ebp + 0x18]
push ecx
movups xmmword [ecx + 0x10], xmm0
push dword [0x100ce080]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebp
ret
Function at 0x10005b40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a839d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100cef80]
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 0x10005cfb
sub eax, 1
jne 0x10005d1b
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100d2dd0], edi
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003730
add esp, 8
push 0x100d2e58
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, esp
lea ecx, [ebp - 0x28]
push ecx
push str.LUNA_VNR_HOOKMAN_
push eax
call fcn.10003210
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.10003ab0
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x100d2ddc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov dword [0x100d2ddc], ecx
test eax, eax
je 0x10005bf2
cmp eax, 0xffffffff
je 0x10005bf2
push eax
call esi
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 2
test eax, eax
je 0x10005c05
cmp eax, 0xffffffff
je 0x10005c05
push eax
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10003d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10005c28
xor eax, eax
jmp 0x10005d20
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003730
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push str.LUNA_VNR_SECTION_
push eax
call fcn.10003210
add esp, 0x14
push eax
push 0x41eb00
push 0x100d2de0
push 0x100ce084
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 4
call fcn.10003e80
lea ecx, [ebp - 0x58]
call fcn.10003d40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10003d40
call ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10003730
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
push str.EMBED_SHARED_MEM
push eax
call fcn.10003210
add esp, 0x14
push eax
push 0x9f8
push 0x100d2dd4
push 0x100ce088
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 6
call fcn.10003e80
lea ecx, [ebp - 0x70]
call fcn.10003d40
lea ecx, [ebp - 0x40]
call fcn.10003d40
call fcn.10075420
push 0
push 0
push 0
push fcn.10004850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
jmp 0x10005d19
call fcn.100756d0
call fcn.100704d0
push dword [0x100d2de0]
mov esi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call esi
push dword [0x100d2dd4]
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.1009833d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006040
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0xc350
mov ebx, ecx
call fcn.1009836e
mov dword [ebx + 0x6b8], eax
add esp, 4
mov eax, dword [0x100d2ddc]
test eax, eax
je 0x10006072
cmp eax, 0xffffffff
je 0x10006072
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0x18c]
lea esi, [ebp + 8]
mov eax, dword [ebp + 0x190]
test edx, 0x100
mov ecx, 0xfde9
cmovne eax, ecx
mov ecx, 0x182
push edi
mov dword [ebp + 0x190], eax
mov edi, ebx
mov eax, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x608], eax
mov dword [ebx + 0x60c], ecx
mov eax, dword [0x100d2ddc]
pop edi
test eax, eax
je 0x100060cd
cmp eax, 0xffffffff
je 0x100060cd
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp + 0x18c]
test edx, 0x1000
je 0x1000610d
push 0
push 0
push ebx
push 0x10005d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [ebx + 0x618], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x620], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x608
mov eax, dword [ebx + 0x184]
test al, 0x40
je 0x1000614c
lea ecx, [ebx + 0x1c]
test al, al
jns 0x10006232
lea eax, [ebx + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000621a
add dword [ebx + 0x608], eax
adc dword [ebx + 0x60c], 0
push 0x100d2df0
push 0x40
push 0xa
push dword [ebx + 0x608]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
lea esi, [ebx + 0x629]
push esi
push dword [ebx + 0x608]
call fcn.100751d0
test eax, eax
je 0x100061b3
nop dword [eax + eax]
cmp eax, 3
jne 0x10006267
push 9
push dword [ebx + 0x60c]
push dword [ebx + 0x608]
call fcn.10005280
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push dword [ebx + 0x608]
call fcn.100751d0
test eax, eax
jne 0x10006180
mov eax, dword [0x100ce0ac]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x100ce08c], ebx
mov eax, dword [0x100ce0b0]
mov dword [eax + 0x100ce08c], 0x10006470
mov eax, dword [0x100ce0b4]
mov dword [eax + 0x100ce08c], ecx
movups xmm0, xmmword [0x100ce08c]
push dword [ebx + 0x608]
movups xmmword [esi], xmm0
movq xmm0, qword [0x100ce09c]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x100ce0a4]
mov dword [esi + 0x18], eax
mov al, byte [0x100ce0a8]
mov byte [esi + 0x1c], al
call fcn.10075400
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x608
push dword [0x100cec0c]
call fcn.10003f50
add esp, 4
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x608
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000624f
cdq
add dword [ebx + 0x608], eax
adc dword [ebx + 0x60c], edx
jmp 0x1000614c
push dword [0x100cec10]
call fcn.10003f50
add esp, 4
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x608
push eax
call fcn.100755f0
push eax
call fcn.10003f50
add esp, 4
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x608
Function at 0x10007b80
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a849d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100cef80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x10007bd8
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 0x10007baf
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x10007baf
mov eax, dword [eax + edi + 0x78]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x10007baf
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ebx
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [eax + edi + 0x18], esi
jbe 0x10007c66
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]
xor ecx, ecx
mov eax, dword [eax + edi]
add eax, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp edx, ebx
je 0x10007c46
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov dword [ebp - 0x20], edx
jmp 0x10007c59
lea eax, [ebp - 0x18]
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.100069a0
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [eax + edi + 0x18]
jb 0x10007c13
mov ecx, dword [ebp - 0x24]
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 0x10007dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a84db
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x100cef80]
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, 0x9e
lea esi, [ebp + 8]
lea edi, [ebp - 0x288]
rep movsd dword es:[edi], dword [esi]
push 0x278
call fcn.100982ff
add esp, 4
test eax, eax
je 0x10007e1f
mov ecx, 0x9e
lea esi, [ebp - 0x288]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x10007e21
xor eax, eax
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x290]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10006a80
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x294], eax
test eax, eax
je 0x10007e94
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x10007e8d
push ecx
push eax
call fcn.1008143a
add esp, 8
test eax, eax
jne 0x10007e8d
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.1009833d
mov esp, ebp
pop ebp
ret
push 1
call fcn.10081858
push 6
mov dword [ebp - 0x290], 0
call fcn.10081858
int3
Function at 0x1000f6d0
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 0x1000f701
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1000f6f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1000fe20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8a85
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100cef80]
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.1000fdb0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000feb3
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 0x10010008
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100982ff
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 + 0x100b39a0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b39a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1000ffaa
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.10098460
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1000ff8c
cmp ebx, 0x200
jae 0x1000ff8a
shl ebx, 3
cmp ebx, ecx
jae 0x1000ff8c
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100105a0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000fdb0
mov edx, dword [eax]
jmp 0x1000ffad
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 0x1000ffd8
mov dword [ecx + eax*8], esi
jmp 0x1000ffe7
cmp edi, edx
jne 0x1000ffe1
mov dword [ecx + eax*8], esi
jmp 0x1000ffeb
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1000ffeb
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.1008105e
int3
Function at 0x100105a0
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 0x100106f9
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.100104b0
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 0x100106cc
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 0x10010651
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100106c2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1001068b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10010683
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 0x100106bf
cmp edi, edx
je 0x1001069c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100106d5
cmp edi, edx
jne 0x10010690
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 0x10010602
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 0x100106bf
push str.invalid_hash_bucket_count
call fcn.1008105e
int3
Function at 0x10012cc0
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 0x10012cde
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x10012d04
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10012cf0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10012990
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10012d24
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100134b0
Capabilities:
Encode data using xor
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
mov esi, 1
mov dword [ebp - 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x1001362b
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.100104b0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov edi, dword [ebx + 4]
mov edi, dword [edi]
cmp edi, dword [ebp - 4]
je 0x10013606
mov esi, edi
cmp dword [esi + 0x1c], 7
lea edx, [esi + 8]
mov edi, dword [edi]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], edx
jbe 0x1001352c
mov eax, dword [edx]
mov dword [ebp + 8], eax
lea eax, [ecx + ecx]
mov ebx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10013559
mov edx, dword [ebp + 8]
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x10013542
mov edi, dword [ebp - 0xc]
lea edx, [esi + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, ebx
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
cmp dword [eax], ecx
jne 0x1001357b
mov dword [eax], esi
mov dword [eax + 4], esi
jmp 0x100135fb
mov ebx, dword [eax + 4]
lea eax, [ebx + 8]
push eax
push edx
call fcn.10012330
add esp, 8
test al, al
je 0x100135b5
mov ebx, dword [ebx]
cmp ebx, esi
je 0x100135ad
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 0x100135fb
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x100135de
nop dword [eax]
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.10012330
add esp, 8
test al, al
jne 0x1001360f
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
jne 0x100135c0
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 0x10013513
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 0x100135fb
push str.invalid_hash_bucket_count
call fcn.1008105e
int3