joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140177898
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 0x140177a02
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x14017797a
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140177907
mov r14, rcx
shl r14, 3
mov rax, r14
shr rax, 3
cmp rax, rcx
je 0x14017790a
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x14017790a
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x140177921
mov ecx, ebx
call fcn.140079c40
jmp 0x140177a04
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 0x140177955
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 0x140177a5c
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x14017797a
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 0x1401779c9
mov ebx, esi
mov rcx, qword [rdi + 8]
movsxd rax, ebx
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x1401779c2
and qword [rbp - 0x10], 0
lea rax, [0x140031e18]
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 0x140177981
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1401779ef
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, [0x140030758]
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 0x140177915
Function at 0x140177a6c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, rcx
movsxd rsi, edx
mov ecx, dword [rcx + 4]
mov r15, r8
test ecx, ecx
jns 0x140177a98
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x140177aaf
lea r8, [rsp + 0x70]
mov edx, 1
call fcn.140079280
mov ebx, eax
test eax, eax
jns 0x140177ab9
mov ecx, eax
call fcn.140079c40
jmp 0x140177b63
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.140178db8
mov ebx, eax
test eax, eax
js 0x140177aad
mov ecx, dword [rdi + 4]
mov rbx, rsi
cmp esi, ecx
jge 0x140177aef
mov rax, qword [rdi + 8]
sub ecx, esi
movsxd r8, ecx
shl r8, 3
lea rdx, [rax + rsi*8]
lea rcx, [rdx + 8]
call sub.msvcrt.dll_memmove
mov rax, qword [rdi + 8]
xor ecx, ecx
mov qword [rax + rbx*8], rcx
mov r14, qword [rdi + 8]
mov rsi, qword [r15]
and qword [r15], rcx
mov rax, qword [r14 + rbx*8]
test rax, rax
je 0x140177b51
lea rcx, [0x14002b958]
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 + 0x88]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x30], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
xor eax, eax
test rsi, rsi
cmovne rax, rsi
mov qword [r14 + rbx*8], rax
inc dword [rdi + 4]
xor ebx, ebx
mov ecx, ebx
call fcn.140079c60
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140177b8c
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 0x140177cf6
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x140177c6e
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140177bfb
mov r14, rcx
shl r14, 3
mov rax, r14
shr rax, 3
cmp rax, rcx
je 0x140177bfe
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x140177bfe
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x140177c15
mov ecx, ebx
call fcn.140079c40
jmp 0x140177cf8
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 0x140177c49
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 0x140177d50
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x140177c6e
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 0x140177cbd
mov ebx, esi
mov rcx, qword [rdi + 8]
movsxd rax, ebx
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x140177cb6
and qword [rbp - 0x10], 0
lea rax, [0x140029598]
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 0x140177c75
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140177ce3
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, [0x14002e6d8]
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 0x140177c09
Function at 0x1401784c8
Capabilities:
Get system information on windows

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, [0x140017ad8]
and qword [rbp - 0x14], 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, [0x1403ca998]
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
lea r8d, [r9 + 0x3c]
lea rax, [rbp + 0x40]
mov qword [rbp - 0x40], 3
mov r14, rdx
mov qword [rbp - 0xc], rax
mov r12, rcx
lea rdx, [rbp - 0x40]
lea ecx, [r8 + 0x7d]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x38]
cmp ebx, 0xc004d304
jne 0x140178556
xor ebx, ebx
jmp 0x14017863f
test ebx, ebx
js 0x140178638
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 0x140178599
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
je 0x140178633
lea rax, [0x140017ad8]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x14], rbx
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [0x1403ca998]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rbp - 0xc], rax
lea r8d, [r9 + 0x3c]
mov qword [rbp - 0x28], r14
lea ecx, [r8 + 0x7d]
mov dword [rbp - 0x18], esi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x50]
test ebx, ebx
js 0x140178638
xor edi, edi
cmp dword [rbp + 0x40], edi
jbe 0x14017863f
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.140179864
mov ebx, eax
test eax, eax
js 0x14017862f
inc edi
cmp edi, dword [rbp + 0x40]
jb 0x140178605
jmp 0x14017863f
mov ecx, eax
jmp 0x14017863a
mov ebx, 0x8007000e
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x30], 0
lea rax, [0x14003a358]
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 + 0x3c]
lea ecx, [r8 + 0x7d]
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 0x140179330
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 0x1401794aa
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x14017941e
xor ebx, ebx
test edx, edx
je 0x1401793a7
lea r14, [rsi + rsi*8]
movabs rax, 0xe38e38e38e38e38f
shl r14, 3
mul r14
shr rdx, 6
cmp rdx, rsi
je 0x1401793aa
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x1401793aa
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x1401793c1
mov ecx, ebx
call fcn.140079c40
jmp 0x1401794ac
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 0x1401793f5
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 0x140179504
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x14017941e
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 0x140179471
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 0x14017946a
and qword [rbp - 0x10], 0
lea rcx, [0x14003b6d8]
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 0x140179425
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140179497
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, [0x140028f18]
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 0x1401793b5
Function at 0x140179514
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 r14, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], esi
je 0x140179628
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x1401795f0
mov rcx, rsi
mov rdi, rcx
shl rdi, 5
mov rax, rdi
shr rax, 5
cmp rax, rcx
je 0x14017957c
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov rdi, qword [rbp + 0x20]
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x140179593
mov ecx, ebx
call fcn.140079c40
jmp 0x140179628
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, qword [rbp + 0x20]
mov rbx, rax
test rdi, rdi
je 0x1401795c7
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
je 0x140179680
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x1401795f0
mov rdx, qword [r14 + 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 rdi, qword [r14 + 8]
test rdi, rdi
je 0x140179612
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
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 [r14 + 8], rax
mov dword [r14 + 4], r15d
mov dword [r14], esi
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x140027b98]
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 0x140179587
Function at 0x140179690
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 0x1401797f7
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x140179772
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x1401796ff
mov r14, rcx
shl r14, 5
mov rax, r14
shr rax, 5
cmp rax, rcx
je 0x140179702
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x140179702
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x140179719
mov ecx, ebx
call fcn.140079c40
jmp 0x1401797f9
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 0x14017974d
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 0x140179851
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x140179772
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 0x1401797be
mov ebx, esi
movsxd rdx, ebx
shl rdx, 5
add rdx, qword [rdi + 8]
je 0x1401797b7
and qword [rbp - 0x10], 0
lea rax, [0x14003bd58]
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 0x140179779
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1401797e4
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, [0x1400368d8]
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 0x14017970d
Function at 0x14017b5ec
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, [0x140038618]
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 0x14017b667
mov ecx, esi
jmp 0x14017b78c
mov ecx, dword [rbp + 0x40]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x3c]
call fcn.14017bfd8
mov esi, eax
test eax, eax
js 0x14017b78a
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x14017b69e
mov ecx, 0x8007000e
mov esi, ecx
jmp 0x14017b78c
mov r14, qword [rbp + 0x48]
xor r8d, r8d
cmp dword [0x140440928], 1
mov r9, rax
mov rcx, qword [r15 + 0x18]
mov rdx, r14
cmove r8, qword [0x140440070]
call fcn.14015f424
mov esi, eax
test eax, eax
js 0x14017b78a
mov rcx, qword [r15 + 0x18]
xor r8d, r8d
cmp dword [0x140440928], 1
mov r9d, r12d
mov rdx, r14
cmove r8, qword [0x140440078]
call fcn.14017ce00
mov esi, eax
test eax, eax
js 0x14017b78a
mov r9d, dword [rbp + 0x40]
xor r8d, r8d
cmp dword [0x140440928], 1
mov rdx, r14
mov rcx, qword [r15 + 0x18]
cmove r8, qword [0x140440080]
call fcn.14017ce00
mov esi, eax
test eax, eax
js 0x14017b78a
cmp dword [rbp - 0x3c], ebx
je 0x14017b762
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x14017b692
mov rcx, qword [r15 + 0x18]
xor r8d, r8d
cmp dword [0x140440928], 1
mov r9, rax
mov rdx, r14
cmove r8, qword [0x140440088]
call fcn.14015f424
mov esi, eax
test eax, eax
js 0x14017b78a
mov r9d, dword [rbp - 0x38]
xor r8d, r8d
cmp dword [0x140440928], 1
mov rdx, r14
mov rcx, qword [r15 + 0x18]
cmove r8, qword [0x140440090]
call fcn.14017ce00
mov esi, eax
test eax, eax
jns 0x14017b791
mov ecx, eax
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
test rbx, rbx
je 0x14017b7a6
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x14017b7b4
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x14017b7dc
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.140079c60
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 0x14017f8a8
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x140440190], ebx
jne 0x14017f8e4
lea rcx, [0x14043f7d0]
call fcn.14006f8bc
mov ebx, eax
test eax, eax
jns 0x14017f8d3
mov ecx, eax
call fcn.140079c40
jmp 0x14017f8e4
xor edx, edx
call fcn.1401804e8
mov dword [0x140440190], 1
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x14017f8f3
mov ecx, ebx
jmp 0x14017f956
mov rbx, qword [0x140440188]
test rbx, rbx
je 0x14017f949
and qword [rsp + 0x30], 0
lea rax, [0x14002c318]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x38], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.140183658
mov ebx, eax
test eax, eax
jns 0x14017f95b
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x14017f974
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x140440190], 1
jne 0x14017fa01
lea rcx, [0x14043f7d0]
call fcn.14006f734
or dword [0x140440190], 0xffffffff
xor edx, edx
call fcn.1401804e8
lea rcx, [0x14043f7d0]
call fcn.14007240c
cmp dword [0x14043f7d0], 0
je 0x14017f9c6
lea rcx, [0x14043f7d8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x14043f7d0], 0
mov rcx, qword [0x14043f808]
test rcx, rcx
je 0x14017f9e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14043f808], 0
mov rcx, qword [0x14043f800]
test rcx, rcx
je 0x14017f9fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14043f800], 0
and dword [0x140440190], 0
mov rbx, qword [0x140440188]
test rbx, rbx
je 0x14017fa57
and qword [rsp + 0x30], 0
lea rax, [0x14002c318]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x38], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
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 [0x140440188], 0
add rsp, 0x40
pop rbx
ret