joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b02ac
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x40], 0
lea rax, [0x14001ad9c]
and dword [rbp - 0x3c], 0
lea rdx, [rbp - 0x30]
and qword [rbp - 0x38], 0
mov rsi, r9
and qword [rbp - 0x18], 0
xor r9d, r9d
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x40]
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x28]
test ebx, ebx
jns 0x1400b031c
mov ecx, ebx
jmp 0x1400b0399
xor edi, edi
cmp dword [rbp - 0x3c], edi
jle 0x1400b0385
movsxd rbx, edi
shl rbx, 7
add rbx, qword [rbp - 0x38]
mov rcx, rbx
lea rdx, [rbx + 0x68]
call fcn.1400b1cdc
lea rax, [0x14001aa5c]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], rax
xor r9d, r9d
lea rax, [rbx + 0x60]
mov ecx, 0xb9
mov qword [rbp - 0x10], rax
lea rax, [rbx + 0x58]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x30]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rbp - 0x3c]
jl 0x1400b0323
lea r8, [rbp - 0x40]
mov rdx, rsi
call fcn.1400b8ef8
mov ebx, eax
test eax, eax
jns 0x1400b039e
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400c4d6c
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400b03cd
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c0bec
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, r8
mov r12d, edx
xor edi, edi
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x48], rdi
mov ebx, edi
mov r13, r9
call fcn.1400c65d4
mov r14, qword [rbp - 0x48]
mov esi, eax
test eax, eax
jns 0x1400c0c3f
mov ecx, eax
call fcn.14007ac40
jmp 0x1400c0cd8
mov esi, 0x20
mov edx, esi
lea ecx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400c0c5c
mov rbx, rdi
jmp 0x1400c0c61
test rbx, rbx
jne 0x1400c0c6a
mov esi, 0x8007000e
mov ecx, esi
jmp 0x1400c0c35
mov edi, dword [rbp - 0x50]
lea rcx, [0x14001e81c]
mov qword [rbp - 0x38], rcx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x4c]
mov qword [rbp - 0x18], r14
xor r9d, r9d
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x1c], edi
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x28], r12d
lea r8d, [r9 + 0x3c]
mov qword [rbp - 0x24], r15
lea ecx, [r8 + 0x7d]
mov dword [rbp - 0x10], esi
mov qword [rbp - 0xc], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x4c]
test esi, esi
js 0x1400c0c66
mov ecx, edi
mov dword [r13], 0x20
xor eax, eax
mov rdi, r14
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x50]
mov rcx, rbx
xor edi, edi
mov ebx, edi
mov qword [rax], rcx
mov ecx, esi
call fcn.14007ace8
test rbx, rbx
je 0x1400c0ced
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x1400c0cfb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x70]
mov eax, esi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400c4d6c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x1400c4eab
mov r15d, dword [rcx + 4]
cmp ebp, r15d
cmovl r15d, ebp
test edx, edx
jle 0x1400c4e2a
mov r14, rbp
mov edi, r12d
shl r14, 7
mov rax, r14
shr rax, 7
cmp rax, rbp
je 0x1400c4dd0
mov edi, 0x80070216
mov ecx, edi
call fcn.14007ac40
mov r14, qword [rsp + 0x70]
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x1400c4de7
mov ecx, edi
call fcn.14007ac40
jmp 0x1400c4eae
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400c4e0e
mov rcx, rax
mov rbx, rax
test rax, rax
jne 0x1400c4e15
mov edi, 0x8007000e
jmp 0x1400c4ddb
test r15d, r15d
je 0x1400c4e2a
mov rdx, qword [rsi + 8]
movsxd r8, r15d
shl r8, 7
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x1400c4e7a
mov edi, ebp
movsxd rdx, edi
shl rdx, 7
add rdx, qword [rsi + 8]
je 0x1400c4e73
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14001cadc]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x1400c4e31
mov rdi, qword [rsi + 8]
mov r14, rbx
mov rbx, r12
test rdi, rdi
je 0x1400c4ea1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r14
mov dword [rsi + 4], r15d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x1400c4ece
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1400c7108
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r9d, r9d
mov qword [r11 - 0x10], rcx
lea rax, [0x14002089c]
mov qword [r11 - 0x28], 3
mov qword [r11 - 0x20], rax
lea rdx, [r11 - 0x28]
lea rax, [r11 + 8]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [r11 - 0x18], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x1400c75a4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor esi, esi
xor ebx, ebx
and dword [rbp - 0x24], esi
mov r15, r8
and dword [rbp - 0x28], esi
mov r14, rdx
and qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], rbx
test ecx, ecx
je 0x1400c7625
cmp ecx, 1
je 0x1400c75e8
mov ecx, 0x80070057
mov edi, ecx
jmp 0x1400c76e5
lea rax, [0x1400218dc]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x30]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
jmp 0x1400c7660
lea rax, [0x140021c1c]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x48]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x48]
mov edi, ecx
test ecx, ecx
js 0x1400c76e5
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.14004df1c
mov edi, eax
test eax, eax
jns 0x1400c7685
mov ecx, eax
call fcn.14007ac40
mov rbx, qword [rbp - 0x38]
jmp 0x1400c76ea
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14006abd8
mov edi, eax
test eax, eax
jns 0x1400c76a5
mov ecx, eax
call fcn.14007ac40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c767f
mov rbx, qword [rbp - 0x38]
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.14006ab64
mov edi, eax
test eax, eax
jns 0x1400c76c8
mov ecx, eax
call fcn.14007ac40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c76ea
mov rsi, qword [rbp - 0x30]
mov r8d, 0x7fffffff
mov rcx, rsi
mov rdx, r15
call fcn.14006b1f0
mov edi, eax
test eax, eax
jns 0x1400c76ea
mov ecx, eax
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x1400c76ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400c7713
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x40], 0
test rsi, rsi
je 0x1400c772c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x98]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f3138
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
sub rsp, 0x50
rdtsc
and qword [0x14045c860], 0
and qword [0x14045c850], 0
shl rdx, 0x20
or rax, rdx
btr eax, 0x1f
mov qword [0x14045c870], rax
call fcn.1400f29b8
mov qword [0x14045c848], rax
test rax, rax
je 0x1400f31a0
mov ebx, 1
mov qword [0x14045c858], rbx
mov qword [0x14045c868], rbx
call fcn.14050f000
mov ecx, dword [0x14045d288]
test eax, eax
mov edx, eax
cmovns ecx, ebx
mov dword [0x14045d288], ecx
jmp 0x1400f31b5
and qword [0x14045c858], 0
mov edx, 0x8007000e
and qword [0x14045c868], 0
xor eax, eax
test edx, edx
cmovs eax, edx
test eax, eax
js 0x1400f320a
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x20]
and dword [rsp + 0x40], 0
xor r9d, r9d
mov ecx, 0xb9
mov dword [rsp + 0x34], 0x64
mov qword [rsp + 0x20], 8
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 0x10]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x1400f3218
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x14045d288], 0
je 0x1400f3241
lea rcx, [0x14045c878]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop dword [rax + rax]
and dword [0x14045d288], 0
mov rbx, qword [0x14045c848]
jmp 0x1400f3260
mov rcx, rbx
mov rbx, qword [rbx + 0xfbd0]
call fcn.1400f2b5c
dec qword [0x14045c858]
test rbx, rbx
jne 0x1400f324a
and qword [0x14045c848], rbx
lea rax, [0x140000000]
and dword [rsp + 0x20], ebx
lea r8d, [rbx + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], 9
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov ecx, 0xb9
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
add rsp, 0x40
pop rbx
ret
Function at 0x140106a80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rsi, rcx
mov dword [rcx + 8], edx
xor ecx, ecx
call fcn.14007ace8
lea rcx, [rsi + 0x20]
call fcn.140070748
xor ecx, ecx
call fcn.14007ace8
xor ebx, ebx
test byte [rsi + 8], 1
je 0x140106bd3
lea r9, [rbp + 0x38]
xor edx, edx
lea r8, [0x1403e4df0]
mov rcx, rsi
call fcn.140109760
mov ebx, eax
test eax, eax
jns 0x140106ae9
mov ecx, eax
call fcn.14007ac40
mov edi, dword [rbp + 0x30]
jmp 0x140106aed
movzx edi, byte [rbp + 0x38]
mov ecx, ebx
call fcn.14007ace8
lea eax, [rbx + 0x3ffb2cff]
cmp eax, 1
ja 0x140106b06
xor ebx, ebx
jmp 0x140106bd3
test ebx, ebx
js 0x140106bcc
test edi, edi
je 0x140106bd3
mov rcx, rsi
call fcn.140108250
mov ebx, eax
test eax, eax
jns 0x140106b2b
mov ecx, eax
jmp 0x140106bce
and qword [rbp + 0x20], 0
cmp dword [0x14045d4e0], 0
mov byte [rbp + 0x38], 0
jne 0x140106b44
mov ecx, 0xc004d101
jmp 0x140106b9a
mov rax, qword [0x14045d6c8]
lea rdx, [rbp - 0x40]
and qword [rbp - 0x20], 0
xor r9d, r9d
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
lea rax, [0x140024cdc]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x30], rax
lea r8d, [r9 + 0x34]
lea rax, [rbp + 0x38]
mov dword [rbp - 0x18], 0xa0014
mov qword [rbp - 0x14], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
test ecx, ecx
jns 0x140106b9f
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp + 0x20]
call fcn.14006a9cc
test ebx, ebx
jns 0x140106bc1
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x140106bd3
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14011722c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x3c], 0
mov r14, r8
and qword [rbp - 0x38], 0
lea r8, [rbp + 0x20]
mov rcx, rdx
mov dword [rbp - 0x40], 1
lea rdx, [rbp - 0x38]
call fcn.1401b1198
mov rsi, qword [rbp - 0x38]
mov edi, eax
test eax, eax
jns 0x14011727f
mov ecx, eax
call fcn.14007ac40
jmp 0x140117323
cmp dword [0x14045d4e0], 0
jne 0x14011728f
mov ebx, 0xc004d101
jmp 0x1401172e0
test rsi, rsi
je 0x1401172db
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1401172db
lea rcx, [0x14001eb5c]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rcx
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rbp - 0x18], rsi
lea rcx, [rbp + 0x38]
mov dword [rbp - 0x10], eax
mov qword [rbp - 0x20], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x38]
test ebx, ebx
jns 0x1401172e7
jmp 0x1401172e0
mov ebx, 0xc004d104
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov ecx, ebx
sub ecx, 0x4004d601
je 0x140117313
cmp ecx, 1
je 0x14011730a
mov edi, ebx
test ebx, ebx
jns 0x140117317
mov ecx, ebx
jmp 0x140117275
mov dword [rbp - 0x3c], 1
jmp 0x140117317
and dword [rbp - 0x40], 0
test r14, r14
je 0x140117323
mov rax, qword [rbp - 0x40]
mov qword [r14], rax
mov ecx, edi
call fcn.14007ace8
test rsi, rsi
je 0x140117338
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14016367c
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, dword [rsp + 0x3c]
mov r14, r9
mov ebp, edx
mov r15, rcx
xor esi, esi
lea rax, [rsp + 0x30]
xor ebx, ebx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r15
lea r9d, [rbx + 0x24]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1401636fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401636e4
mov ebx, 0x80004005
jmp 0x1401636f2
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14007ac40
jmp 0x140163709
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x38], xmm0
mov edi, dword [rsp + 0x3c]
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x140163745
test bpl, 8
je 0x14016371f
cmp edi, 4
je 0x14016377d
test bpl, 1
je 0x14016372a
cmp edi, 1
je 0x14016377d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x1e
jb 0x1401636af
mov ebx, 0x800705b4
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140388a40
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [r14], edi
xor ebx, ebx
jmp 0x14016374c
Function at 0x14016ae00
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
cmp dword [rcx], 0
lea rbx, [rcx + 8]
mov rdi, rcx
je 0x14016aeb1
mov eax, dword [rcx + 4]
xor ebp, ebp
test eax, eax
cmovle ebp, eax
jle 0x14016ae87
xor esi, esi
movsxd rdx, esi
shl rdx, 4
add rdx, qword [rbx]
je 0x14016ae80
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14003749c]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 1
lea r8d, [r9 + 0x24]
mov qword [rsp + 0x30], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
inc esi
cmp esi, dword [rdi + 4]
jl 0x14016ae32
mov rsi, qword [rbx]
test rsi, rsi
je 0x14016aea7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rbx], 0
and qword [rbx], 0
and dword [rdi], 0
mov dword [rdi + 4], ebp
xor ecx, ecx
call fcn.14007ace8
mov rdi, qword [rbx]
test rdi, rdi
je 0x14016aed8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rbx], 0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14016e03c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x14016e15e
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14016e0dd
mov rbx, rbp
shl rbx, 5
mov ecx, r12d
call fcn.14007ace8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x14016e0ac
mov ebx, r12d
jmp 0x14016e0b7
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x14016e0c8
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x14016e161
test r14d, r14d
je 0x14016e0dd
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 5
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14016e12d
mov edi, ebp
movsxd rdx, edi
shl rdx, 5
add rdx, qword [rsi + 8]
je 0x14016e126
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x140028ddc]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14016e0e4
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14016e154
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14016e181
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14016e1ac
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x14016e308
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14016e280
lea r15, [rbp*2]
movabs rax, 0xaaaaaaaaaaaaaaab
add r15, rbp
mov edi, r12d
shl r15, 3
mul r15
shr rdx, 4
cmp rdx, rbp
je 0x14016e222
mov edi, 0x80070216
mov ecx, edi
call fcn.14007ac40
mov r15, qword [rsp + 0x70]
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x14016e239
mov ecx, edi
call fcn.14007ac40
jmp 0x14016e30b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14016e260
mov rcx, rax
mov rbx, rax
test rax, rax
jne 0x14016e267
mov edi, 0x8007000e
jmp 0x14016e22d
test r14d, r14d
je 0x14016e280
mov rdx, qword [rsi + 8]
movsxd rax, r14d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14016e2d7
mov edi, ebp
mov rdx, qword [rsi + 8]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x14016e2d0
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rcx, [0x1400273dc]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14016e287
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14016e2fe
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14016e32b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14016e53c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rsi, rcx
movsxd r15, edx
mov ecx, dword [rcx + 4]
mov r12, r8
test ecx, ecx
jns 0x14016e566
mov edi, 0x8000ffff
mov ecx, edi
jmp 0x14016e580
lea r8, [rsp + 0x80]
mov edx, 1
call fcn.14007a2f8
mov edi, eax
test eax, eax
jns 0x14016e58a
mov ecx, eax
call fcn.14007ac40
jmp 0x14016e6ff
mov edi, dword [rsi]
test edi, edi
jns 0x14016e59e
mov edi, 0x8000ffff
mov ebx, edi
mov ecx, edi
jmp 0x14016e643
cmp dword [rsp + 0x80], edi
jg 0x14016e5ae
xor ebx, ebx
jmp 0x14016e648
mov r14d, dword [rsp + 0x80]
test edi, edi
jne 0x14016e5c3
mov edi, 0x20
xor ebx, ebx
jmp 0x14016e61d
js 0x14016e5ff
lea ecx, [rdi + rdi]
xor ebx, ebx
mov eax, ecx
shr eax, 1
cmp eax, edi
je 0x14016e5e0
mov ebx, 0x80070216
mov ecx, ebx
call fcn.14007ac40
jmp 0x14016e5e3
mov r14d, ecx
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x14016e604
test r14d, r14d
jns 0x14016e5fa
mov ebx, 0x80070216
jmp 0x14016e604
mov edi, r14d
jmp 0x14016e60b
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x14016e61d
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x14016e65c
cmp edi, dword [rsp + 0x80]
jl 0x14016e5b6
mov edx, edi
mov rcx, rsi
call fcn.1400c6bf4
mov ebx, eax
test eax, eax
jns 0x14016e648
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov edi, ebx
test ebx, ebx
jns 0x14016e660
mov ecx, ebx
jmp 0x14016e580
mov ecx, ebx
jmp 0x14016e643
mov edx, dword [rsi + 4]
cmp r15d, edx
jge 0x14016e69f
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x14016e676
xor r9d, r9d
jmp 0x14016e679
mov r9, rcx
sub edx, r15d
mov rax, r15
shl rax, 4
mov rbx, r15
movsxd r8, edx
shl r8, 4
lea rdx, [rax + rcx]
lea rcx, [rax + 0x10]
add rcx, r9
call sub.msvcrt.dll_memmove
jmp 0x14016e6a2
mov rbx, r15
mov rax, qword [rsi + 8]
lea rcx, [0x14003645c]
shl rbx, 4
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbx + rax], xmm0
mov rax, qword [rsi + 8]
lea r8d, [r9 + 0x28]
mov qword [rsp + 0x28], rcx
add rax, rbx
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x30], rcx
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r12
call sub.ntdll.dll_NtQuerySystemInformation
inc dword [rsi + 4]
xor edi, edi
mov ecx, edi
call fcn.14007ace8
mov rbx, qword [rsp + 0x88]
mov eax, edi
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret