joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dea0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
cmp qword [0x14006ae90], rbx
je 0x14000e0cc
mov rax, qword [0x14006aee0]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000e0cc
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 0x50043
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 4]
mov dword [rsp + 0x30], 4
lea rdx, [rsp + 0x34]
mov ecx, 0x53545344
call fcn.1400064c0
test eax, eax
je 0x14000e0cc
cmp dword [rsp + 0x30], 4
mov eax, ebx
cmovae eax, dword [rsp + 0x4c]
bt eax, 0x10
jae 0x14000e0cc
shr eax, 0x12
and eax, 1
mov dword [rsp + 0x48], ebx
mov ecx, dword [0x7ffe02d8]
mov dword [0x140069260], eax
cmp ecx, 0xffffffff
je 0x14000e0bc
xor r9d, r9d
lea r8, [rsp + 0x48]
lea edx, [rbx + 0xf]
call fcn.140030410
mov edx, dword [rsp + 0x48]
cmp edx, 0x101
jne 0x14000e0c0
cmp qword [0x14006aea8], rbx
mov qword [0x140069268], rbx
je 0x14000e0a4
mov qword [rsp + 0x88], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x90], rdi
xor edx, edx
mov edi, ebx
mov qword [rsp + 0x40], rbx
mov esi, ebx
call fcn.140027750
test eax, eax
je 0x14000e037
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x80], rbp
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AutoRefreshRate
mov qword [rsp + 0x98], r14
mov dword [rsp + 0x50], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14000dffd
mov ebp, dword [rsp + 0x54]
lea r14d, [rbx + 1]
jmp 0x14000e004
mov ebp, dword [rsp + 0x38]
mov r14d, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r14d, r14d
mov r14, qword [rsp + 0x98]
je 0x14000e02f
mov edi, ebp
shr edi, 0x15
and edi, 1
cmp bpl, 1
jne 0x14000e02f
mov esi, 1
mov rbp, qword [rsp + 0x80]
test edi, edi
mov rdi, qword [rsp + 0x90]
je 0x14000e060
cmp dword [0x140069260], ebx
lea rcx, str.AutoRefreshRate
setne bl
mov edx, ebx
call fcn.140027c20
mov esi, dword [0x140069260]
mov rcx, qword [0x14006aea8]
test esi, esi
mov rsi, qword [rsp + 0x88]
je 0x14000e09e
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
xor edx, edx
xor r8d, r8d
lea ecx, [rdx - 1]
call fcn.14000e100
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x70
pop rbx
ret
mov edx, dword [rsp + 0x48]
lea rcx, str.Auto_switching_refresh_rate_does_not_support
call fcn.1400325e0
mov rcx, qword [0x14006aea8]
test rcx, rcx
je 0x14000e0e5
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [0x14006aea8], rbx
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x70
pop rbx
ret
Function at 0x14000e9f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp qword [0x140069258], 0
je 0x14000ea58
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rdx, qword [0x140069250]
test rdx, rdx
je 0x14000ea1f
mov rcx, rax
sub rcx, rdx
cmp rcx, 0x7d0
jbe 0x14000ea58
mov qword [0x140069250], rax
lea r8, [0x14000ea60]
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14000ea58
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
add rsp, 0x38
ret

Function at 0x14000eaf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140067010]
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 0x14000eb8e
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 0x14000eb83
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.140032e60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14000ebb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140067010]
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 0x14000ec4e
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 0x14000ec43
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.140032e60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000eee0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
test ecx, ecx
je 0x14000ef4c
cmp qword [0x140069248], rbx
jne 0x14000ef4c
mov qword [rsp + 0x28], rbx
lea r8, [0x14000ec70]
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, [0x14006793c]
mov qword [0x140069248], rax
call fcn.14000ebb0
cmp dword [0x14006793c], 1
mov rcx, qword [0x14006aeb8]
jne 0x14000ef73
test rcx, rcx
je 0x14000ef40
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rcx, [0x140067938]
call fcn.14000eaf0
mov eax, dword [0x140067934]
cmp dword [0x14006793c], 1
jne 0x14000ef61
mov eax, dword [0x140067938]
cmp eax, 2
jne 0x14000ef8b
mov ebx, 1
mov eax, ebx
add rsp, 0x30
pop rbx
ret
test rcx, rcx
je 0x14000ef7e
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
call fcn.14000ee50
mov dword [0x140067934], eax
jmp 0x14000ef52
test eax, eax
mov ecx, 2
cmove ebx, ecx
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400130d0
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x14005e080]
mov r14d, r9d
mov r9d, dword [0x140069394]
mov r15d, ecx
mov ecx, dword [0x14006a100]
movsxd rsi, edx
mov eax, esi
mov qword [rsp + 0x44], 0xffffffffffffffff
neg eax
mov qword [rsp + 0x50], 0xffffffffffffffff
movdqu xmmword [rsp + 0x34], xmm0
sbb r10d, r10d
mov dword [rsp + 0x4c], 0xffffffff
add r10d, 5
mov qword [rsp + 0x58], 0xffffffffffffffff
mov dword [rsp + 0x30], r10d
test r9d, r9d
jne 0x140013154
test ecx, ecx
jne 0x140013154
xor ebx, ebx
mov edi, ebx
jmp 0x140013256
xor ebx, ebx
mov edi, 1
cmp r8d, 0xffffffff
jne 0x1400131dc
test edx, edx
mov qword [rsp + 0x28], rbx
mov eax, ebx
mov qword [rsp + 0xa0], rbp
setne al
mov dword [rsp + 0x20], ebx
add eax, 0x100
lea r9, [rsp + 0x60]
lea r8, [0x140012e00]
mov dword [rsp + 0x60], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x1400131b7
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, dword [rsp + 0x60]
mov rbp, qword [rsp + 0xa0]
lea eax, [r8 - 0x100]
cmp eax, edi
jbe 0x1400131ed
mov r9d, dword [0x140069394]
mov ecx, dword [0x14006a100]
lea rdx, [0x140067950]
cmp dword [rdx + rsi*4], r8d
lea rdx, [rdx + rsi*4]
jne 0x1400131f1
xor eax, eax
jmp 0x14001326a
mov dword [rdx], r8d
test r9d, r9d
je 0x140013230
mov dword [rsp + 0x48], edi
test esi, esi
je 0x14001324c
cmp dword [0x140069384], ebx
je 0x140013213
mov dword [rsp + 0x3c], 3
jmp 0x14001324c
cmp dword [0x140069388], ebx
je 0x140013225
mov dword [rsp + 0x3c], 2
jmp 0x14001324c
cmp dword [0x14006938c], ebx
setne bl
jmp 0x140013248
test ecx, ecx
je 0x14001324c
mov dword [rsp + 0x48], ebx
test esi, esi
je 0x14001324c
cmp dword [0x14006a0fc], ebx
setne bl
add ebx, 4
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x34], r8d
mov edx, edi
lea r8, [rsp + 0x30]
xor edx, 1
mov r9d, r15d
mov ecx, edi
call fcn.140007850
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140013dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push r14
sub rsp, 0x58
mov rax, qword [0x140067010]
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.140027750
test eax, eax
je 0x140013ea1
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 0x140013e4c
mov edi, dword [rsp + 0x3c]
mov esi, ebp
jmp 0x140013e52
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 0x140013e97
mov ecx, edi
shr ecx, 8
movzx edx, cl
mov dword [r14], edx
cmp edx, 3
jb 0x140013e7e
mov dword [r14], ebx
jmp 0x140013e97
mov eax, edi
and eax, ebp
cmp dword [0x14006932c], eax
jne 0x140013e97
shr edi, 1
and edi, ebp
cmp dword [0x140069328], 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.140032e60
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x140013ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x1400692e0], 0
mov qword [rsp + 0x60], rbx
mov ebx, 1
mov qword [rsp + 0x50], rdi
jne 0x140014004
cmp dword [0x1400692d8], 0
jne 0x140014004
cmp dword [0x1400692d4], 0
jne 0x140014004
lea r8, [rsp + 0x38]
mov edx, 0x110019
mov ecx, 0x53545344
call fcn.140006690
test eax, eax
je 0x140014004
mov edi, dword [rsp + 0x38]
bt edi, 0x10
mov edx, dword [0x14006931c]
mov ecx, dword [0x140069318]
cmovb edx, ebx
mov eax, dword [0x140069314]
bt edi, 0x11
mov dword [0x14006931c], edx
cmovb ecx, ebx
bt edi, 0x12
mov dword [0x140069318], ecx
cmovb eax, ebx
bt edi, 0x14
mov dword [0x140069314], eax
mov eax, dword [0x140069310]
cmovb eax, ebx
mov dword [0x140069310], eax
test ecx, ecx
je 0x140013faf
mov eax, dword [0x14006930c]
bt edi, 0x15
cmovb eax, ebx
mov dword [0x14006930c], eax
bt edi, 0x18
jae 0x140013faf
mov dword [0x140069304], ebx
call fcn.140014bd0
mov edx, dword [0x14006931c]
mov ecx, dword [0x140069318]
mov dword [0x140069300], eax
mov eax, dword [0x1400692fc]
bt edi, 0x19
cmovb eax, ebx
mov dword [0x1400692fc], eax
test edx, edx
jne 0x140013fd2
test ecx, ecx
jne 0x140013fd2
cmp dword [0x140069314], ecx
je 0x14001400a
lea rcx, str.414EB175_3A3D_45E7_9B10_5C4166941823
call fcn.140029820
test eax, eax
je 0x140013fe9
mov ecx, 2
jmp 0x140013ffe
lea rcx, str.FC6F9CAF_F868_45A3_B88F_E82E7358EBB9
call fcn.140029820
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov dword [0x140069324], ecx
mov ecx, dword [0x140069318]
cmp dword [0x140069324], ebx
jne 0x140014026
test ecx, ecx
je 0x140014026
xor eax, eax
cmp dword [0x140069314], eax
setne al
add eax, 2
jmp 0x140014028
xor eax, eax
xor edi, edi
mov dword [0x140069320], eax
xor edx, edx
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.140027750
test eax, eax
je 0x1400140b2
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.QuietFanSupported
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001408a
mov esi, dword [rsp + 0x3c]
jmp 0x140014090
mov esi, dword [rsp + 0x40]
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x1400140ad
test esi, 0xfffffffc
jne 0x1400140ad
cmp esi, 1
cmovne edi, esi
mov rsi, qword [rsp + 0x68]
mov edx, dword [0x140069320]
cmp edi, edx
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
je 0x1400140d2
lea rcx, str.QuietFanSupported
call fcn.140027c20
mov eax, dword [0x140069324]
test eax, eax
jne 0x1400140ff
mov rcx, qword [0x14006ae40]
test rcx, rcx
je 0x1400140ff
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x140069324]
mov qword [0x14006ae40], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x58
ret
Function at 0x1400148e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x140069318], 0
mov ebx, ecx
je 0x1400149be
cmp dword [0x14006931c], 0
je 0x1400149be
cmp dword [0x1400692e4], 2
jne 0x1400149be
call fcn.140014fb0
cmp eax, 1
jne 0x1400149be
cmp dword [0x140069304], 0
jne 0x1400149be
test ebx, ebx
je 0x140014983
mov rcx, qword [0x1400692e8]
test rcx, rcx
je 0x14001494b
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, [0x1400149d0]
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 0x1400149b3
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 [0x1400692f0]
test rcx, rcx
je 0x140014995
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.14001c210
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140014bd0
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 [0x140067010]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [0x140069304], 0
je 0x140014cc9
xor esi, esi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rsi
mov edi, 0x28
call fcn.140027750
test eax, eax
je 0x140014c81
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 0x140014c5a
mov ebx, dword [rsp + 0x44]
lea esi, [rdi - 0x27]
jmp 0x140014c5e
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 0x140014c81
cmp ebx, 0x64
jbe 0x140014c7a
cmp ebx, 0xff
jne 0x140014c81
mov edi, ebx
cmp ebx, 0x64
ja 0x140014cc9
mov ecx, dword [0x1400679d0]
cmp ecx, 0xff
je 0x140014ca3
mov eax, dword [0x140067970]
cmp eax, 3
je 0x140014ca3
cmp ecx, edi
jbe 0x140014cc2
cmp eax, 1
jmp 0x140014cc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
test eax, eax
je 0x140014cc9
movzx ecx, byte [rsp + 0x32]
cmp ecx, edi
jbe 0x140014cc2
cmp byte [rsp + 0x30], 0
jne 0x140014cc9
mov eax, 1
jmp 0x140014ccb
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140032e60
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140014cf0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp dword [0x140069304], 0
je 0x140014ebf
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rdi
mov edi, dword [0x140069300]
call fcn.140014bd0
xor ebx, ebx
mov dword [0x140069300], eax
lea esi, [rbx + 1]
test eax, eax
je 0x140014e54
cmp dword [0x1400692e4], 2
jne 0x140014e54
mov rcx, qword [0x140067b00]
lea rax, [0x140067b00]
cmp rcx, rax
je 0x140014d6c
test byte [rcx + 0x1c], 4
je 0x140014d6c
mov rcx, qword [rcx + 0x10]
lea rax, str.Switch_turbo_mode_to_normal_forcedly
lea edx, [rbx + 0xa]
mov qword [rsp + 0x20], rax
call fcn.140031fc0
xor ecx, ecx
call fcn.140014270
xor edx, edx
lea rcx, str.QuietFan
call fcn.140027c20
cmp dword [0x1400692d0], ebx
je 0x140014df8
mov rcx, qword [0x14006ae98]
test rcx, rcx
je 0x140014d9b
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp qword [0x1400692c8], rbx
je 0x140014dc0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rcx, qword [0x1400692c8]
mov qword [0x1400692c0], rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140014df8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x140015660]
mov qword [0x1400692c0], rax
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140014df8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov edx, dword [0x7ffe02d8]
xor ecx, ecx
call fcn.140025e50
xor ecx, ecx
call fcn.14001d480
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 3]
lea ecx, [rdx + 0xe]
call fcn.14001c210
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov r8d, esi
mov dword [rsp + 0x20], ebx
mov ecx, 0x84
lea edx, [r9 + 2]
call fcn.14001c210
xor edx, edx
xor ecx, ecx
call fcn.1400151a0
mov eax, dword [0x140069300]
cmp eax, edi
mov rdi, qword [rsp + 0x30]
je 0x140014eae
cmp dword [0x140069324], esi
jne 0x140014e9b
cmp dword [0x140069310], ebx
cmovne ebx, esi
cmp dword [0x1400692f8], 0
je 0x140014e7a
add ebx, 2
cmp dword [0x140069304], 0
je 0x140014e86
add ebx, 4
test eax, eax
je 0x140014e8d
add ebx, 8
cmp dword [0x1400692fc], 0
je 0x140014ea0
add ebx, 0x10
jmp 0x140014ea0
mov ebx, 0xffffffff
mov edx, dword [0x7ffe02d8]
mov ecx, ebx
call fcn.140026080
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret
Function at 0x140014ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x50
mov rax, qword [0x140067010]
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.140027750
test eax, eax
je 0x140014fa5
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 0x140014f55
mov edi, dword [rsp + 0x3c]
lea esi, [rbx + 1]
jmp 0x140014f5b
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 0x140014f85
test r14, r14
je 0x140014f7f
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.140032e60
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov eax, ebx
jmp 0x140014f8c

Function at 0x140014fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140067010]
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.140027750
test eax, eax
je 0x140015063
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 0x14001502c
mov edi, dword [rsp + 0x3c]
mov esi, ebx
jmp 0x140015030
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 0x140015044
cmp edi, ebx
cmovbe ebx, edi
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov eax, ebx
jmp 0x14001504b
Function at 0x1400155a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x1400692d0], 0
mov ebx, edx
mov eax, ecx
je 0x140015656
mov rcx, qword [0x14006ae98]
test rcx, rcx
je 0x1400155d5
test eax, eax
je 0x1400155cf
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x1400155d5
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
cmp qword [0x1400692c8], 0
je 0x140015604
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rcx, qword [0x1400692c8]
mov qword [0x1400692c0], rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov eax, 1
add rsp, 0x30
pop rbx
ret
cmp dword [0x1400692d0], 2
je 0x140015611
test ebx, ebx
je 0x14001561e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov qword [0x1400692c0], rax
xor eax, eax
lea r8, [0x140015660]
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 0x14001564b
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
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140015c60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x30], rbx
call fcn.140027750
test eax, eax
je 0x140015d1f
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], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DesktopFan
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140015cdd
mov edi, dword [rsp + 0x3c]
lea esi, [rbx + 1]
jmp 0x140015ce3
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 + 0x60]
je 0x140015d05
test edi, 0xfffffffc
jne 0x140015d05
cmp edi, 1
cmovne ebx, edi
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x50
pop rbx
ret
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x50
pop rbx
ret