joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009e6c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor ebx, ebx
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x30], ebx
xor edx, edx
mov r8d, 0x118
mov dword [rsp + 0x40], 0x11c
call fcn.140022290
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140009f50
mov esi, dword [rsp + 0x44]
lea eax, [rsi - 6]
test eax, 0xfffffffb
je 0x140009f90
cmp esi, 5
jne 0x140009f50
cmp dword [rsp + 0x48], 2
jne 0x140009f77
cmp byte [rbp + 0x5a], 1
jne 0x140009f15
lea rcx, [rsp + 0x38]
call fcn.140009d30
lea rdx, [0x14004f210]
lea ebx, [rsi - 4]
mov rcx, qword [rax]
call fcn.140035458
test eax, eax
jne 0x140009f15
mov sil, bl
jmp 0x140009f18
xor sil, sil
test bl, 1
je 0x140009f3c
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009f3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
jne 0x140009f89
mov eax, 0x8000
test word [rbp + 0x58], ax
je 0x14000a04f
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140021680
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp dword [rsp + 0x48], 1
jne 0x140009f50
mov eax, 0x200
test word [rbp + 0x58], ax
jne 0x140009f50
mov eax, 1
jmp 0x140009f52
and dword [rsp + 0x30], ebx
lea rcx, str.kernel32.dll
mov r14d, dword [rsp + 0x48]
call fcn.140004fe0
mov rbx, rax
test rax, rax
je 0x140009f50
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009fe6
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov ecx, esi
mov edx, r14d
call rax
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140009ff1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
test esi, esi
je 0x140009f50
mov edx, dword [rsp + 0x30]
cmp edx, 0x1b
ja 0x14000a059
je 0x14000a0a3
cmp edx, 0xf
ja 0x14000a032
cmp edx, 0xc
jae 0x14000a04f
cmp edx, 1
je 0x140009f89
lea eax, [rdx - 4]
test eax, 0xfffffffd
je 0x14000a0a3
lea eax, [rdx - 7]
cmp eax, 3
jbe 0x14000a04f
jmp 0x140009f50
cmp edx, 0x10
je 0x14000a0a3
lea ecx, [rdx - 0x11]
test ecx, 0xfffffff6
jne 0x140009f50
cmp edx, 0x1a
je 0x140009f50
mov eax, 2
jmp 0x140009f52
cmp edx, 0x54
ja 0x14000a078
je 0x14000a0a3
cmp edx, 0x30
je 0x140009f89
lea eax, [rdx - 0x46]
test eax, 0xfffffffd
je 0x14000a0a3
jmp 0x140009f50
cmp edx, 0x79
jb 0x140009f50
cmp edx, 0x7a
jbe 0x14000a0ad
cmp edx, 0x7c
jbe 0x140009f50
cmp edx, 0x7e
jbe 0x14000a0a3
lea eax, [rdx - 0x81]
cmp eax, 1
ja 0x140009f50
mov eax, 3
jmp 0x140009f52
mov eax, 4
jmp 0x140009f52
Function at 0x14000a950
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 8]
mov esi, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x14000a99f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x14000a99f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, esi
jb 0x14000a97a
xor al, al
jmp 0x14000a9a1
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000acac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov r15, rdx
mov r14, r9
mov rdx, rcx
mov esi, r8d
lea rcx, [rbp + 7]
mov edi, 0x80070003
call fcn.1400052a0
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.14000ba1c
mov rbx, qword [rbp + 7]
movups xmm0, xmmword [rax]
movq rdx, xmm0
movups xmmword [rbp + 0x17], xmm0
test rdx, rdx
je 0x14000ae5d
mov r9d, dword [rbp + 0x1f]
lea r13, [0x14004e350]
and qword [rbp - 9], 0
lea rcx, [rbp - 0x11]
and dword [rsp + 0x20], 0
or r9d, 0x20019
mov r8, rbx
mov qword [rbp - 0x11], r13
mov dword [rbp - 1], 0x200
call fcn.14000ab88
mov edi, eax
test eax, eax
jne 0x14000ae50
sub esi, 1
je 0x14000ae31
sub esi, 2
je 0x14000ae0f
sub esi, 1
je 0x14000adfe
sub esi, 3
je 0x14000adbb
cmp esi, 4
je 0x14000ad7b
mov edi, 0x8007065d
jmp 0x14000ae42
mov rcx, qword [rbp - 9]
lea rax, [rbp - 0x21]
and dword [rbp - 0x1d], 0
lea r9, [rbp - 0x1d]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x21], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000ae42
and qword [rbp + 0xf], 0
lea rax, [rbp + 0xf]
and dword [rbp - 0x19], 0
lea r9, [rbp + 0x17]
and qword [rbp + 0x17], 0
lea r8, [rbp - 0x19]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x11]
call fcn.14000ae9c
mov edi, eax
test eax, eax
js 0x14000ae42
mov rdx, qword [rbp + 0xf]
mov r8, r14
mov rcx, qword [rbp + 0x17]
call fcn.14000b1bc
jmp 0x14000ae40
mov r8, r14
lea rcx, [rbp - 0x11]
mov rdx, r15
call fcn.14000af64
jmp 0x14000ae40
mov rax, qword [rbp + 0x7f]
lea r8, [rbp - 0x15]
and dword [rbp - 0x15], 0
lea rcx, [rbp - 0x11]
mov r9, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.14000ae9c
jmp 0x14000ae40
mov r8, r14
lea rcx, [rbp - 0x11]
mov rdx, r15
call fcn.14000afac
mov edi, eax
lea rcx, [rbp - 0x11]
call fcn.14000a9cc
test edi, edi
cmove edi, eax
lea rcx, [rbp - 0x11]
mov qword [rbp - 0x11], r13
call fcn.14000a9cc
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000ae77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000ae9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [r9], 0
lea rax, [r11 + 8]
and dword [rsp + 0x40], 0
mov rbx, r9
mov r9, r8
mov qword [r11 - 0x10], rax
and qword [r11 - 0x18], 0
mov rdi, r8
mov rbp, rcx
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
test r8d, r8d
jne 0x14000af3d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000af41
mov ecx, eax
call fcn.1400398c0
lea rcx, [rsp + 0x40]
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
mov r9, rdi
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov edx, eax
mov eax, r8d
mov qword [rcx], rdx
add rsp, 0x30
pop rdi
ret

Function at 0x14000af64
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
and dword [rsp + 0x58], 0
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000afac
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rdi, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000b070
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [r14 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.1400398c0
mov qword [rdi], rax
test rax, rax
je 0x14000b06b
cmp dword [rsp + 0x50], r14d
je 0x14000b065
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000b070
mov word [rax], r14w
jmp 0x14000b070
mov ebx, 0x8007000e
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b088
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rbx, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14000b19a
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000b192
shr edx, 1
lea r8d, [r14 + 1]
add edx, r8d
js 0x14000b1af
mov rcx, qword [rbx]
mov r9, rcx
mov eax, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub eax, edx
or r8d, eax
jge 0x14000b11f
mov rcx, rbx
call fcn.140001a54
mov rcx, qword [rbx]
mov r9, rcx
test rcx, rcx
jne 0x14000b12b
mov edi, 0x8007000e
jmp 0x14000b160
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rbp + 8]
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov r9, qword [rbx]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test r9, r9
jne 0x14000b16a
mov eax, r14d
jmp 0x14000b17a
movsxd rdx, dword [r9 - 0xc]
mov rcx, r9
call fcn.140031f70
test eax, eax
js 0x14000b1af
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000b1af
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
jmp 0x14000b19a
mov rcx, rbx
call fcn.1400018d8
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.1400017a4
int3

Function at 0x14000b2c4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000b304
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov esi, r9d
mov rcx, r8
mov rdi, r8
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 8]
mov r9d, esi
xor r8d, r8d
mov rdx, rbp
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov ecx, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x30
pop rdi
ret
Function at 0x14000b374
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, 0xffffffff
cmp r9, rax
jbe 0x14000b389
mov eax, 0x80070057
jmp 0x14000b3b4
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, dword [rsp + 0x60]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000b7cc
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x18], 0
lea rsi, [0x14004e350]
mov rbx, rdx
mov qword [rbp - 0x20], rsi
mov rdx, qword [rcx + 8]
mov r9d, 0x10001
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x10], 0x200
mov dword [rsp + 0x20], 8
call fcn.14000ab88
test eax, eax
jns 0x14000b81b
mov dword [rbx], eax
jmp 0x14000b87b
and qword [rsp + 0x28], 0
lea r9, [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
lea rdx, str.SymbolicLinkValue
and qword [rsp + 0x20], 0
xor r8d, r8d
and dword [rbp + 0x10], 0
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
je 0x14000b857
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x14000b859
xor ecx, ecx
test ecx, ecx
js 0x14000b879
cmp dword [rbp + 0x10], 6
jne 0x14000b879
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
bts eax, 0x1c
mov byte [rbx + 4], 1
mov dword [rbx], eax
jmp 0x14000b87f
mov dword [rbx], ecx
mov byte [rbx + 4], 0
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rsi
call fcn.14000a9cc
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14000b8a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r8, rdx
lea rdx, [rsp + 0x48]
mov rdi, rcx
call fcn.14000b7cc
cmp byte [rsp + 0x4c], 0
je 0x14000b8ef
mov eax, dword [rsp + 0x48]
jmp 0x14000b9f5
mov r9d, dword [rdi + 0x10]
lea r12, [0x14004e350]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x50]
and qword [rsp + 0x58], 0
or r9d, 0xf003f
and dword [rsp + 0x20], 0
mov r8, rsi
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], 0x200
call fcn.14000ab88
mov ebx, eax
mov r13d, 1
add eax, 0x7ff8fffe
cmp eax, r13d
cmovbe ebx, r13d
test ebx, ebx
jmp 0x14000b950
lea rdx, [rsp + 0x70]
call fcn.14000b8a0
mov ebx, eax
test eax, eax
jne 0x14000b9e4
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x70]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], pe_nt_image_headers64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x50]
test eax, eax
je 0x14000b942
call fcn.14000a9cc
mov r8, rsi
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000b7cc
cmp byte [rsp + 0x4c], 0
je 0x14000b9bc
mov ebx, dword [rsp + 0x48]
jmp 0x14000b9e4
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea eax, [rbx + 0x7ff8fffe]
cmp eax, r13d
cmovbe ebx, r13d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], r12
call fcn.14000a9cc
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140021680
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000bce8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
mov eax, 0x8068
call fcn.140039790
sub rsp, rax
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rsp + 0x8050], rax
and qword [rsp + 0x38], 0
mov rdi, r8
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x4000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test eax, eax
jne 0x14000bd60
lea rcx, [rsp + 0x50]
call fcn.140031e44
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001948
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x8050]
xor rcx, rsp
call fcn.140021680
add rsp, 0x8068
pop rdi
pop rbx
ret
Function at 0x14000bdd4
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rsp + 0x250], rax
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov rdi, r8
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], pe_nt_image_headers64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000be4a
lea rcx, [rsp + 0x50]
call fcn.140031e44
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001948
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140021680
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret

Function at 0x14000c29c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov dword [rbp - 0x10], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14000c32d
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140021680
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14000c86c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, r9d
mov ecx, r9d
mov rsi, r8
mov rbp, rdx
call fcn.1400398c0
mov qword [rbx], rax
test rax, rax
je 0x14000c904
mov edx, dword [rsi]
mov r9, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, qword [rbx]
test eax, eax
je 0x14000c8f7
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000c8f4
cmp dword [rsp + 0x58], 0
je 0x14000c8f4
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax]
movzx eax, word [rax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [rbx + 8], ecx
jmp 0x14000c906
mov rcx, qword [rbx]
call fcn.14002192c
and qword [rbx], 0
and dword [rbx + 8], 0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ca7c
Capabilities:
Open clipboard
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x14000cad4
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140021680
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140022290
mov rbx, qword [0x140059d30]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.140005f0c
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000cb4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000cb71
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14000d7c0
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x14000cba0
cmp eax, 1
jne 0x14000cb96
int3
mov eax, 1
jmp 0x14000caaf
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000d7c0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000d810
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140022450
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14000d835
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x140011a48
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rax - 0x68]
mov rdi, rdx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x24]
lea rax, [r9 - 1]
not rax
and rax, rdi
je 0x140011adc
mov r8, qword [rbx + 0x18]
mov rcx, qword [r8 + 8]
mov rdx, r8
jmp 0x140011aa6
cmp qword [rcx + 0x20], rax
jae 0x140011aa0
mov rcx, qword [rcx + 0x10]
jmp 0x140011aa6
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140011a94
cmp rdx, r8
je 0x140011ab7
cmp rax, qword [rdx + 0x20]
jae 0x140011aba
mov rdx, r8
cmp rdx, r8
jne 0x140011ac6
sub rax, r9
jne 0x140011a8b
jmp 0x140011adc
movups xmm1, xmmword [rdx + 0x38]
psrldq xmm1, 8
movq rdx, xmm1
add rdx, rax
cmp rdx, rdi
ja 0x140011ade
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret