joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001205c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x798]
sub rsp, 0x880
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov rdi, r9
mov bl, dl
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.14000c204
test eax, eax
jne 0x14001219f
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x48], 0x400
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140011564
test eax, eax
jne 0x14001219f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140003734
nop
lea rcx, [rsp + 0x40]
test bl, bl
je 0x140012127
call fcn.140011ca8
jmp 0x14001212c
call fcn.140011a70
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400121d8
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], si
jne 0x140012141
lea ecx, [rcx*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001219f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140020080]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400121b5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.14001c9c0
mov rbx, qword [rsp + 0x8a0]
add rsp, 0x880
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001b40
int3
Function at 0x140012da8
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
xor r12d, r12d
mov edi, r12d
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATs
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140012f92
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdi
mov r14d, r12d
xor edx, edx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x40], 0x40
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x59]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x140012f92
lea rcx, [rbp - 0x59]
call fcn.140016d00
mov rsi, rax
test rax, rax
je 0x140012f87
mov r15, qword [rbx + 0x138]
cmp qword [rbx + 0x150], r12
jne 0x140012f45
mov ecx, dword [rbx + 0x158]
test rcx, rcx
jne 0x140012eb3
mov rcx, r12
jmp 0x140012eca
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x140012f05
lea rcx, [rcx + rcx*2]
shl rcx, 3
mov rax, rcx
not rax
cmp rax, 8
jb 0x140012f05
add rcx, 8
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov r8, rax
test rax, rax
je 0x140012fdb
mov rcx, qword [rbx + 0x148]
mov qword [rax], rcx
mov qword [rbx + 0x148], rax
jmp 0x140012f08
mov r8, r12
test r8, r8
je 0x140012fdb
mov edx, dword [rbx + 0x158]
lea eax, [rdx - 1]
lea rcx, [rax*2 + 1]
add rcx, rax
lea rcx, [r8 + rcx*8]
jmp 0x140012f40
mov rax, qword [rbx + 0x150]
mov qword [rcx], rax
mov qword [rbx + 0x150], rcx
sub rcx, 0x18
sub edx, 1
jns 0x140012f2b
mov rcx, qword [rbx + 0x150]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rsi
mov qword [rbx + 0x150], rax
mov qword [rcx + 8], r15
mov qword [rcx], r12
inc qword [rbx + 0x140]
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x140012f79
mov qword [rax], rcx
jmp 0x140012f80
mov qword [rbx + 0x130], rcx
mov qword [rbx + 0x138], rcx
inc r14d
mov edx, r14d
jmp 0x140012e3b
test rdi, rdi
je 0x140012fab
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x48], r12
lea rax, [rbx + 0x130]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001c9c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001b40
int3
Function at 0x140013084
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
and dword [rsp + 0x44], 0
lea rax, [r11 - 0x10]
mov qword [r11 - 0x28], rax
mov rbx, r9
lea rax, [r11 - 0x18]
mov dword [rsp + 0x48], 4
mov qword [r11 - 0x30], rax
mov r9d, 0x10000012
lea rax, [r11 - 0x14]
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, 0xd
test eax, eax
jne 0x140013112
cmp dword [rsp + 0x44], 4
jne 0x1400130e5
lea edx, [rcx - 0xc]
cmp dword [rsp + 0x40], edx
ja 0x14001311c
cmp dword [rsp + 0x40], edx
jmp 0x140013109
cmp dword [rsp + 0x48], 4
jne 0x14001311c
movzx eax, word [rsp + 0x40]
mov edx, 1
sub ax, 0x30
cmp ax, dx
ja 0x14001311c
lea ecx, [rdx + 0x30]
xor eax, eax
cmp cx, word [rsp + 0x40]
sete al
xor ecx, ecx
mov dword [rbx], eax
jmp 0x14001311c
cmp eax, 0xea
cmove eax, ecx
mov ecx, eax
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x50
pop rbx
ret
Function at 0x140014830
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, r9
mov r12, r8
mov r14, rdx
mov r15, rcx
xor r13d, r13d
mov dword [rbp + 0x30], r13d
lea rax, [rbp + 0x30]
mov qword [rbp - 0x30], rax
lea rax, str._anonymous_namespace::WriteAccessibilityConfigStringListToRegistry
mov qword [rbp - 0x28], rax
lea rax, [0x14002a0c8]
cmp qword [0x14002a0c8], rax
je 0x140014897
lea rcx, [rbp - 0x30]
call fcn.14001bd00
nop
mov rbx, r13
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jne 0x1400148df
mov ecx, r13d
mov rbx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rbx
lea rax, str.HKLM
lea rsi, str.HKCU
cmp r15, 0xffffffff80000002
cmove rsi, rax
test ecx, ecx
je 0x140014934
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov dword [rbp + 0x30], eax
mov rcx, qword [0x14002a0c8]
lea rdx, [0x14002a0c8]
cmp rcx, rdx
je 0x1400149f2
test byte [rcx + 0x1c], 8
je 0x1400149f2
mov edx, 0x16
jmp 0x1400149aa
test rdi, rdi
je 0x140014a34
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140014941
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x1400149c1
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov dword [rbp + 0x30], eax
mov rcx, qword [0x14002a0c8]
lea rdx, [0x14002a0c8]
cmp rcx, rdx
je 0x1400149f2
test byte [rcx + 0x1c], 8
je 0x1400149f2
mov edx, 0x17
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.1400132b0
jmp 0x1400149f2
mov rcx, qword [0x14002a0c8]
lea rdx, [0x14002a0c8]
cmp rcx, rdx
je 0x1400149f2
test byte [rcx + 0x1c], 0x10
je 0x1400149f2
mov edx, 0x18
mov r9, rdi
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001e48
mov edi, dword [rbp + 0x30]
test rbx, rbx
je 0x140014a0a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x30]
call fcn.14001bd40
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001b40
int3
Function at 0x140015150
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, r8
mov rbp, rdx
xor edi, edi
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, str.StartList::CreateATProcess
mov qword [rsp + 0x50], rax
lea r12, [0x14002a0c8]
cmp qword [0x14002a0c8], r12
je 0x1400151c1
lea rcx, [rsp + 0x48]
call fcn.14001bd00
test rbp, rbp
je 0x1400153ae
cmp word [rbp], di
je 0x1400153ae
mov r15, qword [r14 + 0x20]
mov r8d, 0x7fffffff
mov ecx, r8d
mov rax, rbp
cmp word [rax], di
je 0x1400151f3
add rax, 2
sub rcx, 1
jne 0x1400151e4
mov rax, rcx
sub r8, rcx
neg rax
sbb rdx, rdx
and rdx, r8
test rcx, rcx
je 0x1400153a7
lea rsi, [rdx + 0x104]
cmp rsi, rdx
jb 0x1400153a7
mov rbx, rdi
test rsi, rsi
jne 0x140015228
mov rcx, rdi
jmp 0x14001523f
xor edx, edx
or rax, 0xffffffffffffffff
div rsi
cmp rax, 2
jb 0x14001538e
lea rcx, [rsi + rsi]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14001538e
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
jne 0x140015291
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x140015393
cmp rbp, rsi
jbe 0x1400152a0
mov ecx, 0x8007007a
jmp 0x140015393
lea rax, str._launchnarratorhome
lea r9, [0x1400203bc]
mov rdx, r9
cmp byte [r14 + 0x56], dil
cmovne rdx, rax
lea rax, str._launchquickstart
mov rcx, r9
cmp byte [r14 + 0x55], dil
cmovne rcx, rax
lea r8, [0x140021870]
mov rax, r9
cmp byte [r14 + 0x54], dil
cmovne rax, r8
test r15, r15
cmovne r9, r15
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, str._s__s__s__s
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140004b04
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0x20
jg 0x140015395
mov rcx, qword [0x14002a0c8]
cmp rcx, r12
je 0x140015365
test byte [rcx + 0x1c], 8
je 0x140015365
mov edx, 0x1e
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.14000f338
lea rax, [rsi - 2]
test rax, 0xfffffffffffffff6
jne 0x140015387
cmp rsi, 0xa
je 0x140015387
movzx ecx, bp
or ecx, 0x80070000
test ebp, ebp
cmovle ecx, ebp
jmp 0x140015393
mov ecx, 0x80004005
jmp 0x140015393
mov ecx, 0x8007000e
mov edi, ecx
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
nop
jmp 0x1400153b5
mov ecx, 0x80004005
jmp 0x1400153b3
mov ecx, 0x80070057
mov edi, ecx
lea rcx, [rsp + 0x48]
call fcn.14001bd40
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001c9c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140017214
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x890
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rsp + 0x888], rax
mov r14, r8
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov r15d, 1
mov rcx, r8
call fcn.1400165d4
nop
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x1400172a7
mov eax, ebx
jmp 0x1400172c2
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 1
ja 0x1400173f7
mov eax, dword [rsp + 0x44]
shr eax, 1
mov dword [rsp + 0x40], eax
mov ecx, ebx
test ecx, ecx
jne 0x1400173f7
test eax, eax
je 0x1400173f7
mov ecx, eax
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14001c518
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400173fe
mov word [rax], bx
lea r9, [rsp + 0x40]
mov r8, rax
mov rdx, r13
mov rcx, r12
call fcn.140011564
test eax, eax
jne 0x14001736d
cmp dword [rsp + 0x40], ebx
jbe 0x14001736d
cmp dword [rsp + 0x40], 0x400
jbe 0x140017331
mov word [rdi + 0x7fe], bx
mov rax, rsi
inc rax
cmp word [rdi + rax*2], bx
jne 0x140017334
mov r8d, eax
mov rdx, rdi
mov rcx, r14
call fcn.1400039d0
nop
jmp 0x14001736d
cmp word [rdi], 0x40
jne 0x1400173ea
test r15d, r15d
je 0x1400173ea
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
mov r9d, 0x400
lea r8, [rsp + 0x70]
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegLoadMUIStringW]
nop dword [rax + rax]
nop
test eax, eax
jne 0x1400173d5
mov word [rsp + 0x86e], bx
lea rax, [rsp + 0x70]
inc rsi
cmp word [rax + rsi*2], bx
jne 0x1400173ba
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400039d0
jmp 0x1400173de
mov rcx, r14
call fcn.1400165d4
nop
jmp 0x1400173ea
mov rcx, rdi
call sub.msvcrt.dll_free
mov eax, r15d
jmp 0x140017400
mov eax, 1
jmp 0x140017400
xor eax, eax
mov rcx, qword [rsp + 0x888]
xor rcx, rsp
call fcn.14001c9c0
add rsp, 0x890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001742c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
mov dword [r8], r9d
lea rax, [r11 + 0x20]
mov rcx, qword [rcx]
mov rbx, r8
mov edi, r9d
mov qword [r11 - 0x10], rax
lea r9, [r11 + 8]
mov qword [r11 - 0x18], rbx
xor r8d, r8d
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140017481
cmp dword [rsp + 0x40], 4
jne 0x140017481
test eax, eax
jne 0x140017481
mov eax, 1
jmp 0x140017485
mov dword [rbx], edi
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140017498
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2160]
mov eax, 0x2260
call fcn.14001d590
sub rsp, rax
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rbp + 0x2150], rax
mov r15, rdx
lea r8, [rsp + 0x20]
mov r13, rcx
xor ebx, ebx
mov qword [rdx], rbx
lea rcx, [rsp + 0x40]
mov edx, 0x2000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
nop dword [rax + rax]
test eax, eax
je 0x14001762d
mov eax, dword [rsp + 0x20]
mov ecx, 0x800
shr eax, 2
cmp eax, ecx
cmova eax, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], ebx
mov ecx, eax
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
nop dword [rax + rax]
test eax, eax
je 0x14001762d
mov edi, ebx
cmp dword [rsp + 0x20], ebx
jbe 0x140017629
mov r14d, edi
lea rdx, [rsp + 0x28]
mov ecx, dword [rsp + r14*4 + 0x40]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
nop dword [rax + rax]
test eax, eax
je 0x140017614
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x140017614
mov r8d, dword [rsp + r14*4 + 0x40]
cmp r12d, r8d
je 0x140017614
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140017614
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
nop dword [rax + rax]
test eax, eax
je 0x140017605
mov rdx, qword [rsp + 0x30]
lea r8, [rbp + 0x1f40]
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
nop dword [rax + rax]
test eax, eax
je 0x140017605
mov rdx, r13
lea rcx, [rbp + 0x1f40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140017621
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
inc edi
cmp edi, dword [rsp + 0x20]
jae 0x140017629
jmp 0x14001754b
mov ebx, dword [rsp + r14*4 + 0x40]
mov qword [r15], rsi
mov eax, ebx
jmp 0x14001762f
xor eax, eax
mov rcx, qword [rbp + 0x2150]
xor rcx, rsp
call fcn.14001c9c0
mov rbx, qword [rsp + 0x22b0]
add rsp, 0x2260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019704
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x48
and dword [rbp + 0x28], 0
lea rax, [rbp + 0x40]
xor esi, esi
mov qword [rsp + 0x20], rax
and qword [rbp + 0x40], rsi
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfigcolorfiltering
xor r8d, r8d
mov rcx, 0xffffffff80000001
lea ebx, [rsi + 1]
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001979b
mov rsi, qword [rbp + 0x40]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Active
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001979b
cmp dword [rbp + 0x38], 4
jne 0x14001979b
test eax, eax
jne 0x14001979b
cmp dword [rbp + 0x28], eax
jne 0x140019840
lea rax, [rbp - 0x18]
xor edi, edi
and qword [rbp - 0x18], rdi
lea rdx, str.SoftwareMicrosoftColorFiltering
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001982a
mov rdi, qword [rbp - 0x18]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Active
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001982a
cmp dword [rbp + 0x38], 4
jne 0x14001982a
test eax, eax
jne 0x14001982a
cmp dword [rbp + 0x28], eax
setne cl
call fcn.140019c3c
cmp dword [rbp + 0x28], 0
setne bl
jmp 0x14001982c
xor bl, bl
test rdi, rdi
je 0x140019840
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rsi, rsi
je 0x140019854
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov al, bl
add rsp, 0x48
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140019c3c
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
movzx eax, cl
xor r8d, r8d
mov dword [rsp + 0x60], eax
test cl, cl
lea rax, [r11 + 0x10]
mov rcx, 0xffffffff80000001
je 0x140019cc2
and qword [r11 - 0x18], r8
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfigcolorfiltering
mov qword [r11 - 0x20], rax
xor r9d, r9d
and qword [r11 - 0x28], r8
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019d0d
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140022530]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
jmp 0x140019cfc
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfig_
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019d0d
mov rcx, qword [rsp + 0x68]
lea rdx, str.colorfiltering
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x58
ret

Function at 0x140019d1c
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x60], ecx
call fcn.140019704
xor r8d, r8d
mov rcx, 0xffffffff80000001
test al, al
lea rax, [rsp + 0x68]
je 0x140019da5
and qword [rsp + 0x40], r8
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfigcolorfiltering
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], r8
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019df0
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140022540]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
jmp 0x140019ddf
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibilityATConfig_
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019df0
mov rcx, qword [rsp + 0x68]
lea rdx, str.colorfiltering
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x58
ret
Function at 0x14001b244
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r12d, r12d
lea rax, [rsp + 0x30]
mov qword [rdx], r12
lea r8, [rsp + 0x30]
mov r14d, r12d
sub rcx, rax
mov r15, rdx
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x14001b2b9
movzx eax, word [rcx + r8]
test ax, ax
je 0x14001b2b9
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x14001b295
lea rax, [r8 - 2]
test r9, r9
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x140022510]
mov word [rax], r12w
call fcn.140017b7c
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001b328
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14001b41d
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.14001869c
mov esi, eax
jmp 0x14001b401
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r12d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.140018998
mov esi, eax
test eax, eax
jns 0x14001b366
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140018660
mov rcx, rbx
call fcn.140018730
jmp 0x14001b401
lea r8, [0x140022518]
lea rcx, [rsp + 0x30]
call fcn.140017b7c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14001b3a9
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.14001869c
mov esi, eax
jmp 0x14001b359
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140018998
mov esi, eax
test eax, eax
jns 0x14001b3dd
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140018660
mov rcx, rdi
call fcn.140018730
jmp 0x14001b359
mov rcx, rdi
call fcn.140018730
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140018730
mov esi, r12d
test esi, esi
jns 0x14001b41d
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.140018660
mov eax, esi
jmp 0x14001b422
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14001c9c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret