joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18011b0b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12d, edx
mov r13, rcx
xor r9d, r9d
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [0x18035d590]
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x18011b284
xor edi, edi
lea rax, [0x18035d5a0]
cmp dword [rsp + 0x70], edi
je 0x18011b1c9
mov r8d, edi
mov r9, rax
nop word [rax + rax]
mov ecx, r8d
and ecx, 1
neg ecx
and ecx, 0xedb88320
mov eax, r8d
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr ecx, 1
xor eax, ecx
mov edx, eax
and edx, 1
neg edx
and edx, 0xedb88320
shr eax, 1
xor edx, eax
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
shr edx, 1
xor eax, edx
mov dword [r9], eax
inc r8d
lea r9, [r9 + 4]
cmp r8d, 0x100
jb 0x18011b110
xor r8d, r8d
xor edx, edx
lea rcx, [0x18035d590]
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x18011b278
not r12d
mov ebx, r12d
mov r14, qword [r13 + 8]
test r14, r14
je 0x18011b257
mov r13, qword [r13]
mov esi, 1
lea rbp, [r13 + 1]
movzx r15d, byte [rdi + r13]
cmp r15b, 0x23
jne 0x18011b236
cmp r14, rsi
jb 0x18011b27e
mov rax, r14
sub rax, rsi
mov r8d, 2
cmp rax, r8
cmovb r8, rax
cmp r8, 2
jne 0x18011b236
lea rdx, [0x180239e38]
mov rcx, rbp
call fcn.1801c8bf0
test eax, eax
jne 0x18011b236
mov ebx, r12d
add rdi, 2
add rsi, 2
add rbp, 2
jmp 0x18011b249
movzx ecx, bl
xor rcx, r15
shr ebx, 8
lea rax, [0x18035d5a0]
xor ebx, dword [rax + rcx*4]
inc rdi
inc rsi
inc rbp
cmp rdi, r14
jb 0x18011b1e5
not ebx
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1800e2980
int3
call fcn.1801195b0
int3
call fcn.1801a07d0
int3
Function at 0x180148bd0
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 0x180148daf
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.1800aeab0
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 0x180148d74
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180148cec
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180148d63
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180148d29
mov r10, qword [rdx]
cmp r10, rax
je 0x180148d23
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 0x180148d63
cmp r9, rdx
je 0x180148d3f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180148d89
cmp r9, rdx
jne 0x180148d30
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 0x180148c70
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 0x180148d63
lea rcx, str.invalid_hash_bucket_count
call fcn.180195afc
int3
Function at 0x180148dc0
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 0x180148e21
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 0x180148de0
mov ecx, dword [r9]
jmp 0x180148f0b
cmp ecx, 0x4e0
jb 0x180148f0b
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 0x180148e40
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 0x180148e90
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 0x1801577e0
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 0x1801578ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1801578ac
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 0x1801578c5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18015789c
cmp byte [rax], 0x5c
jne 0x180157896
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180157896
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180157882
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180157893
test r8b, 0x10
jne 0x180157896
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180157896
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180159ca0
test edi, edi
jne 0x180157800
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.180158c10
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18015a0e4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18015a0d0
ret
Function at 0x180166190
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
mov r10, qword [rcx + 0x10]
mov ebx, 0xb6b29444
mov eax, dword [rcx + 0x18]
mov r9d, edx
mov r8, qword [r10 + 0x48]
mov rcx, qword [r10 + 0x50]
mov r11, qword [r10 + 0x68]
sub rcx, r8
sar rcx, 3
dec rcx
and rcx, rbx
mov rdx, qword [r8 + rcx*8]
cmp rdx, 0xffffffffffffffff
je 0x1801661e8
nop dword [rax + rax]
shl rdx, 5
cmp dword [rdx + r11 + 8], ebx
lea rcx, [rdx + r11]
je 0x1801661ec
mov rdx, qword [rcx]
cmp rdx, 0xffffffffffffffff
jne 0x1801661d0
mov rcx, qword [r10 + 0x70]
cmp rcx, qword [r10 + 0x70]
je 0x180166266
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x180166266
mov r11, qword [r8 + 8]
mov edx, eax
mov rcx, qword [r8 + 0x10]
and edx, 0x3ffff
sub rcx, r11
mov r10d, edx
shr r10, 0xb
sar rcx, 3
cmp r10, rcx
jae 0x180166266
mov rcx, qword [r11 + r10*8]
test rcx, rcx
je 0x180166266
and edx, 0x7ff
lea rcx, [rcx + rdx*4]
test rcx, rcx
je 0x180166266
mov edx, dword [rcx]
and eax, 0xfffc0000
xor eax, edx
cmp eax, 0x3ffff
jae 0x180166266
mov rax, qword [r8 + 0x48]
and edx, 0x3ffff
mov ecx, edx
and edx, 0x3ff
imul r8, rdx, 0x58
shr rcx, 0xa
add r8, qword [rax + rcx*8]
jmp 0x180166270
xor r8d, r8d
nop dword [rax]
movabs rcx, 0x100000001b3
movzx edx, r9b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [rsp + 0x39]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x3a]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x3b]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r8 + 0x30]
and rcx, rdx
shl rcx, 4
add rcx, qword [r8 + 0x18]
mov rax, qword [rcx + 8]
cmp rax, qword [r8 + 8]
je 0x1801662ee
mov rcx, qword [rcx]
cmp r9d, dword [rax + 0x10]
je 0x1801662e4
cmp rax, rcx
je 0x1801662ee
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x1801662d5
add rax, 0x14
add rsp, 0x20
pop rbx
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.180195b20
int3
Function at 0x180167190
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 0x18016731f
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.1800aeab0
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 0x1801672e4
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rdi
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x180167262
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801672d3
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x18016729b
mov r10, qword [rdx]
cmp r10, rax
je 0x180167295
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 0x1801672d3
cmp r8, rdx
je 0x1801672af
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x1801672f9
cmp r8, rdx
jne 0x1801672a0
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 0x180167230
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 0x1801672d3
lea rcx, str.invalid_hash_bucket_count
call fcn.180195afc
int3
Function at 0x180168410
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x18016849f
mov rbx, r15
mov rbp, r15
jmp 0x1801684ec
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1801684be
nop dword [rax + rax]
cmp rbx, rcx
je 0x1801684e6
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1801684b0
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x180168640
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.180199a00
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov qword [rax + 0x18], r13
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180168542
cvtsi2ss xmm0, rcx
jmp 0x180168557
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18016856a
cvtsi2ss xmm1, rcx
jmp 0x18016857f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1801685e1
mov rcx, rsi
call fcn.180169820
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x1801685d4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1801685d1
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x180168615
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1801685c0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x18016861c
mov qword [rcx + rax*8], rdi
jmp 0x18016862e
mov qword [rsp + 0x20], rax
jmp 0x1801685d9
cmp r8, rbp
jne 0x180168627
mov qword [rcx + rax*8], rdi
jmp 0x180168633
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180168633
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1801684c6
lea rcx, str.unordered_map_set_too_long
call fcn.180195afc
int3
Function at 0x180169660
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 0x180169811
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.1800aeab0
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 0x1801697d6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180169750
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801697c5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18016978d
mov r10, qword [rdx]
cmp r10, rax
je 0x180169787
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 0x1801697c5
cmp r9, rdx
je 0x1801697a1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1801697eb
cmp r9, rdx
jne 0x180169792
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 0x180169700
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 0x1801697c5
lea rcx, str.invalid_hash_bucket_count
call fcn.180195afc
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x180169845
cvtsi2ss xmm0, rdx
jmp 0x18016985a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1801a0734
movss xmm1, dword [0x18023166c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180169888
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180169888
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1801698ba
cmp rbx, 0x200
jae 0x1801698b7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1801698ba
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180169660
Function at 0x18016b800
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 0x18016b840
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18035d468]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18016b87e
cmp rsi, r14
jb 0x18016b876
cmp rsi, r15
jae 0x18016b876
cmp qword [rsi + 8], 0
jne 0x18016ba47
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18016b861
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 0x18016b912
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 0x18016b909
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 0x18016b909
cmp dword [rsp + 0x70], 0x10000
je 0x18016b98b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18016b909
sub rbx, rbp
cmp rbx, r14
jae 0x18016b8d0
test rsi, rsi
jne 0x18016b9f0
cmp rdi, r15
ja 0x18016ba2f
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 0x18016ba2f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18016ba2f
cmp dword [rsp + 0x70], 0x10000
je 0x18016b9c1
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 0x18016b942
jmp 0x18016ba2f
test rbx, rbx
je 0x18016b909
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 0x18016b9f0
cmp rbx, r14
jae 0x18016b8b0
jmp 0x18016b912
test rdi, rdi
je 0x18016ba2f
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 0x18016b9f0
cmp rdi, r15
jbe 0x18016b920
jmp 0x18016ba2f
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 0x18016ba00
mov rax, qword [0x18035d468]
mov qword [rsi], rax
mov qword [0x18035d468], 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 0x18016cb50
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmm6, xmm2
mov rdi, rcx
movss xmm7, dword [rdx + 8]
movss xmm8, dword [rdx + 4]
movss xmm9, dword [rdx]
mov rsi, qword [0x18035d480]
mov edx, dword [0x18035e5c0]
mov rax, qword gs:[0x58]
mov ecx, 0x14
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x18035d568], eax
jg 0x18016cca3
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm7
movaps xmm2, xmm8
movaps xmm1, xmm9
mov rcx, rsi
call qword [0x18035d560]
xorps xmm3, xmm3
movss xmm2, dword [rdi + 0xc]
movss xmm1, dword [rdi]
mov rcx, qword [0x18035d480]
call fcn.180124f70
xorps xmm3, xmm3
movss xmm2, dword [rdi + 0xc]
movss xmm1, dword [rdi + 8]
mov rcx, qword [0x18035d480]
call fcn.180124f70
xorps xmm3, xmm3
movss xmm2, dword [rdi + 4]
movss xmm1, dword [rdi + 8]
mov rcx, qword [0x18035d480]
call fcn.180124f70
xorps xmm3, xmm3
movss xmm2, dword [rdi + 4]
movss xmm1, dword [rdi + 8]
mov rcx, qword [0x18035d480]
call fcn.180124f70
xorps xmm3, xmm3
movss xmm2, dword [rdi + 4]
movss xmm1, dword [rdi]
mov rcx, qword [0x18035d480]
call fcn.180124f70
xorps xmm3, xmm3
movss xmm2, dword [rdi + 0xc]
movss xmm1, dword [rdi]
mov rcx, qword [0x18035d480]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
jmp fcn.180124f70
mov qword [0x18035d560], rax
lea rcx, [0x18035d568]
call fcn.180199b58
jmp 0x18016cbb9
lea rcx, [0x18035d568]
call fcn.180199bc4
cmp dword [0x18035d568], 0xffffffff
jne 0x18016cbb9
movabs rbx, 0xabb1be8dd09219e0
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x80]
lea rcx, [0x18035cbe0]
call fcn.1800ae050
test al, al
jne 0x18016ccea
xor eax, eax
jmp 0x18016cc8b
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x80]
lea rcx, [0x18035cbe0]
call fcn.1800af2b0
mov rbx, rax
mov rcx, qword [rax]
call fcn.1800df0c0
test al, al
jne 0x18016cd1d
mov rcx, qword [rbx]
call fcn.1800defd0
mov rax, qword [rbx]
mov rax, qword [rax]
jmp 0x18016cc8b