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

Disassembly:
jmp 0x14000aa70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
mov dword [rsp + 0x70], 4
xor ebx, ebx
lea rcx, str.Enter_GetIntelligentCoolingGetCurrentSettingsStatusFromReg___n
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x68], ebx
call fcn.1400045d9
cmp dword [0x1400b81f8], ebx
jne 0x14000aab5
lea rcx, str.GetIntelligentCoolingCurrentStatus___does_not_support_n
call fcn.1400045d9
jmp 0x14000ab40
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesIBMPMSVCICTParameters
lea rax, [rsp + 0x78]
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 0x14000ab06
lea rcx, str.Error_SetIntelligentCoolingCurrentStatus_RegCreateKeyEx_error____n
call fcn.1400045d9
jmp 0x14000ab40
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.CurrentSetting
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rdi]
lea rcx, str.SetIntelligentCoolingCurrentStatus__:_0x_08x____n
call fcn.1400045d9
mov ebx, 1
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000ab50
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.GetIntelligentCoolingCurrentStatus___n
call fcn.1400045d9
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14000b020
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 0x14000b1f0
Capabilities:
Create thread

Disassembly:
jmp 0x14000b1f0
push rbx
sub rsp, 0x30
xor ebx, ebx
lea rcx, str.Enter_IntelligentCoolingCreateInitilizeWorkerThread___n
mov dword [rsp + 0x40], ebx
call fcn.1400045d9
cmp qword [0x1400b82e0], rbx
je 0x14000b224
mov rdx, qword [0x1400b82a8]
lea rcx, str.Error_IntelligentCoolingCreateWorkerThread_aready_have_0x_08x___n
call fcn.1400045d9
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400b82e8], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1400b82f0], rax
xor r9d, r9d
lea r8, [0x1400033e1]
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [rsp + 0x40]
lea rcx, str.IntelligentCoolingCreateWorkerThread___dwThreadId_0x_08x___n
mov qword [0x1400b82e0], rax
call fcn.1400045d9
mov rcx, qword [0x1400b82e8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp qword [0x1400b82e0], rbx
jne 0x14000b2b3
lea rcx, str.Error_IntelligentCoolingCreateWorkerThread_create_thread_error._n
call fcn.1400045d9
jmp 0x14000b2b8
mov ebx, 1
lea rcx, str.Exit_IntelligentCoolingCreateInitilizeWorkerThread___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000b310
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 0x14000b4e0
Capabilities:
Create thread

Disassembly:
jmp 0x14000b4e0
push rbx
sub rsp, 0x30
mov rdx, qword [0x1400b82a8]
xor ebx, ebx
test rdx, rdx
je 0x14000b500
lea rcx, str.Error_IntelligentCoolingCreateWorkerThread_aready_have_0x_08x___n
call fcn.1400045d9
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400b82b0], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400b82b8], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400b82c0], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400b82c8], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1400b82d0], rax
xor r9d, r9d
lea r8, [0x140001762]
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [rsp + 0x40]
lea rcx, str.IntelligentCoolingCreateWorkerThread___dwThreadId_0x_08x___n
mov qword [0x1400b82a8], rax
call fcn.1400045d9
mov rcx, qword [0x1400b82b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp qword [0x1400b82a8], rbx
jne 0x14000b5da
lea rcx, str.Error_IntelligentCoolingCreateWorkerThread_create_thread_error._n
call fcn.1400045d9
jmp 0x14000b5df
mov ebx, 1
lea rcx, str.Exit_SetIntelligentCoolingCreateWorkerThread___n
call fcn.1400045d9
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140011b20
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 0x140013c80
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
jmp 0x140013c80
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, rcx
lea rcx, str.ENTER_CreateINF__
call fcn.1400045d9
mov edx, 0x69
xor ecx, ecx
lea r8d, [rdx - 0x5f]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x140013cd3
xor al, al
jmp 0x140013e55
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140013ccc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140013ccc
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x140013ccc
lea rcx, [rsp + 0x50]
call fcn.140001893
nop
lea rcx, [rsp + 0x50]
call fcn.1400030e9
test al, al
je 0x140013e2f
lea r9, [rsp + 0xa0]
xor r15d, r15d
cmp dword [rsp + 0xa0], r15d
cmove r9, r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140013df5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, str.Create_INF_File_Failed:__d
call fcn.1400045d9
cmp ebx, 0x50
jne 0x140013e2f
lea rcx, str.Delete_previous_INF_file
call fcn.1400045d9
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140013db2
lea rcx, str.Delete_FILE_FAILED.
call fcn.1400045d9
jmp 0x140013e2f
lea r9, [rsp + 0xa0]
cmp dword [rsp + 0xa0], r15d
cmove r9, r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140013e2f
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000124e
lea rcx, str.EXIT_CreateINF__
call fcn.1400045d9
test ebx, ebx
setne bl
jmp 0x140013e31
xor bl, bl
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, bl
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400143d0
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 0x1400144a0
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 0x1400145f0
Capabilities:
Get common file path

Disassembly:
jmp 0x1400145f0
push rbx
sub rsp, 0x150
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rcx, str.ENTER_GetRunDLLPath__
call fcn.1400045d9
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 0x140014651
xor al, al
jmp 0x140014687
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str._s_rundll32.exe
mov rcx, rbx
call fcn.1400016a9
mov rdx, rbx
lea rcx, str.GetRunDLLPath:__s
call fcn.1400045d9
lea rcx, str.EXIT_GetRunDLLPath__
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 0x1400146d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
jmp 0x1400146d0
push rbx
sub rsp, 0x260
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
lea rcx, str.ENTER_IsINFFileExits__
call fcn.1400045d9
cmp byte [rbx], 0
je 0x1400147a8
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, 0x8024
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400147cf
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.140002adb
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea r8, str._sINF_s
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.1400016a9
lea rcx, [rsp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1400147cf
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140014790
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x140014703
lea rcx, str.EXIT_IsINFFileExists__
call fcn.1400045d9
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x260
pop rbx
ret
mov al, 1
jmp 0x1400147b6

Function at 0x1400149a0
Capabilities:
Create process on windows
Self delete

Disassembly:
jmp 0x1400149a0
push rbx
sub rsp, 0x420
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x410], rax
lea rcx, str.ENTER_DeleteServiceFiles__
call fcn.1400045d9
call fcn.140001c49
xor ebx, ebx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove rcx, rbx
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0xe0]
call fcn.140001078
test al, al
je 0x140014ae9
lea rcx, [rsp + 0xe0]
call fcn.140001712
test al, al
je 0x140014ae9
lea rcx, [rsp + 0x300]
call fcn.140002f90
test al, al
je 0x140014ae9
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.140002adb
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x70], 0x68
lea r9, [rsp + 0x300]
mov qword [rsp + 0x20], rax
lea r8, str.__s__setupapi_InstallHinfSection_DefaultUninstall_128__s
mov edx, 0x104
lea rcx, [rsp + 0x1f0]
call fcn.140002725
test eax, eax
js 0x140014ae9
lea rdx, [rsp + 0x1f0]
lea rcx, str.DeleteServiceFiles___CreateProceess:__s
call fcn.1400045d9
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x1f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x300]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140014ae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_Failed__d
call fcn.1400045d9
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014af9
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rcx, str.EXIT_DeleteServiceFiles__
call fcn.1400045d9
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x420
pop rbx
ret
Function at 0x140015b60
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 0x140015e40
Capabilities:
Set registry value

Disassembly:
jmp 0x140015e40
push rbx
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x1400b7010]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov esi, r9d
mov dword [rsp + 0x50], 0
mov r9, rcx
mov rdi, r8
mov rbx, rdx
lea rcx, [rsp + 0x60]
lea r8, str.IWTPAUTO.PMHELPER
lea rdx, str._s_s
call qword [sym.imp.USER32.dll_wsprintfA]
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 rcx, 0xffffffff80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140015f00
mov rcx, qword [rsp + 0x58]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140015f00
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140003e09
add rsp, 0x180
pop rdi
pop rsi
pop rbx
ret