joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18017ecb0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp ecx, 0x6d12325f
ja 0x18017eda4
je 0x18017ed9e
cmp ecx, 0x394ccab1
ja 0x18017ed3e
je 0x18017ed38
cmp ecx, 0x12e2bba6
ja 0x18017ed09
je 0x18017ed03
cmp ecx, 0x1cca6e9
je 0x18017ecfd
cmp ecx, 0x9538c7f
je 0x18017ee87
xor edx, edx
mov eax, 0x400
cmp ecx, 0xab4b02e
cmove edx, eax
mov eax, edx
ret
mov eax, 0x1000000
ret
mov eax, 0x10000
ret
cmp ecx, 0x136175ec
je 0x18017ed32
cmp ecx, 0x1a279560
je 0x18017ed2c
xor edx, edx
mov eax, 0x2000000
cmp ecx, 0x26a4c834
cmove edx, eax
mov eax, edx
ret
mov eax, 0x100
ret
mov eax, 1
ret
mov eax, 0x40000
ret
cmp ecx, 0x63560e68
ja 0x18017ed7d
je 0x18017ed77
cmp ecx, 0x4c4f2731
je 0x18017ed71
cmp ecx, 0x4c607052
je 0x18017ed6b
xor edx, edx
mov eax, 0x100000
cmp ecx, 0x533786cb
cmove edx, eax
mov eax, edx
ret
mov eax, 8
ret
mov eax, 0x800
ret
mov eax, 0x2000
ret
cmp ecx, 0x6baaf951
je 0x18017ed98
xor edx, edx
mov eax, 0x10
cmp ecx, 0x6c6e2525
cmove edx, eax
mov eax, edx
ret
mov eax, 0x20000
ret
mov eax, 0x8000
ret
cmp ecx, 0xbf26fbfe
ja 0x18017ee46
je 0x18017ee40
cmp ecx, 0xa7dccec1
ja 0x18017ee03
je 0x18017edfd
cmp ecx, 0x7dc692a9
je 0x18017edf7
cmp ecx, 0x991deba0
je 0x18017edf1
cmp ecx, 0x9a98ca01
je 0x18017edeb
xor edx, edx
mov eax, 0x20000000
cmp ecx, 0x9e336053
cmove edx, eax
mov eax, edx
ret
mov eax, 0x200000
ret
mov eax, 2
ret
mov eax, 0x4000000
ret
mov eax, 0x80
ret
cmp ecx, 0xb6588a9f
je 0x18017ee3a
cmp ecx, 0xb926f28c
je 0x18017ee34
cmp ecx, 0xbbd7c4b0
je 0x18017ee2e
xor edx, edx
mov eax, 0x20
cmp ecx, 0xbeeb585e
cmove edx, eax
mov eax, edx
ret
mov eax, 0x200
ret
mov eax, 0x40
ret
mov eax, 0x40000000
ret
mov eax, 0x8000000
ret
cmp ecx, 0xe33dd749
ja 0x18017ee93
je 0x18017ee8d
cmp ecx, 0xbf4bccd7
je 0x18017ee87
cmp ecx, 0xc7d64bd1
je 0x18017ee81
cmp ecx, 0xde211c9d
je 0x18017ee7b
xor edx, edx
mov eax, 0x80000
cmp ecx, 0xe218288d
cmove edx, eax
mov eax, edx
ret
mov eax, 0x10000000
ret
mov eax, 0x80000000
ret
mov eax, 0x4000
ret
mov eax, 0x800000
ret
cmp ecx, 0xe65773e8
je 0x18017eeba
cmp ecx, 0xeea3074e
je 0x18017eeb4
xor edx, edx
mov eax, 0x1000
cmp ecx, 0xf3a30f2d
cmovne eax, edx
ret
mov eax, 0x400000
ret
mov eax, 4
ret
Function at 0x180186e50
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
sub rsp, 0x88
mov dword [rax - 0x68], 0x67452301
mov edx, 0x20
mov qword [rax - 0x58], rdx
mov dword [rax - 0x64], 0xefcdab89
mov dword [rax - 0x60], 0x98badcfe
mov dword [rax - 0x5c], 0x10325476
shr edx, 3
and edx, 0x3f
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rax - 0x50], ymm0
mov dword [rax - 0x50], ecx
lea rcx, [rsp + 0x38]
vmovups ymmword [rax - 0x30], ymm0
mov eax, edx
add rcx, rax
mov eax, 0x3f
sub eax, edx
xor edx, edx
mov byte [rcx], 0x80
inc rcx
cmp eax, 8
jae 0x180186ee7
mov r8d, eax
vzeroupper
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.180186660
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups ymmword [rsp + 0x38], ymm0
vmovups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
jmp 0x180186ef5
add eax, 0xfffffff8
mov r8d, eax
vzeroupper
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x20]
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x74], eax
vzeroupper
call fcn.180186660
mov eax, dword [rsp + 0x26]
add rsp, 0x88
ret
Function at 0x180187080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
lea rdi, [0x180000000]
mov r11d, r8d
mov r10, rdx
mov rbx, rcx
nop dword [rax]
cmp r11d, 7
ja case.default.0x1801870b4
movsxd r9, r11d
mov r8d, dword [rdi + r9*4 + 0x187280]
add r8, rdi
jmp r8
mov ecx, r10d
and ecx, 3
sub r11d, ecx
sub ecx, 1
je 0x1801870fd
sub ecx, 1
je 0x1801870e6
cmp ecx, 1
jne 0x180187114
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
mov edx, r11d
sar edx, 3
test edx, edx
je 0x18018719c
nop
xor eax, dword [r10]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
mov ecx, eax
movzx eax, al
shr ecx, 8
mov eax, dword [rdi + rax*4 + 0x202240]
xor eax, dword [r10 + 4]
add r10, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
sub edx, 1
jne 0x180187120
and r11d, 7
jmp 0x1801870a0
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
xor eax, dword [r10]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
movzx ecx, al
shr eax, 8
xor eax, dword [rdi + rcx*4 + 0x202240]
mov dword [rbx], eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
inc r10
movzx edx, byte [r10]
movzx ecx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4 + 0x202240]
mov rdi, qword [rsp + 0x10]
mov dword [rbx], eax
mov rbx, qword [rsp + 8]
ret
Function at 0x180189a90
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x180189ac0
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18023d268]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x18023d278]
lea rdx, [rdi + rdi]
call fcn.1800991c0
mov rax, qword [0x18023d268]
lea r9, [rdi - 1]
mov qword [0x18023d290], r9
mov qword [0x18023d298], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180189c72
mov qword [rsp + 0x38], 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
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18023d278]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180189bbb
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180189c33
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180189bf8
mov r10, qword [rdx]
cmp r10, rax
je 0x180189bf2
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 0x180189c33
cmp r9, rdx
je 0x180189c0f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180189c47
cmp r9, rdx
jne 0x180189c00
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 0x180189c6d
mov r9, qword [0x18023d290]
jmp 0x180189b40
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 0x180189c33
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18018aac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180243ea8]
mov rcx, qword [rax]
mov rax, qword [rdx + 8]
mov rbx, qword [rcx + 0x18]
lea rcx, [rdx + 8]
call qword [rax + 0x48]
mov rcx, qword [0x180243ea8]
mov rdx, rax
call rbx
mov r9, rax
mov ecx, 0x811c9dc5
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x18018ab00
xor r8d, r8d
test rdx, rdx
je 0x18018ab8b
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r9 + r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
cmp r8, rdx
jb 0x18018ab20
cmp ecx, 0x7c4a5426
ja 0x18018ab93
je 0x18018abf4
cmp ecx, 0x39c98ba1
je 0x18018abf4
cmp ecx, 0x2eb1674
je 0x18018abf4
cmp ecx, 0x19acc50e
je 0x18018abf4
cmp ecx, 0x2a5bf553
je 0x18018abf4
cmp ecx, 0x3a712436
je 0x18018abf4
cmp ecx, 0x43d6266e
je 0x18018abf4
cmp ecx, 0x4d7aa8c1
je 0x18018abf4
xor al, al
add rsp, 0x20
pop rbx
ret
cmp ecx, 0xc941ff64
ja 0x18018abc5
je 0x18018abf4
cmp ecx, 0x7f11af2d
je 0x18018abf4
cmp ecx, 0x84ea2fe5
je 0x18018abf4
cmp ecx, 0x9d08c4c8
je 0x18018abf4
cmp ecx, 0x9fb66433
je 0x18018abf4
cmp ecx, 0xa7eab73f
jmp 0x18018ab89
cmp ecx, 0xd614ea2e
je 0x18018abf4
cmp ecx, 0xe1525a25
je 0x18018abf4
cmp ecx, 0xe80bc214
je 0x18018abf4
cmp ecx, 0xf8573d98
je 0x18018abf4
cmp ecx, 0xfd66eb2f
sete al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180243ea8]
mov rcx, qword [rax]
mov rax, qword [rdx + 8]
mov rbx, qword [rcx + 0x18]
lea rcx, [rdx + 8]
call qword [rax + 0x48]
mov rcx, qword [0x180243ea8]
mov rdx, rax
call rbx
mov r9, rax
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x18018ac40
xor edx, edx
test rcx, rcx
je 0x18018ac8d
movsx eax, byte [r9 + rdx]
inc rdx
xor eax, r8d
imul r8d, eax, 0x1000193
cmp rdx, rcx
jb 0x18018ac50
cmp r8d, 0x5978b32e
ja 0x18018ac95
je 0x18018acae
cmp r8d, 0x1b20e275
je 0x18018acae
cmp r8d, 0x3cb8abb3
je 0x18018acae
cmp r8d, 0x4c849f3c
je 0x18018acae
xor al, al
add rsp, 0x20
pop rbx
ret
cmp r8d, 0x97113ea7
je 0x18018acae
cmp r8d, 0xa8d619ea
sete al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x18018acc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180243ea8]
mov rcx, qword [rax]
mov rax, qword [rdx + 8]
mov rbx, qword [rcx + 0x18]
lea rcx, [rdx + 8]
call qword [rax + 0x48]
mov rcx, qword [0x180243ea8]
mov rdx, rax
call rbx
mov r9, rax
mov edx, 0x811c9dc5
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x18018ad00
xor r8d, r8d
test rcx, rcx
je 0x18018ad57
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r9 + r8]
inc r8
xor eax, edx
imul edx, eax, 0x1000193
cmp r8, rcx
jb 0x18018ad20
cmp edx, 0x92bbd4c5
ja 0x18018ad5f
je 0x18018ad7e
cmp edx, 0x40401f1c
je 0x18018ad7e
cmp edx, 0x688917bf
je 0x18018ad7e
cmp edx, 0x74386b5b
je 0x18018ad7e
xor al, al
add rsp, 0x20
pop rbx
ret
cmp edx, 0xdd7b05fd
je 0x18018ad7e
cmp edx, 0xe5a5eadf
je 0x18018ad7e
cmp edx, 0xf51a72ab
sete al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x18018b2e0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x18023d6c0]
add rcx, 1
mov rdx, qword [0x18023d6e8]
vxorps xmm0, xmm0, xmm0
js 0x18018b2ff
vcvtsi2ss xmm0, xmm0, rcx
jmp 0x18018b314
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm0, dword [0x18023d6b0]
vxorps xmm1, xmm1, xmm1
vroundss xmm1, xmm1, xmm0, 2
vmovss xmm0, dword [0x180218d30]
xor ecx, ecx
vcomiss xmm1, xmm0
jb 0x18018b34d
vsubss xmm1, xmm1, xmm0
vcomiss xmm1, xmm0
jae 0x18018b34d
movabs rax, 0x8000000000000000
mov rcx, rax
vcvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18018b37f
cmp rdx, 0x200
jae 0x18018b37c
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18018b37f
mov rdx, rcx
jmp 0x18018b390
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x18018b3c0
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18023d6b8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x18023d6c8]
lea rdx, [rdi + rdi]
call fcn.1800991c0
mov rax, qword [0x18023d6b8]
lea r9, [rdi - 1]
mov qword [0x18023d6e0], r9
mov qword [0x18023d6e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18018b543
mov qword [rsp + 0x38], 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 [0x18023d6c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18018b48f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18018b504
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18018b4cc
mov r10, qword [rdx]
cmp r10, rax
je 0x18018b4c6
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 0x18018b504
cmp r9, rdx
je 0x18018b4e0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18018b518
cmp r9, rdx
jne 0x18018b4d1
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 0x18018b53e
mov r9, qword [0x18023d6e0]
jmp 0x18018b440
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 0x18018b504
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18018b390
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [0x18023d6c0]
add rcx, 1
mov rdx, qword [0x18023d6e8]
vxorps xmm0, xmm0, xmm0
js 0x18018b2ff
vcvtsi2ss xmm0, xmm0, rcx
jmp 0x18018b314
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
vcvtsi2ss xmm0, xmm0, rax
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm0, dword [0x18023d6b0]
vxorps xmm1, xmm1, xmm1
vroundss xmm1, xmm1, xmm0, 2
vmovss xmm0, dword [0x180218d30]
xor ecx, ecx
vcomiss xmm1, xmm0
jb 0x18018b34d
vsubss xmm1, xmm1, xmm0
vcomiss xmm1, xmm0
jae 0x18018b34d
movabs rax, 0x8000000000000000
mov rcx, rax
vcvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18018b37f
cmp rdx, 0x200
jae 0x18018b37c
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18018b37f
mov rdx, rcx
jmp 0x18018b390
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x18018b3c0
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18023d6b8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x18023d6c8]
lea rdx, [rdi + rdi]
call fcn.1800991c0
mov rax, qword [0x18023d6b8]
lea r9, [rdi - 1]
mov qword [0x18023d6e0], r9
mov qword [0x18023d6e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18018b543
mov qword [rsp + 0x38], 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 [0x18023d6c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18018b48f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18018b504
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18018b4cc
mov r10, qword [rdx]
cmp r10, rax
je 0x18018b4c6
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 0x18018b504
cmp r9, rdx
je 0x18018b4e0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18018b518
cmp r9, rdx
jne 0x18018b4d1
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 0x18018b53e
mov r9, qword [0x18023d6e0]
jmp 0x18018b440
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 0x18018b504
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18018bc10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x80
mov rbx, rdx
mov rdi, rcx
test r9b, r9b
je 0x18018bc7c
mov rcx, qword [0x180243ea0]
mov rax, qword [rcx]
mov r9, rdi
lea r8, str.__s_
lea rdx, [rsp + 0xa0]
call qword [rax + 0xb8]
mov rcx, qword [0x180243ea0]
mov rax, qword [rcx]
mov dword [rsp + 0xa8], 0xffffffff
mov r9, rbx
lea r8, [0x1802185bc]
lea rdx, [rsp + 0xa8]
call qword [rax + 0xb8]
cmp byte [rsp + 0xb8], 0
je 0x18018bd27
lea rax, str.____n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x50], rdi
movabs rax, 0xb000000000000000
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rbx
movabs rax, 0xb000000000000008
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
vmovups xmm0, xmmword [rsp + 0x20]
vmovdqa xmmword [rsp + 0x20], xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1800b12c0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x60]
call fcn.180098e30
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13b0
call fcn.1801924b0
sub rsp, rax
mov ebx, edx
mov esi, ecx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r9d, 1
mov dword [rsp + 0x24], eax
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x18018beb2
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x18018befc
call fcn.18018df00
mov ecx, eax
jmp 0x18018bf45
mov qword [rsp + 0x13c0], rdi
inc ebx
call fcn.18018df00
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x18018bf39
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x18018bf39
lea rcx, [rsp + 0x20]
call fcn.18018df00
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x18018bf25
mov rdi, qword [rsp + 0x13c0]
shr rcx, 0x20
mov rbx, qword [rsp + 0x13c8]
lea eax, [rsi + rcx]
xor eax, 0x80000000
add rsp, 0x13b0
pop rsi
ret
Function at 0x18018cfd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18023cd90]
movsxd rax, dword [rcx + 3]
mov rbx, qword [rax + rcx + 7]
test rbx, rbx
jne 0x18018cff3
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, dword [0x18024256c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180244614], ecx
jle 0x18018d0d1
lea rcx, [0x180244614]
call fcn.1801905cc
cmp dword [0x180244614], 0xffffffff
jne 0x18018d0d1
mov rcx, qword [0x180243e98]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x18018d0be
nop dword [rax + rax]
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x18018d061
mov rdx, r11
test rax, rax
je 0x18018d0a0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x18018d080
cmp r9d, 0x13914a63
je 0x18018d0ab
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x18018d050
jmp 0x18018d0be
lea r8, str.m_iRoundState
mov rdx, qword [r10 + 0x18]
call fcn.180190160
mov r11d, eax
mov dword [0x18024461c], r11d
lea rcx, [0x180244614]
call fcn.180190560
movsxd rax, dword [0x18024461c]
mov eax, dword [rax + rbx]
add rsp, 0x20
pop rbx
ret
Function at 0x18018df00
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 0x18018df61
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 0x18018df20
mov ecx, dword [r9]
jmp 0x18018e04b
cmp ecx, 0x4e0
jb 0x18018e04b
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 0x18018df80
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 0x18018dfd0
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