joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f69d4
Capabilities:
Compare security identifiers

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
mov word [rbp + 0x2b], 0x500
lea rax, [rbp + 0x17]
mov qword [rbp + 0x1f], r12
mov qword [r11 - 0x68], rax
mov r13, rcx
mov dword [r11 - 0x70], r12d
lea rcx, [rbp + 0x27]
mov dword [r11 - 0x78], r12d
lea r8d, [r12 + 4]
mov dword [r11 - 0x80], r12d
mov ebx, r12d
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov dl, 1
mov dword [rsp + 0x20], r12d
mov qword [rbp + 7], rbx
mov qword [rbp + 0x17], r12
mov qword [rbp + 0xf], r12
mov dword [rbp + 0x27], r12d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1400f6a8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400f6a74
mov edi, 0x80004005
jmp 0x1400f6a82
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.1400790f8
jmp 0x1400f6b7d
lea rax, [rbp + 0xf]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x27]
mov dword [rsp + 0x48], r12d
mov dl, 1
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
lea r8d, [r9 + 6]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400f6a63
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x1f]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f6a63
mov rcx, qword [rbp + 0x1f]
lea r8, [rbp + 7]
call fcn.1400f9184
mov edi, eax
test eax, eax
jns 0x1400f6b0c
mov ecx, eax
call fcn.1400790f8
mov rbx, qword [rbp + 7]
jmp 0x1400f6b7d
mov rbx, qword [rbp + 7]
mov r15d, r12d
mov esi, r12d
mov r14d, r12d
cmp dword [rbx], r12d
jbe 0x1400f6b74
mov rcx, qword [rbp + 0x17]
mov r12d, r14d
add r12, r12
mov rdx, qword [rbx + r12*8 + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1400f6b45
xor r12d, r12d
mov r15d, 1
mov esi, r12d
jmp 0x1400f6b63
mov rdx, qword [rbx + r12*8 + 8]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
xor r12d, r12d
test eax, eax
je 0x1400f6b63
mov r15d, r12d
lea esi, [r12 + 1]
inc r14d
cmp r14d, dword [rbx]
jb 0x1400f6b1e
test esi, esi
jne 0x1400f6b79
test r15d, r15d
jne 0x1400f6b79
mov esi, 1
mov dword [r13], esi
mov ecx, edi
call fcn.140079118
lea rcx, [rbp + 0xf]
call fcn.140069668
lea rcx, [rbp + 0x17]
call fcn.140069668
test rbx, rbx
je 0x1400f6baf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400f6bbe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400fb178
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.140079118
lea rcx, [rsi + 0x20]
call fcn.14006ed9c
xor ecx, ecx
call fcn.140079118
xor ebx, ebx
test byte [rsi + 8], 1
je 0x1400fb2c8
lea r9, [rbp + 0x38]
xor edx, edx
lea r8, [0x1403c0250]
mov rcx, rsi
call fcn.1400fdcbc
mov ebx, eax
test eax, eax
jns 0x1400fb1e1
mov ecx, eax
call fcn.1400790f8
mov edi, dword [rbp + 0x30]
jmp 0x1400fb1e5
movzx edi, byte [rbp + 0x38]
mov ecx, ebx
call fcn.140079118
lea eax, [rbx + 0x3ffb2cff]
cmp eax, 1
ja 0x1400fb1fb
xor edi, edi
xor ebx, ebx
test ebx, ebx
js 0x1400fb2c1
test edi, edi
je 0x1400fb2c8
mov rcx, rsi
call fcn.1400fc858
mov ebx, eax
test eax, eax
jns 0x1400fb220
mov ecx, eax
jmp 0x1400fb2c3
and qword [rbp + 0x20], 0
cmp dword [0x14042f560], 0
mov byte [rbp + 0x38], 0
jne 0x1400fb239
mov ecx, 0xc004d101
jmp 0x1400fb28f
and qword [rbp - 0x20], 0
lea rax, [0x1400243b8]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
xor r9d, r9d
mov rax, qword [0x14042f748]
mov ecx, 0xb9
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x14], rax
lea r8d, [r9 + 0x34]
mov dword [rbp - 0x18], 0xa0014
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
test ecx, ecx
jns 0x1400fb294
call fcn.1400790f8
call fcn.1401609f0
mov ecx, eax
mov ebx, eax
call fcn.140079118
lea rcx, [rbp + 0x20]
call fcn.140052da8
test ebx, ebx
jns 0x1400fb2b6
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
jns 0x1400fb2c8
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140106ea4
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.1401a0154
mov rsi, qword [rbp - 0x38]
mov edi, eax
test eax, eax
jns 0x140106ef7
mov ecx, eax
call fcn.1400790f8
jmp 0x140106f9b
cmp dword [0x14042f560], 0
jne 0x140106f07
mov ebx, 0xc004d101
jmp 0x140106f58
test rsi, rsi
je 0x140106f53
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140106f53
lea rcx, [0x14000b3f8]
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 0x140106f5f
jmp 0x140106f58
mov ebx, 0xc004d104
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
mov ecx, ebx
sub ecx, 0x4004d601
je 0x140106f8b
cmp ecx, 1
je 0x140106f82
mov edi, ebx
test ebx, ebx
jns 0x140106f8f
mov ecx, ebx
jmp 0x140106eed
mov dword [rbp - 0x3c], 1
jmp 0x140106f8f
and dword [rbp - 0x40], 0
test r14, r14
je 0x140106f9b
mov rax, qword [rbp - 0x40]
mov qword [r14], rax
mov ecx, edi
call fcn.140079118
test rsi, rsi
je 0x140106fb0
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 0x140153394
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, dword [rsp + 0x3c]
mov r14, r8
mov rbp, 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, rbp
lea r9d, [rbx + 0x24]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140153413
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401533fc
mov ebx, 0x80004005
jmp 0x14015340a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.1400790f8
jmp 0x140153421
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x38], xmm0
mov edi, dword [rsp + 0x3c]
mov ecx, ebx
call fcn.140079118
test ebx, ebx
js 0x140153451
cmp edi, 4
je 0x140153489
cmp edi, 1
je 0x140153489
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x1e
jb 0x1401533c7
mov ebx, 0x800705b4
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor eax, eax
cmp edi, 4
sete al
xor ebx, ebx
mov dword [r14], eax
jmp 0x140153458
Function at 0x14015a414
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
xor ebx, ebx
movsxd rdi, edx
mov rsi, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], edi
je 0x14015a527
mov r14d, dword [rcx + 4]
cmp edi, r14d
cmovl r14d, edi
test edx, edx
jle 0x14015a4f0
mov rcx, rdi
mov r15, rcx
shl r15, 3
mov rax, r15
shr rax, 3
cmp rax, rcx
je 0x14015a47c
mov ebx, 0x80070216
mov ecx, ebx
call fcn.1400790f8
mov r15, qword [rbp + 0x20]
mov ecx, ebx
call fcn.140079118
test ebx, ebx
jns 0x14015a493
mov ecx, ebx
call fcn.1400790f8
jmp 0x14015a527
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, qword [rbp + 0x20]
mov rbx, rax
test r15, r15
je 0x14015a4c7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14015a57e
mov qword [rbp + 0x20], rbx
test r14d, r14d
je 0x14015a4f0
mov rdx, qword [rsi + 8]
mov rcx, rbx
movsxd r8, r14d
shl r8, 3
call sub.msvcrt.dll_memcpy
mov rbx, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov r15, qword [rsi + 8]
test r15, r15
je 0x14015a512
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test rbx, rbx
cmovne rax, rbx
xor ebx, ebx
mov qword [rsi + 8], rax
mov dword [rsi + 4], r14d
mov dword [rsi], edi
mov ecx, ebx
call fcn.140079118
and qword [rbp - 0x10], 0
lea rax, [0x140020c78]
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 0x14015a487
Function at 0x14015acfc
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, 0x80
and qword [rbp + 0x20], 0
xor eax, eax
and qword [rbp - 0x60], 0
mov rdi, rcx
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov r15, r9
mov qword [rbp - 0x48], rax
mov rsi, r8
mov r14, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1a8]
mov rcx, rbx
call qword [0x1403af620]
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x14015adfb
movsd xmm1, qword [rbp - 0x48]
mov eax, 8
mov rbx, qword [rbp + 0x20]
mov word [rbp - 0x58], ax
mov qword [rbp - 0x50], r15
movups xmm0, xmmword [rbp - 0x58]
mov rax, qword [rbx]
movsd qword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403af620]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14015adfb
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rcx, rbx
call qword [0x1403af620]
lea rdx, [rbp - 0x60]
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
js 0x14015adfb
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403af620]
mov rdx, qword [rbp + 0x20]
xor r8d, r8d
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
jns 0x14015ae02
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
and qword [rbp - 0x10], 0
lea rax, [0x14002cc38]
mov r14d, 3
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], r14
mov edi, 0xb9
mov qword [rbp - 8], rax
xor r9d, r9d
lea rdx, [rbp - 0x20]
lea esi, [r14 + 0x1d]
mov ecx, edi
mov r8d, esi
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rbp - 0x10], 0
lea rax, [0x14002c8f8]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], r14
xor r9d, r9d
mov qword [rbp - 8], rax
mov r8d, esi
mov ecx, edi
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14015ae98
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor edi, edi
mov r15, r9
mov qword [rbp - 0x38], rdi
mov esi, edi
mov qword [rbp - 0x30], rdi
mov r12, r8
mov qword [rbp - 0x40], rdi
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdi + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x14015af17
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
lea rax, [0x140395268]
mov qword [r14], rax
mov dword [r14 + 0x18], 1
lock inc dword [0x14042e944]
jmp 0x14015af1a
mov r14, rdi
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14015af3a
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
mov rcx, rbx
call rdi
xor edi, edi
mov qword [rbp - 0x40], r14
test r14, r14
jne 0x14015af51
mov esi, 0x8007000e
mov ecx, esi
call fcn.1400790f8
jmp 0x14015af59
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], r14
mov ecx, esi
call fcn.140079118
mov r14d, 3
mov qword [rbp - 0x18], rdi
lea rax, [0x14002c278]
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x40]
xor r9d, r9d
lea r8d, [r14 + 0x1d]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
jns 0x14015af9e
mov ecx, esi
jmp 0x14015afcb
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rcx, rdi
call qword [0x1403af620]
lea r8, [rbp - 0x38]
mov rcx, rbx
lea rdx, [0x1403b53e0]
call rdi
xor edi, edi
mov esi, eax
test eax, eax
jns 0x14015afd0
mov ecx, eax
call fcn.1400790f8
mov ecx, esi
call fcn.140079118
xor r9d, r9d
mov qword [rbp - 0x28], r14
lea rax, [0x14002c278]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x30]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
test esi, esi
jns 0x14015b014
mov ecx, esi
call fcn.1400790f8
jmp 0x14015b069
mov rax, qword [rbp + 0x68]
mov r8, r12
mov r9, qword [rbp - 0x38]
mov rdx, r13
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.14015de08
mov esi, eax
test eax, eax
jns 0x14015b04c
mov ecx, eax
jmp 0x14015b00d
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x50]
mov edx, dword [rax + 0x10]
mov dword [rcx], edx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rdi
and qword [rax + 0x10], 0
mov qword [r15], rcx
mov ecx, esi
call fcn.140079118
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x14015b08e
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
mov rcx, rbx
call rdi
lea r11, [rsp + 0x80]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14015b0b8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xa0
xor eax, eax
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x59]
mov qword [rbp + 0x6f], r12
mov qword [rbp - 0x51], rax
mov r14, rdx
mov qword [rbp - 0x49], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rbp + 0x6f]
xor edx, edx
lea r9, [0x1403c0ed0]
mov qword [rsp + 0x20], rax
lea r8d, [r12 + 1]
lea rcx, [0x1403b5380]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14015b150
mov ecx, eax
call fcn.1400790f8
jmp 0x14015b27c
mov rbx, qword [rbp + 0x6f]
or r13d, 0xffffffff
mov rax, qword [rbx]
mov rdi, qword [rax + 0x240]
mov rcx, rdi
call qword [0x1403af620]
movzx edx, r13w
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14015b144
mov rbx, qword [rbp + 0x6f]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x1f8]
mov rcx, rdi
call qword [0x1403af620]
movzx edx, r12w
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14015b144
cmp dword [0x14042fd28], 1
lea eax, [r13 + 9]
movsd xmm1, qword [rbp - 0x49]
mov rsi, r12
mov rbx, qword [rbp + 0x6f]
cmove rsi, qword [0x14042f4f0]
mov word [rbp - 0x59], ax
mov rax, r12
cmove rax, qword [0x14042f4f8]
mov qword [rbp - 0x51], rax
mov rax, qword [rbx]
movups xmm0, xmmword [rbp - 0x59]
movsd qword [rbp - 0x19], xmm1
mov rdi, qword [rax + 0x280]
mov rcx, rdi
movaps xmmword [rbp - 0x29], xmm0
call qword [0x1403af620]
lea r8, [rbp - 0x29]
mov rdx, rsi
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14015b144
movups xmm0, xmmword [r14]
mov rbx, qword [rbp + 0x6f]
movsd xmm1, qword [r14 + 0x10]
movaps xmmword [rbp - 0x29], xmm0
movsd qword [rbp - 0x19], xmm1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x1d0]
mov rcx, rdi
call qword [0x1403af620]
lea r8, [rbp + 0x67]
mov rcx, rbx
lea rdx, [rbp - 0x29]
call rdi
mov ebx, eax
test eax, eax
js 0x14015b144
cmp word [rbp + 0x67], r13w
je 0x14015b26d
mov rcx, qword [r15]
test rcx, rcx
je 0x14015b261
mov rdx, qword [rbp + 0x6f]
call fcn.14010729c
mov ebx, 0x8004bd01
mov ecx, ebx
jmp 0x14015b146
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x6f], r12
mov qword [rax], rcx
mov ecx, ebx
call fcn.140079118
xor r9d, r9d
mov qword [rbp - 9], 3
lea rax, [0x14001a478]
mov qword [rbp + 7], r12
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
lea rax, [rbp + 0x6f]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp + 0xf], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14015b9a4
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 0x14015b9f8
lea rax, [0x140395298]
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
lock inc dword [0x14042e944]
jmp 0x14015b9fa
xor esi, esi
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14015ba19
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403af620]
mov rcx, rbx
call rdi
mov qword [rsp + 0x68], rsi
test rsi, rsi
jne 0x14015ba31
mov ebp, 0x8007000e
mov ecx, ebp
call fcn.1400790f8
jmp 0x14015ba39
and qword [rsp + 0x68], rbp
mov qword [r14], rsi
mov ecx, ebp
call fcn.140079118
and qword [rsp + 0x30], 0
lea rax, [0x140020fb8]
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 0x14015d830
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 0x14015d896
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 0x14015d8cd
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, [0x140026ab8]
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 0x14015d934
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 0x14015d9e9
mov eax, dword [rcx + 4]
xor esi, esi
test eax, eax
cmovle esi, eax
jle 0x14015d9b9
movsxd rdx, ebx
shl rdx, 4
add rdx, qword [rdi + 8]
je 0x14015d9ae
xor r9d, r9d
mov qword [rbp - 0x18], rdx
lea rax, [0x1400320b8]
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 0x14015d966
mov rbx, qword [rbp + 0x20]
mov r14, qword [rdi + 8]
test r14, r14
je 0x14015d9d6
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.140079118
and qword [rbp - 0x20], 0
lea rax, [0x140026df8]
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