joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003470
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003543
cmp byte [rcx + 0x71], 0
je 0x140003543
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000353f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003504
sub eax, 1
je 0x140003508
cmp eax, 2
jne 0x14000353f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400043d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003536
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000353f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400034ec
xor al, al
jmp 0x1400034ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400043d0
add rsp, 0x60
pop rbx
ret

Function at 0x140004d50
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004d9a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004d9a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004d9a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004d9a
cmp dword [rcx + 0x84], 0xe
jbe 0x140004d9a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004d9c
xor al, al
add rsp, 0x28
ret
Function at 0x1400043ec
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 [0x140055118]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, edx
mov r15, rcx
mov edx, 1
call fcn.1400093e0
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 0x14000458d
mov r8d, edi
lea rdx, [0x140057098]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x140004584
test ebx, ebx
je 0x14000449a
sub ebx, 1
je 0x140004479
cmp ebx, 1
jne 0x14000457b
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 0x14000454d
lea rdi, [r15 + 0xaa8]
mov r8d, 0x400
mov rdx, rdi
mov ecx, 0x66
call fcn.1400038b8
lea rbx, [r15 + 0x2a8]
mov r8d, 0x400
mov rdx, rbx
mov ecx, 0x65
call fcn.1400038b8
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, [0x140039d48]
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.140013ce0
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 0x140004d38
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 0x140004d5e
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140007da4
jmp 0x140004dc9
cmp byte [0x1400582f8], 0
jne 0x140004da2
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004d92
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400582f0], rax
jmp 0x140004d99
mov rax, qword [0x1400582f0]
mov byte [0x1400582f8], 1
jmp 0x140004da9
mov rax, qword [0x1400582f0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140004dc3
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [0x1400396f0]
jmp 0x140004dc9
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140004e80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140055118]
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 0x140004f13
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 0x140004f0a
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.140013ce0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004fd8
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 [0x140055118]
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.1400063b4
test al, al
je 0x140005026
movups xmm0, xmmword [0x14003a090]
jmp 0x14000502d
movups xmm0, xmmword [0x14003a0a0]
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 0x1400050fd
xor esi, esi
mov dword [rbp - 0x28], 0x20
xor edx, edx
jmp 0x1400050df
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 0x1400050d6
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 0x1400050cc
cmp dword [rbp - 0x48], eax
jne 0x1400050f4
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 0x140005061
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, qword [rbp - 0x50]
test rax, rax
jne 0x14000512e
test r14, r14
je 0x14000512e
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.140013ce0
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 0x140005ea0
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 [0x140055118]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.140006348
xor esi, esi
test eax, eax
je 0x140005ee1
mov eax, 1
jmp 0x140005fc0
mov ebx, 0x104
lea rdx, [rsp + 0x72]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140005fbe
cmp eax, ebx
je 0x140005fbe
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 0x1400060bc
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 0x140005fe9
mov ebx, 0x400
lea rdx, [rsp + 0x280]
mov r8d, ebx
mov ecx, 0xd80a
call fcn.1400038b8
test eax, eax
jne 0x140005fa7
lea r8, str.Could_not_open_Service_Manager
mov edx, ebx
lea rcx, [rsp + 0x280]
call fcn.14001b494
test eax, eax
je 0x140005fa7
cmp eax, 0xc
je 0x1400060d8
cmp eax, 0x16
je 0x1400060cd
cmp eax, ebp
je 0x1400060cd
cmp eax, 0x50
jne 0x1400060c2
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.140013ce0
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 0x1400060a5
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.1400038b8
test eax, eax
jne 0x14000609d
lea r8, str.Could_not_start_service
mov edx, ebx
lea rcx, [rsp + 0x280]
call fcn.14001b494
test eax, eax
je 0x14000609d
cmp eax, 0xc
je 0x1400060f9
cmp eax, 0x16
je 0x1400060ee
cmp eax, ebp
je 0x1400060ee
cmp eax, 0x50
jne 0x1400060e3
mov r8, rdi
jmp 0x140005fab
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140005ed7
call fcn.140013fb4
int3
mov ecx, 0x80004005
call fcn.140004230
int3
mov ecx, 0x80070057
call fcn.140004230
int3
mov ecx, 0x8007000e
call fcn.140004230
int3
mov ecx, 0x80004005
call fcn.140004230
int3
mov ecx, 0x80070057
call fcn.140004230
int3
mov ecx, 0x8007000e
call fcn.140004230
int3
Function at 0x140006274
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 [0x140055118]
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.140006a4c
mov rbx, qword [rbp - 0x30]
test eax, eax
jne 0x14000631a
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 0x140006312
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [rbp - 0x18], 1
sete dil
test rbx, rbx
je 0x140006328
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret

Function at 0x1400063b4
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 [0x140055118]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [0x14003a090]
xor r8d, r8d
xor edx, edx
lea esi, [rbx + 2]
mov r9d, esi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400064a7
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0x20
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000649e
lea ebp, [rbx + 1]
mov dword [rsp + 0x28], 0x20019
mov r8d, ebp
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rsi, rax
test rax, rax
je 0x14000649e
lea rax, [rsp + 0x34]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Inst
mov dword [rsp + 0x30], ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006495
cmp dword [rsp + 0x30], ebx
movzx eax, bl
cmovne eax, ebp
mov bl, al
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov al, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013ce0
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 0x1400066c4
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov rdi, rcx
call fcn.14000a16c
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x60]
mov r9d, 0xff
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call fcn.14001df90
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], si
mov qword [rsp + 0x50], rax
cmp dword [rdi + 0x28c], esi
jne 0x14000674a
lea rcx, [rsp + 0x60]
call fcn.14001b9e4
lea rdx, [rdi + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14000679b
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea edx, [rcx + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013ce0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400079f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x30], eax
xor esi, esi
mov dword [r9], esi
lea rax, [r11 - 0x28]
mov rcx, qword [rcx]
lea r9, [r11 - 0x24]
mov qword [r11 - 0x30], rax
xor r8d, r8d
mov qword [r11 - 0x38], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007a73
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140007a6e
mov ecx, dword [rsp + 0x30]
test rbx, rbx
je 0x140007a8b
test ecx, ecx
je 0x140007a88
test cl, 1
jne 0x140007a6e
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140007a8b
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013ce0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov word [rbx], si
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
jmp 0x140007a73

Function at 0x140007a94
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov dword [rsp + 0x48], 0xc4
and dword [rsp + 0x3c], edi
lea r8, str.SoftwareIntelDisplayigfxcuiMISC
and qword [r11 - 0x38], rdi
mov rbx, rcx
and dword [rsp + 0x38], edi
lea rcx, [r11 - 0x38]
and qword [r11 - 0x28], rdi
mov r9d, 0x20019
mov rdx, 0xffffffff80000002
call fcn.140006a4c
test eax, eax
jne 0x140007b23
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], rbx
lea rdx, str.LutData
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x140007b38
mov rcx, rbx
jmp 0x140007b32
mov rcx, qword [rsp + 0x30]
mov edi, 0x80004005
test rcx, rcx
je 0x140007b38
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140007b54
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.140006a4c
jmp 0x140007bc6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140007b54
mov ebx, eax
test eax, eax
jne 0x140007c2f
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140007bb7
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140007c1d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.140004d38
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140007c3f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140013ce0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140007da4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140007e0b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007e1f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007e1f
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [0x1400396f0]
jmp 0x140007e24
cmp dword [rcx + 8], 0
je 0x140007e1f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140007e24
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400082d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.1400158d0
mov qword [rsp + 0x60], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000836e
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000836e
call fcn.140003770
mov ebx, eax
jmp 0x14000847f
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000838f
call fcn.140003770
jmp 0x14000846e
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140008385
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400083ca
mov ebx, 0x8007000e
jmp 0x140008470
mov ecx, eax
test eax, eax
je 0x1400083ff
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400084b7
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400083ff
lfence
lea rcx, [rsp + 0x60]
call fcn.1400032bc
jmp 0x140008409
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14000841b
cmp qword [rsp + 0x60], rdi
je 0x1400083c0
lfence
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140008385
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400080b4
mov ebx, eax
test rsi, rsi
je 0x14000847f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140008496
lea rcx, [rsp + 0x60]
call fcn.140004dd4
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140013ce0
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lfence
mov ecx, 0x80070216
call fcn.140004230
int3
Function at 0x14000901c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jne 0x14000904a
lea eax, [rbx + 0xd]
jmp 0x14000907f
mov rsi, rdi
mov rcx, rsi
call fcn.14001b5f8
inc eax
lea rsi, [rsi + rax*2]
lea ebx, [rbx + rax*2]
cmp eax, 1
jne 0x14000904d
mov rcx, qword [r14]
lea r9d, [rax + 6]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14000930c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x14000937d
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140006850]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x14000937a
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x50], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret