joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002980
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400110c4]
mov rbx, rcx
test esi, esi
jle 0x140002ab0
mov rax, qword [0x1400110c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400029cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002a55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400029b0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140002ad2
mov rax, qword [0x1400110c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400110c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002ab7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140002a4e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140002a60
add dword [0x1400110c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400110c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400029d8
mov rax, qword [0x1400110c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003060
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140011120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140011100]
test rbx, rbx
je 0x1400030bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400030b3
test eax, eax
jne 0x1400030b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003098
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400032d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400032e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400032f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140003300
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000334d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140003344
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000334f
add rax, 0x28
cmp rax, r9
jne 0x140003330
xor eax, eax
ret

Function at 0x140003350
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400033e0
mov rdx, qword [0x14000df50]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400033ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400033ce
cmp word [rax + 0x18], 0x20b
jne 0x1400033ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400033e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400033b9
add rbx, 0x28
cmp rbx, rdi
je 0x1400033e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400033b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400033f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000df50]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003410
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003418
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003410
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000346d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003464
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003410
add rax, 0x28
cmp rax, r9
jne 0x140003450
xor eax, eax
ret

Function at 0x140003470
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000df50]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000348f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003498
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000348f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400034b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000df50]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400034d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400034d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400034d0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140003520
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140003517
test rcx, rcx
je 0x1400034d0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140003508
xor eax, eax
ret
Function at 0x140003530
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000df50]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000354f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003558
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140003570
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000df50]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003590
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003598
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003590
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140003590
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400035e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400035f0
add rdx, 0x28
cmp rdx, r9
jne 0x1400035d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140003600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000df50]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140003622
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140003630
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003622
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140003622
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140003622
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140003685
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140003698
add rdx, 0x28
cmp r10, rdx
jne 0x140003670
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400036a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400036b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000368e
test ecx, ecx
jg 0x1400036a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400061b0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r11, rdx
movzx eax, byte [rdx + 1]
mov r9, qword [r10 + 8]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r10 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rcx, qword [rdx + 8]
cmp rcx, r9
je 0x140006261
mov rax, qword [r11]
mov r8, qword [rdx]
cmp rax, qword [rcx + 0x10]
je 0x140006263
nop
cmp rcx, r8
je 0x140006261
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x140006250
jmp 0x140006263
xor ecx, ecx
test rcx, rcx
je 0x1400062be
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x140006289
cmp rax, rcx
jne 0x14000627f
mov qword [rdx], r9
mov qword [rdx + 8], r9
jmp 0x140006294
mov r9, qword [rcx + 8]
mov qword [rdx + 8], r9
jmp 0x140006294
cmp rax, rcx
jne 0x140006294
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
call fcn.1400d05bc
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140006390
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14000656b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140005190
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140006534
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400064ac
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140006523
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400064e9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400064e3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140006523
cmp r9, rdx
je 0x1400064ff
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140006545
cmp r9, rdx
jne 0x1400064f0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140006430
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140006523
lea rcx, str.invalid_hash_bucket_count
call fcn.1400cdc08
int3
Function at 0x140007b40
Capabilities:
Read .ini file

Disassembly:
cmp qword [r8 + 0x18], 7
jbe 0x140007b4a
mov r8, qword [r8]
cmp qword [rdx + 0x18], 7
jbe 0x140007b54
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe case.default.0x140007b64
mov rcx, qword [rcx]
mov r9, r8
xor r8d, r8d
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sahf
jmp 0x1289ceac3
shr edi, 1
clc
clc
ret
cld
add esp, edi
add esp, ecx
or esp, ecx
or dword [rbx + 0x13], esi
jae 0x140270289
call 0x1b241ea95
invalid
movabs byte [0x7e1d7e1d891d891e], al
sbb eax, 0x1fac1fac
jo 0x1402702b2
jo 0x1402702b4
invalid
cld
sbb esp, edi
sbb dword [rsi], esi
adc dh, byte [rsi]
adc bh, al
psubb mm1, qword [rdi]
mov edx, dword [rax]
mov edx, dword [rax]
invalid
retf
enter 0xffffffffffffc80d, 0xd
or eax, 0xd4c0d4c
pop rcx
or al, 0x58
or al, 0x1d
invalid
enter 0x4c0d, 0xd
or eax, 0xd4c0d4c
pop rcx
or al, 0x58
or al, 0x1d
invalid
invalid
invalid
dec byte [rsi]
mov dh, 0xf6
mov dh, 0xf6
pop rax
sbb al, 0x57
sbb al, 0x76
jbe 0x140271037
jbe 0x140271039
jo 0x14027103b
jo 0x14027103d
or ebx, dword [rbx]
or bl, byte [rbx]
invalid
or byte [rax], al
or dh, bl
add al, 0xde
add al, 0x27
add dword [rax], ebp
add dword [rbx - 0x3f034404], edi
clc
mov edi, 0xa2f6a1f8
test byte [rcx - 0x5e097e0a], 0xf6
movabs eax, dword [0x8cf38cf569f568f6]
mov dl, 0xf2
push 0xffffffff8cf569f5
invalid
imul esi, ebp, 0xf38cf38c
mov dl, 0xf2
mov cl, 0xf2
loopne 0x14027105a
loope 0x14027105c
invalid

Function at 0x140007b70
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x38
cmp qword [r9 + 0x18], 7
jbe 0x140007b7e
mov r9, qword [r9]
cmp qword [rdx + 0x18], 7
jbe 0x140007b88
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x140007b92
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r9
mov r9, r8
lea r8, [0x140117bdc]
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsp, 0x38
ret
Function at 0x140012790
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400127b4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140012842
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140012810
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140012810
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140103030
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001282d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140012835
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1400127d1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140012920
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140012859
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001285b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001288d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140103030
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14001291d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400128c8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400128fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400dfdd8
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14001291d
cmp rsi, rax
ja 0x1400128d1
test rsi, rsi
je 0x14001291d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400dfdd8
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x1400218f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rbp, rcx
movzx eax, byte [r8]
mov esi, eax
movabs rcx, 0xcbf29ce484222325
xor rsi, rcx
movabs rcx, 0x100000001b3
imul rsi, rcx
mov rcx, qword [rbp + 0x30]
and rcx, rsi
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rbx, qword [rdx + rcx*8 + 8]
lea r8, [rbp + 8]
mov r12, qword [r8]
cmp rbx, r12
jne 0x140021955
mov rbx, r12
mov r15, r12
jmp 0x140021997
mov rcx, qword [rdx + rcx*8]
cmp al, byte [rbx + 0x10]
je 0x14002196e
nop
cmp rbx, rcx
je 0x140021991
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x140021960
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r12, rbx
mov r15, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
je 0x140021ae2
mov qword [rsp + 0x20], r8
xor eax, eax
mov qword [rsp + 0x28], rax
mov ecx, 0x18
call fcn.1400d0340
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx eax, byte [r13]
mov byte [rdi + 0x10], al
xor r13d, r13d
mov word [rdi + 0x12], r13w
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400219ed
cvtsi2ss xmm0, rcx
jmp 0x140021a02
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140021a15
cvtsi2ss xmm1, rcx
jmp 0x140021a2a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x140021a86
mov rcx, rbp
call fcn.140021dc0
mov rcx, rsi
and rcx, qword [rbp + 0x30]
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x140021a79
mov rdx, qword [rdx + rcx*8]
movzx ecx, byte [rdi + 0x10]
cmp cl, byte [rax + 0x10]
je 0x140021a76
mov rbx, rax
cmp rax, rdx
je 0x140021ab7
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x140021a65
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r15, rbx
mov r12, qword [rsp + 0x20]
mov rcx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rcx
mov qword [rcx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [rbp + 0x18]
and rsi, qword [rbp + 0x30]
add rsi, rsi
mov rdx, qword [rax + rsi*8]
cmp rdx, qword [rbp + 8]
jne 0x140021abe
mov qword [rax + rsi*8], rdi
jmp 0x140021ad0
mov qword [rsp + 0x20], rax
jmp 0x140021a7e
cmp rdx, r15
jne 0x140021ac9
mov qword [rax + rsi*8], rdi
jmp 0x140021ad5
cmp qword [rax + rsi*8 + 8], rcx
jne 0x140021ad5
mov qword [rax + rsi*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140021976
lea rcx, str.unordered_map_set_too_long
call fcn.1400cdc08
int3
Function at 0x140021e70
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140021de5
cvtsi2ss xmm0, rdx
jmp 0x140021dfa
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400fe580
movss xmm1, dword [0x14014603c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140021e28
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140021e28
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140021e5a
cmp rbx, 0x200
jae 0x140021e57
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x140021e5a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140021e70
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140021fec
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140005190
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140021fb5
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140021f33
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140021fa4
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x140021f6c
mov r10, qword [rdx]
cmp r10, rax
je 0x140021f66
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140021fa4
cmp r8, rdx
je 0x140021f80
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140021fc6
cmp r8, rdx
jne 0x140021f71
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140021f01
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140021fa4
lea rcx, str.invalid_hash_bucket_count
call fcn.1400cdc08
int3
Function at 0x140040d50
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x58
mov rax, qword [0x140166100]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsxd r14, r9d
mov rsi, rcx
mov rcx, r8
mov qword [rsp + 0x28], rdx
mov r9, r8
shr rcx, 0x38
mov r10, r8
shr r9, 0x30
mov r11, r8
shr r10, 0x28
mov rdi, r8
shr r11, 0x20
mov rbp, r8
shr rdi, 0x18
mov rax, r8
shr rbp, 0x10
shr rax, 8
xor r12d, r12d
mov qword [rsp + 0x28], r8
mov rbx, rdx
test r8, r8
je 0x140040f35
test r14d, r14d
je 0x140040f35
cmp r14d, 0x64
ja 0x140040f35
test rsi, rsi
je 0x140040f35
movzx eax, al
mov qword [rsp + 0x50], r15
movabs r15, 0xcbf29ce484222325
movzx edx, r8b
xor rdx, r15
movabs r15, 0x100000001b3
imul rdx, r15
xor rdx, rax
movzx eax, bpl
imul rdx, r15
xor rdx, rax
movzx eax, dil
imul rdx, r15
xor rdx, rax
movzx eax, r11b
imul rdx, r15
xor rdx, rax
movzx eax, r10b
imul rdx, r15
xor rdx, rax
movzx eax, r9b
imul rdx, r15
xor rdx, rax
imul rdx, r15
xor rdx, rcx
mov rcx, qword [rsi + 0x38]
imul rdx, r15
mov r15, qword [rsp + 0x50]
and rcx, rdx
mov rdx, qword [rsi + 0x10]
shl rcx, 4
add rcx, qword [rsi + 0x20]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x140040e81
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x140040e84
nop
cmp rax, rcx
je 0x140040e81
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x140040e70
jmp 0x140040e84
mov rax, r12
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x140040e96
mov rdi, qword [rax + 0x18]
jmp 0x140040ed3
mov rdx, r8
mov rcx, rsi
call fcn.140003680
mov rdi, rax
test rax, rax
jne 0x140040eb9
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
jmp 0x140040f40
lea rcx, [rsi + 8]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140005780
mov rdx, qword [rax]
mov qword [rdx + 0x18], rdi
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call fcn.140003730
mov rbp, rax
test rax, rax
je 0x140040ea9
xorps xmm0, xmm0
mov qword [rsp + 0x40], r12
mov rdx, r14
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.1400062d0
mov rsi, qword [rsp + 0x30]
mov r8, r14
mov rcx, rsi
mov rdx, rbp
call fcn.140103030
mov rcx, rbp
lea rdi, [rsi + r14]
call fcn.1400d64b0
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
jmp 0x140040f40
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d0320
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret