joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030040
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14007a040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x14007d1e8]
mov rbx, rax
test rax, rax
jne 0x1400301cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140028100
nop
lea r8, [0x14007d610]
cmp qword [0x14007d628], 7
cmova r8, qword [0x14007d610]
mov r9, qword [0x14007d620]
mov rcx, rax
call fcn.1400061c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x14007d3f0]
cmp qword [0x14007d408], 7
cmova r8, qword [0x14007d3f0]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140030175
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030170
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030216
call fcn.1400328a0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x1400301c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400301c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030210
call fcn.1400328a0
xor al, al
jmp 0x1400301ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140032880
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140039974
nop
call fcn.140039974
nop
int3
Function at 0x14003367c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400336c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400336c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400336c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400336c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400336c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400336c8
xor al, al
add rsp, 0x28
ret

Function at 0x14003f358
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14007a040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14005f2e8]
mov rbp, rcx
call fcn.14004c9d0
xor edi, edi
test rax, rax
je 0x14003f43e
mov ebx, edi
call fcn.14003fdcc
mov r14d, dword [rax]
call fcn.14003fdcc
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14004c91c
mov rsi, rax
test rax, rax
je 0x14003f3cf
call fcn.14003fdcc
mov dword [rax], r14d
jmp 0x14003f3f9
call fcn.14003fdcc
cmp dword [rax], 0x22
jne 0x14003f436
call fcn.14003fdcc
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14004c91c
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14003f436
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14003f3fd
cmp rax, 3
je 0x14003f418
mov rcx, rsi
call fcn.14003f2b4
test al, al
je 0x14003f429
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14003f429
mov dil, 1
mov rcx, rbx
call fcn.14003dd8c
mov al, dil
jmp 0x14003f440
mov rcx, rbx
call fcn.14003dd8c
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140032880
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14003f778
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003f5e3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f5e3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f5e3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f5e3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f5e3
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f5e3
cmp dword [rcx + 0xf8], 0
je 0x14003f5e3
mov ecx, ebx
call fcn.14003f694
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003f470
nop
cmp dword [rbp + 0x20], 0
je 0x14003f631
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003f63c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003f574
Function at 0x14003fc10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14003fc47
call fcn.14003fdcc
mov dword [rax], SafeArrayUnaccessData
call fcn.140039954
xor eax, eax
jmp 0x14003fcd5
mov rdx, r9
mov rcx, r8
call fcn.14003fbac
mov rbx, rax
test rax, rax
je 0x14003fcd2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14003fad8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003fcbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003fd40
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003fca6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003fcb5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140048f08
jmp 0x14003fcd2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003fccf
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140050260
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400502e7
mov rsi, rbx
cmp word [rax], bp
je 0x1400502a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140050290
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005028c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140048f44
mov rdi, rax
test rax, rax
je 0x1400502d4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140057970
mov rbp, rdi
xor ecx, ecx
call fcn.140048f08
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140052e78
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140048ba8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140052f19
cmp ebx, dword [rsp + 0x30]
je 0x140052f12
test esi, esi
je 0x140052f12
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140052eed
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140052efa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140052ed7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140052efe
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140052f1b
mov eax, 1
jmp 0x140052f1b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140054d60
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14007a040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140054daa
call fcn.14003fdac
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayDestroy
call fcn.14003fdcc
mov dword [rax], SafeArrayDestroy
call fcn.140039954
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140032880
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140054db5
lea eax, [rbx + 1]
jmp 0x140054d97
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140054d95
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140054d97

Function at 0x1400571e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140057208
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140057208
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800038ac
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18011c100]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov dword [rbx], eax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 4], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18005bda0
add rsp, 0x60
pop rbx
ret
Function at 0x180003924
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x18011c100]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r13, rdx
mov r15, rcx
mov r14b, 1
xor edi, edi
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov esi, eax
test rbx, rbx
je 0x1800039a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x180003a63
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov esi, eax
test eax, eax
je 0x180003963
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x180003963
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180003963
test eax, eax
je 0x1800039ee
test r14b, r14b
jne 0x1800039ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003963
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.180086780
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180003963
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x180003a4e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
mov dword [rsp + 0x48], esi
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
inc edi
jmp 0x180003963
xor r14b, r14b
test edi, edi
jne 0x18000395f
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180003a7d
mov rax, qword [rcx]
call qword [rax + 0x10]
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test rbx, rbx
je 0x180003abf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180003aec
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180003a7f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180003a7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003a7f
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.18005bda0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x18000c9fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18011c100]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ebx, r8d
lea r9, [rsp + 0x20]
mov rdi, rdx
mov r8d, 0x40
mov edx, ebx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call fcn.180086040
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18005bda0
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x18000f86c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
xor r10d, r10d
movzx r14d, cx
mov edi, r14d
mov r15, r9
shr edi, 8
mov rbp, r8
mov r12, rdx
mov esi, r14d
mov ebx, r10d
mov r11d, r10d
test r8, r8
je 0x18000f8f3
movzx eax, word [r12 + r11*2]
mov edx, eax
movzx ecx, al
shr edx, 8
add edx, ebx
cmp edi, ecx
jb 0x18000f8f3
jne 0x18000f8e9
movsxd rcx, ebx
movsxd r9, edx
cmp rcx, r9
jge 0x18000f8e9
mov eax, 0xff
movzx r8d, r14w
and r8w, ax
movzx eax, byte [rcx + r15]
cmp ax, r8w
je 0x18000f91c
inc rcx
cmp rcx, r9
jl 0x18000f8d6
inc r11
mov ebx, edx
cmp r11, rbp
jb 0x18000f8a9
mov cl, 1
cmp qword [rsp + 0x48], r10
jbe 0x18000f933
mov r8, qword [rsp + 0x40]
movzx eax, byte [r10 + r8]
test al, al
jns 0x18000f920
inc r10
and eax, 0x7f
shl eax, 8
movzx edx, byte [r10 + r8]
or edx, eax
jmp 0x18000f922
xor al, al
jmp 0x18000f935
mov edx, eax
sub esi, edx
js 0x18000f933
xor cl, 1
inc r10
cmp r10, qword [rsp + 0x48]
jb 0x18000f901
mov al, cl
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret

Function at 0x1800185ec
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x180018641
and qword [rsp + 0x28], 0
lea r8, [0x1800184cc]
xor r9d, r9d
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x180018641
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180018a18
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180018a38
xor eax, eax
jmp 0x180018b1e
cmp qword [rcx + 0x68], 0
je 0x180018a49
call fcn.18001b090
jmp 0x180018b1e
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180018a60
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180018a62
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180018a94
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180086040
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180018b18
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180018acb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x180018af4
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18006bca8
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x180018b18
cmp rdi, rbx
ja 0x180018ad2
test rdi, rdi
je 0x180018b18
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.18006bca8
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180020efc
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], r8
mov rsi, rdx
mov rbp, rcx
movzx eax, byte [r8]
mov r13d, eax
movabs rcx, 0xcbf29ce484222325
xor r13, rcx
movabs rcx, 0x100000001b3
imul r13, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r13
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 0x180020f5f
mov rbx, r12
mov r14, r12
jmp 0x180020f92
mov rdx, qword [rdx + rcx*8]
jmp 0x180020f6e
cmp rbx, rdx
je 0x180020f8c
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x180020f65
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r12, rbx
mov r14, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x10], rax
je 0x1800210d9
mov qword [rsp + 0x30], r8
and qword [rsp + 0x38], 0
mov ecx, 0x20
call fcn.18005bee0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov al, byte [rax]
mov byte [rdi + 0x10], al
and qword [rdi + 0x18], 0
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180020fe6
cvtsi2ss xmm0, rcx
jmp 0x180020ffb
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 0x18002100e
cvtsi2ss xmm1, rcx
jmp 0x180021023
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 0x18002107b
mov rcx, rbp
call fcn.180025d14
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18002106e
mov r8, qword [rdx + rcx*8]
mov cl, byte [rdi + 0x10]
jmp 0x180021066
mov rbx, rax
cmp rax, r8
je 0x1800210af
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x18002105a
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x1800210b6
mov qword [rcx + rax*8], rdi
jmp 0x1800210c8
mov qword [rsp + 0x20], rax
jmp 0x180021073
cmp r8, r14
jne 0x1800210c1
mov qword [rcx + rax*8], rdi
jmp 0x1800210cd
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1800210cd
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x180020f7a
lea rcx, str.unordered_map_set_too_long
call fcn.180037ec4
int3
Function at 0x180025d14
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdx, qword [rcx + 0x10]
mov edi, 1
add rdx, rdi
mov rbx, qword [rcx + 0x38]
mov rsi, rcx
xorps xmm0, xmm0
js 0x180025d48
cvtsi2ss xmm0, rdx
jmp 0x180025d5d
mov rax, rdx
and rdx, rdi
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.180085820
movss xmm1, dword [0x18010b5c4]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180025d8b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180025d8b
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 0x180025db9
cmp rbx, 0x200
jae 0x180025db6
shl rbx, 3
cmp rbx, rcx
jae 0x180025db9
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rdi
shl rax, cl
cmp rbx, rax
ja 0x180025f21
lea rax, [rbx - 1]
mov rbx, qword [rsi + 8]
or rax, rdi
mov r8, rbx
bsr rcx, rax
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001c2ec
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 0x180025ed5
movzx r8d, byte [rax + 0x10]
movabs r9, 0xcbf29ce484222325
mov r11, qword [rsi + 0x30]
mov edx, r8d
mov rdi, qword [rsi + 0x18]
xor rdx, r9
mov rcx, qword [rcx]
movabs r9, 0x100000001b3
imul rdx, r9
and r11, rdx
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180025e5e
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180025ec9
mov r10, qword [rdi + r11*8 + 8]
cmp r8b, byte [r10 + 0x10]
jne 0x180025e9e
mov r10, qword [r10]
cmp r10, rax
je 0x180025e57
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 0x180025e57
mov r10, qword [r10 + 8]
cmp r8b, byte [r10 + 0x10]
je 0x180025efb
cmp qword [rdi + r11*8], r10
jne 0x180025e94
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180025e19
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.180027098
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov r10, qword [r10]
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 0x180025ec9
lea rcx, str.invalid_hash_bucket_count
call fcn.180037ec4
int3