joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800615e0
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 [0x1801300c0]
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 [0x180231d80]
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 0x180061653
mov eax, 0xa
jmp 0x1800616e6
test esi, esi
je 0x180061675
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 0x180061698
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180061698
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180061691
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180061698
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]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800c0060
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180061710
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x180231d8c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180061757
mov rax, qword [0x180231d80]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180061764
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180061740
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180061757
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180061400
mov edi, eax
test eax, eax
jne 0x18006184f
mov r9d, dword [0x180231d8c]
cmp ebx, r9d
jae 0x1800617dc
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180231d80]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1800617d5
mov edx, esi
mov ecx, ebx
call fcn.1800615e0
mov edi, eax
test eax, eax
jne 0x1800617dc
mov r9d, dword [0x180231d8c]
inc ebx
cmp ebx, r9d
jb 0x1800617a0
cmp qword [rsp + 0x20], 0
je 0x18006184d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180061839
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006182a
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 0x180061800
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18022baa0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180061de0
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 [0x18022ba98], ebp
je 0x180061e37
cmp rbx, 0x20
jae 0x180061e20
xor ecx, ecx
jmp 0x180061e22
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18022ba98], ebp
jne 0x180061e16
cmp qword [0x18022baa0], r15
je 0x180061f33
test rdi, rdi
jne 0x180061e57
mov ecx, esi
call fcn.180061710
mov edi, eax
jmp 0x180061f38
mov ecx, dword [0x180231d8c]
mov ebx, r15d
test ecx, ecx
je 0x180061e7f
mov rdx, qword [0x180231d80]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x180061e89
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180061e70
mov edi, 4
jmp 0x180061f38
cmp ebx, 0xffffffff
je 0x180061e7f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180061f2a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180061400
mov edi, eax
test eax, eax
jne 0x180061f38
mov edx, esi
mov ecx, ebx
call fcn.1800615e0
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x180061f38
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180061f14
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180061f0a
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 0x180061ee0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18022baa0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180061f38
neg esi
sbb edi, edi
add edi, 6
jmp 0x180061f38
mov edi, 2
xchg dword [0x18022ba98], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x180064350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1801300c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], bl
jne 0x180064394
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.180008040
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
movabs rdi, 0xcbf29ce484222325
mov r9, rdi
mov rcx, rbx
movabs r13, 0x100000001b3
mov rsi, qword [rbp - 0x20]
test rsi, rsi
je 0x1800643f3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, rsi
jb 0x1800643e0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
lea rcx, [0x18022bbf0]
call fcn.180070e00
mov rcx, qword [rax + 8]
mov r14, qword [0x18022bbf8]
test rcx, rcx
cmovne r14, rcx
cmp r14, qword [0x18022bbf8]
jne 0x180064508
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r9, rdi
mov rcx, rbx
test rsi, rsi
je 0x180064453
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r13
inc rcx
cmp rcx, rsi
jb 0x180064440
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
lea rcx, [0x18022bc30]
call fcn.180070e00
mov rcx, qword [rax + 8]
mov r14, qword [0x18022bc38]
test rcx, rcx
cmovne r14, rcx
cmp r14, qword [0x18022bc38]
jne 0x180064508
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov r8d, 7
lea rdx, str.Example
lea rcx, [rbp - 0x60]
call fcn.180008040
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
test r8, r8
je 0x1800644d5
movzx eax, byte [rdx + rbx]
xor rdi, rax
imul rdi, r13
inc rbx
cmp rbx, r8
jb 0x1800644c2
mov r9, rdi
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
lea rcx, [0x18022bc30]
call fcn.180070e00
mov rcx, qword [rax + 8]
mov r14, qword [0x18022bc38]
test rcx, rcx
cmovne r14, rcx
lea rcx, [rbp - 0x60]
call fcn.180007150
nop
lea rcx, [rbp - 0x30]
call fcn.180007150
lea rax, [r14 + 0x30]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c0060
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
Function at 0x1800741b0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
lea rcx, [0x180227fb0]
call fcn.1800bf884
test eax, eax
jne 0x180074380
cmp dword [0x180227ffc], 0x7fffffff
je 0x18007436b
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rdi
call sub.KERNEL32.dll_GetCurrentThreadId
mov r8, qword [0x180227fa0]
movabs rdx, 0x100000001b3
mov r9, qword [0x180227f88]
xor ebx, ebx
movzx esi, al
mov edi, eax
movabs rax, 0xcbf29ce484222325
xor rsi, rax
mov eax, edi
imul rsi, rdx
shr eax, 8
movzx ecx, al
mov eax, edi
xor rsi, rcx
shr eax, 0x10
imul rsi, rdx
movzx ecx, al
mov eax, edi
xor rsi, rcx
shr rax, 0x18
mov rcx, qword [0x180227f78]
imul rsi, rdx
xor rsi, rax
imul rsi, rdx
mov rdx, r8
and rdx, rsi
add rdx, rdx
mov rax, qword [r9 + rdx*8 + 8]
cmp rax, rcx
je 0x180074280
mov rdx, qword [r9 + rdx*8]
cmp edi, dword [rax + 0x10]
je 0x180074283
nop word [rax + rax]
cmp rax, rdx
je 0x180074280
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x180074270
jmp 0x180074283
mov rax, rbx
test rax, rax
mov rdx, rcx
cmovne rdx, rax
cmp rdx, rcx
je 0x18007434c
mov rax, qword [rdx + 0x18]
test rax, rax
je 0x1800742bc
mov rcx, rax
call fcn.180074390
mov r8, qword [0x180227fa0]
mov r9, qword [0x180227f88]
mov rcx, qword [0x180227f78]
and rsi, r8
add rsi, rsi
mov r8, qword [r9 + rsi*8 + 8]
mov rax, r8
cmp r8, rcx
je 0x1800742f1
mov rdx, qword [r9 + rsi*8]
cmp edi, dword [r8 + 0x10]
je 0x1800742ee
nop dword [rax]
cmp rax, rdx
je 0x1800742f1
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x1800742e0
mov rbx, rax
test rbx, rbx
je 0x18007434c
mov rax, qword [r9 + rsi*8]
cmp r8, rbx
jne 0x18007431a
cmp rax, rbx
jne 0x18007430f
mov qword [r9 + rsi*8], rcx
mov qword [r9 + rsi*8 + 8], rcx
jmp 0x180074326
mov rcx, qword [rbx + 8]
mov qword [r9 + rsi*8 + 8], rcx
jmp 0x180074326
cmp rax, rbx
jne 0x180074326
mov rax, qword [rbx]
mov qword [r9 + rsi*8], rax
mov rdx, qword [rbx]
mov rcx, rbx
dec qword [0x180227f80]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
call fcn.1800c0080
lea rcx, [0x180227fb0]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp fcn.1800bf88c
mov ecx, 6
mov dword [0x180227ffc], 0x7ffffffe
call fcn.1800bf83c
int3
mov ecx, 5
call fcn.1800bf83c
int3
Function at 0x1800775e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180077621
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800775a0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180077621
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800776a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov esi, edx
mov rcx, qword gs:[0x58]
mov eax, dword [0x18022aa3c]
mov edx, 4
mov rax, qword [rcx + rax*8]
lea rbp, [0x18022e580]
mov eax, dword [rdx + rax]
cmp dword [0x18022e574], eax
jle 0x180077757
lea rcx, [0x18022e574]
call fcn.1800c0130
cmp dword [0x18022e574], 0xffffffff
jne 0x180077757
call fcn.1800bf9e0
mov dword [0x18022f904], 0xffffffff
mov dword [0x18022e584], eax
mov r8d, 1
nop dword [rax]
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbp + r8*4 + 4], eax
inc r8
cmp r8, 0x270
jb 0x180077720
mov dword [0x18022e580], 0x270
lea rcx, [0x18022e574]
call fcn.1800c00c4
btc esi, 0x1f
btc ebx, 0x1f
sub ebx, esi
mov rcx, rbp
cmp ebx, 0xffffffff
jne 0x180077772
call fcn.180077cb0
mov ecx, eax
jmp 0x1800777a9
inc ebx
call fcn.180077cb0
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1800777a5
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1800777a5
mov rcx, rbp
call fcn.180077cb0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x180077793
shr rcx, 0x20
lea eax, [rcx + rsi]
xor eax, 0x80000000
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800777d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
mov rax, qword [0x1801300c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
movaps xmm7, xmm2
movaps xmm6, xmm1
xor edx, edx
mov r8d, 0x64
call fcn.1800776a0
cmp eax, 0x64
jle 0x18007782c
addss xmm6, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mulsd xmm0, qword [0x1801142d0]
cvtpd2ps xmm0, xmm0
jmp 0x180077954
mov rcx, qword gs:[0x58]
mov eax, dword [0x18022aa3c]
mov edx, 4
mov rax, qword [rcx + rax*8]
lea rbx, [0x18022be50]
mov eax, dword [rdx + rax]
cmp dword [0x18022e578], eax
jle 0x1800778c7
lea rcx, [0x18022e578]
call fcn.1800c0130
cmp dword [0x18022e578], 0xffffffff
jne 0x1800778c7
call fcn.1800bf9e0
mov dword [0x18022d1d4], 0xffffffff
mov dword [0x18022be54], eax
mov r8d, 1
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbx + r8*4 + 4], eax
inc r8
cmp r8, 0x270
jb 0x180077890
mov dword [0x18022be50], 0x270
lea rcx, [0x18022e578]
call fcn.1800c00c4
movdqa xmm0, xmmword [0x180114c20]
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
xorps xmm8, xmm8
movsd qword [rsp + 0x38], xmm8
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180077ab0
minsd xmm0, qword [0x180114310]
movsd xmm1, qword [0x1801145c8]
comisd xmm0, xmm1
ja 0x18007790a
movaps xmm0, xmm1
subsd xmm0, xmm1
divsd xmm0, qword [0x180114330]
xorps xmm2, xmm2
maxsd xmm2, xmm0
movsd xmm0, qword [0x1801142e0]
comisd xmm2, xmm0
jb 0x180077936
xorps xmm1, xmm1
call fcn.1800d29fc
movaps xmm2, xmm0
subss xmm7, xmm6
xorps xmm1, xmm1
cvtss2sd xmm1, xmm7
mulsd xmm1, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c0060
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x80
pop rbx
ret
Function at 0x180077980
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmm7, xmm2
movaps xmm6, xmm1
xor edx, edx
mov r8d, 0x64
call fcn.1800776a0
cmp eax, 0x64
jle 0x1800779cf
addss xmm6, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mulsd xmm0, qword [0x1801142d0]
cvtpd2ps xmm0, xmm0
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret
mov rcx, qword gs:[0x58]
mov eax, dword [0x18022aa3c]
mov edx, 4
mov rax, qword [rcx + rax*8]
lea rbx, [0x18022d1e0]
mov eax, dword [rdx + rax]
cmp dword [0x18022e570], eax
jle 0x180077a67
lea rcx, [0x18022e570]
call fcn.1800c0130
cmp dword [0x18022e570], 0xffffffff
jne 0x180077a67
call fcn.1800bf9e0
mov dword [0x18022e564], 0xffffffff
mov dword [0x18022d1e4], eax
mov r8d, 1
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbx + r8*4 + 4], eax
inc r8
cmp r8, 0x270
jb 0x180077a30
mov dword [0x18022d1e0], 0x270
lea rcx, [0x18022e570]
call fcn.1800c00c4
mov rcx, rbx
call fcn.180077cb0
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
subss xmm0, xmm1
addss xmm0, xmm1
mulss xmm0, dword [0x180114160]
subss xmm7, xmm6
mulss xmm0, xmm7
addss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret
Function at 0x180077cb0
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 0x180077d11
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 0x180077cd0
mov ecx, dword [r9]
jmp 0x180077dfb
cmp ecx, 0x4e0
jb 0x180077dfb
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 0x180077d30
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 0x180077d80
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
Function at 0x18009e1d0
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x20
mov ebx, ecx
lea rcx, str.Friends
call fcn.180064350
mov rdx, qword [rax]
cmp byte [rdx + 0xc], 0
jne 0x18009e1f8
xor al, al
add rsp, 0x20
pop rbx
ret
lea rcx, [0x180227aa0]
call fcn.1800bf884
test eax, eax
jne 0x18009e2ca
cmp dword [0x180227aec], 0x7fffffff
je 0x18009e2b5
movabs rcx, 0x100000001b3
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [rsp + 0x31]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x32]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x33]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x18022bcf0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x18022bcd8]
mov rax, qword [rcx + 8]
cmp rax, qword [0x18022bcc8]
je 0x18009e298
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x18009e29a
cmp rax, rcx
je 0x18009e298
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x18009e288
jmp 0x18009e29a
xor eax, eax
test rax, rax
lea rcx, [0x180227aa0]
setne bl
call fcn.1800bf88c
movzx eax, bl
add rsp, 0x20
pop rbx
ret
mov ecx, 6
mov dword [0x180227aec], 0x7ffffffe
call fcn.1800bf83c
int3
mov ecx, 5
call fcn.1800bf83c
int3
Function at 0x18009e670
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18009e81e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18022bcc8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18022bcd8]
lea rdx, [rdi + rdi]
call fcn.180076250
mov rax, qword [0x18022bcc8]
lea r9, [rdi - 1]
mov qword [0x18022bcf0], r9
mov qword [0x18022bcf8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18009e813
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18022bcd8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18009e75f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18009e7d4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18009e79c
mov r10, qword [rdx]
cmp r10, rax
je 0x18009e796
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 0x18009e7d4
cmp r9, rdx
je 0x18009e7b0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18009e7e8
cmp r9, rdx
jne 0x18009e7a1
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 0x18009e80e
mov r9, qword [0x18022bcf0]
jmp 0x18009e710
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 0x18009e7d4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800bda48
int3
Function at 0x1800af8b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800afa6d
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18022bd08]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18022bd18]
lea rdx, [rdi + rdi]
call fcn.180076250
mov rax, qword [0x18022bd08]
lea r11, [rdi - 1]
mov qword [0x18022bd30], r11
mov qword [0x18022bd38], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800afa62
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
mov r10d, dword [rax + 0x10]
mov rcx, qword [rcx]
mov edx, r10d
shr edx, 8
movzx r9d, dl
movzx edx, r10b
xor rdx, rsi
imul rdx, rdi
xor r9, rdx
mov edx, r10d
imul r9, rdi
shr edx, 0x10
movzx r8d, dl
mov edx, r10d
xor r9, r8
shr rdx, 0x18
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18022bd18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1800af9b1
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800afa23
mov rdx, qword [r11 + 8]
cmp r10d, dword [rdx + 0x10]
jne 0x1800af9ea
mov r10, qword [rdx]
cmp r10, rax
je 0x1800af9e4
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 0x1800afa23
cmp r8, rdx
je 0x1800af9ff
nop
mov rdx, qword [rdx + 8]
cmp r10d, dword [rdx + 0x10]
je 0x1800afa37
cmp r8, rdx
jne 0x1800af9f0
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 0x1800afa5d
mov r11, qword [0x18022bd30]
jmp 0x1800af950
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 0x1800afa23
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800bda48
int3