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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, ecx
xor r14d, r14d
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r14
mov ebx, r14d
call fcn.14000fc40
test eax, eax
je 0x140011514
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.OLEDProtectPrompt
lea rax, [rbp - 0x14]
mov dword [rbp - 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001150a
cmp dword [rbp - 0x14], 3
cmovbe ebx, dword [rbp - 0x14]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14001153b
test ebx, ebx
je 0x140011608
mov edx, 1
mov qword [rsp + 0x28], r14
lea ecx, [rdx + 0x11]
lea r8d, [rdx + 1]
call fcn.14000e470
jmp 0x140011608
cmp ebx, 3
jae 0x140011608
mov qword [rsp + 0x60], rsi
lea rcx, [rbp - 0x20]
mov esi, r14d
mov qword [rbp - 0x20], r14
call fcn.14000fc40
test eax, eax
je 0x140011603
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rdx, str.OLEDProtectHighDate
lea rax, [rbp - 0x18]
mov dword [rbp - 0x14], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400115d1
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0xc]
mov edi, dword [rbp - 0x18]
lea rdx, str.OLEDProtectLowDate
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x10]
mov dword [rbp - 0xc], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400115d1
lea esi, [rax + 1]
jmp 0x1400115d4
mov edi, dword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
mov ebx, dword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x140011603
test edi, edi
jne 0x140011629
test ebx, ebx
jne 0x140011632
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, 0x12
mov qword [rsp + 0x28], r14
call fcn.14000e470
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
cmp edi, 0xffffffff
jne 0x140011632
cmp ebx, edi
je 0x140011603
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
mov edx, dword [rbp - 0x1c]
mov eax, ebx
shl rdx, 0x20
mov ecx, edi
shl rcx, 0x20
add rcx, rax
mov eax, dword [rbp - 0x20]
add rdx, rax
cmp rcx, rdx
jae 0x1400115ed
movabs rax, 0xbc97c324000
add rax, rcx
cmp rax, rdx
jae 0x140011603
xor r8d, r8d
lea rcx, str._prompt_scrprompt
lea edx, [r8 + 1]
call fcn.1400187f0
mov edx, 1
mov r8d, edx
jmp 0x1400115f4
Function at 0x140011690
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
test rcx, rcx
je 0x140011732
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14001c070
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140011732
lea r9, [rsp + 0x40]
mov edx, 0x104
lea r8, str._sASUSScreenSaverOLED_Care_Screensaver.scr
mov rcx, rbx
call fcn.14000afd0
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140011732
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
jmp 0x140011734
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x260
pop rbx
ret

Function at 0x140011750
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x478
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp qword [0x14004f2c8], 0
je 0x14001188c
xor edx, edx
mov qword [rsp + 0x470], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x250]
call fcn.14001c070
xor ebx, ebx
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
lea rdx, str.Control_PanelDesktop
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011843
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SCRNSAVE.EXE
mov dword [rsp + 0x3c], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140011834
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.14001f62c
mov ebx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x140011884
mov rax, qword [0x14004f2c8]
lea r8, [rsp + 0x38]
xor edx, edx
mov dword [rsp + 0x38], 0
xor r9d, r9d
lea ecx, [rdx + 0xe]
call qword [0x1400335f0]
cmp dword [rsp + 0x38], 0
je 0x140011884
mov rax, qword [0x14004f2c8]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0xf]
call qword [0x1400335f0]
mov rbx, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x478
ret
Function at 0x140011b50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov ebx, 1
call fcn.14000fc40
test eax, eax
je 0x140011bcd
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.OLEDProtect
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140011bc2
cmp dword [rsp + 0x3c], ebx
cmovbe ebx, dword [rsp + 0x3c]
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 + 0x40]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x50
pop rbx
ret
Function at 0x140011da0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
lea rcx, [rbp - 0x18]
mov ebx, esi
mov qword [rbp - 0x18], rsi
call fcn.14000fc40
test eax, eax
je 0x140011e15
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rdx, str.DeviceTouchpad
lea rax, [rbp - 0x10]
mov dword [rbp - 0x20], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x18]
test eax, eax
cmove ebx, dword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [0x1400479d4], ebx
cmp ebx, 6
jne 0x140011f9b
mov rax, qword [0x14004ee60]
mov qword [rsp + 0x60], rdi
lea edi, [rbx - 5]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140011ea8
lea rax, [rbp - 0x20]
mov dword [rbp - 0x10], 0x50033
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r8d, [rbx - 2]
mov dword [rbp - 0x20], 4
lea rdx, [rbp - 0x10]
mov ecx, 0x53545344
call fcn.1400089c0
test eax, eax
je 0x140011ea1
cmp dword [rbp - 0x20], 4
mov ecx, esi
cmovae ecx, dword [rbp - 0x18]
bt ecx, 0x10
jae 0x140011ea1
mov eax, ecx
and eax, edi
mov dword [0x14004e4a0], eax
mov eax, ecx
shr eax, 1
and eax, edi
shr ecx, 3
and ecx, edi
mov dword [0x14004e4a4], eax
mov dword [0x14004e4cc], ecx
jmp 0x140011f01
mov rax, qword [0x14004ee60]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140011f01
lea rax, [rbp - 0x20]
mov dword [rbp - 0x18], 0x50031
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r8d, 4
mov dword [rbp - 0x20], 4
lea rdx, [rbp - 0x18]
mov ecx, 0x53545344
call fcn.1400089c0
test eax, eax
je 0x140011f01
cmp dword [rbp - 0x20], 4
mov eax, esi
cmovae eax, dword [rbp - 0x10]
bt eax, 0x10
mov eax, dword [0x14004e4d0]
cmovb eax, edi
mov dword [0x14004e4d0], eax
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rsi
mov ebx, esi
call fcn.14000fc40
test eax, eax
je 0x140011f61
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.DeviceTrackPoint
lea rax, [rbp - 0x10]
mov dword [rbp - 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140011f50
cmp dword [rbp - 0x10], 2
cmovbe ebx, dword [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea eax, [rbx - 1]
cmp eax, edi
jbe 0x140011f63
mov edi, esi
cmp qword [0x14004e498], rsi
mov dword [0x14004e478], edi
mov rdi, qword [rsp + 0x60]
jne 0x140011f9b
mov qword [rsp + 0x28], rsi
lea r8, [0x14000faa0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [0x14004e498], rax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x140012080
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test ecx, ecx
je 0x1400120fd
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
movsxd rcx, dword [0x14004f1b8]
mov r8, rax
cmp ecx, 5
jge 0x1400120be
lea rax, [0x14004f190]
mov qword [rax + rcx*8], r8
mov ecx, ebx
inc dword [0x14004f1b8]
add rsp, 0x20
pop rbx
jmp fcn.14000f890
mov rax, qword [0x14004f198]
mov qword [0x14004f190], rax
mov rax, qword [0x14004f1a0]
mov qword [0x14004f198], rax
mov rax, qword [0x14004f1a8]
mov qword [0x14004f1a0], rax
mov rax, qword [0x14004f1b0]
mov qword [0x14004f1a8], rax
mov qword [0x14004f1b0], r8
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.14000f890

Function at 0x1400129e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov ebx, 1
call fcn.14000fc40
test eax, eax
je 0x140012a5d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.EnableChkUSBPort
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140012a52
cmp dword [rsp + 0x3c], ebx
cmovbe ebx, dword [rsp + 0x3c]
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 + 0x40]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x50
pop rbx
ret

Function at 0x140012b19
Capabilities:
Create thread

Disassembly:
cmp edx, 1
jne 0x140012c24
push rbx
sub rsp, 0x250
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebx, ecx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rdx, rax
test ebx, ebx
jne 0x140012b7f
mov qword [0x14004e508], rax
lea r8, [0x140012c30]
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 0x140012c0c
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x140012c0c
mov rax, qword [0x14004e508]
test rax, rax
je 0x140012b96
add rax, 0x7530
cmp rdx, rax
jbe 0x140012c0c
cmp dword [0x1400479ec], 1
mov qword [0x14004e508], rdx
jne 0x140012bbb
xor r8d, r8d
lea rdx, str._usbcabnormal
lea ecx, [r8 - 3]
call fcn.140016a30
jmp 0x140012c0c
cmp dword [0x14004e76c], 0
je 0x140012c0c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14001c070
lea rax, str._usbcabnormal
mov edx, 0x104
lea r9, [0x14004e9d0]
mov qword [rsp + 0x20], rax
lea r8, str.__s___s
lea rcx, [rsp + 0x30]
call fcn.14000afd0
xor r8d, r8d
lea rdx, [rsp + 0x30]
call fcn.140012d90
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x250
pop rbx
ret
Function at 0x140012d90
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rdx
lea rcx, [rsp + 0x70]
xor edx, edx
mov rdi, r8
lea r8d, [rdx + 0x68]
call fcn.14001c070
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rax, str.Winsta0Default
xor ecx, ecx
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x140012e7a
test rdi, rdi
je 0x140012e51
mov rcx, qword [rsp + 0x50]
mov edx, 0x7d0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140012e62
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140012e73
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
jmp 0x140012e7c
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rdi
ret
Function at 0x140012ff0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x470
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r14, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
xor ebx, ebx
call fcn.14001c070
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x140013145
xor edx, edx
mov qword [rsp + 0x4a8], rdi
mov r8d, 0x208
lea rcx, [rsp + 0x250]
call fcn.14001c070
lea r9, [rsp + 0x40]
mov edx, 0x104
lea r8, str._sShell32.dll
lea rcx, [rsp + 0x250]
call fcn.14000afd0
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140013141
lea rdx, str.ShellExecuteW
mov qword [rsp + 0x4a0], rsi
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14001310a
mov rcx, qword [0x14004a6a8]
lea rax, [0x14004a6a8]
cmp rcx, rax
je 0x1400130e3
test byte [rcx + 0x1c], 8
je 0x1400130e3
mov rcx, qword [rcx + 0x10]
lea rax, str.Get_Shell32_ShellExecute_function_success
mov qword [rsp + 0x20], rax
call fcn.140019c20
mov dword [rsp + 0x28], 1
mov r9, r14
mov r8, rbp
mov qword [rsp + 0x20], rbx
xor edx, edx
xor ecx, ecx
mov rax, rsi
call qword [0x1400335f0]
cmp rax, 0x20
setg bl
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov rsi, qword [rsp + 0x4a0]
mov eax, ebx
mov rdi, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x470
pop r14
pop rbp
pop rbx
ret
mov eax, ebx
jmp 0x14001311d
mov eax, ebx
jmp 0x140013125
Function at 0x1400147a0
Capabilities:
Get process image filename

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [0x14004f1d0]
xor ebx, ebx
test rax, rax
je 0x1400148fc
lea rdx, str.ATKOSD2
mov qword [rsp + 0x270], rsi
lea rcx, str.CNewOsd
call qword [0x1400335f0]
mov rsi, rax
test rax, rax
je 0x1400148f8
mov rax, qword [0x14004f210]
test rax, rax
je 0x1400148f8
cmp qword [0x14004f1c8], rbx
je 0x1400148f8
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov rcx, rsi
call qword [0x1400335f0]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x1400148f8
xor edx, edx
mov qword [rsp + 0x278], rdi
mov ecx, 0x410
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400148cd
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14001c070
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x1400148c4
lea rdx, str.ATKOSD2.exe
lea rcx, [rsp + 0x40]
call fcn.14001b900
test rax, rax
jne 0x1400148a5
lea rdx, str.AsusOSD.exe
lea rcx, [rsp + 0x40]
call fcn.14001b900
test rax, rax
je 0x1400148c4
mov rax, qword [0x14004f1c8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 2]
call qword [0x1400335f0]
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rdi, qword [rsp + 0x278]
mov eax, ebx
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x260
pop rbx
ret
mov eax, ebx
jmp 0x1400148d7
mov eax, ebx
jmp 0x1400148df
Function at 0x140014c50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov ebx, 0x64
call fcn.14000fc40
test eax, eax
je 0x140014ce0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.ChargingRate
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140014cd5
mov ecx, dword [rsp + 0x3c]
mov eax, 0x28
cmp ecx, eax
cmova eax, ecx
cmp eax, ebx
jae 0x140014cd5
mov ebx, 0x28
cmp ecx, ebx
cmova ebx, ecx
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 + 0x40]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x50
pop rbx
ret

Function at 0x140014d00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
call fcn.14000fc40
test eax, eax
je 0x140014d77
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.QuietFan
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140014d6c
cmp dword [rsp + 0x3c], 3
cmovbe ebx, dword [rsp + 0x3c]
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 + 0x40]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x50
pop rbx
ret
Function at 0x140014ea0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x470
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
xor ebx, ebx
call fcn.14001c070
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x140014fcf
xor edx, edx
mov qword [rsp + 0x488], rdi
mov r8d, 0x208
lea rcx, [rsp + 0x250]
call fcn.14001c070
lea r9, [rsp + 0x40]
mov edx, 0x104
lea r8, str._sShell32.dll
lea rcx, [rsp + 0x250]
call fcn.14000afd0
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140014fa4
lea rdx, str.SHGetKnownFolderPath
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x140014f9b
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
lea rcx, [0x140033930]
xor edx, edx
call qword [0x1400335f0]
test eax, eax
jne 0x140014f8b
mov r8, qword [rsp + 0x30]
mov edx, 0x104
mov rcx, rsi
call fcn.14001f62c
mov ebx, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140014f9b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov rdi, qword [rsp + 0x488]
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x490]
add rsp, 0x470
pop rsi
ret
mov eax, ebx
jmp 0x140014fae
Function at 0x140014fe0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x278
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r15d, r15d
mov r14, rdx
mov rbp, rcx
mov ebx, r15d
test rcx, rcx
je 0x140015110
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], r15
lea r9d, [r15 + 8]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.ActivatableClassesPackage
mov rcx, 0xffffffff80000000
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015101
mov qword [rsp + 0x2b0], rsi
mov edx, 0x104
mov qword [rsp + 0x2b8], rdi
mov rcx, rbp
mov qword [rsp + 0x270], r12
call fcn.14001fb98
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
mov rsi, rax
mov edi, r15d
call fcn.14001c070
mov dword [rsp + 0x48], 0x104
lea r12d, [r15 + 1]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov edx, edi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400150e9
cmp esi, dword [rsp + 0x48]
ja 0x1400150db
mov r8d, esi
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.14001fd60
test eax, eax
cmove ebx, r12d
inc edi
mov dword [rsp + 0x48], 0x104
test ebx, ebx
je 0x140015090
mov rdi, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x14001511f
test r14, r14
je 0x14001511f
mov rcx, r14
call fcn.140015350
jmp 0x140015121
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x278
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x1400153d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, r8
mov qword [rsp + 0x30], 0
mov rbx, rdx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
call fcn.14001c070
lea r9, str.SOFTWAREClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelSystemAppData
mov qword [rsp + 0x20], rbx
lea r8, str._s_sSchemas
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14000afd0
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400154ef
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x250]
mov dword [rsp + 0x38], 0x208
mov ebx, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x3c], ebx
lea rdx, str.PackageFullName
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400154de
lea r8, [rsp + 0x250]
mov edx, 0x104
mov rcx, rdi
call fcn.14001f62c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400154f1
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400154f1
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001a990
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret