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

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x68
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, edx
mov edi, 1
mov r14, rcx
xor ebp, ebp
mov edx, edi
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x38]
call fcn.140031c50
test eax, eax
je 0x14001078d
mov r10, qword [rsp + 0x38]
lea rax, str.GraphicsDGPUProcessSnapshot
mov qword [rsp + 0xa0], rsi
test ebx, ebx
mov qword [rsp + 0x60], r12
mov esi, ebp
mov qword [rsp + 0x58], r13
lea r13, str.GraphicsDGPUProcess
cmovne r13, rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x30], r10
test r14, r14
je 0x140010747
mov rdx, qword [r14]
cmp rdx, r14
je 0x140010747
mov rcx, qword [r14 + 8]
mov rax, rdx
cmp rdx, rcx
je 0x140010668
mov rax, qword [rax]
inc edi
cmp rax, rcx
jne 0x140010656
test edi, edi
je 0x140010747
test edi, edi
je 0x140010697
mov ecx, edi
nop
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2 + 0x10], bp
jne 0x140010680
mov rdx, qword [rdx]
inc esi
add esi, eax
sub rcx, 1
jne 0x140010670
inc esi
test esi, esi
jle 0x140010747
lea r12d, [rsi + rsi]
movsxd rbx, r12d
mov rcx, rbx
call fcn.140040704
mov r15, rax
test rax, rax
je 0x14001076b
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1400423d0
mov r14, qword [r14]
mov rbx, r15
test edi, edi
je 0x140010716
nop dword [rax]
nop word [rax + rax]
lea r8, [r14 + 0x10]
movsxd rdx, esi
mov rcx, rbx
call fcn.140044288
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400106f6
mov r14, qword [r14]
inc r8d
movsxd rax, r8d
sub esi, r8d
lea rbx, [rbx + rax*2]
sub rdi, 1
jne 0x1400106e0
mov rcx, qword [rsp + 0x30]
mov r9d, 7
mov dword [rsp + 0x28], r12d
xor r8d, r8d
mov rdx, r13
mov qword [rsp + 0x20], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
mov rcx, r15
sete bpl
call fcn.14004070c
jmp 0x14001076b
mov dword [rsp + 0x28], ebp
mov r9d, 7
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rdx, r13
mov rcx, r10
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
sete bpl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xa0]
mov eax, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x68
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x140010df0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp dword [0x14007b3a4], 0
je 0x140010e73
mov qword [rsp + 0x30], rbx
xor ebx, ebx
test ecx, ecx
je 0x140010e3b
cmp dword [0x14007b36c], ebx
je 0x140010e3b
mov qword [rsp + 0x28], rbx
lea r8, [0x140010e80]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140010e3b
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [0x14007d0e8]
test rcx, rcx
je 0x140010e58
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x140010e58
mov ebx, 0x10000
mov eax, dword [0x14007b36c]
shl eax, 8
or eax, ebx
mov rbx, qword [rsp + 0x30]
or eax, dword [0x14007b3a0]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret

Function at 0x1400112a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp dword [0x14007b3a4], 0
je 0x14001131f
cmp dword [0x140079950], 0
je 0x14001131f
cmp dword [0x14007b3a0], 2
jne 0x14001131f
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rcx, qword [0x14007b380]
mov qword [0x14007b370], rax
test rcx, rcx
je 0x1400112e8
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x140011330]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140011315
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x140011a20
Capabilities:
Start service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x270
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor ebx, ebx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x140011b3b
xor edx, edx
mov qword [rsp + 0x280], rdi
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400423d0
lea r8, str.NVDisplay.ContainerLocalSystem
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140044288
lea r8d, [rbx + 0x30]
mov rcx, rsi
lea rdx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x140011b2a
mov rcx, rax
test ebp, ebp
je 0x140011ac2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
jmp 0x140011ad2
lea r8, [rsp + 0x30]
mov edx, 1
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
mov ebx, eax
test eax, eax
je 0x140011b0d
mov rcx, qword [0x140079b70]
lea rax, [0x140079b70]
cmp rcx, rax
je 0x140011b21
test byte [rcx + 0x1c], 4
je 0x140011b21
mov rcx, qword [rcx + 0x10]
lea rax, str.ControlNVDisplayService_success
mov edx, 0xa
mov qword [rsp + 0x20], rax
call fcn.14003f070
jmp 0x140011b21
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.ControlNVDisplayService_fail_with
call fcn.14003f5e0
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x280]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400406e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
Function at 0x1400123d0
Capabilities:
Create thread
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x38
test ecx, ecx
je 0x14001240a
xor eax, eax
lea r8, [0x140012420]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140012413
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
add rsp, 0x38
jmp fcn.140011fd0
add rsp, 0x38
ret

Function at 0x140012450
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotationNonPreserve
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400124ee
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LastAutoRequest
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400124e3
mov eax, dword [rsp + 0x3c]
mov ebx, 1
mov dword [rdi], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140012510
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400125ae
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Enable
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400125a3
mov eax, dword [rsp + 0x3c]
mov ebx, 1
mov dword [rdi], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140012850
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
test ecx, ecx
je 0x1400128bc
cmp qword [0x14007b330], rbx
jne 0x1400128bc
mov qword [rsp + 0x28], rbx
lea r8, [0x1400125d0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
lea rcx, [0x14007994c]
mov qword [0x14007b330], rax
call fcn.140012510
cmp dword [0x14007994c], 1
mov rcx, qword [0x14007d0e0]
jne 0x1400128e3
test rcx, rcx
je 0x1400128b0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rcx, [0x140079948]
call fcn.140012450
mov eax, dword [0x140079944]
cmp dword [0x14007994c], 1
jne 0x1400128d1
mov eax, dword [0x140079948]
cmp eax, 2
jne 0x1400128fb
mov ebx, 1
mov eax, ebx
add rsp, 0x30
pop rbx
ret
test rcx, rcx
je 0x1400128ee
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
call fcn.1400127b0
mov dword [0x140079944], eax
jmp 0x1400128c2
test eax, eax
mov ecx, 2
cmove ebx, ecx
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140018170
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x88
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rbp + 0xf], rax
movdqa xmm0, xmmword [0x14006e150]
mov r15d, r9d
mov r9d, dword [0x14007b554]
mov r12d, ecx
mov ecx, dword [0x14007c2dc]
movsxd rsi, edx
mov eax, esi
mov qword [rbp - 0x1d], 0xffffffffffffffff
neg eax
mov qword [rbp - 0x11], 0xffffffffffffffff
movdqu xmmword [rbp - 0x2d], xmm0
sbb r10d, r10d
mov dword [rbp - 0x15], 0xffffffff
add r10d, 6
mov qword [rbp - 9], 0xffffffffffffffff
mov dword [rbp - 0x31], r10d
mov qword [rbp - 1], 0xffffffffffffffff
test r9d, r9d
jne 0x1400181fe
test ecx, ecx
jne 0x1400181fe
xor ebx, ebx
mov edi, ebx
jmp 0x14001830a
xor ebx, ebx
mov edi, 1
cmp r8d, 0xffffffff
jne 0x140018283
test edx, edx
mov qword [rsp + 0x28], rbx
mov eax, ebx
mov qword [rsp + 0x80], r14
setne al
mov dword [rsp + 0x20], ebx
add eax, 0x100
lea r9, [rbp + 7]
lea r8, [0x140017ea0]
mov dword [rbp + 7], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r14, rax
test rax, rax
je 0x14001825f
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, dword [rbp + 7]
mov r14, qword [rsp + 0x80]
lea eax, [r8 - 0x100]
cmp eax, edi
jbe 0x140018294
mov r9d, dword [0x14007b554]
mov ecx, dword [0x14007c2dc]
lea rdx, [0x140079978]
cmp dword [rdx + rsi*4], r8d
lea rdx, [rdx + rsi*4]
jne 0x14001829b
xor eax, eax
jmp 0x14001831d
mov dword [rdx], r8d
test r9d, r9d
je 0x1400182e8
mov dword [rbp - 0x19], edi
test esi, esi
je 0x140018302
cmp dword [0x14007b52c], ebx
je 0x1400182bb
mov dword [rbp - 0x25], 4
jmp 0x140018302
cmp dword [0x14007b544], ebx
je 0x1400182cc
mov dword [rbp - 0x25], 3
jmp 0x140018302
cmp dword [0x14007b548], ebx
je 0x1400182dd
mov dword [rbp - 0x25], 2
jmp 0x140018302
cmp dword [0x14007b54c], ebx
setne bl
jmp 0x1400182ff
test ecx, ecx
je 0x140018302
mov dword [rbp - 0x19], ebx
test esi, esi
je 0x140018302
cmp dword [0x14007c2d8], ebx
setne bl
add ebx, 4
mov dword [rbp - 0x25], ebx
mov dword [rbp - 0x29], r15d
mov dword [rbp - 0x2d], r8d
mov edx, edi
lea r8, [rbp - 0x31]
xor edx, 1
mov r9d, r12d
mov ecx, edi
call fcn.140007d20
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x88
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140018610
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rdi
call fcn.140031c50
test eax, eax
je 0x1400186cb
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x60], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MicrophoneEffectKey
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140018688
mov ebx, dword [rsp + 0x3c]
lea edi, [rax + 1]
jmp 0x14001868c
mov ebx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x1400186c4
cmp ebx, 0x14
ja 0x1400186c4
mov eax, 0x10000d
bt eax, ebx
jae 0x1400186c4
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x50
pop rdi
ret
mov eax, 0x14
jmp 0x1400186ac
mov eax, 0x14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x50
pop rdi
ret

Function at 0x1400194a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push r14
sub rsp, 0x58
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
xor edx, edx
call fcn.140031c50
test eax, eax
je 0x140019581
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
lea rdx, str.FanOverboost
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea ebp, [rbx + 1]
test eax, eax
jne 0x14001952c
mov edi, dword [rsp + 0x3c]
mov esi, ebp
jmp 0x140019532
mov edi, dword [rsp + 0x40]
mov esi, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
mov rsi, qword [rsp + 0x80]
je 0x140019577
mov ecx, edi
shr ecx, 8
movzx edx, cl
mov dword [r14], edx
cmp edx, 3
jb 0x14001955e
mov dword [r14], ebx
jmp 0x140019577
mov eax, edi
and eax, ebp
cmp dword [0x14007b4d0], eax
jne 0x140019577
shr edi, 1
and edi, ebp
cmp dword [0x14007b4cc], edi
cmove ebx, ebp
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x14001a290
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x14007b4bc], 0
mov ebx, ecx
je 0x14001a373
cmp dword [0x14007b4c0], 0
je 0x14001a373
mov eax, dword [0x14007b488]
add eax, 0xfffffffe
cmp eax, 1
ja 0x14001a373
call fcn.14001a9c0
cmp eax, 1
jne 0x14001a373
cmp dword [0x14007b4a4], 0
jne 0x14001a373
test ebx, ebx
je 0x14001a338
mov rcx, qword [0x14007b478]
test rcx, rcx
je 0x14001a300
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
lea r8, [0x14001a380]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14001a368
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov rcx, qword [0x14007b480]
test rcx, rcx
je 0x14001a34a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov ecx, 0x84
mov dword [rsp + 0x20], eax
lea edx, [rax + 2]
call fcn.1400242b0
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x14001a590
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [0x14007b4a4], 0
je 0x14001a689
xor esi, esi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rsi
mov edi, 0x28
call fcn.140031c50
test eax, eax
je 0x14001a641
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DynamicPerformanceThreshold
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a61a
mov ebx, dword [rsp + 0x44]
lea esi, [rdi - 0x27]
jmp 0x14001a61e
mov ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x14001a641
cmp ebx, 0x64
jbe 0x14001a63a
cmp ebx, 0xff
jne 0x14001a641
mov edi, ebx
cmp ebx, 0x64
ja 0x14001a689
mov ecx, dword [0x140079a20]
cmp ecx, 0xff
je 0x14001a663
mov eax, dword [0x1400799a4]
cmp eax, 3
je 0x14001a663
cmp ecx, edi
jbe 0x14001a682
cmp eax, 1
jmp 0x14001a680
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
test eax, eax
je 0x14001a689
movzx ecx, byte [rsp + 0x32]
cmp ecx, edi
jbe 0x14001a682
cmp byte [rsp + 0x30], 0
jne 0x14001a689
mov eax, 1
jmp 0x14001a68b
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14001a6b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
cmp dword [0x14007b4a4], 0
je 0x14001a8ca
mov qword [rsp + 0x58], rbp
mov ebp, dword [0x14007b4a0]
call fcn.14001a590
mov dword [0x14007b4a0], eax
test eax, eax
je 0x14001a8a4
mov qword [rsp + 0x60], rsi
mov esi, dword [0x14007b488]
lea ecx, [rsi - 2]
cmp ecx, 1
ja 0x14001a89f
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov rcx, qword [0x140079b70]
lea rax, [0x140079b70]
cmp rcx, rax
je 0x14001a733
test byte [rcx + 0x1c], 4
je 0x14001a733
mov rcx, qword [rcx + 0x10]
lea rax, str.Switch_turbo_mode_to_normal_forcedly
mov edx, 0xa
mov qword [rsp + 0x20], rax
call fcn.14003f070
xor ecx, ecx
call fcn.140019ad0
xor edx, edx
lea rcx, str.QuietFan
call fcn.1400320f0
xor r14d, r14d
cmp dword [0x14007b434], r14d
je 0x14001a7c4
mov rcx, qword [0x14007d0b8]
test rcx, rcx
je 0x14001a766
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp qword [0x14007b450], r14
je 0x14001a78b
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rcx, qword [0x14007b450]
mov qword [0x14007b448], rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14001a7c4
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x14001b1c0]
mov qword [0x14007b448], rax
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14001a7c4
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
call fcn.14001b420
mov edi, dword [0x7ffe02d8]
cmp edi, 0xffffffff
je 0x14001a83b
mov ecx, dword [0x14007d4d0]
mov qword [rsp + 0x50], rbx
mov ebx, r14d
test ecx, ecx
je 0x14001a836
mov qword [rsp + 0x30], r15
lea r15, [0x14007d450]
nop dword [rax]
nop word [rax + rax]
mov eax, ebx
lea rdx, [r15 + rax*8]
mov rax, qword [r15 + rax*8]
cmp dword [rax], edi
jne 0x14001a82b
cmp qword [rax + 8], r14
je 0x14001a82b
mov dword [rax + 0x1c], r14d
mov rcx, qword [rdx]
mov rcx, qword [rcx + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov ecx, dword [0x14007d4d0]
inc ebx
cmp ebx, ecx
jb 0x14001a800
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
xor ecx, ecx
call fcn.140025570
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov dword [rsp + 0x20], r14d
lea edx, [r9 + 3]
lea ecx, [rdx + 0xe]
call fcn.1400242b0
mov r8d, r14d
mov qword [rsp + 0x28], r14
cmp esi, 3
mov dword [rsp + 0x20], r14d
mov ecx, 0x84
sete r8b
xor r9d, r9d
inc r8d
lea edx, [r9 + 2]
call fcn.1400242b0
xor edx, edx
xor ecx, ecx
call fcn.14001acf0
mov eax, dword [0x14007b4a0]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
cmp eax, ebp
mov rbp, qword [rsp + 0x58]
je 0x14001a8c0
call fcn.14001ab70
mov edx, dword [0x7ffe02d8]
mov ecx, eax
call fcn.14002fec0
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x14001a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
xor edx, edx
call fcn.140031c50
test eax, eax
je 0x14001a9b5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x68], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.QuietFan
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a965
mov edi, dword [rsp + 0x3c]
lea esi, [rbx + 1]
jmp 0x14001a96b
mov edi, dword [rsp + 0x40]
mov esi, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
mov rsi, qword [rsp + 0x68]
je 0x14001a995
test r14, r14
je 0x14001a98f
mov eax, edi
shr eax, 0x15
and eax, 1
mov dword [r14], eax
cmp edi, 3
cmovbe ebx, edi
mov rdi, qword [rsp + 0x70]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov eax, ebx
jmp 0x14001a99c

Function at 0x14001a9c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rsi
mov ebx, 1
call fcn.140031c50
test eax, eax
je 0x14001aa73
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x60], rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.QuietFanPrompt
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001aa3c
mov edi, dword [rsp + 0x3c]
mov esi, ebx
jmp 0x14001aa40
mov edi, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x14001aa54
cmp edi, ebx
cmovbe ebx, edi
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400406e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov eax, ebx
jmp 0x14001aa5b