joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140178080
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 [0x1403af620]
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x14017817f
movsd xmm1, qword [rbp - 0x48]
mov eax, SafeArrayUnaccessData
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 [0x1403af620]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14017817f
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rcx, rbx
call qword [0x1403af620]
lea rdx, [rbp - 0x60]
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
js 0x14017817f
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403af620]
mov rdx, qword [rbp + 0x20]
xor r8d, r8d
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
jns 0x140178186
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
and qword [rbp - 0x10], 0
lea rax, [0x14002cc38]
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, [0x14002c8f8]
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 0x14017821c
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 [0x1403af620]
lea r8, [rbp + 0x20]
mov rdx, rsi
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
js 0x14017831b
movsd xmm1, qword [rbp - 0x48]
mov eax, SafeArrayUnaccessData
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 [0x1403af620]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x14017831b
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rcx, rbx
call qword [0x1403af620]
lea rdx, [rbp - 0x60]
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
js 0x14017831b
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403af620]
mov rdx, qword [rbp + 0x20]
xor r8d, r8d
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
jns 0x140178322
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
and qword [rbp - 0x10], 0
lea rax, [0x14002cc38]
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, [0x14002c8f8]
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 0x1401783b8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp + 0x30], 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 r15d, r9d
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 [0x1403af620]
lea r8, [rbp + 0x30]
mov rdx, rsi
mov rcx, rdi
call rbx
mov ebx, eax
mov r13d, 3
test eax, eax
js 0x1401784b7
movsd xmm1, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov dword [rbp - 0x50], r15d
mov word [rbp - 0x58], r13w
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 [0x1403af620]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x1401784b7
mov rax, qword [r14]
mov rbx, qword [rax + 0x88]
mov rcx, rbx
call qword [0x1403af620]
lea rdx, [rbp - 0x60]
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
js 0x1401784b7
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403af620]
mov rdx, qword [rbp + 0x30]
xor r8d, r8d
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
jns 0x1401784be
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
and qword [rbp - 0x10], 0
lea rax, [0x14002cc38]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x20], r13
mov edi, 0xb9
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x20]
mov ecx, edi
lea esi, [r9 + 0x20]
mov r8d, esi
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rbp - 0x10], 0
lea rax, [0x14002c8f8]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x20], r13
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 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140178930
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x28], 0
mov rsi, r8
and qword [rbp - 0x20], 0
lea r8, [rbp - 0x60]
and dword [rbp - 0x18], 0
mov rbx, rdx
and dword [rbp - 0x14], 0
mov rdi, rcx
and qword [rbp - 0x10], 0
call fcn.1401736b0
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
test al, al
je 0x1401789ac
movsxd rcx, dword [rbp - 0x60]
shl rcx, 5
add rcx, 0x10
add rcx, qword [rdi + 8]
call fcn.1400dfd04
mov ebx, eax
test eax, eax
jns 0x140178a51
mov ecx, eax
jmp 0x140178a4c
movups xmm0, xmmword [rbx]
lea rcx, [rbp - 0x18]
movdqu xmmword [rbp - 0x28], xmm0
call fcn.1400dfd04
mov ebx, eax
test eax, eax
js 0x1401789a5
lea r8, [rbp - 0x60]
mov rcx, rdi
lea rdx, [rbp - 0x28]
call fcn.1401736b0
test al, al
je 0x140178a23
movsxd rax, dword [rbp - 0x60]
lea rcx, [0x14003c9b8]
shl rax, 5
lea rdx, [rbp - 0x58]
add rax, qword [rdi + 8]
xor r9d, r9d
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x58], 3
call sub.ntdll.dll_NtQuerySystemInformation
xor ebx, ebx
jmp 0x140178a3f
mov edx, dword [rbp - 0x60]
lea r8, [rbp - 0x28]
mov rcx, rdi
call fcn.140178f80
mov ebx, eax
test eax, eax
jns 0x140178a3f
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
jns 0x140178a51
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
lea rcx, [rbp - 0x18]
call fcn.140067b74
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140368700
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140178e74
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
movsxd rsi, edx
mov ecx, dword [rcx + 4]
mov rbp, r8
test ecx, ecx
jns 0x140178e99
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x140178eb0
lea r8, [rsp + 0x70]
mov edx, 1
call fcn.140078744
mov ebx, eax
test eax, eax
jns 0x140178eba
mov ecx, eax
call fcn.1400790f8
jmp 0x140178f61
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.1401792d8
mov ebx, eax
test eax, eax
js 0x140178eae
mov r8d, dword [rdi + 4]
mov rbx, rsi
cmp esi, r8d
jge 0x140178efb
mov rcx, qword [rdi + 8]
lea rax, [rsi + rsi*8]
sub r8d, esi
lea rdx, [rcx + rax*8]
movsxd rax, r8d
lea rcx, [rdx + 0x48]
lea r8, [rax + rax*8]
shl r8, 3
call sub.msvcrt.dll_memmove
mov rax, qword [rdi + 8]
lea rbx, [rbx + rbx*8]
xor edx, edx
lea rcx, [rax + rbx*8]
lea r8d, [rdx + 0x48]
call sub.msvcrt.dll_memset
mov rax, qword [rdi + 8]
lea rcx, [0x14003c678]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], rcx
lea rax, [rax + rbx*8]
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
inc dword [rdi + 4]
xor ebx, ebx
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140178f80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
movsxd rsi, edx
mov ecx, dword [rcx + 4]
mov rbp, r8
test ecx, ecx
jns 0x140178fa5
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x140178fbc
lea r8, [rsp + 0x70]
mov edx, 1
call fcn.140078744
mov ebx, eax
test eax, eax
jns 0x140178fc6
mov ecx, eax
call fcn.1400790f8
jmp 0x140179077
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.1401793e0
mov ebx, eax
test eax, eax
js 0x140178fba
mov r8d, dword [rdi + 4]
mov rbx, rsi
cmp esi, r8d
jge 0x140179002
sub r8d, esi
mov rdx, rsi
shl rdx, 5
add rdx, qword [rdi + 8]
movsxd r8, r8d
shl r8, 5
lea rcx, [rdx + 0x20]
call sub.msvcrt.dll_memmove
mov rsi, qword [rdi + 8]
xor edx, edx
shl rbx, 5
add rsi, rbx
mov rcx, rsi
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
test rsi, rsi
je 0x140179029
and dword [rsi + 0x14], 0
and qword [rsi + 0x18], 0
mov rax, qword [rdi + 8]
lea rcx, [0x14003c9b8]
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], rcx
add rax, rbx
mov ecx, 0xb9
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
inc dword [rdi + 4]
xor ebx, ebx
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14017ae0c
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x14042f750], ebx
jne 0x14017ae48
lea rcx, [0x14042ed50]
call fcn.14006ed9c
mov ebx, eax
test eax, eax
jns 0x14017ae37
mov ecx, eax
call fcn.1400790f8
jmp 0x14017ae48
xor edx, edx
call fcn.14017ba24
mov dword [0x14042f750], 1
mov ecx, ebx
call fcn.140079118
test ebx, ebx
jns 0x14017ae57
mov ecx, ebx
jmp 0x14017aeba
mov rbx, qword [0x14042f748]
test rbx, rbx
je 0x14017aead
and qword [rsp + 0x30], 0
lea rax, [0x140032db8]
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.14017eba4
mov ebx, eax
test eax, eax
jns 0x14017aebf
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x14017aed4
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x14042f750], 1
jne 0x14017af61
lea rcx, [0x14042ed50]
call fcn.14006ec14
or dword [0x14042f750], 0xffffffff
xor edx, edx
call fcn.14017ba24
lea rcx, [0x14042ed50]
call fcn.1400719a0
cmp dword [0x14042ed50], 0
je 0x14017af26
lea rcx, [0x14042ed58]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x14042ed50], 0
mov rcx, qword [0x14042ed88]
test rcx, rcx
je 0x14017af40
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14042ed88], 0
mov rcx, qword [0x14042ed80]
test rcx, rcx
je 0x14017af5a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x14042ed80], 0
and dword [0x14042f750], 0
mov rbx, qword [0x14042f748]
test rbx, rbx
je 0x14017afb7
and qword [rsp + 0x30], 0
lea rax, [0x140032db8]
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 [0x14042f748], 0
add rsp, 0x40
pop rbx
ret
Function at 0x14017e7ec
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
movsxd rbp, edx
xor ebx, ebx
mov rsi, rcx
cmp dword [rcx], ebp
je 0x14017e950
mov r15d, dword [rcx + 4]
cmp ebp, r15d
cmovl r15d, ebp
test edx, edx
jle 0x14017e8bc
xor edi, edi
test edx, edx
je 0x14017e863
lea r14, [rbp*2]
movabs rax, 0xaaaaaaaaaaaaaaab
add r14, rbp
shl r14, 3
mul r14
shr rdx, 4
cmp rdx, rbp
je 0x14017e866
mov edi, 0x80070216
mov ecx, edi
call fcn.1400790f8
mov r14, qword [rsp + 0x70]
jmp 0x14017e866
xor r14d, r14d
mov ecx, edi
call fcn.140079118
test edi, edi
jns 0x14017e87d
mov ecx, edi
call fcn.1400790f8
jmp 0x14017e952
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14017e8a0
mov edi, 0x8007000e
jmp 0x14017e871
test r15d, r15d
je 0x14017e8bc
mov rdx, qword [rsi + 8]
mov rcx, rbx
movsxd rax, r15d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
mov r12, rbx
cmp ebp, dword [rsi + 4]
jge 0x14017e91b
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 0x14017e914
and qword [rsp + 0x30], 0
lea rcx, [0x14001fc38]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
add rax, 8
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
inc edi
cmp edi, dword [rsi + 4]
jl 0x14017e8c6
mov rdi, qword [rsi + 8]
mov r14, rbx
xor ebx, ebx
test rdi, rdi
je 0x14017e93d
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 r14, r14
cmovne rax, r12
mov qword [rsi + 8], rax
mov dword [rsi + 4], r15d
mov dword [rsi], ebp
xor edi, edi
mov ecx, edi
call fcn.140079118
test rbx, rbx
je 0x14017e972
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 0x14017fde0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140425b28]
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 0x14017fe32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14017fe5c
cmp dword [rsp + 0x24], 5
jb 0x14017fe4c
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x14017fe1b
xor eax, eax
jmp 0x14017fe5c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14017fe48
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140368700
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x1401836ec
Capabilities:
Check for time delay via queryperformancecounter
Encode data using xor

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
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edi, edi
mov ebx, edx
mov qword [rsp + 0x64], 2
mov r14, rcx
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], dil
test edx, edx
je 0x140183854
mov r15, qword [rcx]
test r15, r15
jne 0x140183757
mov edi, 0xc004d104
jmp 0x140183854
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov esi, dword [rsp + 0x34]
lea r8, [rsp + 0x40]
xor esi, eax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x34], esi
lea rax, [rsp + 0x30]
xor esi, dword [rsp + 0x30]
mov r9d, 8
mov qword [rsp + 0x50], rax
mov dl, 1
mov rax, qword [0x14042f758]
mov dword [rsp + 0x58], edi
mov ecx, dword [rax]
lea rax, [rsp + 0x50]
add rax, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1401885f0
test ebx, ebx
je 0x140183854
mov r14d, dword [r14 + 8]
mov r12, rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rsp + 0x30]
mov ecx, esi
xor eax, esi
mov esi, eax
mov al, byte [rbp + 0x78]
inc al
rol esi, cl
mov byte [rbp + 0x78], al
movzx r8d, al
mov al, byte [rbp + 0x79]
add al, byte [rsp + r8 + 0x78]
mov byte [rbp + 0x79], al
mov cl, byte [rsp + r8 + 0x78]
movzx edx, al
mov al, byte [rsp + rdx + 0x78]
mov byte [rsp + r8 + 0x78], al
mov byte [rsp + rdx + 0x78], cl
mov edx, r14d
movzx ecx, byte [rbp + 0x79]
movzx eax, byte [rbp + 0x78]
mov cl, byte [rsp + rcx + 0x78]
add cl, byte [rsp + rax + 0x78]
movzx eax, cl
mov rcx, r15
mov bl, byte [rsp + rax + 0x78]
call fcn.14017f294
xor al, sil
mov edx, r14d
xor al, bl
mov rcx, r15
mov r8b, al
call fcn.14017f2dc
inc r14d
sub r12, 1
jne 0x1401837cf
lea rcx, [rsp + 0x60]
call fcn.140188564
mov eax, edi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0x190]
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 0x14018404c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [rbp + 0x30]
movaps xmm0, xmmword [r9]
movaps xmm1, xmmword [rdx]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
test rax, rax
jne 0x140184089
mov ebx, 0x80070057
mov ecx, ebx
call fcn.1400790f8
call fcn.140079118
jmp 0x1401840de
mov qword [rbp - 0x28], rcx
lea rdx, [0x1400400f8]
mov qword [rbp - 0x38], rdx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x1c], rcx
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x14], r8d
xor r9d, r9d
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x30], rdx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x20], 0x80
lea r8d, [r9 + 0x40]
mov qword [rbp - 8], rax
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [rbp + 0x30]
movaps xmm0, xmmword [r9]
movaps xmm1, xmmword [rdx]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
test rax, rax
jne 0x140184135
mov ebx, 0x80070057
mov ecx, ebx
call fcn.1400790f8
call fcn.140079118
jmp 0x14018418a
mov qword [rbp - 0x28], rcx
lea rdx, [0x1400400f8]
mov qword [rbp - 0x38], rdx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x1c], rcx
lea rdx, [rbp + 0x30]
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x50]
mov edx, 0x40
mov dword [rbp - 0x14], r8d
mov r8d, edx
mov dword [rbp - 0x20], edx
mov qword [rbp - 0x10], rcx
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x40], 3
mov qword [rbp - 8], rax
lea ecx, [r8 + 0x79]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x1401885f0
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, 0x80
cmp qword [r8], 0
mov esi, r9d
mov r14, r8
mov r15b, dl
mov rdi, rcx
je 0x140188761
test r9d, r9d
je 0x140188761
mov rbx, qword [rcx + 0x10]
test rbx, rbx
jne 0x1401886b9
cmp dword [rcx + 8], 2
jne 0x1401886dd
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 0x14018869d
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], 1
jmp 0x14018869f
xor ebx, ebx
mov qword [rdi + 0x10], rbx
test rbx, rbx
jne 0x1401886b9
mov ebx, 0x8007000e
mov ecx, ebx
call fcn.1400790f8
jmp 0x140188771
mov rcx, rbx
call fcn.14019532c
mov ebx, eax
test eax, eax
jns 0x1401886ce
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
js 0x140188766
mov ecx, dword [rdi + 4]
sub ecx, 1
je 0x14018870d
cmp ecx, 1
je 0x1401886f1
mov ebx, 0xc004d203
jmp 0x140188766
movaps xmm0, xmmword [r14]
lea rdx, [rbp - 0x20]
mov r8d, esi
movdqa xmmword [rbp - 0x20], xmm0
mov rcx, rdi
call fcn.14019124c
mov ebx, eax
jmp 0x140188758
movaps xmm0, xmmword [r14]
lea rax, [0x1400417b8]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x58]
xor r9d, r9d
movdqa xmmword [rbp - 0x10], xmm0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x58], 3
mov qword [rbp - 0x48], rax
mov ecx, 0xb9
lea rax, [rbp - 0x10]
mov qword [rbp - 0x40], rdi
lea r8d, [r9 + 0x2c]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], esi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x60]
test ebx, ebx
js 0x140188766
mov byte [rdi], 1
jmp 0x14018876d
mov ebx, 0x80070057
mov ecx, ebx
call fcn.1400790f8
test ebx, ebx
jns 0x140188774
mov byte [rdi], 0
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret