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

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rsi, rdx
xor ebx, ebx
mov dword [rsp + 0x40], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [r11 - 0x128]
call fcn.140019180
mov dil, 1
and qword [rsp + 0x70], rbx
mov qword [rsp + 0x98], 0xf
and qword [rsp + 0x90], rbx
mov byte [rsp + 0x80], bl
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rbx
and qword [rsp + 0x28], rbx
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xa0]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140005f72
test dil, dil
je 0x140005eeb
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xa0]
call fcn.140018b20
mov r8, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.140001c08
xor dil, dil
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x140005f2c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xa0]
call fcn.140018b20
mov r8, rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.140001c08
inc ebx
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xa0]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140005eb7
lea rax, str...persistenceConfigPersist.cpp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0xe1b
mov r8d, ebx
lea rdx, str.Total_available_cofigurations_as_of_now_are___d__n
lea rcx, [rsp + 0x58]
call fcn.140001218
cmp dword [0x14005e434], ebx
jne 0x140005fc6
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 0x10
cmovae rdx, qword [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
lea rcx, [rsp + 0x70]
call fcn.140001800
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400193c0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140009a30
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x140009a71
xor r9d, r9d
lea rax, str.m_hKey___0
lea rdx, [0x1400484b0]
lea ecx, [r9 + 2]
mov r8d, 0x1476
mov qword [rsp + 0x20], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009a71
int3
cmp byte [0x14005e550], 0
jne 0x140009ab5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140009aa5
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14005e548], rax
jmp 0x140009aac
mov rax, qword [0x14005e548]
mov byte [0x14005e550], 1
jmp 0x140009abc
mov rax, qword [0x14005e548]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140009ad2
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x140009ad8
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140009cc8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x140009d0e
xor r9d, r9d
lea rax, str.m_hKey___0
lea rdx, [0x1400484b0]
lea ecx, [r9 + 2]
mov r8d, 0x1615
mov qword [rsp + 0x20], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009d0e
int3
mov rcx, qword [rbx]
lea rax, [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140009d40
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov ebx, r9d
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
jne 0x140009d90
xor r9d, r9d
lea rax, str.m_hKey___0
lea rdx, [0x1400484b0]
lea ecx, [r9 + 2]
mov r8d, 0x1621
mov qword [r11 - 0x18], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009d90
int3
xor eax, eax
test rdi, rdi
setne al
test eax, eax
jne 0x140009dce
xor r9d, r9d
lea rax, str.__atl_condVal
lea rdx, [0x1400484b0]
lea ecx, [r9 + 2]
mov r8d, 0x1622
mov qword [rsp + 0x20], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009dc7
int3
mov eax, 0xd
jmp 0x140009e29
cmp ebx, 1
je 0x140009e03
cmp ebx, 2
je 0x140009e03
xor r9d, r9d
lea rax, str._dwType____1______dwType____2___
lea rdx, [0x1400484b0]
lea ecx, [r9 + 2]
mov r8d, 0x1623
mov qword [rsp + 0x20], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009e03
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsi]
mov r9d, ebx
inc eax
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140009e40
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x30
xor ebx, ebx
mov rsi, r8
mov r12, rdx
mov rbp, rcx
mov edi, 2
cmp qword [rcx], rbx
jne 0x140009e96
lea rax, str.m_hKey___0
lea rdx, [0x1400484b0]
xor r9d, r9d
mov r8d, 0x162e
mov ecx, edi
mov qword [r11 - 0x18], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009e96
int3
cmp rsi, rbx
mov eax, ebx
setne al
cmp eax, ebx
jne 0x140009ed2
lea rax, str.__atl_condVal
lea rdx, [0x1400484b0]
xor r9d, r9d
mov r8d, 0x162f
mov ecx, edi
mov qword [rsp + 0x20], rax
call fcn.140019a40
cmp eax, 1
jne 0x140009ecb
int3
mov eax, 0xd
jmp 0x140009f09
mov rdi, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov ecx, eax
add ebx, eax
add rdi, rcx
cmp eax, 1
jne 0x140009ed5
mov rcx, qword [rbp]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret

Function at 0x14000a3dc
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
xor ebx, ebx
lea rcx, [r11 + 0x18]
mov rax, rdx
mov qword [r11 - 0x20], rbx
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x30], rbx
mov qword [r11 - 0x38], rbx
mov qword [r11 - 0x40], rbx
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x50], rbx
mov qword [r11 - 0x58], rcx
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
xor edx, edx
mov dword [r11 + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
je 0x14000a483
mov rdx, qword [0x14005e690]
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_statreg.h
lea r9, str.Should_not_be_here___n
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x3f3
call fcn.140009800
lea r11, [0x1400482b8]
lea rdx, [0x140048630]
lea ecx, [rbx + 2]
xor r9d, r9d
mov r8d, 0x3f4
mov qword [rsp + 0x20], r11
call fcn.140019a40
cmp eax, 1
jne 0x14000a47f
int3
xor eax, eax
jmp 0x14000a48f
cmp dword [rsp + 0x90], ebx
seta bl
mov eax, ebx
add rsp, 0x70
pop rbx
ret
Function at 0x14000ac10
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r9d, dword [rcx + 8]
and qword [rsp + 0x48], 0
and dword [rsp + 0x50], 0
mov rdi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rsi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
call fcn.140009be0
mov ebx, eax
test eax, eax
je 0x14000acc7
cmp eax, 2
je 0x14000ad2e
cmp eax, 3
je 0x14000ad2e
mov rdx, qword [0x14005e680]
lea rax, str.D:Program_FilesMicrosoft_Visual_Studio_9.0VCATLMFCINCLUDE_atlbase.h
lea r9, str.CRegKey::RecurseDeleteKey_:_Failed_to_Open_Key__s_Error___d__n
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x166a
mov qword [rsp + 0x20], rdi
call fcn.140009800
jmp 0x14000ad2e
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000ac10
mov ebx, eax
test eax, eax
jne 0x14000ad2e
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000acb2
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000ad1c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x48], 0
and dword [rsp + 0x50], 0
mov rdx, rdi
mov rcx, rsi
call fcn.140009a30
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000ad3e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400193c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400104a4
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x110
xor ebx, ebx
lea rdx, [rsp + 0x20]
lea ecx, [rbx + 0x1e]
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp di, ax
jne 0x1400104fa
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx r11d, ax
mov rax, rbx
cmp r11w, word [rsp + rax*8 + 0x20]
jne 0x1400104ef
mov rbx, qword [rsp + rax*8 + 0x20]
inc rax
cmp rax, 0x1e
jl 0x1400104e2
jmp 0x140010512
mov rcx, rbx
cmp di, word [rsp + rcx*8 + 0x20]
jne 0x140010509
mov rbx, qword [rsp + rcx*8 + 0x20]
inc rcx
cmp rcx, 0x1e
jl 0x1400104fd
mov rax, rbx
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rdi
ret

Function at 0x140010528
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x150
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
or edi, 0xffffffff
mov r12, rdx
mov rbp, rcx
test rcx, rcx
je 0x140010606
lea edx, [rdi + 2]
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
lea r14, [0x14005bbf0]
xor ebx, ebx
mov rsi, r14
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call fcn.140019180
movsxd r11, ebx
mov rcx, r12
lea rax, [r11 + r11*2]
lea rdx, [r14 + rax*8 + 4]
call fcn.140020d50
test eax, eax
je 0x140010604
mov eax, dword [rsi]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
call fcn.14001047c
mov ecx, dword [rsp + 0x20]
mov r8, rbp
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyExA]
mov ecx, eax
lea eax, [rbx - 0xf]
shl ecx, 0x10
or ecx, 1
cmp eax, 3
ja 0x1400105d1
bts ecx, 0x18
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140020d50
test eax, eax
je 0x140010604
inc ebx
add rsi, 0x18
cmp ebx, 0x42
jl 0x140010574
jmp 0x140010606
mov edi, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400193c0
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400110d4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov dword [rsp + 0x50], edx
xor edi, edi
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
mov esi, edi
mov dword [rsp + 0x54], edi
call fcn.140019180
add rbx, 0x178
cmp qword [rbx], rdi
jne 0x140011192
lea rdx, str.SoftwareIntelDisplayigfxcui_
lea rcx, [rsp + 0x60]
call fcn.1400193f0
lea rdx, str.HotKeys
lea rcx, [rsp + 0x60]
call fcn.1400193f0
lea r11, [rsp + 0x54]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
je 0x14001118d
mov qword [rbx], rdi
mov esi, 0x80004005
jmp 0x1400111c7
cmp qword [rbx], rdi
je 0x1400111c7
mov rcx, qword [rbx]
lea rax, [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rdx, str.Enable
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, 0x80004005
sub edi, eax
neg edi
sbb ecx, ecx
and esi, ecx
mov eax, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400193c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140011c84
Capabilities:
Get geographical location
Get keyboard layout
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
call fcn.1400104a4
mov rdx, rdi
mov rcx, rax
call fcn.140010528
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011e88
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rdx, rdi
mov rcx, rax
call fcn.140010528
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140011e88
lea rbp, str..HotKeyImpl.cpp
lea rdx, str.The_base_language_keyboard_layout_is_not_present
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], 0xff
call fcn.140001218
lea esi, [rbx + 0xa]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8, rsi
call fcn.140019180
lea rcx, [rsp + 0x40]
mov r8, rsi
xor edx, edx
call fcn.140019180
lea r8, str._04x
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, rsi
call fcn.140020990
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
lea r8, [rsp + 0x40]
mov cx, ax
lea edx, [rbx + 2]
mov r9d, esi
and ecx, 0x3ff
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x140011dbd
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14001ce10
lea edx, [rbx + 2]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
test rax, rax
je 0x140011dbd
mov rdx, rdi
mov rcx, rax
call fcn.140010528
lea rdx, str.The_base_language_keyboard_layout_is_Loaded
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], 0x11c
mov ebx, eax
call fcn.140001218
cmp ebx, 0xffffffff
jne 0x140011e88
lea rdx, str.The_base_language_keyboard_layout_is_not_present
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], 0x123
call fcn.140001218
lea rcx, [rsp + 0x30]
mov r8, rsi
xor edx, edx
call fcn.140019180
lea rcx, [rsp + 0x40]
mov r8, rsi
xor edx, edx
call fcn.140019180
lea r8, str._04x
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, rsi
call fcn.140020990
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea r8, [rsp + 0x40]
mov cx, ax
mov r9d, esi
mov edx, 1
and ecx, 0x3ff
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x140011e88
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14001ce10
lea rcx, [rsp + 0x30]
mov edx, 1
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutA]
test rax, rax
je 0x140011e88
mov rdx, rdi
mov rcx, rax
call fcn.140010528
lea rdx, str.The_base_language_keyboard_layout_is_Loaded
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], 0x140
mov ebx, eax
call fcn.140001218
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400193c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001277c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov rsi, rdx
mov dword [rdx], 1
lea rcx, [rsp + 0x70]
xor edi, edi
xor edx, edx
and dword [rsp + 0x58], edi
mov r8d, 0x104
call fcn.140019180
add rbx, 0x178
cmp qword [rbx], rdi
jne 0x140012892
lea rdx, str.SoftwareIntelDisplayigfxcui_
lea rcx, [rsp + 0x70]
call fcn.1400193f0
lea rdx, str.HotKeys
lea rcx, [rsp + 0x70]
call fcn.1400193f0
lea r11, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rbx
and qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140012892
lea r9d, [rdi + 1]
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140012892
cmp eax, 2
jne 0x140012885
lea rax, str..HotKeyImpl.cpp
lea rdx, str.get_IsEnabled:_RegOpenKeyEx_failed_for_HKLMSoftwareInteligfxcuiHotkeys_with_ERROR_FILE_NOT_FOUND._So__return_S_OK
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x962
call fcn.140001218
xor eax, eax
jmp 0x140012952
and qword [rbx], rdi
mov edi, 0x80004005
jmp 0x140012950
mov rcx, qword [rbx]
test rcx, rcx
je 0x140012950
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.Enable
xor r8d, r8d
mov dword [rsp + 0x54], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400128e2
cmp dword [rsp + 0x50], eax
jne 0x140012950
and dword [rsi], eax
jmp 0x140012950
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140012945
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.Enable
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140012945
cmp dword [rsp + 0x50], eax
jne 0x140012945
and dword [rsi], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400193c0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140013cb8
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x130
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor ebx, ebx
mov qword [r11 - 0x48], rbx
mov qword [r11 - 0x20], 0xf
mov qword [r11 - 0x28], rbx
mov byte [r11 - 0x38], bl
xor edx, edx
lea r8d, [rbx + 0x30]
lea rcx, [r11 - 0x48]
call fcn.140019180
lea rcx, str.gfxUI.exe
call fcn.140018b20
mov r8, rax
lea rdx, str.gfxUI.exe
lea rcx, [rsp + 0xf0]
call fcn.140001c08
xor edx, edx
lea r8d, [rbx + 0x18]
lea rcx, [rsp + 0x60]
call fcn.140019180
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x80]
call fcn.140019180
mov dword [rsp + 0x80], 0x68
lea rdx, [rsp + 0x100]
cmp qword [rsp + 0x118], 0x10
cmovae rdx, qword [rsp + 0x100]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x140013dc7
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x140013ded
lea rax, str..HotKeyImpl.cpp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x79f
lea rdx, str.Invoke_CUI_Failed
lea rcx, [rsp + 0x50]
call fcn.140001218
nop
lea rcx, [rsp + 0xf0]
call fcn.140001800
mov al, bl
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400193c0
add rsp, 0x130
pop rbx
ret

Function at 0x140015ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x58
cmp qword [0x14005e798], 0
jne 0x140015f11
call fcn.140016050
test eax, eax
jne 0x140015f11
jmp 0x140015ff1
mov rcx, qword [0x14005e798]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140015f35
mov rax, qword [rsp + 0x30]
jmp 0x140016014
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140015f65
jmp 0x140015ff1
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
mov rcx, qword [0x14005e798]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140015fa4
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x30]
jmp 0x140016014
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0xfe0
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x14005e798]
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x30], rax
jb 0x140015fbe
mov rax, qword [rsp + 0x30]
jmp 0x140016014
mov qword [rsp + 0x28], 0x20
lea r9, [rsp + 0x28]
mov r8d, 1
xor edx, edx
mov ecx, 0xc0000017
call qword [sym.imp.KERNEL32.dll_RaiseException]
add rsp, 0x58
ret
Function at 0x140026a07
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14005c8c0]
jne 0x1400193da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400193d6
repz ret
ror rcx, 0x10
jmp 0x140026960
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005ec50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005ed48]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400269e5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14005ec50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140026a07
mov rax, qword [rsp + 0x88]
mov qword [0x14005ed48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005ece8], rax
mov rax, qword [0x14005ed48]
mov qword [0x14005ebc0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005ecd0], rax
mov dword [0x14005ebb0], 0xc0000409
mov dword [0x14005ebb4], 1
mov rax, qword [0x14005c8c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14005c8c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005ec48], eax
mov ecx, 1
call fcn.140028790
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14004dc28]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005ec48], 0
jne 0x140026a8e
mov ecx, 1
call fcn.140028790
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret