joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007f50
Capabilities:
Delete registry value
Set 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, 0x80
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14b, dl
mov rbx, rcx
call fcn.140009730
test eax, eax
jne 0x140007f91
mov eax, 0x80004005
jmp 0x1400080e9
mov rcx, qword [0x140053fe0]
lea rax, [0x1400351b8]
mov edx, 0x65
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
lea rdi, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
lea r9, [rbp - 0x28]
mov qword [rbp - 0x20], rdi
movdqu xmmword [rbp - 0x18], xmm0
lea r8d, [rdx - 0x64]
call fcn.140009b94
test eax, eax
js 0x1400080e9
and dword [rbp - 0x34], 0
lea r8, str.AppID
and qword [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
and dword [rbp - 0x38], 0
mov r9d, 0x20006
and qword [rbp - 0x30], 0
mov rdx, 0xffffffff80000000
call fcn.140006bb8
test eax, eax
je 0x140008011
mov ecx, eax
call fcn.140003930
mov ebx, eax
jmp 0x1400080d6
and qword [rsp + 0x38], 0
lea rcx, [rbp - 0x28]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov rdx, qword [rbp - 0x40]
mov r8, rdi
and dword [rbp - 0x1c], 0
and qword [rbp - 0x28], 0
and dword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
call fcn.140004a2c
mov rdi, qword [rbp - 0x28]
test eax, eax
je 0x140008062
mov ecx, eax
call fcn.140003930
mov ebx, eax
jmp 0x1400080c8
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14b, r14b
je 0x1400080c6
lea r14, [rbx + 0x68]
test r14, r14
je 0x1400080b3
mov rcx, r14
call fcn.140019654
mov r9d, 1
lea rdx, str.LocalService
mov rcx, rdi
lea r8d, [rax*2 + 2]
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call fcn.140006018
test eax, eax
jne 0x1400080c6
mov ebx, 0x80004005
jmp 0x1400080c8
xor ebx, ebx
test rdi, rdi
je 0x1400080d6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x40], 0
je 0x1400080e7
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013e00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000831c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.140016010
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400083bb
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400083bb
call fcn.140003910
mov ebx, eax
jmp 0x1400084c6
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400083dc
call fcn.140003910
jmp 0x1400084b5
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400083d2
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140008417
mov ebx, 0x8007000e
jmp 0x1400084b7
mov ecx, eax
test eax, eax
je 0x140008449
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400084fe
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140008449
lea rcx, [rsp + 0x70]
call fcn.140003420
jmp 0x140008453
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140008465
cmp qword [rsp + 0x70], rdi
je 0x14000840d
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400083d2
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140008110
mov ebx, eax
test rsi, rsi
je 0x1400084c6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400084dd
lea rcx, [rsp + 0x70]
call fcn.140005008
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140013e00
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140004454
int3
Function at 0x140009084
Capabilities:
Set registry value

Disassembly:
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, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jne 0x1400090b2
lea eax, [rbx + 0xd]
jmp 0x1400090e7
mov rsi, rdi
mov rcx, rsi
call fcn.140019654
inc eax
lea rsi, [rsi + rax*2]
lea ebx, [rbx + rax*2]
cmp eax, 1
jne 0x1400090b5
mov rcx, qword [r14]
lea r9d, [rax + 6]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140009404
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140009475
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400069c0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140009472
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x50], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013e00
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400094d8
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ebx, edx
xor ecx, ecx
xor edx, edx
lea r8d, [rdx + 0x24]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
xorps xmm0, xmm0
mov rdi, rax
xor eax, eax
mov dword [rbp - 0x18], eax
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rbp - 0x40], 0
mov esi, eax
test rdi, rdi
je 0x140009693
cmp ebx, 1
jne 0x140009547
lea rdx, [0x1400362b8]
jmp 0x140009557
cmp ebx, 2
jne 0x14000968a
lea rdx, [0x1400540e8]
mov r8d, 0x10024
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000968a
lea rax, [rbp - 0x40]
mov r9d, 0x24
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140009681
cmp dword [rbp - 0x34], 3
jne 0x14000960a
mov r12d, 0x2710
mov eax, 0xcccccccd
mul dword [rbp - 0x20]
shr edx, 3
cmp edx, 0x3e8
jae 0x1400095be
mov edx, 0x3e8
jmp 0x1400095c5
cmp edx, r12d
cmova edx, r12d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x40]
mov r9d, 0x24
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000960a
cmp dword [rbp - 0x34], 1
je 0x14000960a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
ja 0x14000960a
cmp dword [rbp - 0x34], 3
je 0x1400095a4
lea r8, [rbp - 0x38]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140009670
cmp dword [rbp - 0x34], 1
je 0x140009678
mov ecx, dword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp - 0x40]
mov r9d, 0x24
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140009670
cmp dword [rbp - 0x34], 1
je 0x140009678
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
ja 0x140009670
mov eax, dword [rbp - 0x34]
cmp eax, 1
jne 0x140009626
jmp 0x140009673
mov eax, dword [rbp - 0x34]
cmp eax, 1
jne 0x140009681
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140013e00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140009a64
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rbp - 0x10], rax
call fcn.140009730
test eax, eax
jne 0x140009a95
mov eax, 0x80004005
jmp 0x140009b76
and dword [rbp - 0x3c], 0
lea r8, str.AppID
and qword [rbp - 0x48], 0
lea rcx, [rbp - 0x48]
and dword [rbp - 0x40], 0
mov edi, 0x20006
and qword [rbp - 0x38], 0
mov r9d, edi
mov rdx, 0xffffffff80000000
call fcn.140006bb8
test eax, eax
je 0x140009ad8
mov ecx, eax
call fcn.140003930
mov edi, eax
jmp 0x140009b63
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x60]
and dword [rbp - 0x54], 0
mov r9d, edi
and qword [rbp - 0x60], 0
lea rdi, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
and dword [rbp - 0x58], 0
mov r8, rdi
and qword [rbp - 0x50], 0
call fcn.140006bb8
test eax, eax
je 0x140009b11
mov ecx, eax
call fcn.140003930
jmp 0x140009b50
mov rcx, qword [rbp - 0x60]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x140053fe0]
lea rax, [0x1400351b8]
xor r8d, r8d
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
mov qword [rbp - 0x28], rdi
lea r9, [rbp - 0x30]
movdqu xmmword [rbp - 0x20], xmm0
lea edx, [r8 + 0x65]
call fcn.140009b94
cmp qword [rbp - 0x60], 0
mov edi, eax
je 0x140009b63
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x48], 0
je 0x140009b74
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140013e00
mov rdi, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret

Function at 0x140009f5c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x140053fc4], 0
mov edi, edx
mov rbx, rcx
je 0x140009f79
or eax, 0xffffffff
jmp 0x140009fc1
and dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
call fcn.140006db4
cmp al, 1
jne 0x140009fa6
mov edx, edi
mov rcx, rbx
call fcn.140009244
mov edi, eax
jmp 0x140009faa
mov edi, dword [rsp + 0x40]
cmp dword [rbx + 0x28c], 0
jne 0x140009fbf
cmp byte [rbx + 0x62], 0
je 0x140009fbf
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b004
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x400
mov edx, ebp
lea rcx, [0x140056c20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, ebp
lea rdx, [0x140056420]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [0x140056420]
call fcn.140016fd4
xor esi, esi
test rax, rax
je 0x14000b05c
mov word [rax], si
lea rdi, [0x140057420]
mov rdx, rbp
mov rcx, rdi
lea r8, [0x140056c20]
call fcn.140019508
mov edx, 0x5c
mov rcx, rdi
call fcn.140016f58
test rax, rax
je 0x14000b0e6
sub rax, rdi
sar rax, 1
inc eax
add rax, rax
cmp rax, 0x800
jae 0x14000b103
lea r8, str.Intel
mov word [rax + rdi], si
mov rdx, rbp
mov rcx, rdi
call fcn.140019488
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.GfxCPLBatchFiles
mov rdx, rbp
mov rcx, rdi
call fcn.140019488
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.14000ec68
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.1400140d4
int3

Function at 0x14000be2c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x60], rax
and qword [r11 - 0x40], 0
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCplsigfxcpl.cpl
and dword [rsp + 0x4c], 0
lea rcx, [r11 - 0x38]
and qword [r11 - 0x48], 0
xor r9d, r9d
and qword [r11 - 0x38], 0
mov rdx, 0xffffffff80000002
and dword [rsp + 0x48], 0
and qword [r11 - 0x28], 0
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call fcn.140004a2c
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000becc
and dword [rsp + 0x58], eax
lea r9d, [rax + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RunLevel
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp qword [rsp + 0x40], 0
je 0x14000bed7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
test rcx, rcx
je 0x14000bed7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013e00
add rsp, 0x78
ret
Function at 0x14000beec
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [r11 - 0x20], r8d
lea rax, [r11 - 0x28]
and qword [r11 - 0x28], 0
mov rdi, rdx
mov rdx, rcx
mov qword [r11 - 0x58], rax
mov rbx, rcx
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000bf74
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rdx, rbx
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000bfaa
mov r9d, 4
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013e00
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x14000c6b4
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x58], rax
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov rdx, rcx
mov rbx, r8
mov rdi, rcx
mov r9d, 0xf003f
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c73a
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rdx, rdi
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp qword [rsp + 0x50], 0
je 0x14000c77d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140013e00
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000d97c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rcx, [0x140036580]
xor r8d, r8d
xor edx, edx
lea r9d, [rbx + 2]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000da7e
mov dword [rsp + 0x40], 0x20
mov ebp, ebx
xor edx, edx
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000da75
cmp ebp, 0x20
ja 0x14000da75
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], 2
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rsi, rax
test rax, rax
je 0x14000da69
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CUINotRequired
mov dword [rsp + 0x34], ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000da72
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
mov edx, ebp
jmp 0x14000d9d0
mov rbx, rsi
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013e00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000daa4
Capabilities:
Get common file path
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1028]
mov eax, 0x1120
call fcn.1400142a0
sub rsp, rax
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rbp + 0x1010], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x8c8
xor ebx, ebx
call fcn.140016010
xor edx, edx
lea rcx, [rbp + 0x810]
mov r8d, 0x800
call fcn.140016010
mov edx, 0x400
lea rcx, [rbp + 0x810]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 0x464
lea r8, [rbp + 0x810]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140019508
lea r8, [0x140036b50]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140019488
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 3]
call sub.VERSION.dll_GetFileVersionInfoSizeExW
mov edx, eax
lea ecx, [rbx + 0x40]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14000dbac
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 3]
call sub.VERSION.dll_GetFileVersionInfoExW
lea r9, [rsp + 0x3c]
mov rcx, rdi
lea r8, [rsp + 0x30]
lea rdx, [0x140036b48]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000dba3
mov rax, qword [rsp + 0x30]
movzx ebx, word [rax + 0x16]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.140013e00
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x14000dbe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov esi, 1
lea rcx, [0x140036580]
xor r8d, r8d
xor edx, edx
lea r9d, [rsi + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000dcd6
mov dword [rsp + 0x40], 0x20
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000dccd
mov dword [rsp + 0x28], 0x20019
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov r8d, esi
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rdi, rax
test rax, rax
je 0x14000dc2e
and dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x34]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.CUINotRequired
mov dword [rsp + 0x30], 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
test eax, eax
je 0x14000dcc5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000dc2e
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013e00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000dcf8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x260
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call fcn.14000520c
mov rsi, rax
test rax, rax
jne 0x14000dd32
lea ebx, [rax + 1]
jmp 0x14000ddb3
xor edx, edx
mov dword [rsp + 0x34], 1
mov r8d, 0x208
mov dword [rsp + 0x30], 0x104
lea rcx, [rsp + 0x40]
call fcn.140016010
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.Version
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ddaa
lea rdx, str.3.0.0.0
lea rcx, [rsp + 0x40]
call fcn.14001b220
test eax, eax
jne 0x14000dda5
call fcn.14000daa4
cmp eax, 0x3fab
jae 0x14000ddaa
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140013e00
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rsi
ret
Function at 0x14000e2a8
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.140016010
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x140055bb0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000e344
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140013e00
add rsp, 0xf8
ret