joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007330
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140039240]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, dword [rcx + 0x10]
mov qword [rbp + 7], r8
test eax, eax
jne 0x140007366
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
jmp 0x1400074a8
cmp eax, 1
jne 0x140007390
mov rcx, qword [rcx + 8]
xor r8d, r8d
mov qword [rsp + 0x28], r9
lea r9, [rbp + 7]
mov qword [rsp + 0x20], 8
call sub.ntdll.dll_NtQueryVirtualMemory
cdqe
jmp 0x1400074a8
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xa0], rdi
cmp eax, 2
jne 0x140007496
mov eax, dword [rcx]
xor edi, edi
mov dword [rbp + 0xf], eax
mov eax, edi
mov qword [rbp + 0x17], rdx
mov edx, 0x203
mov dword [rbp + 0x2f], edi
mov word [rbp - 1], di
mov qword [rbp + 0x1f], r8
mov qword [rbp + 0x27], r9
mov dword [rbp - 0x19], 0x258025f
mov dword [rbp - 0x15], 0x25a022b
mov dword [rbp - 0x11], 0x2310263
mov dword [rbp - 0xd], 0x23f0239
mov dword [rbp - 9], 0x23a0269
mov dword [rbp - 5], 0x23d023a
mov byte [rbp + 1], 1
nop dword [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x19], cx
inc rax
cmp rax, 0xc
jb 0x140007400
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x19]
xor edx, edx
mov byte [rbp + 1], dil
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007496
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x2f]
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0xf]
lea rax, [rbp + 0xf]
mov dword [rsp + 0x28], 0x20
mov r9d, 0x20
mov qword [rsp + 0x20], rax
mov edx, 0x22241c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x1f]
mov rcx, qword [rax]
mov rax, qword [rbp + 7]
mov qword [rax], rcx
mov rax, qword [rbp + 0x27]
jmp 0x140007498
xor eax, eax
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140007f10
add rsp, 0xb0
pop rbp
ret

Function at 0x140007500
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2f], 0
je 0x140007523
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2e
jb 0x140007510
mov byte [rcx + 0x2f], 0
mov rax, rcx
ret

Function at 0x140007530
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x37], 0
je 0x140007553
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 3]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x36
jb 0x140007540
mov byte [rcx + 0x37], 0
mov rax, rcx
ret
Function at 0x140007630
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140039240]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dword [rcx], edx
mov dword [rcx + 0x10], r8d
cmp r8d, 2
jne 0x14000782b
mov qword [rsp + 0xa8], rbx
xor ebx, ebx
mov qword [rbp + 0x2f], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x2f]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400076af
mov rcx, qword [rbp + 0x2f]
lea rax, [rbp + 0x47]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x4b]
mov dword [rbp + 0x47], 4
lea edx, [rbx + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp + 0x4b]
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x1400076be
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140007747
movdqa xmm0, xmmword [str.Nqvrjlyyc_fv2rg5wsupt_zrl_KDPt4xys9]
lea rcx, [rbp + 0x37]
movdqa xmm1, xmmword [0x140029c80]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x37], 0x67716545
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x3b], 0x784c286b
mov dword [rbp + 0x3f], 0x7f6379
mov byte [rbp + 0x43], 1
mov dword [rbp + 0x17], 0x649414d
mov dword [rbp + 0x1b], 0x4f4d474a
mov dword [rbp + 0x1f], 0x5b595f0b
mov dword [rbp + 0x23], 0x1005649
call fcn.140006320
lea rcx, [rbp - 9]
mov rbx, rax
call fcn.140007500
mov rdx, rax
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, dword [0x1400424f4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140041eb0], ecx
jg 0x140007840
xor r9d, r9d
mov qword [rbp + 0x37], 8
lea rdx, [rbp + 0x37]
lea r8d, [r9 + 8]
lea ecx, [r9 + 0x67]
call qword [0x140041ea8]
test eax, eax
js 0x140007799
test byte [rbp + 0x3b], 1
je 0x140007799
mov al, 1
jmp 0x14000779b
xor al, al
test al, al
jne 0x140007823
movdqa xmm0, xmmword [0x140029ca0]
lea rcx, [rbp + 0x37]
movdqa xmm1, xmmword [0x140029c90]
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp + 0x37], 0x67716545
movdqa xmm0, xmmword [0x140029c60]
movdqu xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x3b], 0x784c286b
mov dword [rbp + 0x3f], 0x7f6379
mov byte [rbp + 0x43], 1
movdqu xmmword [rbp + 7], xmm1
mov dword [rbp + 0x27], 0x405c4657
mov dword [rbp + 0x2b], 0x1004a52
call fcn.140006320
lea rcx, [rbp - 9]
mov rbx, rax
call fcn.140007530
mov rdx, rax
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140007f10
add rsp, 0x90
pop rbp
ret
lea rcx, [0x140041eb0]
call fcn.140007f9c
cmp dword [0x140041eb0], 0xffffffff
jne 0x14000776e
lea rcx, [0x140031c80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140041eb0]
mov qword [0x140041ea8], rax
call fcn.140007f30
jmp 0x14000776e
Function at 0x140007890
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x140039240]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [rcx + 0x10], 0
mov rsi, r9
mov r12, qword [rbp + 0x7f]
mov r15, r8
mov r14, rdx
mov rdi, rcx
jne 0x1400078da
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [rdi + 0x10], 1
jne 0x1400078f7
mov rcx, qword [rdi + 8]
mov r9d, esi
mov r8, r15
mov qword [rsp + 0x20], r12
mov rdx, r14
call sub.ntdll.dll_NtReadVirtualMemory
cmp dword [rdi + 0x10], 2
jne 0x1400079ea
mov eax, dword [rdi]
mov edx, 0x203
xor eax, 0x8fea0644
mov dword [rbp - 0x31], 0x258025f
mov dword [rbp - 9], eax
mov eax, 0xfcb3e314
xor r14, rax
mov dword [rbp - 0x2d], 0x25a022b
mov rax, rsi
mov qword [rbp - 1], r14
xor rax, 0x544becbe
mov dword [rbp - 0x29], 0x2310263
xor edi, edi
mov qword [rbp + 7], rax
mov dword [rbp - 0x11], edi
mov eax, edi
mov word [rbp - 0x19], di
mov dword [rbp - 0x25], 0x23f0239
mov dword [rbp - 0x21], 0x23a0269
mov dword [rbp - 0x1d], 0x23d023a
mov byte [rbp - 0x17], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x31], cx
inc rax
cmp rax, 0xc
jb 0x140007970
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x31]
xor edx, edx
mov byte [rbp - 0x17], dil
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400079ea
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 9]
mov dword [rsp + 0x28], esi
mov r9d, 0x18
mov edx, 0x22240e
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140007f10
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140007ca0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x140039240]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [rcx + 0x10], 0
mov rsi, r9
mov r12, qword [rbp + 0x7f]
mov r15, r8
mov r14, rdx
mov rdi, rcx
jne 0x140007cea
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp dword [rdi + 0x10], 1
jne 0x140007d07
mov rcx, qword [rdi + 8]
mov r9d, esi
mov r8, r15
mov qword [rsp + 0x20], r12
mov rdx, r14
call sub.ntdll.dll_NtWriteVirtualMemory
cmp dword [rdi + 0x10], 2
jne 0x140007dfa
mov eax, dword [rdi]
mov edx, 0x203
xor eax, 0x8fea0644
mov dword [rbp - 0x31], 0x258025f
mov dword [rbp - 9], eax
mov eax, 0xfcb3e314
xor r14, rax
mov dword [rbp - 0x2d], 0x25a022b
mov rax, rsi
mov qword [rbp - 1], r14
xor rax, 0x544becbe
mov dword [rbp - 0x29], 0x2310263
xor edi, edi
mov qword [rbp + 7], rax
mov dword [rbp - 0x11], edi
mov eax, edi
mov word [rbp - 0x19], di
mov dword [rbp - 0x25], 0x23f0239
mov dword [rbp - 0x21], 0x23a0269
mov dword [rbp - 0x1d], 0x23d023a
mov byte [rbp - 0x17], 1
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x31], cx
inc rax
cmp rax, 0xc
jb 0x140007d80
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x31]
xor edx, edx
mov byte [rbp - 0x17], dil
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007dfa
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 9]
mov dword [rsp + 0x28], esi
mov r9d, 0x18
mov edx, 0x22240a
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140007f10
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140008c54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008c9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008c9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008c9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008c9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140008c9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008ca0
xor al, al
add rsp, 0x28
ret
Function at 0x140001078
Capabilities:
Get common file path

Disassembly:
jmp 0x1400143d0
push rbx
sub rsp, 0x150
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140002adb
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8025
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x140014425
xor al, al
jmp 0x14001445b
lea rax, str.IBMPMDRV.INF
mov edx, 0x104
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
mov rcx, rbx
call fcn.1400016a9
mov rdx, rbx
lea rcx, str.GetINFPath:__s
call fcn.1400045d9
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x150
pop rbx
ret

Function at 0x14000112c
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400144a0
sub rsp, 0x38
lea rcx, str.ENTER_GetPMDRVInstallStatus__
call fcn.1400045d9
lea rax, [rsp + 0x50]
mov r9d, 0x11
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140014517
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea rdx, str.Owners
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14001451e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x38
ret
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.140002e28
lea rcx, [rsp + 0x40]
mov qword [0x1400b8498], rax
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Owners
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x140014511
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x1400b8498]
call fcn.1400045d4
mov rcx, qword [0x1400b8498]
mov edx, 1
movzx ebx, al
call fcn.140003710
lea rcx, str.EXIT_GetPMDRVInstallStatus__
call fcn.1400045d9
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret

Function at 0x14000113b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14002a860
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400a0cb0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 7
lea r8, [0x1400a0ca8]
call fcn.140029fd4
mov rsi, rax
test rax, rax
je 0x14002a8ac
mov rcx, rax
call fcn.140002716
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14002a8b7
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001168
Capabilities:
Query environment variable

Disassembly:
jmp 0x14006aa6c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x14006ab40
mov rsi, rax
cmp word [rax], r14w
je 0x14006aabf
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14006aaa7
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x14006aaa3
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x14006ab40
mov rcx, rbp
call fcn.140001e88
mov rdi, rax
test rax, rax
je 0x14006ab33
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14006ab33
mov rsi, rdi
mov rdi, r14
jmp 0x14006ab36
mov rsi, r14
mov rcx, rdi
call fcn.1400041fb
jmp 0x14006ab43
mov rsi, r14
test rbx, rbx
je 0x14006ab51
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14000118b
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14001ce50
push rbx
sub rsp, 0x490
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x480], rax
cmp dword [0x1400b81fc], 0
mov rbx, rcx
mov dword [rsp + 0x34], 0
je 0x14001ced6
lea rcx, [rsp + 0x150]
call fcn.140002ebe
lea r8, [rsp + 0x150]
lea rdx, str._sControl_PanelPowerCfg
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x38]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001cef1
xor al, al
jmp 0x14001cf60
lea rdx, str.Control_PanelPowerCfg
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001cead
lea rdx, str.CurrentPowerPolicy
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x370]
mov dword [rsp + 0x30], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001cecf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x370]
call fcn.1400025d6
mov dword [rbx], eax
mov al, 1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x490
pop rbx
ret
Function at 0x1400011bd
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14000b310
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
xor ebx, ebx
mov dword [rax + 0x18], 4
mov rdi, rcx
mov qword [rax - 0x18], rbx
lea rcx, str.Enter_SetIntelligentCoolingCreateSpcialCoolingTimeReg___n
mov dword [rax + 0x20], ebx
mov dword [rax + 0x10], ebx
call fcn.1400045d9
cmp dword [0x1400b81f8], ebx
jne 0x14000b357
lea rcx, str.SetIntelligentCoolingCreateSpcialCoolingTimeReg___does_not_support_system_n
call fcn.1400045d9
jmp 0x14000b450
lea rax, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCICTParameters
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14000b3ae
lea rcx, str.Error_SetIntelligentCoolingCreateSpcialCoolingTimeReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x14000b450
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rdx, str.SPCT
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000b3f3
mov edx, dword [rsp + 0x78]
lea rcx, str.SetIntelligentCoolingCreateSpcialCoolingTimeReg___already_have_than_read_the_value_read_value:__x_n
call fcn.1400045d9
jmp 0x14000b445
mov eax, dword [rsp + 0x80]
lea rdx, str.SPCT
mov rcx, qword [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000b439
mov edx, dword [rsp + 0x78]
lea rcx, str.SetIntelligentCoolingCreateSpcialCoolingTimeReg___Set_Key_value_read_value:__x_n
call fcn.1400045d9
jmp 0x14000b445
lea rcx, str.Error_SetIntelligentCoolingCreateSpcialCoolingTimeReg___Connot_set_value:_n
call fcn.1400045d9
mov eax, dword [rsp + 0x78]
mov ebx, 1
mov dword [rdi], eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b460
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_SetIntelligentCoolingCreateSpcialCoolingTimeReg___n
call fcn.1400045d9
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400012c6
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x140020830
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
lea rcx, str.Enter_CopyTimeStampToPrev___n
call fcn.1400045d9
xor eax, eax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rdx, str.ModeChangeTimeStamp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov byte [rsp + 0x50], al
mov rcx, rdi
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002090a
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x38]
mov rcx, rdi
lea rdx, str.ModeChangeTimeStamp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002090a
mov eax, dword [rsp + 0x30]
lea rdx, str.PrevTimeStamp
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x78], rsi
mov esi, 1
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
cmove ebx, esi
mov rsi, qword [rsp + 0x78]
lea rcx, str.Exit_CopyTimeStampToPrev___n
call fcn.1400045d9
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400013cf
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14002a7f4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400a0c90]
mov ecx, 6
lea r8, [0x1400a0c88]
lea rdx, str.FlsGetValue
call fcn.140029fd4
mov rdi, rax
test rax, rax
je 0x14002a835
mov rcx, rax
call fcn.140002716
mov ecx, ebx
call rdi
jmp 0x14002a83d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001668
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14001c2e0
cmp ecx, 1
jb 0x14001c3cc
push rbx
sub rsp, 0x30
mov ebx, ecx
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCParameters2Type20Notification
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001c3c7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Type22
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001c3bc
mov eax, dword [rsp + 0x40]
lea ecx, [rbx - 1]
mov edx, 1
shl edx, cl
test eax, edx
je 0x14001c379
not edx
and eax, edx
jmp 0x14001c37b
or eax, edx
mov rcx, qword [rsp + 0x58]
lea rdx, str.Type22
mov dword [rsp + 0x40], eax
mov r9d, 4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret

Function at 0x140001672
Capabilities:
Set registry value

Disassembly:
jmp 0x140021600
push rbx
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
lea rcx, str.Enter_UpdateTimeStampRegValue___n
call fcn.1400045d9
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], al
call fcn.1400012c6
mov edx, 0x19
lea rcx, [rsp + 0x30]
call fcn.140002f63
mov edx, 0x19
lea rcx, [rsp + 0x30]
call fcn.140003f58
mov dword [rsp + 0x28], eax
lea rdx, str.ModeChangeTimeStamp
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.Exit_UpdateTimeStampRegValue___n
mov ebx, eax
call fcn.1400045d9
xor eax, eax
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x60
pop rbx
ret
Function at 0x14000167c
Capabilities:
Set registry value

Disassembly:
jmp 0x14001d480
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rdi, rcx
cmp dword [0x1400b81fc], esi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x50], esi
lea ebx, [rsi + 1]
je 0x14001d50f
lea rdx, str..DEFAULTControl_PanelPowerCfgGlobalPowerPolicy
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000003
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001d525
xor al, al
jmp 0x14001d576
lea rdx, str.Control_PanelPowerCfgGlobalPowerPolicy
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d4d1
lea rdx, str.Policies
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x170]
mov r9d, 3
mov dword [rsp + 0x28], 0xb0
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140003e09
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret