joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ae70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x1400380f0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rdx
lea rcx, [rsp + 0x462]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x460], di
call fcn.14001d790
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x260], di
call fcn.14001d790
lea rcx, [rsp + 0x672]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x670], di
call fcn.14001d790
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.14001d790
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x260]
lea rdx, [rsp + 0x460]
mov r8d, 0x104
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], pe_nt_image_headers64
call fcn.14001c774
lea rcx, [rsp + 0x460]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x14001af50
test rax, rax
je 0x14001af81
lea r9, [rsp + 0x460]
lea r8, [0x1400340a0]
lea rcx, [rsp + 0x670]
mov edx, 0x104
call fcn.14001ca24
jmp 0x14001afd1
lea rdx, [0x140034088]
lea rcx, [rsp + 0x264]
call fcn.14001ca48
lea rdx, [0x140034088]
lea rcx, [rax + 2]
call fcn.14001ca48
lea rcx, [rsp + 0x260]
lea r8, [rsp + 0x260]
sub rax, rcx
lea rcx, [rsp + 0x670]
mov edx, 0x104
sar rax, 1
lea r9, [rax + 1]
call fcn.14001c6a8
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x670]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
lea rdx, [rsp + 0x50]
lea r8, str.FAT32
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14001b03a
cmp rcx, 6
jne 0x14001b020
lea eax, [rcx - 5]
jmp 0x14001b0a3
mov rcx, rdi
lea rdx, [rsp + 0x50]
lea r8, str.NTFS
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14001b06a
cmp rcx, 5
jne 0x14001b050
lea eax, [rcx - 3]
jmp 0x14001b0a3
mov rax, rdi
lea rdx, [rsp + 0x50]
lea r8, [0x1400340c8]
nop dword [rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x14001b097
cmp rax, 4
jne 0x14001b080
jmp 0x14001b09c
sbb edi, edi
or edi, 1
neg edi
sbb eax, eax
and eax, 3
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14001bab0
mov rbx, qword [rsp + 0x8a0]
add rsp, 0x890
pop rdi
ret
Function at 0x14001cc44
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rcx, 0x740f762f
jmp 0x140008b84
dec rcx
jmp 0x14000b612
jmp 0x14000bac9
jne 0x140008b84
jmp 0x14000b387
jmp 0x14000bb71
jmp 0x14000bbba
jmp 0x14000bbeb
jmp 0x14000bc21
jmp 0x14000bc6a
jmp 0x14000bcf4
jmp 0x14000bd12
jmp 0x14000bd59
jmp 0x14000bde0
jmp 0x14000bdf4
jmp 0x14000be5c
jmp 0x14000bec5
jmp 0x14000bf27
jmp 0x14000bf3e
jmp 0x14000bfbf
jmp 0x14000c001
jmp 0x14000c050
jmp 0x14000c083
jmp 0x14000c0c9
xor rcx, rcx
mov rdx, 0x708f
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call 0x14000c0e9
pop rsi
add rsi, 0xe88
mov rdi, rax
mov rcx, 0x708f
rep movsb byte [rdi], byte [rsi]
jmp rax
sub rsp, 0x28
call fcn.14001ce10
add rsp, 0x28
xor rcx, rcx
jmp 0x14000361e

Function at 0x14001f3b4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14001f21c
Function at 0x140002414
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movups xmm0, xmmword [rdx]
mov rbp, r8
mov rbx, rcx
mov r8, qword [rdx + 8]
xor ecx, ecx
movaps xmmword [rsp + 0x20], xmm0
mov rsi, rdx
mov edi, 0x811c9dc5
test r8, r8
jle 0x140002462
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rcx]
inc rcx
xor eax, edi
imul edi, eax, 0x1000193
cmp rcx, r8
jl 0x14000244e
mov r11, qword [rbx]
test r11, r11
je 0x1400024a3
movdqu xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r11 + 0x28]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.140004f4c
test eax, eax
jne 0x1400024dc
mov eax, edi
shr rax, 0x1e
shl edi, 2
lea rbx, [r11 + rax*8]
mov r11, qword [rbx]
test r11, r11
jne 0x140002470
test rbp, rbp
je 0x1400024c4
mov edx, 0x40
mov rcx, rbp
lea r8d, [rdx - 0x3f]
call fcn.140001000
movups xmm0, xmmword [rsi]
mov qword [rbx], rax
movdqu xmmword [rax + 0x28], xmm0
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rax, r11
jmp 0x1400024c7

Function at 0x140002d20
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x40
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor r8d, r8d
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd r8, eax
test eax, eax
jne 0x140002d5f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140002db9
mov r15, qword [r14]
mov rax, qword [r14 + 8]
sub rax, r15
cqo
sub rax, rdx
sar rax, 1
cmp r8, rax
jg 0x140002dd7
lea eax, [r8 - 1]
mov rdx, r15
mov rcx, rdi
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rdi, qword [r14]
lea rax, [r15 + rbx*2]
lea r8, [rsp + 0x20]
mov qword [r14], rax
mov rdx, r14
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
call fcn.140002de0
movups xmm0, xmmword [rax]
mov qword [r14], rdi
movdqu xmmword [rsi], xmm0
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
call fcn.140003abc
int3
Function at 0x140002f24
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movups xmm0, xmmword [rdx]
mov rbp, r8
mov rbx, rcx
mov r8, qword [rdx + 8]
xor ecx, ecx
movaps xmmword [rsp + 0x20], xmm0
mov rsi, rdx
mov edi, 0x811c9dc5
test r8, r8
jle 0x140002f72
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rcx]
inc rcx
xor eax, edi
imul edi, eax, 0x1000193
cmp rcx, r8
jl 0x140002f5e
mov r11, qword [rbx]
test r11, r11
je 0x140002fb3
movdqu xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r11 + 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.140004f4c
test eax, eax
jne 0x140002fbc
mov eax, edi
shr rax, 0x1e
shl edi, 2
lea rbx, [r11 + rax*8]
mov r11, qword [rbx]
test r11, r11
jne 0x140002f80
test rbp, rbp
jne 0x140002fc2
xor eax, eax
jmp 0x140002fe5
lea rax, [r11 + 0x30]
jmp 0x140002fe5
mov edx, 0x40
mov rcx, rbp
lea r8d, [rdx - 0x3f]
call fcn.140001000
movups xmm0, xmmword [rsi]
mov qword [rbx], rax
movdqu xmmword [rax + 0x20], xmm0
mov rax, qword [rbx]
add rax, 0x30
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140003b54
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x70
movups xmm1, xmmword [r8]
lea r8, [r11 - 0x48]
xor eax, eax
xorps xmm0, xmm0
mov rsi, rdx
movups xmmword [rcx], xmm0
mov rbx, rcx
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
lea rdx, [r11 - 0x38]
lea rcx, [r11 - 0x28]
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x40], xmm1
call fcn.14000511c
and dword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, qword [rax]
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
movsxd rbp, eax
cmp ebp, 0xffffffff
jne 0x140003be0
mov dword [rbx + 0x10], 1
jmp 0x140003c6f
mov rax, qword [rsi]
mov rdi, qword [rsi + 8]
mov rcx, qword [rbx + 8]
sub rdi, rax
mov qword [rbx], rax
cmp rcx, rdi
jge 0x140003c4d
mov r12d, 0x7fffffff
mov rdx, qword [rbx]
lea r9, [rsp + 0x90]
mov r8, rdi
sub r8, rcx
cmp r8, r12
cmovg r8d, r12d
and qword [rsp + 0x20], 0
add rdx, rcx
mov dword [rsp + 0x90], r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x90], 1
jl 0x140003c4d
movsxd rax, dword [rsp + 0x90]
add qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
cmp rcx, rdi
jl 0x140003bfc
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 8]
cmp rax, rdi
jne 0x140003c68
mov dword [rbx + 0x10], 2
jmp 0x140003c6f
add qword [rsi], rax
and dword [rbx + 0x10], 0
lea r11, [rsp + 0x70]
mov rax, rbx
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x140003c8c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
movaps xmmword [rax - 0x28], xmm6
lea r15, [0x14000a018]
movsxd rax, ecx
xor edi, edi
mov rbx, rdx
lea rsi, [rax + rax*2]
cmp dword [r15 + rsi*4 + 8], edi
jne 0x140003db6
movsxd r14, dword [r15 + rsi*4]
cmp dword [r15 + rsi*4 + 4], edi
je 0x140003d8f
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x20c
call fcn.140006e00
movups xmm6, xmmword [rbx]
mov dword [rbp + 0x174], r14d
cmp qword [rbx + 8], rdi
je 0x140003d78
mov ebx, dword [rbp + 0x170]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
movdqu xmmword [rsp + 0x30], xmm6
call fcn.140006a24
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x50], xmm0
movups xmm6, xmmword [rax]
cmp ebx, 0xfe
jle 0x140003d42
lea rcx, [rsp + 0x70]
call fcn.140002ccc
mov ebx, dword [rbp + 0x170]
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x70]
movsxd rax, ebx
lea rcx, [rcx + rax*2]
call fcn.1400069c4
mov ebx, dword [rbp + 0x170]
movdqa xmm0, xmm6
add ebx, eax
psrldq xmm0, 8
movq rax, xmm0
mov dword [rbp + 0x170], ebx
test rax, rax
jne 0x140003d07
lea rcx, [rsp + 0x70]
call fcn.140002ccc
mov eax, dword [rbp + 0x178]
mov dword [r15 + rsi*4 + 8], eax
jmp 0x140003db6
mov r8d, dword [rdx + 8]
lea r9, [rbp + 0x1b8]
mov rdx, qword [rdx]
mov rcx, r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete dil
mov dword [r15 + rsi*4 + 8], edi
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001058
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
and qword [rsp + 0x78], 0
lea rdx, [0x140001c00]
mov rdi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x78]
mov r9d, 0x22
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
mov byte [rsp + 0x28], 0
xor edx, edx
and dword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov ebx, eax
test eax, eax
jns 0x1400010b6
lea rcx, [0x140001c30]
jmp 0x1400010f2
mov eax, dword [rdi + 0x10]
lea rdx, [0x140001c50]
btr eax, 7
lea rcx, [rsp + 0x50]
or eax, 4
mov dword [rdi + 0x10], eax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x1400010f9
lea rcx, [0x140001c80]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140001794
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140001cc0]
call sub.ntoskrnl.exe_DbgPrint
lea rax, [0x1400017e0]
mov rcx, rbx
mov qword [rbx + 0x68], rax
call fcn.140001000
call fcn.140001538
test eax, eax
js 0x1400017cc
mov byte [0x140003850], 1
mov rcx, rbx
call fcn.14000100c
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x7ff2f946244
Capabilities:
Persist via com hijack
Set registry value

Disassembly:
push rdi
sub rsp, 0x280
mov rax, qword [0x7ff2f962100]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rcx, qword [0x7ff2f9629b8]
and qword [rsp + 0x50], 0
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x7ff2f94628e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x7ff2f946387
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
lea rdx, [0x7ff2f941e00]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x7ff2f946397
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
mov r9d, 1
xor r8d, r8d
not rcx
xor edx, edx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x7ff2f946387
mov rcx, qword [rsp + 0x50]
lea rax, [0x7ff2f941ea0]
lea r9d, [rdi + 1]
lea rdx, [0x7ff2f941eb0]
xor r8d, r8d
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x7ff2f946387
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
test eax, eax
js 0x7ff2f946382
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.OLEAUT32.dll_QueryPathOfRegTypeLib]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov edi, eax
call qword [rdx + 0x10]
test edi, edi
js 0x7ff2f946382
xor edi, edi
jmp 0x7ff2f946387
mov edi, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x7ff2f946397
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg edi
sbb eax, eax
and eax, 0x80004005
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.7ff2f958660
add rsp, 0x280
pop rdi
ret
Function at 0x7ff2f94cab8
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r10d, r10d
xor r13d, r13d
xor r12d, r12d
cmp dword [rcx], 2
mov r14, r9
mov r15, r8
mov qword [rsp + 0x38], r10
mov rax, rdx
jne 0x7ff2f94caf9
lea rbp, [rcx + 0x10]
xor esi, esi
lea rbx, [rbp + 0x10]
jmp 0x7ff2f94cb0c
cmp dword [rcx], 6
jne 0x7ff2f94cca7
lea rsi, [rcx + 0x10]
xor ebp, ebp
lea rbx, [rsi + 0x10]
cmp dword [rbx], r10d
je 0x7ff2f94cc48
cmp dword [rbx], 6
jne 0x7ff2f94cca7
cmp dword [rcx + 8], 0x5c
mov r13d, 0x38
jb 0x7ff2f94cca7
mov eax, dword [rcx + 0x40]
add eax, r13d
cmp dword [rcx + 8], eax
jb 0x7ff2f94cca7
cmp dword [rcx + 0x38], r10d
jne 0x7ff2f94cca7
cmp dword [rcx + 0x48], 5
jne 0x7ff2f94cca7
lea rax, [rsp + 0x90]
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
add rcx, r13
mov qword [rsp + 0x20], rax
call fcn.7ff2f94a138
mov r10, qword [rsp + 0x38]
mov edi, eax
test eax, eax
js 0x7ff2f94cc82
cmp dword [rsp + 0x90], 0x2e
jb 0x7ff2f94cb9a
cmp dword [r10], 3
jne 0x7ff2f94cb9a
mov eax, dword [r10 + 0x14]
cmp dword [rax + r10], 2
je 0x7ff2f94cba4
mov edi, 0xc000000d
jmp 0x7ff2f94cc82
lea rdx, [rax + r10 + 0x14]
xor eax, eax
or r8, 0xffffffffffffffff
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov rcx, r8
repne scasw ax, word [rdi]
lea rdi, [r10 + 0x18]
not rcx
lea rdx, [rcx - 1]
mov rcx, r8
repne scasw ax, word [rdi]
add edx, edx
not rcx
mov qword [rsp + 0x40], rdx
lea eax, [rcx + rcx]
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
lea r8d, [rdx + rax]
xor edx, edx
mov rcx, qword [rcx + 0x30]
mov dword [rsp + 0x30], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r12, rax
test rax, rax
jne 0x7ff2f94cc10
mov r10, qword [rsp + 0x38]
mov edi, 0xc0000017
jmp 0x7ff2f94cc82
mov edi, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
lea rcx, [rdi + r12]
add rdx, 0x18
call sub.msvcrt.dll_memcpy
mov r10, qword [rsp + 0x38]
mov rax, qword [rsp + 0x98]
xor edi, edi
test rax, rax
je 0x7ff2f94cc52
mov qword [rax], rsi
test r15, r15
je 0x7ff2f94cc5a
mov qword [r15], rbp
test r14, r14
je 0x7ff2f94cc62
mov qword [r14], rbx
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x7ff2f94cc72
mov dword [rax], r13d
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x7ff2f94cc82
mov qword [rax], r12
test r10, r10
je 0x7ff2f94ccac
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff2f94ccac
mov edi, 0xc000000d
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff2f94d2fc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x7ff2f962100]
xor rax, rsp
mov qword [rsp + 0x58], rax
sub edx, 1
mov rdi, r8
je 0x7ff2f94d393
cmp edx, 1
je 0x7ff2f94d32c
mov ebx, 0xc000000d
jmp 0x7ff2f94d3b9
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, [0x7ff2f942130]
call fcn.7ff2f94cfd4
mov ebx, eax
test eax, eax
js 0x7ff2f94d382
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x23000003
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0x10
call fcn.7ff2f949514
mov ebx, eax
test eax, eax
js 0x7ff2f94d382
movdqu xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x7ff2f94d3b9
call fcn.7ff2f950018
jmp 0x7ff2f94d3b9
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea r8d, [r9 + 0x14]
lea ecx, [r9 + 0x5a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x7ff2f94d3b9
movdqu xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi], xmm0
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff2f958660
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x7ff2f94d6d0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
mov ebp, edx
xor edx, edx
mov r12, rcx
mov rsi, r8
lea r9, [rsp + 0x58]
lea ecx, [rdx + 0x63]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x7ff2f94d718
test eax, eax
js 0x7ff2f94d7a6
mov ebx, 0xc0000001
jmp 0x7ff2f94d7a6
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x7ff2f94d745
mov ebx, 0xc000009a
jmp 0x7ff2f94d785
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0x63
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x7ff2f94d785
movzx eax, word [rdi]
add eax, 2
mov dword [rsi], eax
cmp eax, ebp
jbe 0x7ff2f94d776
mov ebx, 0xc0000023
jmp 0x7ff2f94d785
mov rdx, qword [rdi + 8]
mov r8d, eax
mov rcx, r12
call sub.msvcrt.dll_memcpy
test rdi, rdi
je 0x7ff2f94d7a6
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
jns 0x7ff2f94d7c1
lea rcx, [0x7ff2f94d924]
mov r9, rsi
mov r8d, ebp
mov rdx, r12
call fcn.7ff2f94d960
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x7ff2f94d7dc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
mov ebp, edx
xor edx, edx
mov r12, rcx
mov rsi, r8
lea r9, [rsp + 0x58]
lea ecx, [rdx + 0x62]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x7ff2f94d824
test eax, eax
js 0x7ff2f94d8b2
mov ebx, 0xc0000001
jmp 0x7ff2f94d8b2
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x7ff2f94d851
mov ebx, 0xc000009a
jmp 0x7ff2f94d891
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0x62
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x7ff2f94d891
movzx eax, word [rdi]
add eax, 2
mov dword [rsi], eax
cmp eax, ebp
jbe 0x7ff2f94d882
mov ebx, 0xc0000023
jmp 0x7ff2f94d891
mov rdx, qword [rdi + 8]
mov r8d, eax
mov rcx, r12
call sub.msvcrt.dll_memcpy
test rdi, rdi
je 0x7ff2f94d8b2
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
jns 0x7ff2f94d8cd
lea rcx, [0x7ff2f94d8e8]
mov r9, rsi
mov r8d, ebp
mov rdx, r12
call fcn.7ff2f94d960
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x7ff2f94dd38
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x7ff2f962100]
xor rax, rsp
mov qword [rsp + 0x60], rax
and qword [r11 - 0x50], 0
xor esi, esi
lea rdx, [r11 - 0x48]
lea ecx, [rsi + 0x11]
call fcn.7ff2f950f80
mov edi, eax
test eax, eax
js 0x7ff2f94dd8f
mov bl, byte [rsp + 0x35]
test bl, bl
jne 0x7ff2f94dd93
mov r8b, byte [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
lea r9, [rsp + 0x20]
xor edx, edx
call fcn.7ff2f950ff4
jmp 0x7ff2f94dd93
mov bl, byte [rsp + 0x20]
test edi, edi
js 0x7ff2f94df0e
test bl, bl
jne 0x7ff2f94dda9
mov edi, 0xc0000061
jmp 0x7ff2f94df0e
call fcn.7ff2f952498
test al, al
jne 0x7ff2f94ddd6
xor r9d, r9d
lea rdx, [rsp + 0x48]
lea r8d, [r9 + 0x14]
lea ecx, [r9 + 0x5a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x7ff2f94ddd6
mov edi, 0xc00000bb
jmp 0x7ff2f94df0e
mov ecx, 8
call fcn.7ff2f94e67c
lea rcx, [rsp + 0x28]
call fcn.7ff2f9547c4
mov edi, eax
test eax, eax
js 0x7ff2f94dec5
mov rdi, qword [rsp + 0x28]
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
repne scasw ax, word [rdi]
lea rdi, [0x7ff2f95d7d0]
not rcx
lea rdx, [rcx - 1]
mov rcx, r8
repne scasw ax, word [rdi]
not rcx
lea eax, [rdx + rcx]
mov rcx, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rcx + 0x60]
lea r8, [rax + rax]
mov edi, eax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, qword [rsp + 0x28]
mov rsi, rax
test rax, rax
jne 0x7ff2f94de52
mov edi, 0xc000009a
jmp 0x7ff2f94deca
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.7ff2f958b04
lea r8, [0x7ff2f95d7d0]
mov rdx, rdi
mov rcx, rsi
call fcn.7ff2f958a60
lea rcx, [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x38]
call fcn.7ff2f951758
mov edi, eax
test eax, eax
jns 0x7ff2f94de97
cmp eax, 0xc0000034
jne 0x7ff2f94deca
lea rcx, [rsp + 0x38]
mov rdx, rsi
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x38]
call fcn.7ff2f951758
mov edi, eax
test eax, eax
jns 0x7ff2f94debc
cmp eax, 0xc0000034
jne 0x7ff2f94deca
call fcn.7ff2f94e7f4
mov edi, eax
jmp 0x7ff2f94deca
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x7ff2f94deed
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test rsi, rsi
je 0x7ff2f94df0e
mov rax, qword gs:[0x30]
mov r8, rsi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff2f958660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret