joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140188be8
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 0x140188d0d
test r8, r8
je 0x140188d0d
cmp dword [rcx + 0x20], r13d
jne 0x140188c39
mov qword [rdx], r13
mov dword [r8], r13d
mov edi, r13d
jmp 0x140188d19
test byte [rcx + 4], 1
je 0x140188c46
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 0x140188c6a
mov rbx, r13
jmp 0x140188c72
mov r15, rbx
test rbx, rbx
jne 0x140188c7c
mov edi, 0x8007000e
jmp 0x140188d12
lea rax, [rsp + 0x20]
mov r12d, dword [rdi + 0x20]
cmp qword [rdi + 0x28], r13
jne 0x140188c97
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x28], r13d
jmp 0x140188ca1
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 0x140188cf7
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.14018d9f4
mov cl, byte [rsp + 0x68]
inc r13d
xor cl, byte [rax]
mov byte [r15], cl
inc r15
cmp r13d, r12d
jb 0x140188cbc
mov rax, rbx
xor r13d, r13d
mov qword [r14], rax
mov ebx, r13d
mov eax, dword [rdi + 0x20]
mov dword [rsi], eax
jmp 0x140188c31
mov edi, 0x80070057
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140188d39
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 0x14018969c
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x14045d6d0], ebx
jne 0x1401896df
lea rcx, [0x14045cc30]
call fcn.140070748
mov ebx, eax
test eax, eax
jns 0x1401896c7
mov ecx, eax
call fcn.14007ac40
jmp 0x1401896df
xor edx, edx
lea rcx, [0x14045cc18]
call fcn.14018b058
mov dword [0x14045d6d0], 1
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x1401896ee
mov ecx, ebx
jmp 0x140189751
mov rbx, qword [0x14045d6c8]
test rbx, rbx
je 0x140189744
and qword [rsp + 0x30], 0
lea rax, [0x14003679c]
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.14018d3f0
mov ebx, eax
test eax, eax
jns 0x140189756
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x14018976c
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x14045d6d0], 1
jne 0x140189804
lea rcx, [0x14045cc30]
call fcn.1400705c0
or dword [0x14045d6d0], 0xffffffff
lea rcx, [0x14045cc18]
xor edx, edx
call fcn.14018b058
lea rcx, [0x14045cc30]
call fcn.1400734c0
cmp dword [0x14045cc30], 0
je 0x1401897c9
lea rcx, [0x14045cc38]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x14045cc30], 0
mov rcx, qword [0x14045cc68]
test rcx, rcx
je 0x1401897e3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14045cc68], 0
mov rcx, qword [0x14045cc60]
test rcx, rcx
je 0x1401897fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14045cc60], 0
and dword [0x14045d6d0], 0
mov rbx, qword [0x14045d6c8]
test rbx, rbx
je 0x14018985a
and qword [rsp + 0x30], 0
lea rax, [0x14003679c]
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 0x14018cd48
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 0x14018ce6a
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018cde9
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 0x14018cdb8
mov ebx, r12d
jmp 0x14018cdc3
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x14018cdd4
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x14018ce6d
test r14d, r14d
je 0x14018cde9
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 5
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14018ce39
mov edi, ebp
movsxd rdx, edi
shl rdx, 5
add rdx, qword [rsi + 8]
je 0x14018ce32
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x140041a5c]
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 0x14018cdf0
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018ce60
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 0x14018ce8d
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 0x14018ceb8
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 0x14018cfda
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018cf59
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 0x14018cf28
mov ebx, r12d
jmp 0x14018cf33
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x14018cf44
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x14018cfdd
test r14d, r14d
je 0x14018cf59
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 4
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x14018cfa9
mov edi, ebp
movsxd rdx, edi
shl rdx, 4
add rdx, qword [rsi + 8]
je 0x14018cfa2
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14004415c]
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 0x14018cf60
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018cfd0
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 0x14018cffd
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 0x14018d24c
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 0x14018d3a8
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018d320
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 0x14018d2c2
mov edi, 0x80070216
mov ecx, edi
call fcn.14007ac40
mov r15, qword [rsp + 0x70]
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x14018d2d9
mov ecx, edi
call fcn.14007ac40
jmp 0x14018d3ab
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 0x14018d300
mov rcx, rax
mov rbx, rax
test rax, rax
jne 0x14018d307
mov edi, 0x8007000e
jmp 0x14018d2cd
test r14d, r14d
je 0x14018d320
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 0x14018d377
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 0x14018d370
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rcx, [0x14004345c]
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 0x14018d327
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018d39e
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 0x14018d3cb
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 0x14018e750
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 0x14018e7a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14018e7cc
cmp dword [rsp + 0x24], 5
jb 0x14018e7bc
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x14018e78b
xor eax, eax
jmp 0x14018e7cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14018e7b8
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140388a40
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x140192df4
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, [0x14003fd1c]
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 0x140192e7c
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, [0x14003fd1c]
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 0x140194860
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 0x14019490a
mov r10, qword [rdx]
test r10, r10
je 0x1401948ae
mov rax, qword [0x14045d6d8]
mov r9d, dword [rax]
sub r10, r9
cmp dword [r10 + 8], edi
jne 0x1401948ae
cmp qword [r10], rdi
je 0x1401948ae
mov eax, dword [rdx + 8]
add rax, qword [r10]
jmp 0x14019490c
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 0x14019490a
movups xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x20], xmm0
test ebp, ebp
je 0x140194905
mov esi, dword [rsp + 0x28]
mov rbx, rdi
mov rcx, qword [rsp + 0x20]
lea edx, [rsi + rdi]
lea r8, [rsp + 0x60]
call fcn.14018d9f4
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 0x1401948de
mov rax, qword [r14]
jmp 0x14019490c
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 0x140197f5c
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 0x1401980d4
test r9d, r9d
je 0x1401980d4
mov rbx, qword [rcx + 0x10]
mov r15d, 1
test rbx, rbx
jne 0x140198027
cmp dword [rcx + 8], 2
jne 0x140198022
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 0x14019800d
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 0x14019800f
xor ebx, ebx
mov qword [rdi + 0x10], rbx
test rbx, rbx
jne 0x140198027
mov ebx, 0x8007000e
jmp 0x1401980d9
test rbx, rbx
je 0x140198050
mov rcx, rbx
call fcn.1401a5f6c
test sil, sil
mov ebx, eax
mov esi, eax
test eax, eax
jns 0x140198041
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x1401980db
mov ecx, dword [rdi + 4]
sub ecx, r15d
je 0x140198081
cmp ecx, r15d
je 0x140198064
mov ebx, 0xc004d203
jmp 0x1401980d9
movaps xmm0, xmmword [r12]
lea rdx, [rbp - 0x50]
mov r8d, r14d
movdqa xmmword [rbp - 0x50], xmm0
mov rcx, rdi
call fcn.1401a0e18
mov ebx, eax
jmp 0x1401980ce
movaps xmm0, xmmword [r12]
lea rax, [0x140041d9c]
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 0x1401980e5
jmp 0x1401980d9
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 0x140198118
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 0x140198195
mov rax, qword [rbp + 0x7f]
mov r8d, r10d
mov qword [rsp + 0x20], rax
test dl, dl
je 0x14019817c
lea r9, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm1
call fcn.1401a6074
mov ebx, eax
test eax, eax
jns 0x140198207
mov ecx, eax
jmp 0x140198202
lea r9, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
call fcn.1401a67c8
jmp 0x14019816b
lea rax, [0x14004755c]
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 0x140198207
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 0x140199a2c
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.1401999dc
test eax, eax
js 0x140199aba
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.140199d70
test eax, eax
js 0x140199aba
mov qword [rsp + 0x20], 3
lea rax, [0x14004449c]
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 0x140199aba
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140305f10
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 0x140305f5a
mov edi, 0x80049e19
jmp 0x1403060d0
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, [0x140424ef8]
mov rcx, rdi
call rax
test eax, eax
je 0x140305f9c
mov edi, 0x80049e2f
jmp 0x14030602a
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 0x14030602a
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x19]
mov rcx, rsi
call fcn.14030568c
mov edi, eax
test eax, eax
js 0x14030602a
lea rax, [0x14000a99c]
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 0x140306053
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 0x140306077
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 0x1403060d0
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.1401701cc
mov edi, eax
test eax, eax
js 0x1403060d0
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.140170560
mov edi, eax
test eax, eax
js 0x1403060d0
mov ecx, dword [rbp + 0x67]
add ecx, dword [rbp - 0x39]
mov dword [r14], ecx
mov rcx, qword [rbp - 0x21]
call fcn.14016f53c
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