joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140188bf8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r13d, r13d
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov ebx, r13d
test rdx, rdx
je 0x140188d1d
test r8, r8
je 0x140188d1d
cmp dword [rcx + 0x20], r13d
jne 0x140188c49
mov qword [rdx], r13
mov dword [r8], r13d
mov edi, r13d
jmp 0x140188d29
test byte [rcx + 4], 1
je 0x140188c56
xor ecx, ecx
call fcn.14007ace8
mov ebx, dword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140188c7a
mov rbx, r13
jmp 0x140188c82
mov r15, rbx
test rbx, rbx
jne 0x140188c8c
mov edi, 0x8007000e
jmp 0x140188d22
lea rax, [rsp + 0x20]
mov r12d, dword [rdi + 0x20]
cmp qword [rdi + 0x28], r13
jne 0x140188ca7
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], r13d
jmp 0x140188cb1
movups xmm0, xmmword [rdi + 0x28]
movdqu xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax]
movq qword [rsp + 0x20], xmm0
psrldq xmm0, 8
movd ebp, xmm0
mov dword [rsp + 0x28], ebp
test r12d, r12d
je 0x140188d07
movaps xmm1, xmmword [rsp + 0x20]
lea r8, [rsp + 0x68]
movdqa xmm0, xmm1
inc ebp
psrldq xmm0, 8
movq rcx, xmm1
movd edx, xmm0
mov dword [rsp + 0x28], ebp
call fcn.14018da04
mov cl, byte [rsp + 0x68]
inc r13d
xor cl, byte [rax]
mov byte [r15], cl
inc r15
cmp r13d, r12d
jb 0x140188ccc
mov rax, rbx
xor r13d, r13d
mov qword [r14], rax
mov ebx, r13d
mov eax, dword [rdi + 0x20]
mov dword [rsi], eax
jmp 0x140188c41
mov edi, 0x80070057
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140188d49
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1401896ac
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x14045d6d0], ebx
jne 0x1401896ef
lea rcx, [0x14045cc30]
call fcn.140070748
mov ebx, eax
test eax, eax
jns 0x1401896d7
mov ecx, eax
call fcn.14007ac40
jmp 0x1401896ef
xor edx, edx
lea rcx, [0x14045cc18]
call fcn.14018b068
mov dword [0x14045d6d0], 1
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x1401896fe
mov ecx, ebx
jmp 0x140189761
mov rbx, qword [0x14045d6c8]
test rbx, rbx
je 0x140189754
and qword [rsp + 0x30], 0
lea rax, [0x140036e1c]
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.14018d400
mov ebx, eax
test eax, eax
jns 0x140189766
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x14018977c
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x14045d6d0], 1
jne 0x140189814
lea rcx, [0x14045cc30]
call fcn.1400705c0
or dword [0x14045d6d0], 0xffffffff
lea rcx, [0x14045cc18]
xor edx, edx
call fcn.14018b068
lea rcx, [0x14045cc30]
call fcn.1400734c0
cmp dword [0x14045cc30], 0
je 0x1401897d9
lea rcx, [0x14045cc38]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x14045cc30], 0
mov rcx, qword [0x14045cc68]
test rcx, rcx
je 0x1401897f3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14045cc68], 0
mov rcx, qword [0x14045cc60]
test rcx, rcx
je 0x14018980d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14045cc60], 0
and dword [0x14045d6d0], 0
mov rbx, qword [0x14045d6c8]
test rbx, rbx
je 0x14018986a
and qword [rsp + 0x30], 0
lea rax, [0x140036e1c]
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 [0x14045d6c8], 0
add rsp, 0x40
pop rbx
ret
Function at 0x14018cd58
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x14018ce7a
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018cdf9
mov rbx, rbp
shl rbx, 5
mov ecx, r12d
call fcn.14007ace8
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, rax
test rax, rax
jne 0x14018cdc8
mov ebx, r12d
jmp 0x14018cdd3
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x14018cde4
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x14018ce7d
test r14d, r14d
je 0x14018cdf9
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 5
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14018ce49
mov edi, ebp
movsxd rdx, edi
shl rdx, 5
add rdx, qword [rsi + 8]
je 0x14018ce42
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14002f29c]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018ce00
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018ce70
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14018ce9d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14018cec8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x14018cfea
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018cf69
mov rbx, rbp
shl rbx, 4
mov ecx, r12d
call fcn.14007ace8
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, rax
test rax, rax
jne 0x14018cf38
mov ebx, r12d
jmp 0x14018cf43
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x14018cf54
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x14018cfed
test r14d, r14d
je 0x14018cf69
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 4
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14018cfb9
mov edi, ebp
movsxd rdx, edi
shl rdx, 4
add rdx, qword [rsi + 8]
je 0x14018cfb2
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14002d21c]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x30], r12
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018cf70
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018cfe0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14018d00d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14018d25c
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
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x14018d3b8
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018d330
lea r15, [rbp*2]
movabs rax, 0xaaaaaaaaaaaaaaab
add r15, rbp
mov edi, r12d
shl r15, 3
mul r15
shr rdx, 4
cmp rdx, rbp
je 0x14018d2d2
mov edi, 0x80070216
mov ecx, edi
call fcn.14007ac40
mov r15, qword [rsp + 0x70]
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x14018d2e9
mov ecx, edi
call fcn.14007ac40
jmp 0x14018d3bb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14018d310
mov rcx, rax
mov rbx, rax
test rax, rax
jne 0x14018d317
mov edi, 0x8007000e
jmp 0x14018d2dd
test r14d, r14d
je 0x14018d330
mov rdx, qword [rsi + 8]
movsxd rax, r14d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14018d387
mov edi, ebp
mov rdx, qword [rsi + 8]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x14018d380
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rcx, [0x14003a21c]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018d337
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018d3ae
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14018d3db
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x40]
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 0x14018e760
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14018e7b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14018e7dc
cmp dword [rsp + 0x24], 5
jb 0x14018e7cc
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x14018e79b
xor eax, eax
jmp 0x14018e7dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14018e7c8
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140388a50
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x140192e04
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmm0, xmmword [r9]
lea rax, [0x14003ecdc]
movaps xmm1, xmmword [rdx]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x20]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x1c], rax
lea r8d, [r9 + 0x40]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x10], rax
lea ecx, [r8 + 0x79]
mov rax, qword [rbp + 0x30]
mov qword [rbp - 8], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x20], 0x80
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rbp + 0x20]
add rsp, 0x80
pop rbp
ret

Function at 0x140192e8c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmm0, xmmword [r9]
lea rax, [0x14003ecdc]
movaps xmm1, xmmword [rdx]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x28], rcx
lea rax, [rbp + 0x20]
mov qword [rbp - 0x30], rax
mov ecx, 0x40
lea rax, [rbp - 0x60]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x1c], rax
mov r8d, ecx
lea rax, [rbp - 0x50]
mov dword [rbp - 0x20], ecx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x30]
lea ecx, [r8 + 0x79]
mov qword [rbp - 8], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x40], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rbp + 0x20]
add rsp, 0x80
pop rbp
ret

Function at 0x140194870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
test r8d, r8d
je 0x14019491a
mov r10, qword [rdx]
test r10, r10
je 0x1401948be
mov rax, qword [0x14045d6d8]
mov r9d, dword [rax]
sub r10, r9
cmp dword [r10 + 8], edi
jne 0x1401948be
cmp qword [r10], rdi
je 0x1401948be
mov eax, dword [rdx + 8]
add rax, qword [r10]
jmp 0x14019491c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r14], rax
test rax, rax
je 0x14019491a
movups xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x20], xmm0
test ebp, ebp
je 0x140194915
mov esi, dword [rsp + 0x28]
mov rbx, rdi
mov rcx, qword [rsp + 0x20]
lea edx, [rsi + rdi]
lea r8, [rsp + 0x60]
call fcn.14018da04
mov cl, byte [rsp + 0x60]
inc edi
xor cl, byte [rax]
mov rax, qword [r14]
mov byte [rbx + rax], cl
inc rbx
cmp edi, ebp
jb 0x1401948ee
mov rax, qword [r14]
jmp 0x14019491c
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140197f6c
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, 0x70
cmp qword [r8], 0
mov r14d, r9d
mov r12, r8
mov sil, dl
mov rdi, rcx
je 0x1401980e4
test r9d, r9d
je 0x1401980e4
mov rbx, qword [rcx + 0x10]
mov r15d, 1
test rbx, rbx
jne 0x140198037
cmp dword [rcx + 8], 2
jne 0x140198032
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14019801d
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.msvcrt.dll_memset
and qword [rbx + 0x90], 0
xor eax, eax
and qword [rbx + 0x98], 0
mov qword [rbx + 0xb0], rax
and qword [rbx + 0xb8], rax
and dword [rbx + 0x58], eax
and dword [rbx + 0x38], eax
mov qword [rbx], rdi
mov dword [rbx + 8], r15d
jmp 0x14019801f
xor ebx, ebx
mov qword [rdi + 0x10], rbx
test rbx, rbx
jne 0x140198037
mov ebx, 0x8007000e
jmp 0x1401980e9
test rbx, rbx
je 0x140198060
mov rcx, rbx
call fcn.1401a5f7c
test sil, sil
mov ebx, eax
mov esi, eax
test eax, eax
jns 0x140198051
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x1401980eb
mov ecx, dword [rdi + 4]
sub ecx, r15d
je 0x140198091
cmp ecx, r15d
je 0x140198074
mov ebx, 0xc004d203
jmp 0x1401980e9
movaps xmm0, xmmword [r12]
lea rdx, [rbp - 0x50]
mov r8d, r14d
movdqa xmmword [rbp - 0x50], xmm0
mov rcx, rdi
call fcn.1401a0e28
mov ebx, eax
jmp 0x1401980de
movaps xmm0, xmmword [r12]
lea rax, [0x14003c5dc]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
xor r9d, r9d
movdqa xmmword [rbp - 0x40], xmm0
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rdi
lea r8d, [r9 + 0x2c]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x40]
test ebx, ebx
jns 0x1401980f5
jmp 0x1401980e9
mov ebx, 0x80070057
mov esi, ebx
mov ecx, esi
call fcn.14007ac40
xor r15b, r15b
mov ecx, ebx
mov byte [rdi], r15b
call fcn.14007ace8
lea r11, [rsp + 0x70]
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 0x140198128
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [rbp + 0x77]
mov r10d, r9d
movaps xmm1, xmmword [r8]
mov r9, rcx
mov rcx, qword [rcx + 0x10]
movaps xmm0, xmmword [rax]
test rcx, rcx
je 0x1401981a5
mov rax, qword [rbp + 0x7f]
mov r8d, r10d
mov qword [rsp + 0x20], rax
test dl, dl
je 0x14019818c
lea r9, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm1
call fcn.1401a6084
mov ebx, eax
test eax, eax
jns 0x140198217
mov ecx, eax
jmp 0x140198212
lea r9, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
call fcn.1401a67d8
jmp 0x14019817b
lea rax, [0x14003e65c]
mov qword [rbp + 0x1f], r9
mov qword [rbp + 0xf], rax
xor r9d, r9d
lea rax, [rbp + 0x57]
movdqa xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x17], rax
movzx eax, dl
lea rdx, [rbp + 7]
inc eax
movdqa xmmword [rbp - 9], xmm1
shl eax, 6
lea r8d, [r9 + 0x40]
mov dword [rbp + 0x27], eax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 9]
mov qword [rbp + 7], 3
mov qword [rbp + 0x2b], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x37], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x33], r10d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x57]
test ebx, ebx
jns 0x140198217
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x140199a3c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.1401999ec
test eax, eax
js 0x140199aca
movzx eax, word [rdi + 6]
mov word [rbx], ax
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x18]
mov r9d, esi
mov r8, rdi
xor edx, edx
call fcn.140199d80
test eax, eax
js 0x140199aca
mov qword [rsp + 0x20], 3
lea rax, [0x14003f9dc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
xor r9d, r9d
lea r8d, [r9 + 0x28]
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rsp + 0x78]
jmp 0x140199aca
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140305f20
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 - 0x27]
sub rsp, 0x90
mov r14, qword [rbp + 0x77]
mov r12, r9
and qword [rbp - 0x21], 0
mov r15d, r8d
and dword [rbp + 0x67], 0
mov rdi, rdx
and dword [rbp - 0x39], 0
mov rsi, rcx
cmp dword [r14], r8d
jae 0x140305f6a
mov edi, 0x80049e19
jmp 0x1403060e0
mov rax, qword [rdx]
and qword [rbp - 0x31], 0
and qword [rbp - 0x29], 0
and qword [rbp - 0x19], 0
mov rbx, qword [rax]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x29]
lea rdx, [0x140424f00]
mov rcx, rdi
call rax
test eax, eax
je 0x140305fac
mov edi, 0x80049e2f
jmp 0x14030603a
mov rdi, qword [rbp - 0x29]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x30]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea rdx, [rbp - 0x31]
mov rcx, rdi
call rax
mov edi, eax
test eax, eax
js 0x14030603a
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x19]
mov rcx, rsi
call fcn.14030569c
mov edi, eax
test eax, eax
js 0x14030603a
lea rax, [0x14004c01c]
mov qword [rbp - 0x11], 3
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
lea rax, [rbp + 0x77]
mov qword [rbp + 7], rsi
mov qword [rbp - 1], rax
xor r9d, r9d
mov rax, qword [rbp - 0x29]
mov ecx, 0xb9
mov qword [rbp + 0xf], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x17], rax
lea r8d, [r9 + 0x38]
lea rax, [rbp - 0x21]
mov qword [rbp + 0x1f], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x77]
mov rsi, qword [rbp - 0x31]
test rsi, rsi
je 0x140306063
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
and qword [rbp - 0x31], 0
mov rsi, qword [rbp - 0x29]
test rsi, rsi
je 0x140306087
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
test edi, edi
js 0x1403060e0
mov eax, dword [r14]
mov r8d, r15d
mov r9, qword [rbp + 0x7f]
mov rdx, r12
mov rcx, qword [rbp - 0x21]
mov dword [rbp + 0x67], eax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
call fcn.1401701dc
mov edi, eax
test eax, eax
js 0x1403060e0
mov eax, dword [r14]
lea r9, [rbp - 0x39]
mov r8d, dword [rbp + 0x67]
sub eax, r8d
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x21]
mov dword [rbp - 0x39], eax
call fcn.140170570
mov edi, eax
test eax, eax
js 0x1403060e0
mov ecx, dword [rbp + 0x67]
add ecx, dword [rbp - 0x39]
mov dword [r14], ecx
mov rcx, qword [rbp - 0x21]
call fcn.14016f54c
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret