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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, [0x1400069d8]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x140438688]
mov qword [rbp - 0x29], rax
lea rcx, [0x14042344c]
mov r15, r9
mov r14, r8
call fcn.1400ed5b8
xor r9d, r9d
mov qword [rbp - 0x21], rbx
lea rax, [rbp + 0x17]
mov qword [rbp - 0x19], r12
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rax
lea ebx, [r9 + 0x50]
mov r8d, ebx
lea ecx, [rbx + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
xor edi, edi
test esi, esi
jns 0x140084ec0
mov ecx, esi
call fcn.140079c40
lea rdx, [0x140438ed8]
lea rcx, [0x140423ce0]
call fcn.1400edc30
jmp 0x140084fa6
lea rax, [0x140006358]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14043c24c]
lea rax, [rbp - 0x45]
lea rcx, [0x14041ed0c]
mov qword [rbp - 0x29], rax
call fcn.1400ee2b8
lea rax, [rbp + 0x17]
mov qword [rbp - 0x21], r12
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x39]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x19], rdi
xor r9d, r9d
mov qword [rbp + 0xf], rax
mov r8, rbx
mov qword [rbp - 0x11], r14
mov ecx, 0xb9
mov dword [rbp - 1], edi
mov dword [rbp + 3], 1
mov qword [rbp + 7], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x45]
cmp ecx, 0xc004d304
je 0x140084fa3
mov esi, ecx
test ecx, ecx
jns 0x140084f44
call fcn.140079c40
jmp 0x140084fa6
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x140084f71
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x140084f9e
lea rdx, [0x14043cd80]
lea rcx, [0x140417938]
call fcn.1400ed8ec
cmp r14d, 0xc000
jne 0x140084fa3
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x140084fa3
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.140079c60
lea rdx, [0x14043a398]
lea rcx, [0x14041d0e4]
call fcn.1400edf70
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14037a9a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400909c4
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x270
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov qword [rsp + 0x20], rax
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140090a2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140090a1a
mov esi, 0x80004005
jmp 0x140090b29
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140090b29
lea rdx, [rsp + 0x50]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x140090a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140090a10
movzx esi, ax
lea rdx, [0x14043c8d0]
or esi, 0x80070000
lea rcx, [0x14041f418]
test eax, eax
cmovle esi, eax
call fcn.1400eefd4
jmp 0x140090b29
lea rcx, [rsp + 0x20]
call fcn.140090d88
mov esi, eax
test eax, eax
jns 0x140090a8a
mov ecx, eax
jmp 0x140090b2b
lea rax, str.SPPSvc
xor esi, esi
and qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x28]
and qword [rsp + 0x40], rsi
mov qword [rsp + 0x28], rax
lea rax, [0x140090f60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140090b0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140438d38]
mov ebx, eax
lea rcx, [0x140423b40]
call fcn.1400ee940
test ebx, ebx
jne 0x140090ae3
mov esi, 0x80004005
jmp 0x140090b04
lea rdx, [0x14043ce50]
lea rcx, [0x1404179f4]
call fcn.1400eec90
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
test esi, esi
jns 0x140090b30
lea rdx, [0x14043e360]
lea rcx, [0x140420d88]
call fcn.1400ed270
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
cmp dword [rsp + 0x20], 0
je 0x140090b78
cmp qword [0x1404402e8], 0
je 0x140090b78
mov rbx, qword [0x140440580]
test rbx, rbx
je 0x140090b78
mov rax, qword [0x1403c1610]
mov rcx, qword [0x1404402f0]
call rax
mov rax, qword [0x1404402f0]
mov rcx, rbx
call rax
and qword [0x140440580], 0
cmp dword [rsp + 0x24], 0
je 0x140090b98
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
lea rdx, [0x14043bd7c]
lea rcx, [0x14041683c]
call fcn.1400ee5fc
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rsi
ret
Function at 0x140090bc4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x140436898]
lea r9, [0x1404368b0]
xorps xmm1, xmm1
lea r8, [0x140436890]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [0x1404368b8], xmm1
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
xor edi, edi
test eax, eax
jne 0x140090c52
mov r8, qword [0x140436898]
lea edx, [rdi + 2]
mov rcx, qword [0x1404368b0]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
lea rdx, [0x14043a56c]
lea rcx, [0x14041d2a8]
call fcn.1400edf70
call fcn.1400909c4
lea rdx, [0x140438408]
mov esi, eax
lea rcx, [0x14041b4a8]
call fcn.1400ed5b8
mov rbx, qword [0x1404368b0]
lea rdx, [0x14043a408]
lea rcx, [0x140425084]
call fcn.1400edc30
lea rdx, [0x140439588]
mov dword [0x140436890], edi
lea rcx, [0x140424230]
mov qword [0x1404368b0], rdi
call fcn.1400ed8ec
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
test esi, esi
jns 0x140090cbc
mov ecx, esi
call fcn.140079c40
jmp 0x140090cda
mov eax, dword [0x14043f368]
mov ebx, edi
test eax, eax
sete bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.140079c60
test esi, esi
lea rdx, [0x14043eb74]
lea rcx, [0x1404220d8]
sets dil
call fcn.1400ee2b8
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ab8b4
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, [0x14000fc18]
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 0x1400ab924
mov ecx, ebx
jmp 0x1400ab9a1
xor edi, edi
cmp dword [rbp - 0x3c], edi
jle 0x1400ab98d
movsxd rbx, edi
shl rbx, 7
add rbx, qword [rbp - 0x38]
mov rcx, rbx
lea rdx, [rbx + 0x68]
call fcn.1400b6db0
lea rax, [0x14000ff58]
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 0x1400ab92b
lea r8, [rbp - 0x40]
mov rdx, rsi
call fcn.1400b48f8
mov ebx, eax
test eax, eax
jns 0x1400ab9a6
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400c59d0
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400ab9d5
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 0x1400c0628
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x50], 0
mov rdi, r8
and qword [rbp - 0x58], 0
lea r8, [rbp - 0x50]
mov r12d, edx
mov r15, r9
lea rdx, [rbp - 0x60]
call fcn.1400c5580
mov ebx, eax
test eax, eax
jns 0x1400c0677
mov ecx, eax
jmp 0x1400c070a
mov ebx, 0x20
mov edx, ebx
lea ecx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400c0703
mov r14, qword [rbp - 0x50]
lea r8d, [rbx + 0x1c]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x48]
lea rax, [0x140013698]
mov qword [rbp - 0x2c], rdi
mov edi, dword [rbp - 0x60]
lea ecx, [r8 + 0x7d]
mov qword [rbp - 0x40], rax
xor r9d, r9d
lea rax, [rbp - 0x5c]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x48], 3
mov dword [rbp - 0x30], r12d
mov dword [rbp - 0x24], edi
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x14], rsi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x5c]
test ebx, ebx
js 0x1400c0708
xor eax, eax
mov dword [r15], 0x20
and qword [rbp - 0x58], rax
mov ecx, edi
mov rdi, r14
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x40]
mov qword [rax], rsi
jmp 0x1400c070f
mov ebx, 0x8007000e
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp - 0x58]
call fcn.14005a9b4
lea rcx, [rbp - 0x50]
call fcn.14005a9b4
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400c7238
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 - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x40], rbx
test ecx, ecx
je 0x1400c72b4
cmp ecx, 1
je 0x1400c7277
mov edi, 0x80070057
jmp 0x1400c72ef
lea rax, [0x140014a18]
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 - 0x38]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x30]
jmp 0x1400c72ef
lea rax, [0x140014d58]
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 - 0x38]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x48]
test edi, edi
jns 0x1400c72fa
mov ecx, edi
jmp 0x1400c73b3
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.14005216c
mov edi, eax
test eax, eax
jns 0x1400c731c
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x40]
jmp 0x1400c73b8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400699a8
mov edi, eax
test eax, eax
jns 0x1400c733c
mov ecx, eax
call fcn.140079c40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c7313
mov rbx, qword [rbp - 0x40]
mov r14d, 0x7fffffff
test rbx, rbx
jne 0x1400c734f
xor edi, edi
jmp 0x1400c7381
mov r8d, r14d
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140079840
mov edi, eax
test eax, eax
js 0x1400c737a
mov r8d, dword [rbp - 0x40]
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.14006f61c
mov edi, eax
test eax, eax
jns 0x1400c7381
mov ecx, eax
call fcn.140079c40
mov ecx, edi
call fcn.140079c60
test edi, edi
jns 0x1400c7399
mov ecx, edi
call fcn.140079c40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c73b8
mov rsi, qword [rbp - 0x30]
mov r8d, r14d
mov rcx, rsi
mov rdx, r15
call fcn.140069580
mov edi, eax
test eax, eax
jns 0x1400c73b8
mov ecx, eax
call fcn.140079c40
mov ecx, edi
call fcn.140079c60
test rbx, rbx
je 0x1400c73cd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400c73e1
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x38], 0
test rsi, rsi
je 0x1400c73fa
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 0x1400ed048
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
sub rsp, 0x50
rdtsc
and qword [0x14043f400], 0
and qword [0x14043f3f0], 0
shl rdx, 0x20
or rax, rdx
btr eax, 0x1f
mov qword [0x14043f410], rax
call fcn.1400ec940
mov qword [0x14043f3e8], rax
test rax, rax
je 0x1400ed0b0
mov ebx, 1
mov qword [0x14043f3f8], rbx
mov qword [0x14043f408], rbx
call fcn.1404f0000
mov ecx, dword [0x14043fe28]
test eax, eax
mov edx, eax
cmovns ecx, ebx
mov dword [0x14043fe28], ecx
jmp 0x1400ed0c5
and qword [0x14043f3f8], 0
mov edx, 0x8007000e
and qword [0x14043f408], 0
xor eax, eax
test edx, edx
cmovs eax, edx
test eax, eax
js 0x1400ed11a
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 0x1400ed128
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp dword [0x14043fe28], 0
je 0x1400ed15a
lea rcx, [0x14043f418]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop dword [rax + rax]
and dword [0x14043fe28], 0
mov rsi, qword [0x14043f3e8]
jmp 0x1400ed1ba
mov rdi, rsi
mov rsi, qword [rsi + 0xfbd0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rcx, [rdi + 0xfbe0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_RtlDeleteFunctionTable]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
dec qword [0x14043f3f8]
test rsi, rsi
jne 0x1400ed163
and qword [0x14043f3e8], rsi
lea rax, [0x140000000]
and dword [rsp + 0x20], esi
lea r8d, [rsi + 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]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400ff244
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.140079c60
lea rcx, [rsi + 0x20]
call fcn.14006f8bc
xor ecx, ecx
call fcn.140079c60
xor ebx, ebx
test byte [rsi + 8], 1
je 0x1400ff394
lea r9, [rbp + 0x38]
xor edx, edx
lea r8, [0x1403d22c0]
mov rcx, rsi
call fcn.140101e1c
mov ebx, eax
test eax, eax
jns 0x1400ff2ad
mov ecx, eax
call fcn.140079c40
mov edi, dword [rbp + 0x30]
jmp 0x1400ff2b1
movzx edi, byte [rbp + 0x38]
mov ecx, ebx
call fcn.140079c60
lea eax, [rbx + 0x3ffb2cff]
cmp eax, 1
ja 0x1400ff2c7
xor edi, edi
xor ebx, ebx
test ebx, ebx
js 0x1400ff38d
test edi, edi
je 0x1400ff394
mov rcx, rsi
call fcn.1401009a0
mov ebx, eax
test eax, eax
jns 0x1400ff2ec
mov ecx, eax
jmp 0x1400ff38f
and qword [rbp + 0x20], 0
cmp dword [0x14043ffa0], 0
mov byte [rbp + 0x38], 0
jne 0x1400ff305
mov ecx, 0xc004d101
jmp 0x1400ff35b
and qword [rbp - 0x20], 0
lea rax, [0x140039658]
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 [0x140440188]
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 0x1400ff360
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x20]
call fcn.140053010
test ebx, ebx
jns 0x1400ff382
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x1400ff394
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14015f424
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
mov rdi, rcx
and qword [rbp - 0x60], 0
lea rcx, [rbp - 0x58]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1a8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
test eax, eax
js 0x14015f53a
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 rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f53a
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea rdx, [rbp - 0x60]
mov rcx, r14
call rax
mov ebx, eax
test eax, eax
js 0x14015f53a
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rdx, qword [rbp + 0x20]
mov rax, rdi
xor r8d, r8d
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
jns 0x14015f541
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x140029598]
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, [0x140029258]
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 0x14015f5d8
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 0x14015f657
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
lea rax, [0x1403a7238]
mov qword [r14], rax
mov dword [r14 + 0x18], 1
lock inc dword [0x14043f384]
jmp 0x14015f65a
mov r14, rdi
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14015f680
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
xor edi, edi
mov qword [rbp - 0x40], r14
test r14, r14
jne 0x14015f697
mov esi, 0x8007000e
mov ecx, esi
call fcn.140079c40
jmp 0x14015f69f
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], r14
mov ecx, esi
call fcn.140079c60
mov r14d, 3
mov qword [rbp - 0x18], rdi
lea rax, [0x140028bd8]
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 0x14015f6e4
mov ecx, esi
jmp 0x14015f717
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp - 0x38]
lea rdx, [0x1403c7450]
mov rcx, rbx
call rax
xor edi, edi
mov esi, eax
test eax, eax
jns 0x14015f71c
mov ecx, eax
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 0x28], r14
lea rax, [0x140028bd8]
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 0x14015f760
mov ecx, esi
call fcn.140079c40
jmp 0x14015f7b5
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.140162680
mov esi, eax
test eax, eax
jns 0x14015f798
mov ecx, eax
jmp 0x14015f759
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.140079c60
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x14015f7e0
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
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