joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400398b7
Capabilities:
Execute anti-debugging instructions

Disassembly:
movabs rsi, 0x12345347a
jmp 0x14003993e
movabs rdx, 0x140024030
jmp 0x140039997
pop word [rsp]
mov r12b, 0x4d
lea rsp, [rsp]
jmp 0x1400398f3
bswap r12d
jmp 0x140039905
lea rsp, [rsp + 6]
mov r15, r9
mov ax, word [rsp]
mov ebx, dword [rsp]
cmc
jmp 0x14003992c
shl r15, 2
lea rax, [rsp + r15]
shr edx, 0xb
jmp 0x140039933
bswap edi
cpuid
jmp 0x140038e86
jbe 0x1400398dd
bswap r12d
jmp 0x140039905
ja 0x140039916
bswap edi
cpuid
jmp 0x140038e86
jmp 0x1400399b8
rdtsc
mov r15d, dword [r15 + riz + reloc.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov r12w, 0x4abc
push r10
jmp 0x140039967
mov dil, byte [rsp + 1]
jmp 0x14003901e
int1
invalid
rdtsc
jmp 0x140039942
jmp 0x140039a77
xchg sil, al
lea rcx, [r10 + r10]
mov r12b, 0xe5
neg di
jp 0x140039981
jnp 0x140039a77
in eax, 0x70
out 0x81, al
jo 0x140039978
in eax, dx
cld
add r15, rsi
lea r12, [r9 + r9]
xchg rdx, r12
bsf ecx, ebx
jg 0x140039940
jle 0x14003997d
jmp 0x1400399e8
mov rsp, r14
jmp 0x140039a1a
call 0x1400399e3
bswap r12
add r15, rdx
mov cl, 0x9e
neg r13
js 0x1400399ff
jns 0x1400399ff

Function at 0x14015c682
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [rsp + 4]
push sp
dec rdx
jmp 0x14015c66c

Function at 0x14015d499
Capabilities:
Execute anti-debugging instructions

Disassembly:
add r14w, 0xb339
setp bpl
mov r8w, bx
jmp 0x14015d4b8

Function at 0x14015d85b
Capabilities:
Execute anti-debugging instructions

Disassembly:
not di
mov rdi, r13
mov cl, byte [rsp]
mov word [rsp + 2], di
not cl
jmp 0x14015d844
btc r11, r11
push word [rsp + 5]
neg r11b
mov qword [rsp], r13
lea r14, [r11 + riz - 0x5bec]
push qword [rsp + 7]
jmp 0x14015d7f9
mov rsi, r14
bswap rsi
mov r15w, 0x17de
jmp 0x14015d877
clc
xchg r8, rax
xchg dword [rsp + 3], esi
lea rax, [0x183077b1]
jmp 0x14015d82e
add rsp, 6
jmp 0x14015d80f
xchg dword [rsp + 3], eax
mov r14, r11
mov r14b, r12b
mov r8w, r12w
jmp 0x14015d8d6
mov r11, 0xffffffffe4811cff
lea rax, [r10*4]
and ebp, esp
sub rsp, 0xc
bts rsi, rcx
bsr r14w, di
jmp 0x14015d861
xchg si, r8w
dec r14
mov edx, dword [rsp + 1]
push qword [rsp + 0xf]
bt r14, rbx
pop qword [rsp + 3]
jmp 0x14015d8c0

Function at 0x14015da04
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop cx
xchg dx, di
lea rsp, [rsp + 0xb]
not eax
Function at 0x2c9ae2750
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x2c9ae27c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2c9aed064]
test esi, esi
mov rbx, rcx
jle 0x2c9ae28f0
mov rax, qword [0x2c9aed068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2c9ae280b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2c9ae2895
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2c9ae27f0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x2c9ae2912
mov rax, qword [0x2c9aed068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2c9aed068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2c9ae28f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2c9ae288e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2c9ae28a0
add dword [0x2c9aed064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x2c9aed068]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2c9ae288e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x2c9ae2818
mov rax, qword [0x2c9aed068]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2c9ae2c90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2c9aed0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2c9aed080]
test rbx, rbx
je 0x2c9ae2cec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x2c9ae2ce3
test rsi, rsi
je 0x2c9ae2ce3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2c9ae2cc8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x2c9ae2f00
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x2c9ae2f18
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x2c9ae2f20
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x2c9ae2f30
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x2c9ae2f7d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x2c9ae2f74
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x2c9ae2f7f
add rax, 0x28
cmp rax, r9
jne 0x2c9ae2f60
xor eax, eax
ret

Function at 0x2c9ae2f80
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x2c9ae3010
mov rdx, qword [0x2c9aea800]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x2c9ae2ffe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x2c9ae2ffe
cmp word [rax + 0x18], 0x20b
jne 0x2c9ae2ffe
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x2c9ae3010
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x2c9ae2fe9
add rbx, 0x28
cmp rbx, rdi
je 0x2c9ae3010
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x2c9ae2fe0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x2c9ae3020
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2c9aea800]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2c9ae3040
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2c9ae3048
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c9ae3040
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2c9ae309d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x2c9ae3094
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2c9ae3040
add rax, 0x28
cmp rax, r9
jne 0x2c9ae3080
xor eax, eax
ret

Function at 0x2c9ae30a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c9aea800]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2c9ae30bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2c9ae30c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2c9ae30bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x2c9ae30e0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x2c9aea800]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x2c9ae3100
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x2c9ae3108
ret
cmp word [rdx + 0x18], 0x20b
jne 0x2c9ae3100
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x2c9ae3150
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x2c9ae3147
test rcx, rcx
je 0x2c9ae3100
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x2c9ae3138
xor eax, eax
ret

Function at 0x2c9ae3160
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c9aea800]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2c9ae317f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2c9ae3188
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x2c9ae31a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2c9aea800]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2c9ae31c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2c9ae31c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c9ae31c0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x2c9ae31c0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x2c9ae3214
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x2c9ae3220
add rdx, 0x28
cmp r9, rdx
jne 0x2c9ae3200
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x2c9ae3230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x2c9aea800]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x2c9ae3252
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x2c9ae3260
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c9ae3252
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x2c9ae3252
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x2c9ae3252
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x2c9ae32b5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2c9ae32c8
add rdx, 0x28
cmp rdx, r10
jne 0x2c9ae32a0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2c9ae32d7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2c9ae32e7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2c9ae32be
test ecx, ecx
jg 0x2c9ae32d0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140004438
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, edx
mov r15, rcx
mov edx, 1
call fcn.1400097d8
mov edi, 2
xor edx, edx
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
xor r13d, r13d
mov r14, rax
test rax, rax
je 0x1400045d9
mov r8d, edi
lea rdx, [0x140057098]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x1400045d0
test ebx, ebx
je 0x1400044e6
sub ebx, 1
je 0x1400044c5
cmp ebx, 1
jne 0x1400045c7
mov qword [rsp + 0x50], r13
lea rax, str.LocalSystem
or edx, 0xffffffff
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
mov r8d, edx
jmp 0x140004599
lea rdi, [r15 + 0xaa8]
mov r8d, 0x400
mov rdx, rdi
mov ecx, 0x66
call fcn.140003904
lea rbx, [r15 + 0x2a8]
mov r8d, 0x400
mov rdx, rbx
mov ecx, 0x65
call fcn.140003904
mov qword [rbp - 0x39], rbx
lea r8, [rbp - 0x39]
mov ebx, 1
mov rcx, rsi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
xor eax, eax
mov dword [rbp - 0x19], ebx
xorps xmm0, xmm0
mov qword [rbp + 0x1b], rax
movups xmmword [rbp - 0x15], xmm0
mov dword [rbp + 0x23], eax
lea r8, [rbp - 0x31]
lea rax, [0x140039d58]
mov dword [rbp - 9], r13d
mov qword [rbp - 0x11], rax
lea edx, [rbx + 7]
lea rax, [rbp - 0x19]
mov dword [rbp - 0x15], ebx
movups xmmword [rbp - 5], xmm0
mov rcx, rsi
mov qword [rbp - 0x29], rax
movups xmmword [rbp + 0xb], xmm0
mov qword [rbp - 1], r13
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x21], r13
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov qword [rsp + 0x50], rdi
lea r8d, [rbx + 1]
mov qword [rsp + 0x48], r13
or edx, 0xffffffff
mov qword [rsp + 0x40], r13
lea rax, str.SENS
mov r9d, edx
mov qword [rsp + 0x38], rax
mov rcx, rsi
lea rax, str.ProfSvc_Group
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140013fc0
lea r11, [rsp + 0xd0]
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 0x140004ca4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140004cca
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140008180
jmp 0x140004d35
cmp byte [0x1400582f8], 0
jne 0x140004d0e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004cfe
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400582f0], rax
jmp 0x140004d05
mov rax, qword [0x1400582f0]
mov byte [0x1400582f8], 1
jmp 0x140004d15
mov rax, qword [0x1400582f0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140004d2f
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [0x1400396f8]
jmp 0x140004d35
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140004de4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov rax, r8
mov esi, edx
mov qword [rsp + 0x30], r14
mov rbp, rcx
mov dword [rsp + 0x28], 6
xor r9d, r9d
mov dword [rsp + 0x40], r14d
lea r8d, [r14 + 1]
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov rcx, rax
mov ebx, 0x80004005
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140004e77
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004e6e
cmp dword [rsp + 0x40], esi
cmove ebx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140013fc0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004f3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [0x140039e20]
xor r8d, r8d
xor edx, edx
lea r9d, [rbx + 2]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000503e
mov dword [rsp + 0x40], 0x20
mov ebp, ebx
xor edx, edx
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140005035
cmp ebp, 0x20
ja 0x140005035
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], 2
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rsi, rax
test rax, rax
je 0x140005029
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CUINotRequired
mov dword [rsp + 0x34], ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140005032
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
mov edx, ebp
jmp 0x140004f90
mov rbx, rsi
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013fc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140005064
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x50], 0
mov edi, 0x20019
cmp ecx, 1
mov r14, rdx
lea eax, [rdi + 6]
cmove edi, eax
call fcn.14000677c
test al, al
je 0x1400050b2
movups xmm0, xmmword [0x140039e20]
jmp 0x1400050b9
movups xmm0, xmmword [0x140039e30]
mov r9d, 2
lea rcx, [rbp - 0x38]
xor r8d, r8d
xor edx, edx
movdqu xmmword [rbp - 0x38], xmm0
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005189
xor esi, esi
mov dword [rbp - 0x28], 0x20
xor edx, edx
jmp 0x14000516b
xor r9d, r9d
mov dword [rsp + 0x28], edi
lea rdx, [rbp - 0x28]
mov dword [rsp + 0x20], 2
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov qword [rbp - 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140005162
and dword [rbp - 0x40], 0
lea rcx, [rbp - 0x44]
and dword [rbp - 0x48], 0
lea r9, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
lea rdx, str.Inst
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x44], 4
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005158
cmp dword [rbp - 0x48], eax
jne 0x140005180
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 0x50], 0
inc esi
mov edx, esi
lea r8, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x1400050ed
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, qword [rbp - 0x50]
test rax, rax
jne 0x1400051ba
test r14, r14
je 0x1400051ba
lea rax, [rbp - 0x50]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rax, qword [rbp - 0x50]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013fc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140005fb4
Capabilities:
Create service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa90
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.1400064e4
xor esi, esi
test eax, eax
je 0x140005ff5
mov eax, 1
jmp 0x1400060d4
mov ebx, 0x104
lea rdx, [rsp + 0x72]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400060d2
cmp eax, ebx
je 0x1400060d2
lea ecx, [rax + 1]
mov ebp, 0x22
mov word [rsp + 0x70], bp
mov word [rsp + rcx*2 + 0x70], bp
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x1400061d0
mov word [rsp + rcx + 0x70], si
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1400060fd
mov ebx, 0x400
lea rdx, [rsp + 0x280]
mov r8d, ebx
mov ecx, 0xd80a
call fcn.140003904
test eax, eax
jne 0x1400060bb
lea r8, str.Could_not_open_Service_Manager
mov edx, ebx
lea rcx, [rsp + 0x280]
call fcn.14001b7a4
test eax, eax
je 0x1400060bb
cmp eax, 0xc
je 0x1400061ec
cmp eax, 0x16
je 0x1400061e1
cmp eax, ebp
je 0x1400061e1
cmp eax, 0x50
jne 0x1400061d6
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.140013fc0
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 0x60], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x58], rsi
add rdi, 0x68
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov r8, rdi
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov dword [rsp + 0x30], 1
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x1400061b9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, 0x400
lea rdx, [rsp + 0x280]
mov r8d, ebx
mov ecx, 0xd80b
call fcn.140003904
test eax, eax
jne 0x1400061b1
lea r8, str.Could_not_start_service
mov edx, ebx
lea rcx, [rsp + 0x280]
call fcn.14001b7a4
test eax, eax
je 0x1400061b1
cmp eax, 0xc
je 0x14000620d
cmp eax, 0x16
je 0x140006202
cmp eax, ebp
je 0x140006202
cmp eax, 0x50
jne 0x1400061f7
mov r8, rdi
jmp 0x1400060bf
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140005feb
call fcn.140014284
int3
mov ecx, 0x80004005
call fcn.14000427c
int3
mov ecx, 0x80070057
call fcn.14000427c
int3
mov ecx, 0x8007000e
call fcn.14000427c
int3
mov ecx, 0x80004005
call fcn.14000427c
int3
mov ecx, 0x80070057
call fcn.14000427c
int3
mov ecx, 0x8007000e
call fcn.14000427c
int3
Function at 0x1400062b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
call fcn.140004f3c
mov rdi, rax
test rax, rax
je 0x140006330
lea eax, [rbx + 4]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], eax
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], eax
lea rdx, str.DisableALSLace
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006327
cmp dword [rsp + 0x30], 1
sete bl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140013fc0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140006410
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x18], 0
lea r8, str.SOFTWAREIntelIGFXDPP_
and dword [rbp - 0x24], 0
lea rcx, [rbp - 0x30]
and qword [rbp - 0x30], 0
mov r9d, 0x20019
and dword [rbp - 0x28], 0
mov rdx, 0xffffffff80000002
and qword [rbp - 0x20], 0
xor dil, dil
call fcn.140006dec
mov rbx, qword [rbp - 0x30]
test eax, eax
jne 0x1400064b6
lea rax, [rbp - 0x14]
mov dword [rbp - 0x14], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0x18]
xor r8d, r8d
lea rdx, str.EnableHardware3DLUT
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x1400064ae
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [rbp - 0x18], 1
sete dil
test rbx, rbx
je 0x1400064c4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013fc0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret