joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400708f4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
mov qword [rsp + 0x78], rdx
lea rcx, [rsp + 0x68]
xor ebx, ebx
and qword [rsp + 0x68], rbx
mov r9d, 0x2000000
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x70], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140070a2e
xor edi, edi
mov rbx, qword [rsp + 0x68]
and qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rbx
mov ecx, edi
call fcn.140078324
lea rcx, [rsp + 0x68]
call fcn.140068d58
test edi, edi
js 0x140070a99
xor edi, edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400709db
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140070a99
xor edi, edi
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140070a50
dec eax
lea r8, [rbp - 0x80]
mov edx, eax
mov dword [rsp + 0x60], eax
mov r9d, 0x105
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x140070a18
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140070a99
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400708f4
mov edi, eax
test eax, eax
jns 0x1400709d9
mov ecx, eax
jmp 0x140070a9b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140070956
mov ecx, edi
call fcn.140078308
jmp 0x140070966
test rbx, rbx
je 0x140070a63
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], rdi
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140070a8e
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140070a8e
mov ecx, edi
call fcn.140078308
mov ecx, edi
call fcn.140078324
test edi, edi
jns 0x140070aa0
mov ecx, edi
call fcn.140078308
mov ecx, edi
call fcn.140078324
lea rcx, [rsp + 0x70]
call fcn.140068d58
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14035a4e0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400732b4
Capabilities:
Set registry value

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, 0x50
xor ebx, ebx
mov r14, r9
and qword [rbp - 0x18], rbx
mov r15, r8
and qword [rbp - 0x20], rbx
mov rsi, rdx
mov qword [rbp - 0x10], rbx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400732fd
and qword [rbp - 0x18], rbx
xor ecx, ecx
call fcn.140078324
and qword [rbp + 0x20], rbx
lea rax, [rbp + 0x20]
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 0x80070000
test eax, eax
jne 0x140073380
xor edi, edi
mov rbx, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov qword [rbp - 0x10], rbx
mov ecx, edi
call fcn.140078324
lea rcx, [rbp + 0x20]
call fcn.140068d58
test edi, edi
js 0x1400733a5
and qword [rbp - 0x20], 0
xor ecx, ecx
call fcn.140078324
mov eax, dword [rbp + 0x40]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140073397
xor edi, edi
jmp 0x1400733ac
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14007332a
mov ecx, edi
call fcn.140078308
jmp 0x140073337
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1400733ac
mov ecx, edi
call fcn.140078308
mov ecx, edi
call fcn.140078324
lea rcx, [rbp - 0x20]
call fcn.14006e948
lea rcx, [rbp - 0x18]
call fcn.140068d58
lea rcx, [rbp - 0x10]
call fcn.140068d58
lea r11, [rsp + 0x50]
mov eax, edi
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 0x14007510c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140075181
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14007516a
mov ebx, 0x80004005
jmp 0x140075178
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140078308
jmp 0x140075198
cmp dword [rsp + 0x30], 2
jne 0x140075194
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x140075196
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.140078324
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14035a4e0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140076b44
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rdx
mov edi, 0x104
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, edi
mov qword [rsp + 0x20], rbx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
jne 0x140076bbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140076ba2
mov edi, 0x80004005
jmp 0x140076bb0
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.140078308
jmp 0x140076c59
cmp esi, edi
ja 0x140076c06
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140077f90
mov edi, eax
test eax, eax
js 0x140076bf2
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8, r14
call fcn.1400780c4
mov edi, eax
test eax, eax
jns 0x140076bf9
mov ecx, eax
call fcn.140078308
mov ecx, edi
call fcn.140078324
test edi, edi
jns 0x140076c59
jmp 0x140076bb0
mov rdx, rsi
lea r8, [rsp + 0x20]
call fcn.140076ed0
mov edi, eax
test eax, eax
jns 0x140076c27
mov ecx, eax
call fcn.140078308
mov rbx, qword [rsp + 0x20]
jmp 0x140076c59
mov rbx, qword [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140076b91
cmp eax, esi
je 0x140076c51
mov edi, 0x8007007a
jmp 0x140076bb0
mov rax, rbx
xor ebx, ebx
mov qword [r14], rax
mov ecx, edi
call fcn.140078324
test rbx, rbx
je 0x140076c81
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14035a4e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140082fb0
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 - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
lea rax, [0x14001f5a0]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x14041a988]
mov qword [rbp - 0x29], rax
lea rcx, [0x14040470c]
mov r15, r9
mov r14, r8
call fcn.1400e63b8
xor r9d, r9d
mov qword [rbp - 0x21], rbx
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x19], r12
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rax
lea ebx, [r9 + 0x58]
mov r8d, ebx
lea ecx, [rbx + 0x61]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
xor edi, edi
test esi, esi
jns 0x140083068
mov ecx, esi
call fcn.140078308
lea rdx, [0x14041b240]
lea rcx, [0x140405000]
call fcn.1400e6a48
jmp 0x14008314e
lea rax, [0x14001ef20]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14041e6f4]
lea rax, [rbp - 0x45]
lea rcx, [0x1403ffd1c]
mov qword [rbp - 0x29], rax
call fcn.1400e70c4
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x21], r12
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x39]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x19], rdi
xor r9d, r9d
mov qword [rbp + 0x17], rax
mov r8, rbx
mov qword [rbp - 0x11], r14
mov ecx, 0xb9
mov dword [rbp - 1], edi
mov dword [rbp + 7], 1
mov qword [rbp + 0xf], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x45]
cmp ecx, 0xc004d304
je 0x14008314b
mov esi, ecx
test ecx, ecx
jns 0x1400830ec
call fcn.140078308
jmp 0x14008314e
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x140083119
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x140083146
lea rdx, [0x14041f248]
lea rcx, [0x1403f85f8]
call fcn.1400e6704
cmp r14d, 0xc000
jne 0x14008314b
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x14008314b
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.140078324
lea rdx, [0x14041c7c8]
lea rcx, [0x1403fe074]
call fcn.1400e6d84
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14035a4e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140085ef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x370035
mov r14d, r8d
mov dword [rsp + 0x44], 0x390042
xor r8d, r8d
mov dword [rsp + 0x48], 0x320044
mov dword [rsp + 0x4c], 0x370035
mov esi, r9d
mov dword [rsp + 0x50], 0x34002d
mov dword [rsp + 0x54], 0x360035
mov dword [rsp + 0x58], 0x2d0030
mov dword [rbp - 0x7d], 0x460034
mov dword [rbp - 0x79], 0x420044
mov dword [rbp - 0x75], 0x39002d
mov dword [rbp - 0x71], 0x430030
mov dword [rbp - 0x6d], 0x2d0036
mov dword [rbp - 0x69], 0x410042
mov dword [rbp - 0x65], 0x330034
mov dword [rbp - 0x61], 0x360046
mov dword [rbp - 0x5d], 0x440043
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450045
mov word [rbp - 0x51], r8w
mov dword [rbp - 0x49], 0x340038
mov dword [rbp - 0x45], 0x300039
mov dword [rbp - 0x41], 0x350045
mov dword [rbp - 0x3d], 0x350041
mov dword [rbp - 0x39], 0x34002d
mov dword [rbp - 0x35], 0x360044
mov dword [rbp - 0x31], 0x2d0030
mov dword [rbp - 0x2d], 0x390034
mov dword [rbp - 0x29], 0x410043
mov dword [rbp - 0x25], 0x42002d
mov dword [rbp - 0x21], 0x310042
mov dword [rbp - 0x1d], 0x2d0030
mov dword [rbp - 0x19], 0x440046
mov dword [rbp - 0x15], 0x450033
mov dword [rbp - 0x11], 0x450041
mov dword [rbp - 0xd], 0x380044
mov dword [rbp - 9], 0x390044
mov dword [rbp - 5], 0x320030
mov word [rbp - 1], r13w
test rcx, rcx
jne 0x140086041
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x1400860c8
mov rdi, qword [0x140421af0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403a2250]
mov r15d, 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], r15d
lea rdx, [rsp + 0x30]
mov r9d, r14d
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rbx
mov ebx, eax
test eax, eax
js 0x1400860c6
mov rdi, qword [0x140421af0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403a2250]
mov r9d, esi
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x49]
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x1400860cd
mov ecx, eax
call fcn.140078308
mov ecx, ebx
call fcn.140078324
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14035a4e0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14008d0f8
Capabilities:
Set registry value

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, 0x50
xor ebx, ebx
mov r14, r9
and qword [rbp - 0x18], rbx
mov r15, r8
and qword [rbp - 0x20], rbx
mov rsi, rdx
mov qword [rbp - 0x10], rbx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14008d141
and qword [rbp - 0x18], rbx
xor ecx, ecx
call fcn.140078324
and qword [rbp + 0x20], rbx
lea rax, [rbp + 0x20]
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 0x80070000
test eax, eax
jne 0x14008d1c4
xor edi, edi
mov rbx, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov qword [rbp - 0x10], rbx
mov ecx, edi
call fcn.140078324
lea rcx, [rbp + 0x20]
call fcn.140068d58
test edi, edi
js 0x14008d1e9
and qword [rbp - 0x20], 0
xor ecx, ecx
call fcn.140078324
mov eax, dword [rbp + 0x40]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14008d1db
xor edi, edi
jmp 0x14008d1f0
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008d16e
mov ecx, edi
call fcn.140078308
jmp 0x14008d17b
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008d1f0
mov ecx, edi
call fcn.140078308
mov ecx, edi
call fcn.140078324
lea rcx, [rbp - 0x20]
call fcn.14006e948
lea rcx, [rbp - 0x18]
call fcn.140068d58
lea rcx, [rbp - 0x10]
call fcn.140068d58
lea r11, [rsp + 0x50]
mov eax, edi
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 0x14008d230
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x38], 0
lea rax, [rbp + 0x20]
and qword [rbp - 0x10], 0
lea rdx, [0x1403ac950]
and qword [rbp + 0x20], 0
mov rsi, r8
mov ebx, 1
mov qword [r11 - 0x38], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008d2c8
xor edi, edi
mov rax, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov qword [rbp + 0x38], rax
mov ecx, edi
call fcn.140078324
lea rcx, [rbp + 0x20]
call fcn.140068d58
movzx eax, di
test eax, eax
je 0x14008d2e7
cmp eax, 2
je 0x14008d2e3
test edi, edi
mov eax, 0x80004005
cmovns edi, eax
test edi, edi
jns 0x14008d2ee
mov ecx, edi
call fcn.140078308
jmp 0x14008d2ee
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008d288
mov ecx, edi
call fcn.140078308
jmp 0x14008d295
xor eax, eax
jmp 0x14008d2e9
mov eax, ebx
mov dword [rbp + 0x28], eax
xor edi, edi
mov ecx, edi
call fcn.140078324
lea rcx, [rbp - 0x10]
call fcn.140068d58
lea rcx, [rbp + 0x38]
call fcn.140068d58
test edi, edi
js 0x14008d3eb
cmp dword [rbp + 0x28], ebx
jne 0x14008d3f2
lea r9, [rbp + 0x28]
mov r8, rsi
call fcn.14008d9ac
mov edi, eax
test eax, eax
jns 0x14008d331
mov ecx, eax
jmp 0x14008d3ed
cmp dword [rbp + 0x28], ebx
jne 0x14008d3f2
xor ebx, ebx
lea rax, [rbp + 0x28]
and qword [rbp + 0x28], rbx
lea rdx, [0x1403ac950]
xor r8d, r8d
mov qword [rbp + 0x20], rbx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008d3a3
xor edi, edi
mov rbx, qword [rbp + 0x28]
and qword [rbp + 0x28], 0
mov qword [rbp + 0x20], rbx
mov ecx, edi
call fcn.140078324
lea rcx, [rbp + 0x28]
call fcn.140068d58
test edi, edi
js 0x14008d3d0
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14008d3be
xor edi, edi
jmp 0x14008d3d7
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008d36e
mov ecx, edi
call fcn.140078308
jmp 0x14008d37b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008d3d7
mov ecx, edi
call fcn.140078308
mov ecx, edi
call fcn.140078324
lea rcx, [rbp + 0x20]
call fcn.140068d58
test edi, edi
jns 0x14008d3f2
mov ecx, edi
call fcn.140078308
mov ecx, edi
call fcn.140078324
mov rbx, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008d9ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
xor esi, esi
mov r14, r9
mov qword [rax - 0x28], rsi
lea rax, [rax - 0x28]
mov rbp, r8
mov qword [rsp + 0x20], rax
mov ebx, esi
lea rdx, [0x1403ac950]
mov qword [rax + 8], rbx
lea r9d, [rsi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008da30
mov edi, esi
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rsi
mov ecx, edi
call fcn.140078324
lea rcx, [rsp + 0x30]
call fcn.140068d58
test edi, edi
jns 0x14008da4b
mov ecx, edi
call fcn.140078308
jmp 0x14008da93
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008da03
mov ecx, edi
call fcn.140078308
jmp 0x14008da12
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
mov rdx, rbp
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008da8b
cmp eax, 2
je 0x14008da90
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008da90
jmp 0x14008da27
mov esi, 1
mov dword [r14], esi
mov ecx, edi
call fcn.140078324
lea rcx, [rsp + 0x38]
call fcn.140068d58
mov rbx, qword [rsp + 0x70]
mov eax, edi
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14008e514
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
mov r13, rcx
xor edx, edx
mov qword [rbp - 0x41], r12
lea rcx, [rbp - 9]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r8d, [r12 + 0x30]
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r8, str.PolicyValuesArray
lea rdx, [0x1403ac950]
call fcn.14008e918
mov edi, eax
mov r15d, 0x8007000d
cmp eax, 0x80070002
jne 0x14008e59e
mov edi, r12d
jmp 0x14008e680
test eax, eax
jns 0x14008e5ae
mov ecx, eax
call fcn.140078308
jmp 0x14008e680
mov ecx, dword [rbp - 0x49]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rbx, rdx
shr rbx, 5
lea rax, [rbx + rbx*2]
shl rax, 4
sub rcx, rax
je 0x14008e5da
mov edi, r15d
mov ecx, r15d
jmp 0x14008e5a4
mov rsi, qword [rbp - 0x41]
mov r14d, r12d
test ebx, ebx
je 0x14008e674
mov r15d, dword [rbp - 0x49]
movups xmm0, xmmword [rsi]
lea r8, [rbp - 0x49]
mov edi, r12d
movups xmm1, xmmword [rsi + 0x20]
lea rdx, [rbp - 9]
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x17], xmm1
movups xmmword [rbp + 7], xmm0
call fcn.140089dd8
mov r12b, al
test al, al
jne 0x14008e63f
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008bd0c
mov edi, eax
test eax, eax
jns 0x14008e63f
mov ecx, eax
call fcn.140078308
jmp 0x14008e649
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.140078324
xor r12d, r12d
test edi, edi
js 0x14008e704
test r15d, r15d
je 0x14008e6ff
inc r14d
add rsi, 0x30
cmp r14d, ebx
jb 0x14008e5ed
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.14008e39c
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.140078324
lea rcx, [rbp - 0x39]
call fcn.14008e0c4
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x14001a7a0]
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14035a4e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edi, 0x8007000d
mov ecx, edi
jmp 0x14008e5a4
Function at 0x14008e70c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
mov r13, rcx
xor edx, edx
mov qword [rbp - 0x41], r12
lea rcx, [rbp - 9]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r8d, [r12 + 0x38]
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r8, str.LicStatusArray
lea rdx, [0x1403ac950]
call fcn.14008e918
mov edi, eax
cmp eax, 0x80070002
jne 0x14008e790
mov edi, r12d
jmp 0x14008e899
test eax, eax
jns 0x14008e7a0
mov ecx, eax
call fcn.140078308
jmp 0x14008e899
mov ecx, dword [rbp - 0x49]
movabs rax, 0x2492492492492493
mul rcx
mov esi, ecx
sub rsi, rdx
shr rsi, 1
add rsi, rdx
shr rsi, 5
imul rax, rsi, 0x38
sub rcx, rax
je 0x14008e7d1
mov edi, 0x8007000d
mov ecx, edi
jmp 0x14008e796
mov rbx, qword [rbp - 0x41]
mov r14d, r12d
test esi, esi
je 0x14008e88d
mov r15d, dword [rbp - 0x49]
add rbx, 0x14
movups xmm0, xmmword [rbx - 0x14]
mov ecx, dword [rbx]
mov eax, dword [rbx - 4]
mov dword [rbp + 0xb], ecx
mov rcx, qword [rbx + 4]
mov qword [rbp + 0xf], rcx
mov rcx, qword [rbx + 0xc]
mov dword [rbp + 7], eax
mov qword [rbp + 0x17], rcx
movdqu xmmword [rbp - 9], xmm0
movups xmm0, xmmword [rbx + 0x14]
movdqu xmmword [rbp + 0x1f], xmm0
test eax, eax
js 0x14008e7c8
cmp eax, 4
jge 0x14008e7c8
lea r8, [rbp - 0x49]
mov edi, r12d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.140089ed0
mov r12b, al
test al, al
jne 0x14008e858
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008bee8
mov edi, eax
test eax, eax
jns 0x14008e858
mov ecx, eax
call fcn.140078308
jmp 0x14008e862
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.140078324
xor r12d, r12d
test edi, edi
js 0x14008e7cd
test r15d, r15d
je 0x14008e7c8
inc r14d
add rbx, 0x38
cmp r14d, esi
jb 0x14008e7e8
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.14008e458
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.140078324
lea rcx, [rbp - 0x39]
call fcn.14008e14c
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x14001a7a0]
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14035a4e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret