joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013330
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011451
movzx eax, al
test eax, eax
jne 0x140013350
mov ecx, 7
call fcn.1400113bb
nop
mov byte [rsp + 0x20], 0
call fcn.1400113cf
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140013374
mov ecx, 7
call fcn.1400113bb
nop
jmp 0x1400133cc
cmp dword [0x14001f868], 0
jne 0x1400133c7
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111fe
test eax, eax
je 0x1400133a8
mov eax, 0xff
jmp 0x1400134d1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113c5
mov dword [0x14001f868], 2
jmp 0x1400133cc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113a2
call fcn.14001132a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013429
mov rcx, qword [rsp + 0x30]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x140013429
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.14001135c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001345d
mov rcx, qword [rsp + 0x38]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x14001345d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011406
nop
call fcn.140013580
mov dword [rsp + 0x28], eax
call fcn.1400112fd
movzx eax, al
test eax, eax
jne 0x14001347c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001348b
call fcn.140011410
nop
xor edx, edx
mov cl, 1
call fcn.140011195
mov eax, dword [rsp + 0x28]
jmp 0x1400134d1
add rsp, 0x68
ret
Function at 0x1405cc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405cc1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405cc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405cc06f
add dl, dl
jne 0x1405cc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405cc0f6
xor eax, eax
add dl, dl
jne 0x1405cc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405cc1ad
add dl, dl
jne 0x1405cc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405cc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405cc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405cc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405cc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405cc07e
mov eax, 1
add dl, dl
jne 0x1405cc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405cc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405cc0fb
sub eax, ebx
mov ebx, 1
jne 0x1405cc14c
mov ecx, 1
add dl, dl
jne 0x1405cc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405cc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405cc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405cc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405cc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405cc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405cc15d
cmp eax, 0x7d00
jae 0x1405cc19b
cmp eax, 0x500
jb 0x1405cc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405cc07e
cmp eax, 0x7f
ja 0x1405cc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405cc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405cc1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405cc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rcx, str.VirtualAlloc
mov ebx, edi
mov al, 0x56
ror ebx, 7
lea rcx, [rcx + 1]
movsx eax, al
add ebx, eax
movzx eax, byte [rcx]
test al, al
jne 0x140001021
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.user32.dll
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rsi + 0x3c]
mov r8d, edi
mov edx, dword [rcx + rsi + 0x88]
mov r9d, dword [rdx + rsi + 0x20]
mov r11d, dword [rdx + rsi + 0x24]
add r9, rsi
mov ebp, dword [rdx + rsi + 0x1c]
add r11, rsi
mov r10d, dword [rdx + rsi + 0x18]
add rbp, rsi
test r10d, r10d
je 0x1400010c4
mov edx, dword [r9]
mov eax, edi
add rdx, rsi
movzx ecx, byte [rdx]
test cl, cl
je 0x1400010a3
nop
ror eax, 7
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001090
cmp eax, ebx
je 0x1400010b5
inc r8d
add r9, 4
cmp r8d, r10d
jb 0x140001080
jmp 0x1400010c4
mov eax, r8d
movzx ecx, word [r11 + rax*2]
mov edi, dword [rbp + rcx*4]
add rdi, rsi
mov edx, 0x10
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call rdi
movups xmm0, xmmword [0x140003078]
movups xmmword [rax], xmm0
call rax
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400019d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a22
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a24
xor al, al
add rsp, 0x28
ret
Function at 0x140017724
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1400211b8], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1400211c8]
jne 0x140017771
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1400211f0], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1400211b8], 1
mov ecx, dword [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140017846
mov rcx, qword [0x1400204cc]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140017871
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400211c0]
test rax, rax
je 0x1400177c1
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1400211c0], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14001788c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1400211f0]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1400204cc]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140017871
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], 0x2000
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, section..data
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
sub rcx, 1
mov qword [rsp + 0x28], rcx
test rax, rax
je 0x401086
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
jmp 0x401041
call qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1422fe058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1422fe1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1422fe089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1422fe06f
add dl, dl
jne 0x1422fe096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1422fe0f6
xor eax, eax
add dl, dl
jne 0x1422fe0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1422fe1ad
add dl, dl
jne 0x1422fe0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422fe0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422fe0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422fe0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1422fe0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1422fe07e
mov eax, 1
add dl, dl
jne 0x1422fe106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1422fe113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1422fe0fb
sub eax, ebx
mov ebx, 1
jne 0x1422fe14c
mov ecx, 1
add dl, dl
jne 0x1422fe12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1422fe13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1422fe123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1422fe07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1422fe168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1422fe175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1422fe15d
cmp eax, 0x7d00
jae 0x1422fe19b
cmp eax, 0x500
jb 0x1422fe196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1422fe07e
cmp eax, 0x7f
ja 0x1422fe19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1422fe07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1422fe1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1422fe07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18003ccd0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18003cd0a
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
mov qword [0x18071fa30], rbx
mov qword [rsp + 0x28], rax
lea r8, [0x180119630]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18003d1d0
Capabilities:
Hash data using fnv

Disassembly:
cmp rdx, r8
je 0x18003d3ab
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rdi, rdx
movabs r12, 0x666666666666666
lea r13, [0x180718418]
xor r15d, r15d
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx ecx, byte [rdi]
mov ebp, ecx
xor rbp, rax
imul rbp, rdx
mov rdx, qword [0x180718440]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180718428]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x180718418]
cmp rax, rbx
je 0x18003d277
mov rdx, qword [r8 + rdx*8]
cmp cl, byte [rax + 0x10]
je 0x18003d37f
cmp rax, rdx
je 0x18003d274
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x18003d261
jmp 0x18003d37f
mov rbx, rax
cmp qword [0x180718420], r12
je 0x18003d3b3
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r15
mov ecx, 0x28
call fcn.18027f030
mov rsi, rax
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [rdi + 0x10]
mov dword [rax + 0x20], ecx
mov rcx, qword [0x180718420]
add rcx, 1
xorps xmm1, xmm1
js 0x18003d2c4
cvtsi2ss xmm1, rcx
jmp 0x18003d2d9
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180718448]
xorps xmm0, xmm0
test rcx, rcx
js 0x18003d2ef
cvtsi2ss xmm0, rcx
jmp 0x18003d304
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180718410]
comiss xmm0, xmm1
jae 0x18003d36b
call fcn.18003dbe0
mov rdx, qword [0x180718440]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180718428]
mov rcx, qword [r8 + rdx*8 + 8]
mov rax, qword [0x180718418]
cmp rcx, rax
je 0x18003d361
mov rdx, qword [r8 + rdx*8]
movzx eax, byte [rsi + 0x10]
cmp al, byte [rcx + 0x10]
je 0x18003d35e
nop dword [rax]
cmp rcx, rdx
je 0x18003d3ac
mov rcx, qword [rcx + 8]
cmp al, byte [rcx + 0x10]
jne 0x18003d350
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x38], r15
mov r9, rsi
mov r8, rbx
mov rdx, rbp
call fcn.18003dcb0
nop
add rdi, 0x14
cmp rdi, r14
jne 0x18003d20f
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 0x20], rcx
jmp 0x18003d366
lea rcx, str.unordered_map_set_too_long
call fcn.18025cbc4
int3
Function at 0x18003dbe0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x180718420]
xorps xmm1, xmm1
add rcx, 1
mov rdx, qword [0x180718448]
js 0x18003dbfe
cvtsi2ss xmm1, rcx
jmp 0x18003dc13
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x180718410]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x18003dc48
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x18003dc48
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, 1
xor eax, 1
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x180339708]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x18003dc6d
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x18003dc6d
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18003dc9f
cmp rdx, 0x200
jae 0x18003dc9c
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18003dc9f
mov rdx, rcx
jmp 0x18003dd30
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18003debd
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180718418]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180718428]
lea rdx, [rdi + rdi]
call fcn.18003d020
mov rax, qword [0x180718418]
lea rdx, [rdi - 1]
mov qword [0x180718440], rdx
mov qword [0x180718448], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003deb2
mov qword [rsp + 0x38], rsi
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
nop word [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rsi
and r11, rdx
shl r11, 4
add r11, qword [0x180718428]
mov r8, qword [r11]
cmp r8, rbx
jne 0x18003de01
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003de73
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18003de3a
mov r10, qword [rdx]
cmp r10, rax
je 0x18003de34
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 0x18003de73
cmp r8, rdx
je 0x18003de4f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x18003de87
cmp r8, rdx
jne 0x18003de40
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
je 0x18003dead
mov rdx, qword [0x180718440]
jmp 0x18003ddd0
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 0x18003de73
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18025cbc4
int3
Function at 0x18003dd30
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x180718420]
xorps xmm1, xmm1
add rcx, 1
mov rdx, qword [0x180718448]
js 0x18003dbfe
cvtsi2ss xmm1, rcx
jmp 0x18003dc13
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x180718410]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x18003dc48
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x18003dc48
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, 1
xor eax, 1
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x180339708]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x18003dc6d
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x18003dc6d
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18003dc9f
cmp rdx, 0x200
jae 0x18003dc9c
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18003dc9f
mov rdx, rcx
jmp 0x18003dd30
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18003debd
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180718418]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180718428]
lea rdx, [rdi + rdi]
call fcn.18003d020
mov rax, qword [0x180718418]
lea rdx, [rdi - 1]
mov qword [0x180718440], rdx
mov qword [0x180718448], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003deb2
mov qword [rsp + 0x38], rsi
movabs rdi, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
nop word [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rsi
and r11, rdx
shl r11, 4
add r11, qword [0x180718428]
mov r8, qword [r11]
cmp r8, rbx
jne 0x18003de01
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003de73
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18003de3a
mov r10, qword [rdx]
cmp r10, rax
je 0x18003de34
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 0x18003de73
cmp r8, rdx
je 0x18003de4f
nop
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x18003de87
cmp r8, rdx
jne 0x18003de40
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
je 0x18003dead
mov rdx, qword [0x180718440]
jmp 0x18003ddd0
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 0x18003de73
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18025cbc4
int3
Function at 0x1800661f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x180066214
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x1800662a2
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180066270
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180066270
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1802bfb00
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18006628d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180066295
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x180066231
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x180066380
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1800662b9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800662bb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800662ed
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1802bfb00
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 0x18006637d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180066328
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 0x18006635e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.180295c78
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18006637d
cmp rsi, rax
ja 0x180066331
test rsi, rsi
je 0x18006637d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180295c78
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x18008b8a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18008b901
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18008b8c0
mov ecx, dword [r9]
jmp 0x18008b9eb
cmp ecx, 0x4e0
jb 0x18008b9eb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18008b920
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18008b970
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret