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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
and qword [rsp + 0x68], 0
mov r14, rcx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rbp + 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1401601ac
lea rax, [0x1403a7268]
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
lock inc dword [0x14043f384]
jmp 0x1401601ae
xor esi, esi
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1401601d3
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rsp + 0x68], rsi
test rsi, rsi
jne 0x1401601eb
mov ebp, 0x8007000e
mov ecx, ebp
call fcn.140079c40
jmp 0x1401601f3
and qword [rsp + 0x68], rbp
mov qword [r14], rsi
mov ecx, ebp
call fcn.140079c60
and qword [rsp + 0x30], 0
lea rax, [0x1400209d8]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rsp + 0x60]
mov eax, ebp
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140162098
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
mov rbx, qword [rcx + 8]
mov rdi, rdx
mov r15d, dword [rcx]
mov rsi, rcx
mov r12d, dword [rcx + 4]
and qword [rcx + 8], 0
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
mov rbp, qword [rdx + 8]
and qword [rdx + 8], 0
mov r14, qword [rcx + 8]
mov qword [rsp + 0x70], rbx
test r14, r14
je 0x1401620fe
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x70]
xor eax, eax
test rbp, rbp
cmovne rax, rbp
and qword [rsp + 0x70], 0
mov qword [rsi + 8], rax
mov dword [rdi], r15d
mov dword [rdi + 4], r12d
mov rsi, qword [rdi + 8]
test rsi, rsi
je 0x140162135
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov qword [rsp + 0x20], 3
test rbx, rbx
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
cmovne rax, rbx
and qword [rsp + 0x30], 0
mov qword [rdi + 8], rax
xor r9d, r9d
lea rax, [0x140026e98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x40]
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 0x1401621a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor ebx, ebx
mov rdi, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], ebx
je 0x140162255
mov eax, dword [rcx + 4]
xor esi, esi
test eax, eax
cmovle esi, eax
jle 0x140162225
movsxd rdx, ebx
shl rdx, 4
add rdx, qword [rdi + 8]
je 0x14016221a
xor r9d, r9d
mov qword [rbp - 0x18], rdx
lea rax, [0x140031118]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x28]
mov dword [rbp - 0x10], 1
lea r8d, [r9 + 0x24]
mov qword [rbp - 0x20], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
inc ebx
cmp ebx, dword [rdi + 4]
jl 0x1401621d2
mov rbx, qword [rbp + 0x20]
mov r14, qword [rdi + 8]
test r14, r14
je 0x140162242
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test rbx, rbx
cmovne rax, rbx
mov qword [rdi + 8], rax
and dword [rdi], 0
mov dword [rdi + 4], esi
xor ecx, ecx
call fcn.140079c60
and qword [rbp - 0x20], 0
lea rax, [0x1400271d8]
xor r9d, r9d
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x30], 3
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x18], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1401623b8
Capabilities:
Get system information on windows
Start service

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x30], 0
xor ebx, ebx
and qword [rbp + 0x48], 0
xor edx, edx
and qword [rbp + 0x30], 0
xor ecx, ecx
and qword [rbp + 0x50], 0
lea r8d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rcx, qword [rbp + 0x30]
mov rdi, rax
test rcx, rcx
je 0x14016240b
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x140162447
mov r8d, SafeArrayUnaccessData
mov qword [rbp + 0x30], rdi
lea rdx, str.TrustedInstaller
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, qword [rbp + 0x50]
mov rdi, rax
test rcx, rcx
je 0x14016243c
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x140162447
mov qword [rbp + 0x48], rdi
jmp 0x14016246d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140162458
mov ebx, 0x80004005
jmp 0x140162466
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x18], 0
lea rax, [rbp + 0x50]
mov r12d, 3
mov qword [rbp - 0x10], rax
lea r13, [0x14002b2d8]
mov qword [rbp - 0x28], r12
xor r9d, r9d
mov qword [rbp - 0x20], r13
lea rdx, [rbp - 0x28]
mov ecx, 0xb9
lea edi, [r12 + 0x1d]
mov r8d, edi
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rbp - 0x18], 0
lea rax, [rbp + 0x30]
xor r9d, r9d
mov qword [rbp - 0x10], rax
mov r8d, edi
mov qword [rbp - 0x28], r12
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x20], r13
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, 0x80070426
test ebx, ebx
jns 0x1401624e8
mov ecx, ebx
jmp 0x14016256d
mov rcx, qword [rbp + 0x48]
lea r8, [rbp + 0x40]
call fcn.14016437c
mov ebx, eax
test eax, eax
jns 0x1401624ff
mov ecx, eax
jmp 0x14016256d
cmp dword [rbp + 0x40], 0
je 0x140162509
xor ebx, ebx
jmp 0x14016257b
mov rcx, qword [rbp + 0x48]
lea r8, [rbp - 0x30]
xor edx, edx
cmp qword [rbp - 0x30], rdx
setne dl
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140162550
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x140162550
test eax, eax
jne 0x14016253c
mov ebx, 0x80004005
jmp 0x1401624e1
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140162572
jmp 0x1401624e1
mov rcx, qword [rbp + 0x48]
lea r8, [rbp + 0x40]
call fcn.14016437c
mov ebx, eax
test eax, eax
js 0x1401624fb
cmp dword [rbp + 0x40], 0
jne 0x140162572
mov ebx, edi
mov ecx, edi
call fcn.140079c40
cmp ebx, 0x800705b4
cmove ebx, edi
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x18], 0
lea rax, [rbp + 0x48]
xor r9d, r9d
mov qword [rbp - 0x28], r12
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x20], r13
mov ecx, 0xb9
mov qword [rbp - 0x10], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x1401633d4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x20], 0
mov rdi, rcx
movsxd rsi, edx
cmp dword [rcx], esi
je 0x14016353b
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x1401634b6
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140163443
mov r14, rcx
shl r14, 5
mov rax, r14
shr rax, 5
cmp rax, rcx
je 0x140163446
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x140163446
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x14016345d
mov ecx, ebx
call fcn.140079c40
jmp 0x14016353d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, qword [rbp + 0x20]
mov rbx, rax
test r14, r14
je 0x140163491
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x140163595
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x1401634b6
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd r8, r15d
shl r8, 5
call sub.msvcrt.dll_memcpy
cmp esi, dword [rdi + 4]
jge 0x140163502
mov ebx, esi
movsxd rdx, ebx
shl rdx, 5
add rdx, qword [rdi + 8]
je 0x1401634fb
and qword [rbp - 0x10], 0
lea rax, [0x140018e58]
xor r9d, r9d
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], 3
mov ecx, 0xb9
mov qword [rbp - 0x18], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc ebx
cmp ebx, dword [rdi + 4]
jl 0x1401634bd
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140163528
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test r14, r14
cmovne rax, r14
mov qword [rdi + 8], rax
mov dword [rdi + 4], r15d
mov dword [rdi], esi
xor ebx, ebx
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x140021398]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov ebx, 0x8007000e
jmp 0x140163451
Function at 0x1401636b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x20], 0
mov rdi, rcx
movsxd rsi, edx
cmp dword [rcx], esi
je 0x14016382a
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x14016379e
xor ebx, ebx
test edx, edx
je 0x140163727
lea r14, [rsi + rsi*2]
movabs rax, 0xaaaaaaaaaaaaaaab
shl r14, 3
mul r14
shr rdx, 4
cmp rdx, rsi
je 0x14016372a
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x14016372a
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x140163741
mov ecx, ebx
call fcn.140079c40
jmp 0x14016382c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, qword [rbp + 0x20]
mov rbx, rax
test r14, r14
je 0x140163775
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x140163884
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x14016379e
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd rax, r15d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp esi, dword [rdi + 4]
jge 0x1401637f1
mov ebx, esi
mov rdx, qword [rdi + 8]
movsxd rax, ebx
lea rcx, [rax + rax*2]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x1401637ea
and qword [rbp - 0x10], 0
lea rcx, [0x140017798]
xor r9d, r9d
mov qword [rbp - 0x18], rcx
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], 3
mov ecx, 0xb9
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc ebx
cmp ebx, dword [rdi + 4]
jl 0x1401637a5
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140163817
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test r14, r14
cmovne rax, r14
mov qword [rdi + 8], rax
mov dword [rdi + 4], r15d
mov dword [rdi], esi
xor ebx, ebx
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x1400216d8]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov ebx, 0x8007000e
jmp 0x140163735
Function at 0x1401640ac
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
movsxd rsi, edx
mov ecx, dword [rcx + 4]
mov rbp, r8
test ecx, ecx
jns 0x1401640d1
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x1401640e8
lea r8, [rsp + 0x70]
mov edx, 1
call fcn.140079280
mov ebx, eax
test eax, eax
jns 0x1401640f2
mov ecx, eax
call fcn.140079c40
jmp 0x14016418b
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.140164a94
mov ebx, eax
test eax, eax
js 0x1401640e6
mov r8d, dword [rdi + 4]
mov rbx, rsi
cmp esi, r8d
jge 0x14016412e
sub r8d, esi
mov rdx, rsi
shl rdx, 4
add rdx, qword [rdi + 8]
movsxd r8, r8d
shl r8, 4
lea rcx, [rdx + 0x10]
call sub.msvcrt.dll_memmove
mov rax, qword [rdi + 8]
lea rcx, [0x14002dd18]
shl rbx, 4
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbx + rax], xmm0
mov rax, qword [rdi + 8]
lea r8d, [r9 + 0x28]
mov qword [rsp + 0x28], rcx
add rax, rbx
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x30], rcx
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
call sub.ntdll.dll_NtQuerySystemInformation
inc dword [rdi + 4]
xor ebx, ebx
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140165548
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rbx, rdx
lea rcx, [rbp - 9]
xor edx, edx
lea r8d, [rdx + 0x40]
call sub.msvcrt.dll_memset
cmp dword [0x14043ffa0], 0
jne 0x140165584
mov ecx, 0xc004d101
jmp 0x14016560d
mov rcx, 0xffffffff80000002
mov qword [rbp + 7], rbx
lea rax, str.data.dat
mov qword [rbp + 0xf], rcx
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x39]
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSoftwareProtectionPlatform
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x17], rax
xor r9d, r9d
lea rax, str.SYSTEMWPA
mov qword [rbp - 0x39], 3
mov qword [rbp + 0x27], rax
mov ecx, 0xb9
mov rax, qword [0x14043ff80]
mov qword [rbp + 0x2f], rax
lea r8d, [r9 + 0x28]
lea rax, [0x140031458]
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x5f]
mov qword [rbp - 0x29], rax
mov rax, qword [0x140440188]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x19], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x5f]
test ecx, ecx
jns 0x140165612
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret

Function at 0x1401659a4
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x38], 0
mov esi, r9d
and qword [rbp - 0x40], 0
mov rbx, rdx
cmp dword [0x14043ffa0], 0
mov rdi, rcx
jne 0x1401659e5
mov ecx, 0xc004d101
jmp 0x140165a9e
test rdi, rdi
je 0x140165a99
test rbx, rbx
je 0x140165a99
mov ecx, esi
call fcn.140165388
mov ecx, eax
test eax, eax
js 0x140165a9e
mov rcx, qword [0x14043ff98]
lea r9, [rbp - 0x40]
mov r8d, 1
mov rdx, rbx
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140165a9e
lea rax, [0x14003fe58]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x20]
mov dword [rbp - 8], 0x2001b
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov rax, qword [rbp - 0x40]
mov ecx, 0xb9
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
lea r8d, [r9 + 0x30]
mov dword [rbp - 4], esi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
js 0x140165a9e
mov rdx, qword [rbp - 0x38]
mov r9, rdi
mov rcx, qword [0x14043ff98]
mov r8d, 2
call fcn.140168278
mov ecx, eax
test eax, eax
jns 0x140165aa3
jmp 0x140165a9e
mov ecx, 0x80070057
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x40]
call fcn.140053010
lea rcx, [rbp - 0x38]
call fcn.140053010
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140165d30
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x58], 0
mov edi, r8d
and qword [rbp - 0x60], 0
mov rbx, rcx
cmp dword [0x14043ffa0], 0
jne 0x140165d68
mov ecx, 0xc004d101
jmp 0x140165e30
test rbx, rbx
je 0x140165e2b
test rdx, rdx
je 0x140165e2b
test edi, edi
je 0x140165e2b
mov rcx, qword [0x14043ff98]
lea r9, [rbp - 0x60]
mov r8d, 1
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140165e30
and qword [rbp - 0x50], 0
lea rax, [0x14003f7d8]
and dword [rbp - 0x48], 0
lea rdx, [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x50]
xor r9d, r9d
and dword [rbp - 0xc], 0
mov ecx, 0xb9
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x60]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x14], rax
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x18], edi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
test ecx, ecx
js 0x140165e30
mov rdx, qword [rbp - 0x58]
mov r9, rbx
mov rcx, qword [0x14043ff98]
mov r8d, 3
call fcn.140168278
mov ecx, eax
test eax, eax
jns 0x140165e35
jmp 0x140165e30
mov ecx, 0x80070057
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x60]
call fcn.140053010
lea rcx, [rbp - 0x58]
call fcn.140053010
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140166a64
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x28], 0
mov rbx, rdx
cmp dword [0x14043ffa0], 0
jne 0x140166a91
mov ecx, 0xc004d101
call fcn.140079c40
jmp 0x140166b37
test rbx, rbx
jne 0x140166a9d
mov ecx, 0x80070057
jmp 0x140166a87
mov rdx, rcx
lea r9, [rbp + 0x28]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140166a87
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 1
jne 0x140166acd
mov ecx, 0xc004d314
jmp 0x140166a87
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x38]
lea rax, [0x140029598]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x38], 3
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
mov qword [rbp - 0x20], rax
lea r8d, [r9 + 0x34]
lea rax, [rbp - 0x40]
mov dword [rbp - 0x10], 0xa0005
mov qword [rbp - 0xc], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
js 0x140166a87
mov rax, qword [rbp - 0x40]
mov dword [rbx], eax
shr rax, 0x20
mov dword [rbx + 4], eax
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x28]
call fcn.140053010
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140166b64
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x40], 0
mov ebx, r8d
cmp dword [0x14043ffa0], 0
mov edi, edx
jne 0x140166b93
mov ecx, 0xc004d101
jmp 0x140166c23
mov rdx, rcx
lea r9, [rbp - 0x40]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140166c23
mov rax, qword [rbp - 0x40]
test byte [rax + 0x18], 1
jne 0x140166bc3
mov ecx, 0xc004d314
jmp 0x140166c23
mov ecx, ebx
and ecx, 2
test cl, cl
je 0x140166bd3
mov ecx, 0x80070057
jmp 0x140166c23
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x38]
lea rax, [0x140028f18]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], 3
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x10], edi
mov dword [rbp - 0xc], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
test ecx, ecx
jns 0x140166c28
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x40]
call fcn.140053010
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x140166c58
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
cmp dword [0x14043ffa0], 0
jne 0x140166c6e
mov ecx, 0xc004d101
jmp 0x140166ccc
lea rax, [0x14002ac58]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov rax, qword [0x140440188]
mov ecx, 0xb9
mov qword [rsp + 0x50], r8
lea r8d, [r9 + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x88]
test ecx, ecx
jns 0x140166cd1
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
mov eax, ebx
add rsp, 0x60
pop rbx
ret