joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800dbf80
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 [0x18025a084]
mov ebx, edi
test ecx, ecx
je 0x1800dc0bd
mov rax, qword [0x18025a078]
add rax, 0x21
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800dbfd8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800dbfb0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800dc0bd
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800dc340
mov r8d, dword [0x18025a084]
cmp ebx, r8d
jae 0x1800dc04b
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18025a078]
movzx edx, byte [rcx + rax + 0x21]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800dc044
xor r8d, r8d
mov edx, esi
mov ecx, ebx
call fcn.1800dc1f0
mov edi, eax
test eax, eax
jne 0x1800dc04b
mov r8d, dword [0x18025a084]
inc ebx
cmp ebx, r8d
jb 0x1800dc010
cmp qword [rsp + 0x20], 0
je 0x1800dc0bd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800dc0a9
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop word [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 0x1800dc09a
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 0x1800dc070
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18025a070]
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 0x1800dc1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov eax, ecx
mov esi, edx
imul rdi, rax, 0x38
mov edx, 5
movzx ebp, r8b
add rdi, qword [0x18025a078]
mov dword [rsp + 0x50], edx
test byte [rdi + 0x21], 1
mov rbx, qword [rdi]
je 0x1800dc22e
mov edx, 7
add rbx, 0xfffffffffffffffb
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], rbx
test bpl, bpl
je 0x1800dc268
lea rax, [rsp + 0x60]
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call fcn.180197e20
jmp 0x1800dc27c
lea r9, [rsp + 0x60]
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
je 0x1800dc29e
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, ebx
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x21], 1
je 0x1800dc2c1
mov rax, qword [rdi]
mov word [rax], 0xf9eb
jmp 0x1800dc2c1
mov eax, dword [rdi + 0x18]
test byte [rdi + 0x21], 1
mov dword [rbx], eax
je 0x1800dc2ba
movzx eax, word [rdi + 0x1c]
mov word [rbx + 4], ax
movzx eax, byte [rdi + 0x1e]
mov byte [rbx + 6], al
jmp 0x1800dc2c1
movzx eax, byte [rdi + 0x1c]
mov byte [rbx + 4], al
test bpl, bpl
je 0x1800dc2ed
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call fcn.180197e20
jmp 0x1800dc304
mov edx, dword [rsp + 0x50]
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x58]
movzx ecx, sil
add cl, cl
shl sil, 2
xor cl, byte [rdi + 0x21]
and cl, 2
xor cl, byte [rdi + 0x21]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rdi + 0x21], sil
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800dc340
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 [0x180257a00]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800dc46a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1800dc461
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800dc444
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800dc444
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800dc444
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800dc402
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x18025a070]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800dc461
jmp 0x1800dc437
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800dc437
mov rcx, qword [0x18025a070]
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 0x1800dc461
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1800dc3b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800dc4c5
cmp dword [rbx + 0xc], esi
jbe 0x1800dc4c5
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800dc4be
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800dc900
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800dc480
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180197f20
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 0x1800dcab0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1800dcb21
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1800dcb0a
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov ecx, 0x5a
mov r8d, dword [r8 + rbx*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800dcafe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800dcad0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18025a070]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e2650
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 0x1800e282f
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.1800e24e0
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 0x1800e27f4
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 r9, qword [r11]
cmp r9, rbx
jne 0x1800e276c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1800e27e3
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x1800e27a9
mov r8, qword [rax]
cmp r8, rcx
je 0x1800e27a3
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 + 8], rcx
jmp 0x1800e27e3
cmp r9, rax
je 0x1800e27bf
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x1800e2809
cmp r9, rax
jne 0x1800e27b0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1800e26f0
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 0x1800e27e3
lea rcx, str.invalid_hash_bucket_count
call fcn.180199514
int3
Function at 0x18012f690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18012f6c1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18012f73b
mov rdi, r14
mov rcx, rbx
call fcn.180125cb0
test rax, rax
jle 0x18012f713
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1801cbb10
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18012f72b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18012f733
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18012f6d5
sub r14, rdi
jmp 0x18012f81f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18012f752
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18012f754
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18012f786
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1801cbb10
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18012f81c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18012f7c1
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 rbp, 0xfff
jbe 0x18012f7fd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1801a243c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18012f81c
cmp rbp, rax
ja 0x18012f7d0
test rbp, rbp
je 0x18012f81c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1801a243c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1801356e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov edx, dword [rcx]
mov r10d, 0x270
mov r9, rcx
xorps xmm1, xmm1
cmp edx, r10d
jne 0x180135741
lea r8, [rcx + 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 0x180135700
mov edx, dword [r9]
jmp 0x18013582b
cmp edx, 0x4e0
jb 0x18013582b
lea r10, [rcx + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
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 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180135760
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 0x1801357b0
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
xor edx, edx
mov dword [r9 + 0x9c0], ecx
mov dword [r9], edx
mov eax, edx
xorps xmm0, xmm0
mov ecx, dword [r9 + rax*4 + 4]
lea eax, [rdx + 1]
mov dword [r9], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [r9 + 0x1384]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2ss xmm0, rax
subss xmm0, xmm1
addss xmm0, xmm1
mulss xmm0, dword [0x1801d6738]
add rsp, 8
ret
Function at 0x18013a280
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 0x18013a431
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.1800e24e0
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 0x18013a3f6
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
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18013a370
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18013a3e5
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x18013a3ad
mov r8, qword [rax]
cmp r8, rcx
je 0x18013a3a7
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 + 8], rcx
jmp 0x18013a3e5
cmp r9, rax
je 0x18013a3c1
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x18013a40b
cmp r9, rax
jne 0x18013a3b2
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x18013a320
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 0x18013a3e5
lea rcx, str.invalid_hash_bucket_count
call fcn.180199514
int3

Function at 0x18013a500
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
xor r9d, r9d
mov r10, rcx
test al, al
je 0x18013a545
nop dword [rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x18013a510
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
ret
Function at 0x18013b120
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x18013b181
lea r8, [r9 + 8]
nop dword [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 0x18013b140
mov ecx, dword [r9]
jmp 0x18013b26b
cmp ecx, 0x4e0
jb 0x18013b26b
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]
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 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18013b1a0
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 0x18013b1f0
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 0x180140ab0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push r12
push r13
push r15
sub rsp, 0xb0
sub rdx, rcx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
mov r15, rcx
mov r13, rdx
sar r13, 2
mov rax, r13
shr rax, 0x3f
add r13, rax
mov r12, r13
mov qword [rsp + 0xd8], r13
sar r12, 1
test r12, r12
jle 0x180140d53
mov qword [r11 + 0x18], rbx
lea r8, [r13 - 1]
mov qword [r11 - 0x20], rbp
lea rax, [r12 + r12*2]
mov qword [r11 - 0x28], rsi
lea rax, [r15 + rax*8]
mov qword [r11 - 0x30], rdi
mov rcx, r8
mov qword [r11 - 0x38], r14
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x1801d1ed0]
sar rcx, 1
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [r11 - 0x68], xmm8
mov qword [rsp + 0x30], r8
mov qword [rsp + 0xd0], rcx
nop word [rax + rax]
movups xmm7, xmmword [rax - 0x18]
sub rax, 0x18
dec r12
mov qword [rsp + 0x38], rax
mov rbp, r12
mov rdx, r12
movsd xmm8, qword [rax + 0x10]
cmp r12, rcx
jge 0x180140c28
mov r13, qword [rsp + 0xd0]
nop dword [rax]
lea rsi, [rdx + rdx]
movss dword [rsp + 0x20], xmm6
lea rax, [rsi + 2]
xor r9d, r9d
lea rax, [rax + rax*2]
xor r8d, r8d
mov rdx, qword [r15 + rax*8]
lea r14, [r15 + rax*8]
lea rcx, [rsp + 0x40]
call fcn.180094400
mov rdx, qword [r14 - 0x18]
lea rdi, [r14 - 0x18]
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.180094400
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
lea rax, [rbp*2]
seta cl
movzx edx, cl
xor rdx, 1
inc rdx
add rdx, rsi
test cl, cl
cmove rdi, r14
add rax, rbp
mov rbp, rdx
movups xmm0, xmmword [rdi]
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp rdx, r13
jl 0x180140b80
mov r13, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x30]
cmp rbp, rcx
jne 0x180140c65
test r13b, 1
jne 0x180140c65
lea rax, [rbp*2]
lea rcx, [r13*2]
add rcx, r13
add rax, rbp
mov rbp, r8
movups xmm0, xmmword [r15 + rcx*8 - 0x18]
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rcx*8 - 8]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r12, rbp
jge 0x180140ce7
nop
lea rdi, [rbp - 1]
movss dword [rsp + 0x20], xmm6
sar rdi, 1
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
lea rsi, [rdi + rdi*2]
mov rdx, qword [r15 + rsi*8]
call fcn.180094400
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x58]
movq rdx, xmm7
mov rbx, rax
call fcn.180094400
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
jbe 0x180140ce7
movups xmm0, xmmword [r15 + rsi*8]
lea rax, [rbp*2]
add rax, rbp
mov rbp, rdi
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rsi*8 + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r12, rdi
jl 0x180140c70
mov rcx, qword [rsp + 0xd0]
lea rax, [rbp*2]
add rax, rbp
lea r8, [r13 - 1]
movups xmmword [r15 + rax*8], xmm7
movsd qword [r15 + rax*8 + 0x10], xmm8
mov rax, qword [rsp + 0x38]
test r12, r12
jg 0x180140b50
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r13
pop r12
ret
Function at 0x180141430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
movaps xmmword [rsp + 0x40], xmm6
mov rax, r8
movss xmm6, dword [0x1801d1ed0]
dec r8
mov qword [rsp + 0x58], r12
mov r14, r9
mov r12, r8
mov qword [rsp + 0xa0], r8
sar r12, 1
mov rbp, rdx
mov r15, rcx
mov r13, rdx
cmp rdx, r12
jge 0x18014153e
nop dword [rax]
nop word [rax + rax]
lea rsi, [rdx + rdx]
movss dword [rsp + 0x20], xmm6
lea rax, [rsi + 2]
xor r9d, r9d
lea rax, [rax + rax*2]
xor r8d, r8d
mov rdx, qword [r15 + rax*8]
lea r14, [r15 + rax*8]
lea rcx, [rsp + 0xa8]
call fcn.180094400
mov rdx, qword [r14 - 0x18]
lea rdi, [r14 - 0x18]
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.180094400
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
lea rax, [rbp*2]
seta cl
movzx edx, cl
xor rdx, 1
inc rdx
add rdx, rsi
test cl, cl
cmove rdi, r14
add rax, rbp
mov rbp, rdx
movups xmm0, xmmword [rdi]
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp rdx, r12
jl 0x180141490
mov r14, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x58]
jne 0x180141574
test al, 1
jne 0x180141574
lea rcx, [rax + rax*2]
movups xmm0, xmmword [r15 + rcx*8 - 0x18]
lea rax, [rbp*2]
add rax, rbp
mov rbp, r8
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rcx*8 - 8]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r13, rbp
jge 0x1801415fb
nop dword [rax]
lea rdi, [rbp - 1]
movss dword [rsp + 0x20], xmm6
sar rdi, 1
lea rcx, [rsp + 0xb8]
xor r9d, r9d
xor r8d, r8d
lea rsi, [rdi + rdi*2]
mov rdx, qword [r15 + rsi*8]
call fcn.180094400
mov rdx, qword [r14]
lea rcx, [rsp + 0xb0]
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
mov rbx, rax
call fcn.180094400
movss xmm0, dword [rbx]
comiss xmm0, dword [rax]
jbe 0x1801415fb
movups xmm0, xmmword [r15 + rsi*8]
lea rax, [rbp*2]
add rax, rbp
mov rbp, rdi
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r15 + rsi*8 + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
cmp r13, rdi
jl 0x180141580
movups xmm0, xmmword [r14]
lea rax, [rbp*2]
movaps xmm6, xmmword [rsp + 0x40]
add rax, rbp
movups xmmword [r15 + rax*8], xmm0
movsd xmm1, qword [r14 + 0x10]
movsd qword [r15 + rax*8 + 0x10], xmm1
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret