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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov esi, edx
mov rdi, rcx
lea r8, [rsp + 0x38]
lea r14d, [rsi - 2]
lea rdx, str.SoftwareSysinternalsProcess_Explorer
mov rcx, 0xffffffff80000001
lea eax, [r14 + r14]
mov dword [rsp + 0x34], eax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14005f48c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea rbx, [rdi + 2]
mov qword [rsp + 0x28], rax
lea rdx, str.OriginalPath
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005f48c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005f49e
lea rbx, [rdi + 2]
mov r8d, r14d
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx r8d, word [rbx]
lea rdx, [0x1400e67b0]
lea rcx, [rsp + 0x40]
call fcn.14005e8b0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x208
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x14005f4f6
lea r8, [rdi + 4]
lea rcx, [rsp + 0x50]
mov edx, 0x208
call fcn.1400abdb0
lea edx, [rsi - 1]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.1400a97ac
mov eax, 0x22
lea r8, [0x1400d8a30]
mov rdx, rsi
mov rcx, rdi
mov word [rdi], ax
call fcn.1400abdb0
mov rdx, rsi
mov rcx, rdi
call fcn.1400aa3f4
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x470
pop r14
pop rdi
pop rsi
ret

Function at 0x14005f6f0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdi, rdx
mov rbp, rcx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005f7a1
mov ecx, dword [rsp + 0x50]
mov qword [rsp + 0x40], rsi
call fcn.1400a82f0
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005f794
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
mov dword [rsp + 0x50], edi
test eax, eax
je 0x14005f794
mov ecx, edi
add rcx, rcx
call fcn.1400a82f0
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rsi
call fcn.1400a82b0
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005fe70
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
xor edi, edi
mov qword [rsp + 0x38], rbp
mov rbp, rcx
lea r8, [rsp + 0x68]
lea rdx, str.SystemCurrentControlSetControlProductOptions
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14005ff90
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductSuite
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ff90
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14005ff90
lea ecx, [rdi + 0x40]
mov edx, eax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14005ff8b
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductSuite
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ff82
cmp dword [rsp + 0x60], 7
jne 0x14005ff82
mov qword [rsp + 0x50], rbx
mov rbx, rsi
cmp word [rsi], di
je 0x14005ff7d
nop dword [rax + rax]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14005ff78
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rbx, [rbx + rax*2]
cmp word [rbx], di
jne 0x14005ff50
jmp 0x14005ff7d
mov edi, 1
mov rbx, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x38]
test rcx, rcx
je 0x14005ffa5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x140060840
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx esi, cl
lea rcx, [rsp + 0x42]
xor edi, edi
xor edx, edx
mov r8d, 0x40e
mov word [rsp + 0x40], di
call fcn.1400a8b00
lea rcx, [rsp + 0x40]
mov edx, 0x208
call fcn.14005f400
cmp dword [0x140126558], 1
jl 0x1400608ad
lea rdx, [rsp + 0x40]
movzx ecx, sil
call fcn.14005e8e0
mov ebx, eax
jmp 0x140060966
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006096a
test sil, sil
je 0x140060941
lea r8, [0x1400e6c68]
lea rcx, [rsp + 0x40]
mov edx, 0x208
call fcn.1400abdb0
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x140060902
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
lea rdx, [0x1400d25b0]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
jmp 0x14006095b
mov rcx, qword [rsp + 0x30]
lea rdx, [0x1400d25b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
cmp eax, 2
cmove ebx, edi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140060987
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, qword [0x14012bbd0]
lea rcx, str.Error_configuring_auto_start
call fcn.14009aca0
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400ab140
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140060b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, r9
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140060b42
mov r8, rsi
mov edx, 0x104
mov rcx, rbp
call fcn.1400a97ac
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], r14
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140060b50
add ebx, 2
mov qword [rsp + 0x48], r15
add eax, ebx
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.1400a82f0
mov rbx, rax
test rdi, rdi
je 0x140060bf3
xor r15d, r15d
nop dword [rax + rax]
cmp word [rdi], r15w
je 0x140060bf3
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call fcn.1400a97ac
mov edx, 0x3b
mov rcx, rbx
call fcn.1400a9720
test rax, rax
je 0x140060baa
mov word [rax], r15w
lea r8, [0x1400d1c90]
mov rdx, r14
mov rcx, rbx
call fcn.1400abdb0
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.1400abdb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140060c19
mov edx, 0x3b
mov rcx, rdi
call fcn.1400a9720
mov rdi, rax
test rax, rax
je 0x140060bf3
add rdi, 2
jne 0x140060b80
xor dil, dil
mov rcx, rbx
call fcn.1400a7cb8
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
movzx eax, dil
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov r8, rbx
mov edx, 0x104
mov rcx, rbp
call fcn.1400a97ac
mov dil, 1
jmp 0x140060bf6
Function at 0x140060c30
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x1040
call fcn.1400ab0e0
sub rsp, rax
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov esi, ecx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
xor edi, edi
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x140060d4d
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x20], esi
jne 0x140060d30
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x140060cb2
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x140060d30
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x140060cda
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
cmp eax, 1
jle 0x140060d30
lea rdx, [rsp + 0x60]
mov r8d, 0x7e8
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140060d30
mov rcx, rbx
mov rdi, rbx
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140060d4d
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
jne 0x140060d30
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140060d4d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
jne 0x140060c80
mov rax, rdi
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400ab140
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140060ed0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbx, qword [0x14012b698]
mov rbp, r9
mov r14, rdx
mov rsi, rcx
test rbx, rbx
je 0x140060f20
nop word [rax + rax]
mov rcx, qword [rbx]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140060fed
mov rbx, qword [rbx + 0x418]
test rbx, rbx
jne 0x140060f00
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x80]
lea rcx, [0x1400d1428]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov r8, r14
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x140061026
mov ecx, 0x420
mov qword [rsp + 0x70], rdi
call fcn.1400a82f0
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, eax
call fcn.1400a82f0
mov rcx, rsi
mov rbx, rax
mov qword [rdi], rax
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov r8, rsi
mov rdx, rbx
mov ecx, eax
call qword [sym.imp.ADVAPI32.dll_CopySid]
lea rcx, [rdi + 8]
mov r8, r14
mov edx, 0x104
call fcn.1400a97ac
lea rcx, [rdi + 0x210]
mov r8, rbp
mov edx, 0x104
call fcn.1400a97ac
mov rax, qword [0x14012b698]
mov qword [rdi + 0x418], rax
mov qword [0x14012b698], rdi
mov rdi, qword [rsp + 0x70]
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov edx, dword [rsp + 0x80]
lea r8, [rbx + 8]
mov rcx, r14
call fcn.1400a97ac
mov edx, dword [rsp + 0x90]
lea r8, [rbx + 0x210]
mov rcx, rbp
call fcn.1400a97ac
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
xor al, al
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x1400614f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rax, 0xffffffffffffffff
mov rdx, rax
nop
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x140061530
lea rcx, [rsp + 0x30]
nop
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140061540
lea rsi, [rax + 0x13]
add rsi, rdx
lea rcx, [rsi + rsi]
call fcn.1400a82f0
lea rcx, [rsp + 0x36]
mov edx, 0x5c
mov rdi, rax
call fcn.1400a9720
xor ecx, ecx
lea r8d, [rcx + 0xc]
mov word [rax], cx
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.1400a9d30
test eax, eax
jne 0x1400615a4
lea edx, [rax + 0x5c]
lea rcx, [rbx + 2]
call fcn.1400a9720
lea r8, [0x1400e6a18]
mov qword [rsp + 0x20], rax
jmp 0x1400615fa
lea rdx, [0x1400d2368]
mov r8d, 4
mov rcx, rbx
call fcn.1400a9818
test eax, eax
jne 0x1400615ce
lea r8, [rbx + 8]
mov rdx, rsi
mov rcx, rdi
call fcn.1400a97ac
jmp 0x14006160a
cmp word [rbx], 0x5c
mov qword [rsp + 0x20], rbx
jne 0x1400615f3
movzx r9d, word [rsp + 0x30]
lea r8, str._c:_s
mov rdx, rsi
mov rcx, rdi
call fcn.1400aa928
jmp 0x14006160a
lea r8, str._sSystem32Drivers_s
lea r9, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.1400aa928
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ab140
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140061640
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov r12, rcx
lea r8, [0x1400d1428]
mov rdx, r14
mov rcx, r15
mov rdi, r9
call fcn.1400a97ac
mov rsi, qword [rsp + 0x70]
xor eax, eax
lea rdx, [rsp + 0x68]
mov rcx, r12
mov qword [rdi], rax
mov qword [rsi], rax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
jne 0x1400616a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, rbp
mov qword [rsp + 0x50], rbx
call fcn.1400a82f0
mov r8d, ebp
xor edx, edx
mov r9, rax
mov rcx, r12
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140061742
mov edx, dword [rbx + 0x30]
mov ecx, dword [rbx + 0x34]
mov r9, r14
mov r8, r15
call fcn.14007bb00
lea rdx, [0x1400d2518]
mov rcx, rbx
call fcn.14007ef40
test rax, rax
jne 0x140061704
lea rdx, str.ProductDescription
mov rcx, rbx
call fcn.14007ef40
test rax, rax
je 0x14006170f
mov rcx, rax
call fcn.1400a8238
mov qword [rdi], rax
lea rdx, [0x1400d2538]
mov rcx, rbx
call fcn.14007ef40
test rax, rax
jne 0x140061737
lea rdx, [0x1400e6648]
mov rcx, rbx
call fcn.14007ef40
test rax, rax
je 0x140061742
mov rcx, rax
call fcn.1400a8238
mov qword [rsi], rax
mov rcx, rbx
call fcn.1400a82b0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140062750
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea r8, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_taskmgr.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400628e2
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [0x1400d7da0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x260]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400628d7
lea rcx, [rsp + 0x260]
mov edx, 0x104
call fcn.1400aa3f4
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareSysinternalsProcess_Explorer
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14006283b
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea rdx, str.OriginalPath
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x52]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x204
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14006284e
lea rdx, [rsp + 0x52]
mov r8d, 0x102
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x22
lea r8, [0x1400d8a30]
lea rcx, [rsp + 0x50]
mov edx, 0x104
mov word [rsp + 0x50], ax
call fcn.1400abdb0
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1400aa3f4
lea rcx, [rsp + 0x260]
mov edx, 0x5c
call fcn.1400a9910
lea rcx, [rsp + 0x50]
mov edx, 0x5c
mov rbx, rax
call fcn.1400a9910
mov rdx, rax
test rax, rax
je 0x1400628d7
test rbx, rbx
je 0x1400628d7
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x1400628c4
add rbx, 2
test eax, eax
jne 0x1400628b1
test ecx, ecx
jne 0x1400628d7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400628e4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0x480
pop rbx
ret
Function at 0x140062900
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x140062a35
cmp al, 4
jbe 0x140062a4f
cmp al, 5
jb 0x14006295d
shr eax, 0x10
mov ecx, 0x893
cmp ax, cx
jbe 0x14006295d
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0xd8
ret
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140062a35
lea rdx, str.VerSetConditionMask
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140062a35
mov r8b, 6
mov edx, 0x40
xor ecx, ecx
mov qword [rsp + 0xd0], rdi
call rax
lea rcx, str.KERNEL32.DLL
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140062a33
lea rdx, str.VerifyVersionInfoA
mov rcx, rax
mov qword [rsp + 0xe0], rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140062a31
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x9c
call fcn.1400a8b00
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x20]
lea edx, [rax + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0x9c
mov word [rsp + 0xb8], ax
call rbx
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0xd8
ret
jmp 0x140062a09
jmp 0x140062a11
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0xd8
ret
lea rcx, str.Terminal_Server
call fcn.14005fe70
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ab140
add rsp, 0xd8
ret
Function at 0x140062bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x50
xor ebp, ebp
mov dword [rsp + 0x60], ebp
lea ecx, [rbp + 8]
call fcn.1400a82f0
lea rdx, str.SoftwareSysinternalsProcess_Explorer
mov r9d, 0x20019
mov qword [0x14012bc88], rax
mov qword [rax], rbp
lea rax, [rsp + 0x70]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140062d60
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.HiddenProcs
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140062d55
mov ecx, dword [rsp + 0x60]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], r14
call fcn.1400a82f0
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
mov r14, rax
lea rax, [rsp + 0x60]
lea rdx, str.HiddenProcs
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x60]
mov rbx, r14
lea rdx, [r14 + rcx*2]
cmp r14, rdx
jae 0x140062d4b
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov edi, ebp
lea esi, [rbp + 2]
cmp word [rbx], bp
je 0x140062d41
mov rcx, qword [0x14012bc88]
movsxd rdx, esi
shl rdx, 3
call fcn.1400a83a8
mov rcx, rbx
mov qword [0x14012bc88], rax
call fcn.1400a8238
mov rcx, qword [0x14012bc88]
mov qword [rdi + rcx], rax
or rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], bp
lea rcx, [rcx + 1]
jne 0x140062d10
mov rax, qword [0x14012bc88]
add rdi, 8
lea rbx, [rbx + rcx*2]
mov qword [rdi + rax], rbp
mov eax, dword [rsp + 0x60]
add rbx, 2
lea rcx, [r14 + rax*2]
inc esi
cmp rbx, rcx
jb 0x140062cd0
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x50
pop rbp
ret
Function at 0x140062d70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0x860], rax
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareSysinternalsProcess_ExplorerProcessComments
xor esi, esi
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov edi, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140062f08
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140062efd
mov qword [rsp + 0x880], rbx
mov ebx, esi
mov rcx, qword [0x14012b690]
lea eax, [rdi + 2]
movsxd rdx, eax
shl rdx, 4
call fcn.1400a83a8
lea rcx, [rsp + 0x60]
mov qword [0x14012b690], rax
call fcn.1400a8238
mov rcx, qword [0x14012b690]
mov qword [rbx + rcx], rax
mov ecx, dword [rsp + 0x44]
call fcn.1400a82f0
mov rcx, qword [0x14012b690]
lea r9, [rsp + 0x40]
mov qword [rbx + rcx + 8], rax
add dword [rsp + 0x40], 2
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
mov rax, qword [0x14012b690]
lea r8, [rsp + 0x60]
mov rcx, qword [rbx + rax + 8]
lea rax, [rsp + 0x48]
mov edx, edi
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rax, qword [0x14012b690]
mov qword [rbx + rax + 0x10], rsi
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rbx, [rbx + 0x10]
inc edi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140062e11
mov rbx, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400ab140
mov rsi, qword [rsp + 0x888]
add rsp, 0x870
pop rdi
ret