joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180124e10
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 0x180124fef
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.1800460c0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180124fb4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180124f29
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180124fa3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180124f66
mov r10, qword [rdx]
cmp r10, rax
je 0x180124f60
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 0x180124fa3
cmp r9, rdx
je 0x180124f7f
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180124fc9
cmp r9, rdx
jne 0x180124f70
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
jne 0x180124eb0
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 [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 0x180124fa3
lea rcx, str.invalid_hash_bucket_count
call fcn.18016b2ec
int3
Function at 0x180125000
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 0x1801251dd
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1802e4298]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1802e42a8]
lea rdx, [rdi + rdi]
call fcn.1800460c0
mov rax, qword [0x1802e4298]
lea r9, [rdi - 1]
mov qword [0x1802e42c0], r9
mov qword [0x1802e42c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1801251d2
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 [0x1802e42a8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18012511b
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180125193
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180125158
mov r10, qword [rdx]
cmp r10, rax
je 0x180125152
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 0x180125193
cmp r9, rdx
je 0x18012516f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1801251a7
cmp r9, rdx
jne 0x180125160
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 0x1801251cd
mov r9, qword [0x1802e42c0]
jmp 0x1801250a0
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 0x180125193
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.18016b2ec
int3
Function at 0x18013a420
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 0x18013a481
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 0x18013a440
mov ecx, dword [r9]
jmp 0x18013a56b
cmp ecx, 0x4e0
jb 0x18013a56b
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 0x18013a4a0
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 0x18013a4f0
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 0x180140b70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180140c35
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180140c35
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180140c4e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x180140c25
cmp byte [rcx], 0x5c
jne 0x180140c1e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x180140c1e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180140c0c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x180140c1b
test r8b, 0x10
jne 0x180140c1e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x180140c1e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180134080
test edi, edi
jne 0x180140b90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.180134070
int3
Function at 0x1801485e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18021d4c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x38]
mov rcx, rbx
call fcn.180148ee0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [str.enabled]
xor r10d, r10d
movzx r11d, word [0x1801edca4]
mov edx, r10d
movzx edi, byte [0x1801edca6]
movabs r8, 0xcbf29ce484222325
mov qword [rsp + 0x28], r10
movabs r9, 0x100000001b3
mov dword [rsp + 0x20], eax
mov word [rsp + 0x24], r11w
mov byte [rsp + 0x27], r10b
mov qword [rsp + 0x30], 7
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x26], dil
nop
movzx ecx, byte [rsp + rdx + 0x20]
inc rdx
xor r8, rcx
imul r8, r9
cmp rdx, 7
jb 0x180148670
mov rdx, qword [rbx + 0xa0]
mov r9, qword [rbx + 0x88]
and rdx, r8
shl rdx, 4
add r9, rdx
mov rdx, qword [r9 + 8]
cmp rdx, qword [rbx + 0x78]
je 0x1801486e4
mov r9, qword [r9]
nop word [rax + rax]
cmp qword [rdx + 0x28], 0xf
lea rcx, [rdx + 0x10]
mov r8, qword [rcx + 0x10]
jbe 0x1801486c2
mov rcx, qword [rcx]
cmp r8, 7
jne 0x1801486d9
cmp eax, dword [rcx]
jne 0x1801486d9
cmp r11w, word [rcx + 4]
jne 0x1801486d9
cmp dil, byte [rcx + 6]
je 0x1801486e7
cmp rdx, r9
je 0x1801486e4
mov rdx, qword [rdx + 8]
jmp 0x1801486b0
mov rdx, r10
test rdx, rdx
je 0x1801486f6
cmp rdx, qword [rbx + 0x78]
je 0x1801486f6
mov r10, qword [rdx + 0x30]
cmp byte [r10 + 0x28], 0
je 0x180148706
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18016e8b0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180148720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18021d4c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov byte [rcx + 0xd1], 1
xor r9d, r9d
mov rax, qword [str.enabled]
mov rdi, rcx
movzx r11d, word [0x1801edca4]
movabs r8, 0xcbf29ce484222325
movzx ebx, byte [0x1801edca6]
mov edx, r9d
mov dword [rsp + 0x20], eax
movabs r10, 0x100000001b3
mov word [rsp + 0x24], r11w
mov byte [rsp + 0x26], bl
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], 7
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x27], r9b
nop dword [rax]
movzx ecx, byte [rsp + rdx + 0x20]
inc rdx
xor r8, rcx
imul r8, r10
cmp rdx, 7
jb 0x1801487a0
mov rdx, qword [rdi + 0xa0]
mov r10, qword [rdi + 0x88]
and rdx, r8
shl rdx, 4
add r10, rdx
mov rdx, qword [r10 + 8]
cmp rdx, qword [rdi + 0x78]
je 0x180148813
mov r10, qword [r10]
nop word [rax + rax]
cmp qword [rdx + 0x28], 0xf
lea rcx, [rdx + 0x10]
mov r8, qword [rcx + 0x10]
jbe 0x1801487f2
mov rcx, qword [rcx]
cmp r8, 7
jne 0x180148808
cmp eax, dword [rcx]
jne 0x180148808
cmp r11w, word [rcx + 4]
jne 0x180148808
cmp bl, byte [rcx + 6]
je 0x180148816
cmp rdx, r10
je 0x180148813
mov rdx, qword [rdx + 8]
jmp 0x1801487e0
mov rdx, r9
test rdx, rdx
je 0x180148825
cmp rdx, qword [rdi + 0x78]
je 0x180148825
mov r9, qword [rdx + 0x30]
mov rcx, rdi
mov byte [r9 + 0x28], 1
call fcn.180147f70
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18016e8b0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

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

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18021d4c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [rcx + 0xd3], 0
mov r9, rcx
mov word [rcx + 0xd0], 0
jne 0x180148974
mov rax, qword [str.enabled]
xor r10d, r10d
mov qword [rsp + 0x68], rbx
movabs r8, 0xcbf29ce484222325
movzx ebx, word [0x1801edca4]
mov edx, r10d
mov qword [rsp + 0x50], rdi
movabs r11, 0x100000001b3
movzx edi, byte [0x1801edca6]
mov byte [rsp + 0x26], dil
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], 7
mov qword [rsp + 0x38], 0xf
mov dword [rsp + 0x20], eax
mov word [rsp + 0x24], bx
mov byte [rsp + 0x27], r10b
nop
movzx ecx, byte [rsp + rdx + 0x20]
inc rdx
xor r8, rcx
imul r8, r11
cmp rdx, 7
jb 0x1801488e0
mov rdx, qword [r9 + 0xa0]
mov r11, qword [r9 + 0x88]
and rdx, r8
shl rdx, 4
add r11, rdx
mov rdx, qword [r11 + 8]
cmp rdx, qword [r9 + 0x78]
je 0x180148953
mov r11, qword [r11]
nop word [rax + rax]
cmp qword [rdx + 0x28], 0xf
lea rcx, [rdx + 0x10]
mov r8, qword [rcx + 0x10]
jbe 0x180148932
mov rcx, qword [rcx]
cmp r8, 7
jne 0x180148948
cmp eax, dword [rcx]
jne 0x180148948
cmp bx, word [rcx + 4]
jne 0x180148948
cmp dil, byte [rcx + 6]
je 0x180148956
cmp rdx, r11
je 0x180148953
mov rdx, qword [rdx + 8]
jmp 0x180148920
mov rdx, r10
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
test rdx, rdx
je 0x18014896f
cmp rdx, qword [r9 + 0x78]
je 0x18014896f
mov r10, qword [rdx + 0x30]
mov byte [r10 + 0x28], 0
mov rcx, r9
call fcn.180147f70
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18016e8b0
add rsp, 0x58
ret
Function at 0x180148ad0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x18021d4c0]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword [str.enabled]
xor edi, edi
movzx r11d, word [0x1801edca4]
mov edx, edi
movzx ebx, byte [0x1801edca6]
mov r10, rcx
mov qword [rsp + 8], rdi
movabs r8, 0xcbf29ce484222325
mov dword [rsp], eax
movabs r9, 0x100000001b3
mov word [rsp + 4], r11w
mov byte [rsp + 6], bl
mov byte [rsp + 7], dil
mov qword [rsp + 0x10], 7
mov qword [rsp + 0x18], 0xf
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rsp + rdx]
inc rdx
xor r8, rcx
imul r8, r9
cmp rdx, 7
jb 0x180148b50
mov r9, qword [r10 + 0xa0]
mov rcx, qword [r10 + 0x88]
and r9, r8
mov r10, qword [r10 + 0x78]
add r9, r9
mov rdx, qword [rcx + r9*8 + 8]
cmp rdx, r10
je 0x180148bc3
mov r9, qword [rcx + r9*8]
nop word [rax + rax]
cmp qword [rdx + 0x28], 0xf
lea rcx, [rdx + 0x10]
mov r8, qword [rcx + 0x10]
jbe 0x180148ba2
mov rcx, qword [rcx]
cmp r8, 7
jne 0x180148bb8
cmp eax, dword [rcx]
jne 0x180148bb8
cmp r11w, word [rcx + 4]
jne 0x180148bb8
cmp bl, byte [rcx + 6]
je 0x180148bc6
cmp rdx, r9
je 0x180148bc3
mov rdx, qword [rdx + 8]
jmp 0x180148b90
mov rdx, rdi
test rdx, rdx
je 0x180148bda
cmp rdx, r10
je 0x180148bda
mov rax, qword [rdx + 0x30]
movzx eax, byte [rax + 0x28]
jmp 0x180148bde
movzx eax, byte [rdi + 0x28]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.18016e8b0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180155440
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180155480
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18026fb20]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801554be
cmp rsi, r14
jb 0x1801554b6
cmp rsi, r15
jae 0x1801554b6
cmp qword [rsi + 8], 0
jne 0x180155687
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801554a1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180155552
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180155549
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180155549
cmp dword [rsp + 0x70], 0x10000
je 0x1801555cb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180155549
sub rbx, rbp
cmp rbx, r14
jae 0x180155510
test rsi, rsi
jne 0x180155630
cmp rdi, r15
ja 0x18015566f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18015566f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18015566f
cmp dword [rsp + 0x70], 0x10000
je 0x180155601
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180155582
jmp 0x18015566f
test rbx, rbx
je 0x180155549
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180155630
cmp rbx, r14
jae 0x1801554f0
jmp 0x180155552
test rdi, rdi
je 0x18015566f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180155630
cmp rdi, r15
jbe 0x180155560
jmp 0x18015566f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180155640
mov rax, qword [0x18026fb20]
mov qword [rsi], rax
mov qword [0x18026fb20], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18015b030
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1802e4818]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and r8, qword [0x1802e4840]
shl r8, 4
add r8, qword [0x1802e4828]
mov r9, qword [r8 + 8]
mov rbx, r9
cmp r9, rcx
je 0x18015b0c0
mov rax, qword [r8]
cmp edx, dword [r9 + 0x10]
je 0x18015b0c2
nop
cmp rbx, rax
je 0x18015b0c0
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x18015b0b0
jmp 0x18015b0c2
xor ebx, ebx
test rbx, rbx
je 0x18015b126
mov rax, qword [r8]
cmp r9, rbx
jne 0x18015b0e7
cmp rax, rbx
jne 0x18015b0dd
mov qword [r8], rcx
mov qword [r8 + 8], rcx
jmp 0x18015b0f2
mov rcx, qword [rbx + 8]
mov qword [r8 + 8], rcx
jmp 0x18015b0f2
cmp rax, rbx
jne 0x18015b0f2
mov rax, qword [rbx]
mov qword [r8], rax
mov rcx, qword [rbx]
dec qword [0x1802e4820]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
lea rcx, [rbx + 0x18]
call fcn.18005a950
mov edx, 0x40
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.18016eee0
add rsp, 0x20
pop rbx
ret

Function at 0x18015b130
Capabilities:
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1802e4840]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and rcx, r8
mov r8, qword [0x1802e4818]
shl rcx, 4
add rcx, qword [0x1802e4828]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x18015b1b7
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x18015b1b9
cmp rax, rcx
je 0x18015b1b7
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18015b1a7
jmp 0x18015b1b9
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x18015b1d7
cmp qword [rcx + 0x30], 0xf
lea rax, [rcx + 0x18]
jbe 0x18015b1d9
mov rax, qword [rax]
ret
xor eax, eax
ret

Function at 0x18015b1e0
Capabilities:
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1802e4840]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and rcx, r8
mov r8, qword [0x1802e4818]
shl rcx, 4
add rcx, qword [0x1802e4828]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x18015b267
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x18015b269
cmp rax, rcx
je 0x18015b267
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18015b257
jmp 0x18015b269
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x18015b27d
mov rax, qword [rcx + 0x38]
ret
xor eax, eax
ret
Function at 0x18015b280
Capabilities:
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov eax, edx
imul r8, r9
shr eax, 8
movzx ecx, al
mov eax, edx
xor r8, rcx
shr eax, 0x10
imul r8, r9
movzx ecx, al
xor r8, rcx
mov eax, edx
mov rcx, qword [0x1802e4880]
imul r8, r9
shr rax, 0x18
xor r8, rax
imul r8, r9
and rcx, r8
mov r8, qword [0x1802e4858]
shl rcx, 4
add rcx, qword [0x1802e4868]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x18015b307
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x18015b309
cmp rax, rcx
je 0x18015b307
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18015b2f7
jmp 0x18015b309
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
je 0x18015b31c
mov eax, dword [rcx + 0x14]
ret
xor eax, eax
ret
Function at 0x18015b9a0
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 0x18015bb4e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1802e4818]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1802e4828]
lea rdx, [rdi + rdi]
call fcn.1800460c0
mov rax, qword [0x1802e4818]
lea r9, [rdi - 1]
mov qword [0x1802e4840], r9
mov qword [0x1802e4848], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18015bb43
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 [0x1802e4828]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18015ba8f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18015bb04
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18015bacc
mov r10, qword [rdx]
cmp r10, rax
je 0x18015bac6
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 0x18015bb04
cmp r9, rdx
je 0x18015bae0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18015bb18
cmp r9, rdx
jne 0x18015bad1
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 0x18015bb3e
mov r9, qword [0x1802e4840]
jmp 0x18015ba40
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 0x18015bb04
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.18016b2ec
int3
Function at 0x180165410
Capabilities:
Create thread

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