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

Disassembly:
jmp 0x140015b60
push rbx
push rdi
sub rsp, 0x178
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], r9d
mov rdi, r8
mov r9, rcx
mov dword [rsp + 0x38], 0
mov rbx, rdx
lea rcx, [rsp + 0x50]
lea r8, str.IWTPAUTO.PMHELPER
lea rdx, str._s_s
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140015c08
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140015c08
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x178
pop rdi
pop rbx
ret

Function at 0x140003058
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14002a71c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x1400a0c50]
mov ecx, 4
lea r8, [0x1400a0c48]
lea rdx, str.FlsAlloc
call fcn.140029fd4
mov rbx, rax
test rax, rax
je 0x14002a75f
mov rcx, rax
call fcn.140002716
mov rcx, rdi
call rbx
jmp 0x14002a765
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000306c
Capabilities:
Read file on windows

Disassembly:
jmp 0x140018dd0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov r14, rcx
lea rcx, [0x14009a4e0]
mov byte [rsp + 0x68], bl
mov esi, ebx
mov dword [rsp + 0x70], ebx
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x140018e73
mov rdx, rax
lea rcx, str.GetSystemTransformation:_DevicePath____ws__n
call fcn.1400045d9
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140018e73
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 1]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test eax, eax
je 0x140018e73
movzx eax, byte [rsp + 0x68]
lea edi, [rbx + 1]
mov dword [r14], eax
jmp 0x140018e7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140018e91
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400030df
Capabilities:
Read file on windows

Disassembly:
jmp 0x140018bd0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov r14, rcx
lea rcx, [0x14009a4f8]
mov byte [rsp + 0x68], bl
mov esi, ebx
mov dword [rsp + 0x70], ebx
mov edi, ebx
call fcn.140003030
mov rbp, rax
test rax, rax
je 0x140018c73
mov rdx, rax
lea rcx, str.GetSystemDockingTransformation:_DevicePath____ws__n
call fcn.1400045d9
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140018c73
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 1]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test eax, eax
je 0x140018c73
movzx eax, byte [rsp + 0x68]
lea edi, [rbx + 1]
mov dword [r14], eax
jmp 0x140018c7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140018c91
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400034bd
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400644d0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400a3f28]
mov ecx, 5
lea r8, [0x1400a3f20]
lea rdx, str.FlsGetValue
call fcn.140063d00
mov rdi, rax
test rax, rax
je 0x140064512
mov rcx, rax
call qword [section..00cfg]
mov ecx, ebx
call rdi
jmp 0x14006451a
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003599
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x14001dbf0
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCStatus
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001dc50
mov rcx, qword [rsp + 0x48]
lea rdx, str.LastSystemTransformation
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
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001dc60
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x38
ret
Function at 0x140003738
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14006453c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400a3f38]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1400a3f30]
call fcn.140063d00
mov rsi, rax
test rax, rax
je 0x140064589
mov rcx, rax
call qword [section..00cfg]
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x140064594
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 0x14000374c
Capabilities:
Set registry value

Disassembly:
jmp 0x14001df00
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001df67
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov ebx, 1
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x40], ebx
lea rdx, str.Enable
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001df77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000377e
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400238a4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140002adb
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1400a0300]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140001609
test eax, eax
jne 0x14002393b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002393b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140023934
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1400b8319], 1
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003800
Capabilities:
Shutdown system

Disassembly:
jmp 0x14001c110
sub rsp, 0x58
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [0x1400b81fc], 0
jne 0x14001c149
xor edx, edx
lea ecx, [rdx + 5]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x58
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001c178
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x58
ret
lea r8, [rsp + 0x3c]
mov qword [rsp + 0x50], rbx
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor ebx, ebx
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001c1d0
xor eax, eax
jmp 0x14001c1e2
xor edx, edx
lea ecx, [rdx + 0xc]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x58
ret

Function at 0x14000388c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400643f8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x1400a3f08]
mov ecx, 3
lea r8, [0x1400a3f00]
lea rdx, str.FlsAlloc
call fcn.140063d00
mov rbx, rax
test rax, rax
je 0x14006443c
mov rcx, rax
call qword [section..00cfg]
mov rcx, rdi
call rbx
jmp 0x140064442
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000399a
Capabilities:
Persist via windows service
Set registry value

Disassembly:
jmp 0x140011b20
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rcx, str.Enter_SetIntelligentCoolingCurrentStatus___n
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x68], ebx
call fcn.1400045d9
cmp dword [0x1400b81f8], ebx
jne 0x140011b59
lea rcx, str.GetIntelligentCoolingCurrentStatus___does_not_support_n
call fcn.1400045d9
jmp 0x140011c1c
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCICTParameters
lea rax, [rsp + 0x70]
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 0x140011baa
lea rcx, str.Error_SetIntelligentCoolingCurrentStatus_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x140011c1c
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rdx, str.CurrentSetting
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140011be9
lea rcx, str.Error_SetIntelligentCoolingCurrentStatus_RegSetValueEx_error____n
call fcn.1400045d9
jmp 0x140011c1c
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140011c09
cmp eax, 1
jne 0x140011c1c
lea rcx, str.SetIntelligentCoolingSetCurrentStatusToReg___Mode_Enable_n
call fcn.1400045d9
call fcn.140001988
jmp 0x140011c1a
lea rcx, str.SetIntelligentCoolingSetCurrentStatusToReg___Set_System_settings_Nominal_n
call fcn.1400045d9
call fcn.140003b84
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140011c2c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.SetIntelligentCoolingCurrentStatus___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x140003a12
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140018ce0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x30]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAutoRotation
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140018d82
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Enable
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140018d82
mov eax, dword [rsp + 0x68]
and eax, 1
je 0x140018d7b
cmp eax, 1
jne 0x140018d7d
mov dword [rdi], eax
jmp 0x140018d7d
mov dword [rdi], ebx
mov ebx, 1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140018d92
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140003a1c
Capabilities:
Check mutex on windows
Check os version

Disassembly:
jmp 0x14000a610
push rbx
sub rsp, 0xf0
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, r8
mov qword [0x1400b8248], rcx
mov r8d, 0x94
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.140002adb
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000a7bb
mov edx, dword [rsp + 0x50]
xor eax, eax
mov ecx, dword [rsp + 0x44]
cmp edx, 2
mov dword [0x1400b8200], 0
mov r8d, 1
sete al
mov dword [0x1400b81fc], eax
test eax, eax
je 0x14000a69b
xor eax, eax
cmp ecx, 5
cmova eax, r8d
mov dword [0x1400b8200], eax
cmp edx, r8d
jne 0x14000a6ba
cmp ecx, 4
jne 0x14000a6ba
mov eax, dword [0x1400b8204]
cmp dword [rsp + 0x48], 0xa
cmove eax, r8d
mov dword [0x1400b8204], eax
call fcn.1400028e7
test eax, eax
jne 0x14000a6d4
lea rcx, str.Does_not_have_PM_Driver_Device_node._n
call fcn.1400045d9
jmp 0x14000a7bb
cmp byte [rbx], 0
je 0x14000a786
mov rdx, rbx
lea rcx, str.Cmd_Line__s_n
call fcn.1400045d9
lea rdx, str._install
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000a70a
call fcn.1400046bf
jmp 0x14000a7bb
lea rdx, str._remove
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000a728
call fcn.14000300d
jmp 0x14000a7bb
lea rdx, str._helper
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000a786
lea r8, str.HELPERMUTEX
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000a77b
cmp dword [0x1400b81fc], 0
je 0x14000a776
call fcn.140001db6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a7bb
call fcn.140003d96
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a7bb
lea rax, [0x140088268]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
lea rax, [0x140001dcf]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140003e09
add rsp, 0xf0
pop rbx
ret
Function at 0x140003ab2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x1400213a0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, str.Enter_UpdatePrevMultimode__._n
call fcn.1400045d9
xor eax, eax
lea r9, [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], ax
lea rdx, [0x14009f60c]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14002140f
xor eax, eax
jmp 0x1400214a0
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x14009f60c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140021408
mov ecx, dword [rsp + 0x30]
lea r8d, [rax + 0xa]
lea rdx, [rsp + 0x40]
call fcn.140001181
mov edx, 0xa
lea rcx, [rsp + 0x40]
call fcn.140003f58
mov dword [rsp + 0x28], eax
lea rdx, str.PrevMode
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140021408
lea rcx, str.Exit_UpdatePrevMultimode__._n
call fcn.1400045d9
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003e09
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140003b16
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14001ea20
push r12
push r14
push r15
mov eax, 0x6200
call fcn.1400034e0
sub rsp, rax
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x61d0], rax
mov qword [rsp + 0x61f0], rbp
xor r12d, r12d
mov qword [rsp + 0x61e8], rsi
mov r15, r8
mov rsi, rdx
mov qword [rsp + 0x61e0], rdi
movzx edi, byte [rdx + 1]
mov r14d, ecx
mov ebp, r12d
movzx edx, byte [rdi + rdx + 1]
movzx eax, byte [rdi + rsi]
add edx, eax
je 0x14001eadf
mov qword [rsp + 0x61f8], rbx
mov ebx, edi
movsxd rcx, edi
cmp byte [rbx + rsi], r12b
je 0x14001ea9b
inc rbx
inc edi
cmp byte [rbx + rsi], r12b
jne 0x14001ea90
mov eax, edi
inc rbx
sub eax, ecx
inc edi
test eax, eax
jle 0x14001eac8
inc eax
lea rdx, [rsi + rcx]
movsxd r8, eax
movsxd rax, ebp
imul rcx, rax, 0x3e8
lea rax, [rsp + 0x20]
add rcx, rax
call fcn.140002ee1
movzx ecx, byte [rsi + rbx + 1]
inc ebp
movzx eax, byte [rbx + rsi]
add ecx, eax
jne 0x14001ea87
mov rbx, qword [rsp + 0x61f8]
mov rdi, qword [rsp + 0x61e0]
dec r14d
mov rsi, qword [rsp + 0x61e8]
cmp r14d, ebp
mov rbp, qword [rsp + 0x61f0]
jle 0x14001eb05
mov word [r15], r12w
jmp 0x14001eb25
movsxd rax, r14d
mov r8d, 0x7d0
imul rdx, rax, 0x3e8
lea rax, [rsp + 0x20]
mov rcx, r15
add rdx, rax
call fcn.1400043f4
mov rcx, qword [rsp + 0x61d0]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x6200
pop r15
pop r14
pop r12
ret

Function at 0x140003c65
Capabilities:
Parse pe header

Disassembly:
jmp 0x140056f94
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140056bfc
Function at 0x140003d00
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14000b020
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov dword [rax + 0x18], 4
xor ebx, ebx
mov dword [rax + 0x10], 0x14
lea rcx, str.Enter_IntelligentCoolingCreateInitTimeFromReg___n
mov qword [rax - 0x18], rbx
mov dword [rax + 0x20], ebx
call fcn.1400045d9
cmp dword [0x1400b81f8], ebx
jne 0x14000b06b
lea rcx, str.IntelligentCoolingCreateInitTimeFromReg___does_not_support_system_n
call fcn.1400045d9
jmp 0x14000b164
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 0x14000b0c2
lea rcx, str.Error_IntelligentCoolingCreateInitTimeFromReg_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x14000b164
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rdx, str.INIT
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 0x14000b107
mov edx, dword [rsp + 0x78]
lea rcx, str.IntelligentCoolingCreateInitTimeFromReg___already_have_than_read_the_value_read_value:__x_n
call fcn.1400045d9
jmp 0x14000b159
mov eax, dword [rsp + 0x80]
lea rdx, str.INIT
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 0x14000b14d
mov edx, dword [rsp + 0x78]
lea rcx, str.IntelligentCoolingCreateInitTimeFromReg___Set_Key_value_read_value:__x_n
call fcn.1400045d9
jmp 0x14000b159
lea rcx, str.Error_IntelligentCoolingCreateInitTimeFromReg___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 0x14000b174
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.Exit_IntelligentCoolingCreateInitTimeFromReg___n
call fcn.1400045d9
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140003e36
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400171f0
sub rsp, 0x48
call fcn.140003828
test al, al
je 0x140017207
mov eax, 1
add rsp, 0x48
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov dword [rsp + 0x68], 1
mov r9d, 0x20019
mov dword [rsp + 0x58], ebx
xor r8d, r8d
mov dword [rsp + 0x60], ebx
lea rdx, str.SoftwareIBMIBMPM
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140017292
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x60], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HibFileCreation
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x68], ebx
jne 0x1400172a4
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
xor r9d, r9d
mov byte [rsp + 0x50], 1
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x20], ebx
lea r8d, [r9 + 1]
lea ecx, [r9 + 0xa]
call fcn.14000382d
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x140003f35
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14001cfd0
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 0x14001d056
lea rcx, [rsp + 0x150]
call fcn.140002ebe
lea r8, [rsp + 0x150]
lea rdx, str._sControl_PanelPowerCfgGlobalPowerPolicy
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 0x14001d071
xor al, al
jmp 0x14001d13b
lea rdx, str.Control_PanelPowerCfgGlobalPowerPolicy
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, 0xffffffff80000001
jmp 0x14001d02d
lea rdx, str.Policies
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 0x14001d04f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x370]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
sub rax, 0xffffffffffffff80
movups xmmword [rbx + 0x70], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbx + 0x80], xmm1
movups xmm1, xmmword [rax + 0x20]
mov al, 1
movups xmmword [rbx + 0x90], xmm0
movups xmmword [rbx + 0xa0], xmm1
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x490
pop rbx
ret