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

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x180078140]
xor r15d, r15d
mov r14, rcx
mov dword [rdi + 0x2ef8], r15d
test rcx, rcx
je 0x180036b2b
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2f00]
mov dword [rdi + 0x2ef8], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
test r8d, r8d
jns 0x180036a68
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.180037bd0
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x180036a82
mov edx, 8
mov rcx, rbx
call fcn.180037bd0
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x2f10], r15d
jle 0x180036ac7
mov rsi, r15
mov r9, qword [rdi + 0x2f18]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rdi + 0x2f10]
jl 0x180036aa0
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x18006b850]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x2f08]
lea rdi, [0x180078027]
test rax, rax
cmovne rdi, rax
call fcn.180025dc0
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x180036b21
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x180041500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180041691
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180041570
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180040f30
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180040580
mov dword [rbx + 0x80], 0
jmp 0x18004167d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.18003f4e0
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18005ec80
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180077010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
cmp rdi, 0x40000000
jbe 0x18005eccd
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800783e0]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x60], r15
cmovbe r15, qword [rsp + 0x60]
sub r15, 0xfff
test rsi, rsi
je 0x18005ed0f
cmp rsi, r14
jb 0x18005ed07
cmp rsi, r15
jae 0x18005ed07
cmp qword [rsi + 8], 0
jne 0x18005eecd
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18005ecf2
mov qword [rsp + 0xb8], rbx
mov rbx, rdi
mov qword [rsp + 0xc0], rbp
cmp rdi, r14
jb 0x18005ed92
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18005ed89
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005ed89
cmp dword [rsp + 0x40], 0x10000
je 0x18005ee0b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18005ed89
sub rbx, rbp
cmp rbx, r14
jae 0x18005ed50
test rsi, rsi
jne 0x18005ee76
cmp rdi, r15
ja 0x18005eebd
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18005eebd
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005eebd
cmp dword [rsp + 0x40], 0x10000
je 0x18005ee44
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18005edc2
jmp 0x18005eebd
test rbx, rbx
je 0x18005ed89
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18005ee76
cmp rbx, r14
jae 0x18005ed30
jmp 0x18005ed92
test rdi, rdi
je 0x18005eebd
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18005ee76
cmp rdi, r15
jbe 0x18005eda0
jmp 0x18005eebd
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x18005ee90
mov rax, qword [0x1800783e0]
mov qword [rsi], rax
mov qword [0x1800783e0], rsi
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800605d0
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret
Function at 0x18005f8d0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180077010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18005f9fb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18005f9f2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18005f9d4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18005f9d4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18005f9d4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18005f992
mov rcx, qword [0x180078150]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18005f9f2
jmp 0x18005f9c7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18005f9c7
mov rcx, qword [0x180078150]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18005f9f2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18005f940
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18005fa53
cmp dword [rbx + 0xc], esi
jbe 0x18005fa53
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18005fa4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18005f720
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18005fa10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800605d0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18005fa80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180077010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800783d0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005faf3
mov eax, 0xa
jmp 0x18005fb82
test esi, esi
je 0x18005fb15
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18005fb38
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18005fb38
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18005fb31
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18005fb38
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800605d0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18005fbb0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800783dc]
mov ebx, edi
test ecx, ecx
je 0x18005fceb
mov rax, qword [0x1800783d0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18005fc08
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18005fbe0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18005fceb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18005f8d0
mov r8d, dword [0x1800783dc]
cmp ebx, r8d
jae 0x18005fc78
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800783d0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18005fc71
mov edx, esi
mov ecx, ebx
call fcn.18005fa80
mov edi, eax
test eax, eax
jne 0x18005fc78
mov r8d, dword [0x1800783dc]
inc ebx
cmp ebx, r8d
jb 0x18005fc40
cmp qword [rsp + 0x20], 0
je 0x18005fceb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18005fcd7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005fcc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18005fca0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180078150]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18005ffd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180078148], ebp
je 0x180060027
cmp rbx, 0x20
jae 0x180060010
xor ecx, ecx
jmp 0x180060012
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180078148], ebp
jne 0x180060006
cmp qword [0x180078150], r15
je 0x180060121
test rdi, rdi
jne 0x180060047
mov ecx, esi
call fcn.18005fbb0
mov ebp, eax
jmp 0x180060126
mov ecx, dword [0x1800783dc]
mov ebx, r15d
test ecx, ecx
je 0x18006006f
mov r8, qword [0x1800783d0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180060079
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180060060
mov ebp, 4
jmp 0x180060126
cmp ebx, 0xffffffff
je 0x18006006f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180060118
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18005f8d0
mov edx, esi
mov ecx, ebx
call fcn.18005fa80
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180060126
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180060102
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800600f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x1800600d0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180078150]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180060126
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180060126
mov ebp, 2
xchg dword [0x180078148], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x140001e10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [rcx + 0xc0]
test ecx, ecx
je 0x14000202d
movabs rsi, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
cmp byte [rdi + 0xd0], 0
jne 0x14000202d
mov rax, qword [rdi + 0xc8]
mov rbp, qword [rax]
add rax, 8
mov qword [rdi + 0xc8], rax
lea eax, [rcx - 1]
mov dword [rdi + 0xc0], eax
cmp byte [rbp], 0x2d
je 0x140001ea3
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
je 0x140001ea3
mov qword [rsp + 0x70], rbp
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000201f
mov qword [rsp + 0x20], 0
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
inc r8
cmp byte [r8 + rbp], 0
jne 0x140001ec5
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140001ad0
mov r13, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r15, qword [rsp + 0x20]
cmp r13, 0x10
mov rdx, rsi
mov rsi, qword [rsp + 0x30]
cmovae r8, r15
xor ecx, ecx
test rsi, rsi
je 0x140001f24
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, rsi
jb 0x140001f10
mov rcx, qword [rdi + 0x30]
mov rax, qword [rdi + 0x18]
and rcx, rdx
mov r12, qword [rdi + 8]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, r12
je 0x140001f90
mov r14, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140001f62
mov rdx, qword [rdx]
cmp r13, 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, r15
cmp rsi, rax
jne 0x140001f80
mov r8, rsi
call fcn.140118c20
test eax, eax
je 0x140001f8b
cmp rbx, r14
je 0x140001f90
mov rbx, qword [rbx + 8]
jmp 0x140001f50
test rbx, rbx
jne 0x140001f93
mov rbx, r12
cmp r13, 0x10
jb 0x140001fca
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140001fc2
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002097
mov rcx, r15
call fcn.140116d50
cmp rbx, qword [rdi + 8]
jne 0x140001ff5
cmp byte [rdi + 0xd1], 0
je 0x14000204d
mov rcx, qword [rdi + 0xb8]
mov qword [rsp + 0x70], rbp
test rcx, rcx
je 0x14000208b
lea rdx, [rsp + 0x70]
jmp 0x140002005
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140002091
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x10]
movabs rsi, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov ecx, dword [rdi + 0xc0]
test ecx, ecx
jne 0x140001e51
mov al, 1
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 2
call fcn.140121458
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Invalid_argument._n
call fcn.1400020d0
mov ecx, 2
call fcn.140121458
mov rcx, rax
call fcn.140121814
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x140002087
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x14000202f
call fcn.140113cf4
int3
call fcn.140113cf4
int3
call fcn.14011d39c
int3
Function at 0x140005a50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov r10, rdx
mov r11, qword [rdx + 0x10]
jb 0x140005a67
mov r10, qword [rdx]
xor ebx, ebx
movabs r9, 0xcbf29ce484222325
mov r8d, ebx
test r11, r11
je 0x140005aa9
mov qword [rsp + 0x40], rdi
movabs rdi, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x140005a90
mov rdi, qword [rsp + 0x40]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140005360
cmp qword [rax + 8], rbx
setne bl
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400068c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
test r8, r8
je 0x1400068f4
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc r9
xor rcx, rax
imul rcx, r10
cmp r9, r8
jb 0x1400068e0
mov rax, rcx
ret

Function at 0x140006900
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140006ae3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140001960
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140006aa8
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x140006a1c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140006a97
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x140006a59
mov r10, qword [rax]
cmp r10, rcx
je 0x140006a53
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140006a97
mov r8, rax
cmp r10, rax
je 0x140006a73
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x140006abd
cmp r10, rax
jne 0x140006a61
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400069a0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140006a97
lea rcx, str.invalid_hash_bucket_count
call fcn.140113d38
int3
Function at 0x14000add0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 0x10]
mov rdi, rdx
mov rbx, qword [rcx]
test eax, 0xdfffff28
je 0x14000adf7
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx + 0xfd1], 0
je 0x14000ae0d
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
bt eax, 0x1d
jae 0x14000ae1c
cmp dword [rbx + 0xc08], 0
je 0x14000adea
test al, 0x10
je 0x14000ae29
cmp dword [rbx + 0x48], 0x401000
jb 0x14000adea
add rdx, 0x18
mov qword [rsp + 0x30], rsi
mov rcx, rbx
call fcn.1400132d0
test al, al
je 0x14000ae4e
lea rdx, [rdi + 0x18]
mov rcx, rbx
call fcn.140012ef0
test al, al
jne 0x14000ae60
mov rsi, qword [rsp + 0x30]
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140010480
Function at 0x140012e30
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [rdx + 0x10]
mov rcx, qword [rcx]
test eax, 0xfffffffb
je 0x140012e40
xor al, al
ret
cmp byte [rcx + 0xfd1], 0
je 0x140012e4c
mov al, 1
ret
test al, 4
je 0x140012e59
cmp dword [rcx + 0xc28], 0
je 0x140012e3d
mov rdx, qword [rdx + 8]
jmp fcn.140010480

Function at 0x140012e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rdx + 0x10], 0
mov rbx, rdx
je 0x140012e97
xor al, al
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rdi
mov rdi, qword [rcx]
cmp byte [rdi + 0xfd1], 0
je 0x140012eb5
mov rdi, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rbx
ret
mov r8, qword [rdx + 0x18]
mov rcx, rdi
mov rdx, qword [rdx + 0x20]
call fcn.1400135a0
test al, al
jne 0x140012ed4
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 8]
mov rcx, rdi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.140010480