joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017001c
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, 0x50
mov rsi, rcx
movsxd r15, edx
mov ecx, dword [rcx + 4]
mov r12, r8
test ecx, ecx
jns 0x14017004b
mov edi, 0x8000ffff
mov ecx, edi
jmp 0x140170065
lea r8, [rsp + 0x80]
mov edx, 1
call fcn.140077a14
mov edi, eax
test eax, eax
jns 0x14017006f
mov ecx, eax
call fcn.140078308
jmp 0x1401701f6
mov edi, dword [rsi]
test edi, edi
jns 0x140170083
mov edi, 0x8000ffff
mov ebx, edi
mov ecx, edi
jmp 0x140170127
mov ebp, dword [rsp + 0x80]
cmp edi, ebp
jl 0x140170095
xor ebx, ebx
jmp 0x14017012c
mov r14d, dword [rsp + 0x80]
test edi, edi
jne 0x1401700aa
mov edi, 0x20
xor ebx, ebx
jmp 0x140170106
js 0x1401700e8
lea ecx, [rdi + rdi]
xor ebx, ebx
mov eax, ecx
shr eax, 1
cmp eax, edi
je 0x1401700c7
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140078308
jmp 0x1401700ca
mov r14d, ecx
mov ecx, ebx
call fcn.140078324
test ebx, ebx
js 0x1401700ed
test r14d, r14d
jns 0x1401700e3
mov ecx, 0x80070216
mov ebx, ecx
jmp 0x1401700ef
mov edi, r14d
jmp 0x1401700f4
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140078308
mov ecx, ebx
call fcn.140078324
test ebx, ebx
jns 0x140170106
mov ecx, ebx
call fcn.140078308
mov ecx, ebx
call fcn.140078324
test ebx, ebx
js 0x140170140
cmp edi, ebp
jl 0x14017009d
mov edx, edi
mov rcx, rsi
call fcn.140170218
mov ebx, eax
test eax, eax
jns 0x14017012c
mov ecx, eax
call fcn.140078308
mov ecx, ebx
call fcn.140078324
mov edi, ebx
test ebx, ebx
jns 0x140170144
mov ecx, ebx
jmp 0x140170065
mov ecx, ebx
jmp 0x140170127
mov ecx, dword [rsi + 4]
cmp r15d, ecx
jge 0x140170179
mov rdx, qword [rsi + 8]
test rdx, rdx
jne 0x14017015a
xor r9d, r9d
jmp 0x14017015d
mov r9, rdx
sub ecx, r15d
lea rax, [r15 + 1]
movsxd r8, ecx
lea rdx, [rdx + r15*8]
shl r8, 3
lea rcx, [r9 + rax*8]
call qword [sym.imp.msvcrt.dll_memmove]
mov rax, qword [rsi + 8]
lea rcx, [rax + r15*8]
xor eax, eax
mov qword [rcx], rax
test rcx, rcx
je 0x14017018e
and qword [rcx], rax
mov rdi, qword [rsi + 8]
mov rbp, qword [r12]
and qword [r12], rax
mov rax, qword [rdi + r15*8]
test rax, rax
je 0x1401701ed
lea rcx, [0x140045be0]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x98]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x30], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rdi + r15*8], 0
mov qword [rdi + r15*8], rbp
inc dword [rsi + 4]
xor edi, edi
mov ecx, edi
call fcn.140078324
lea r11, [rsp + 0x50]
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 0x140170218
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 0x140170385
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x140170301
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140170287
mov r14, rcx
shl r14, 3
mov rax, r14
shr rax, 3
cmp rax, rcx
je 0x14017028a
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140078308
mov r14, qword [rbp + 0x20]
jmp 0x14017028a
xor r14d, r14d
mov ecx, ebx
call fcn.140078324
test ebx, ebx
jns 0x1401702a1
mov ecx, ebx
call fcn.140078308
jmp 0x140170387
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 0x1401702d5
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
jne 0x1401702e5
and qword [rbp + 0x20], rbx
mov ebx, 0x8007000e
jmp 0x140170295
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x140170301
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd r8, r15d
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp esi, dword [rdi + 4]
jge 0x140170350
mov ebx, esi
mov rcx, qword [rdi + 8]
movsxd rax, ebx
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x140170349
and qword [rbp - 0x10], 0
lea rax, [0x14004dde0]
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 0x140170308
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14017037b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rdi + 8], 0
mov qword [rdi + 8], r14
mov dword [rdi + 4], r15d
mov dword [rdi], esi
xor ebx, ebx
mov ecx, ebx
call fcn.140078324
and qword [rbp - 0x10], 0
lea rax, [0x14004f4a0]
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
Function at 0x140170b8c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x48], 0
lea rax, [0x140004220]
and qword [rbp - 0x10], 0
mov r15, r9
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x38]
mov dword [rbp - 0x18], r8d
mov qword [rbp - 0x30], rax
mov esi, r8d
lea rax, [0x1403a8ac8]
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
lea r8d, [r9 + 0x40]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x40], 3
mov r14, rdx
mov qword [rbp - 8], rax
mov r12, rcx
lea rdx, [rbp - 0x40]
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x38]
cmp ebx, 0xc004d304
jne 0x140170c1a
xor ebx, ebx
jmp 0x140170d08
test ebx, ebx
jns 0x140170c25
mov ecx, ebx
jmp 0x140170d03
mov ebx, dword [rbp + 0x40]
shl rbx, 3
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, qword [rbp - 0x48]
mov rbx, rax
test rdi, rdi
je 0x140170c60
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
jne 0x140170c70
and qword [rbp - 0x48], rbx
mov ebx, 0x8007000e
jmp 0x140170c1e
lea rax, [0x140004220]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x10], rbx
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [0x1403a8ac8]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x40]
mov qword [rbp - 0x28], r14
lea ecx, [r8 + 0x79]
mov dword [rbp - 0x18], esi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x50]
test ebx, ebx
js 0x140170c1e
xor edi, edi
cmp dword [rbp + 0x40], edi
jbe 0x140170d08
mov rsi, qword [rbp + 0x50]
mov rax, qword [rbp - 0x48]
mov r9, r15
mov rdx, r14
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov r8, qword [rax + rdi*8]
call fcn.140171c9c
mov ebx, eax
test eax, eax
js 0x140170d01
inc edi
cmp edi, dword [rbp + 0x40]
jb 0x140170cd7
jmp 0x140170d08
mov ecx, eax
call fcn.140078308
mov ecx, ebx
call fcn.140078324
and qword [rbp - 0x30], 0
lea rax, [0x14004b060]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x40], 3
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x28], rax
lea r8d, [r9 + 0x40]
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401717b4
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 0x140171931
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x1401718a9
xor ebx, ebx
test edx, edx
je 0x14017182b
lea r14, [rsi + rsi*8]
movabs rax, 0xe38e38e38e38e38f
shl r14, 3
mul r14
shr rdx, 6
cmp rdx, rsi
je 0x14017182e
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140078308
mov r14, qword [rbp + 0x20]
jmp 0x14017182e
xor r14d, r14d
mov ecx, ebx
call fcn.140078324
test ebx, ebx
jns 0x140171845
mov ecx, ebx
call fcn.140078308
jmp 0x140171933
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 0x140171879
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
jne 0x140171889
and qword [rbp + 0x20], rbx
mov ebx, 0x8007000e
jmp 0x140171839
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x1401718a9
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd rax, r15d
lea r8, [rax + rax*8]
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp esi, dword [rdi + 4]
jge 0x1401718fc
mov ebx, esi
mov rdx, qword [rdi + 8]
movsxd rax, ebx
lea rcx, [rax + rax*8]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x1401718f5
and qword [rbp - 0x10], 0
lea rcx, [0x1400058e0]
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 0x1401718b0
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140171927
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rdi + 8], 0
mov qword [rdi + 8], r14
mov dword [rdi + 4], r15d
mov dword [rdi], esi
xor ebx, ebx
mov ecx, ebx
call fcn.140078324
and qword [rbp - 0x10], 0
lea rax, [0x140042b20]
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
Function at 0x14017198c
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 rsi, edx
mov rdi, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], esi
je 0x140171aa2
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x140171a6f
mov rcx, rsi
mov r14, rcx
shl r14, 5
mov rax, r14
shr rax, 5
cmp rax, rcx
je 0x1401719f4
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140078308
mov r14, qword [rbp + 0x20]
mov ecx, ebx
call fcn.140078324
test ebx, ebx
jns 0x140171a0b
mov ecx, ebx
call fcn.140078308
jmp 0x140171aa2
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 0x140171a3f
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
jne 0x140171a4f
and qword [rbp + 0x20], rbx
mov ebx, 0x8007000e
jmp 0x1401719ff
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x140171a6f
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd r8, r15d
shl r8, 5
call sub.msvcrt.dll_memcpy
mov rbx, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov r14, qword [rdi + 8]
test r14, r14
je 0x140171a96
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rdi + 8], 0
mov qword [rdi + 8], rbx
xor ebx, ebx
mov dword [rdi + 4], r15d
mov dword [rdi], esi
mov ecx, ebx
call fcn.140078324
and qword [rbp - 0x10], 0
lea rax, [0x140048fe0]
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
Function at 0x140171afc
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 0x140171c41
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x140171be5
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140171b6b
mov r14, rcx
shl r14, 5
mov rax, r14
shr rax, 5
cmp rax, rcx
je 0x140171b6e
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140078308
mov r14, qword [rbp + 0x20]
jmp 0x140171b6e
xor r14d, r14d
mov ecx, ebx
call fcn.140078324
test ebx, ebx
jns 0x140171b85
mov ecx, ebx
call fcn.140078308
jmp 0x140171c43
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 0x140171bb9
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
jne 0x140171bc9
and qword [rbp + 0x20], rbx
mov ebx, 0x8007000e
jmp 0x140171b79
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x140171be5
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 0x140171c0c
mov ebx, esi
mov rcx, qword [rdi + 8]
movsxd rax, ebx
shl rax, 5
add rcx, rax
je 0x140171c05
add rcx, 0x10
call fcn.1400673ac
inc ebx
cmp ebx, dword [rdi + 4]
jl 0x140171bec
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140171c37
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rdi + 8], 0
mov qword [rdi + 8], r14
mov dword [rdi + 4], r15d
mov dword [rdi], esi
xor ebx, ebx
mov ecx, ebx
call fcn.140078324
and qword [rbp - 0x10], 0
lea rax, [0x140046c20]
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
Function at 0x140172148
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
xor eax, eax
mov rsi, rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov r15, r8
mov qword [rbp - 0x11], rax
mov r14, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov r12d, 3
movsd xmm1, qword [rbp - 0x29]
xor edi, edi
and qword [rbp + 0x67], 0
cmp dword [0x140422f38], 1
mov rbx, qword [rax + 0x1c0]
cmove rdi, qword [0x1404224f8]
mov rcx, rbx
mov word [rbp - 0x39], r12w
mov dword [rbp - 0x31], r12d
movups xmm0, xmmword [rbp - 0x39]
movsd qword [rbp + 7], xmm1
movaps xmmword [rbp - 9], xmm0
call qword [0x1403a2250]
lea rax, [rbp + 0x67]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 9]
mov rcx, rsi
call rbx
mov ebx, eax
test eax, eax
js 0x14017226e
movsd xmm1, qword [rbp - 0x11]
lea eax, [r12 + 5]
mov rbx, qword [rbp + 0x67]
mov word [rbp - 0x21], ax
mov qword [rbp - 0x19], r15
movups xmm0, xmmword [rbp - 0x21]
mov rax, qword [rbx]
movsd qword [rbp + 7], xmm1
movaps xmmword [rbp - 9], xmm0
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403a2250]
lea rdx, [rbp - 9]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14017226e
mov rax, qword [r14]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403a2250]
mov rdx, qword [rbp + 0x67]
xor r8d, r8d
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
jns 0x140172275
mov ecx, eax
call fcn.140078308
mov ecx, ebx
call fcn.140078324
and qword [rbp + 0x27], 0
lea rax, [0x14003f720]
xor r9d, r9d
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x17], r12
lea rdx, [rbp + 0x17]
mov qword [rbp + 0x2f], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401739a8
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, 0x60
and qword [rbp - 0x30], 0
lea rax, [0x14004b6e0]
mov qword [rbp - 0x20], rax
mov r12d, r9d
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x28]
lea rax, [rbp - 0x38]
mov qword [rbp - 0x28], 3
mov r14, r8
mov qword [rbp - 8], rax
mov r15, rcx
xor edi, edi
xor r9d, r9d
mov ecx, 0xb9
xor ebx, ebx
lea r8d, [rdi + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x40]
test esi, esi
jns 0x140173a23
mov ecx, esi
jmp 0x140173b48
mov ecx, dword [rbp + 0x40]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x3c]
call fcn.140174364
mov esi, eax
test eax, eax
js 0x140173b46
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x140173a5a
mov ecx, 0x8007000e
mov esi, ecx
jmp 0x140173b48
mov r14, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov r9, rax
mov rcx, qword [r15 + 0x18]
mov rdx, r14
cmove r8, qword [0x140422830]
call fcn.1401584f8
mov esi, eax
test eax, eax
js 0x140173b46
mov rcx, qword [r15 + 0x18]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov r9d, r12d
mov rdx, r14
cmove r8, qword [0x140422838]
call fcn.1401750e8
mov esi, eax
test eax, eax
js 0x140173b46
mov r9d, dword [rbp + 0x40]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov rdx, r14
mov rcx, qword [r15 + 0x18]
cmove r8, qword [0x140422840]
call fcn.1401750e8
mov esi, eax
test eax, eax
js 0x140173b46
cmp dword [rbp - 0x3c], ebx
je 0x140173b1e
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x140173a4e
mov rcx, qword [r15 + 0x18]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov r9, rax
mov rdx, r14
cmove r8, qword [0x140422848]
call fcn.1401584f8
mov esi, eax
test eax, eax
js 0x140173b46
mov r9d, dword [rbp - 0x38]
xor r8d, r8d
cmp dword [0x1404230f8], 1
mov rdx, r14
mov rcx, qword [r15 + 0x18]
cmove r8, qword [0x140422850]
call fcn.1401750e8
mov esi, eax
test eax, eax
jns 0x140173b4d
mov ecx, eax
call fcn.140078308
mov ecx, esi
call fcn.140078324
test rbx, rbx
je 0x140173b62
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x140173b70
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x140173b98
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
lea r11, [rsp + 0x60]
mov eax, esi
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 0x140174ce8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
and qword [rax + 0x10], 0
mov rdi, rcx
mov rax, qword [rdx]
mov r14, r8
mov rsi, rdx
mov rbx, qword [rax + 0x178]
mov rcx, rbx
call qword [0x1403a2250]
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rsi
call rbx
mov ebx, eax
test eax, eax
js 0x140174d57
mov rax, qword [r14]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403a2250]
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
jns 0x140174d5e
mov ecx, eax
call fcn.140078308
mov ecx, ebx
call fcn.140078324
and qword [rsp + 0x30], 0
lea rax, [0x140033aa0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
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 rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140174db8
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 [0x1403a2250]
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x140174eb7
movsd xmm1, qword [rbp - 0x48]
mov eax, SafeArrayGetElement
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 [0x1403a2250]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x140174eb7
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rcx, rbx
call qword [0x1403a2250]
lea rdx, [rbp - 0x60]
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
js 0x140174eb7
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403a2250]
mov rdx, qword [rbp + 0x20]
xor r8d, r8d
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
jns 0x140174ebe
mov ecx, eax
call fcn.140078308
mov ecx, ebx
call fcn.140078324
and qword [rbp - 0x10], 0
lea rax, [0x1400434e0]
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, [0x1400431a0]
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