joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008eb08
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov dword [rbp - 0x10], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14008eb95
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14008ebb8
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14008ebf4
xor eax, eax
jmp 0x14008ec17
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400791c8
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x1030
pop rbx
ret

Function at 0x14008ed2c
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, ecx
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
je 0x14008eda5
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp ebx, 1
jne 0x14008edb8
mov edx, 0x80000000
lea ecx, [rbx + 4]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
cmp ebx, 3
jne 0x14008edc9
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.POWRPROF.dll_SetSuspendState
cmp ebx, 2
jne 0x14008edda
xor r8d, r8d
xor edx, edx
mov cl, 1
call sub.POWRPROF.dll_SetSuspendState
cmp ebx, 4
jne 0x14008eded
mov edx, 0x80000000
lea ecx, [rbx + 2]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x50
pop rbx
ret
Function at 0x14008f1d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x14008f272
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14008f414]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x14008f248
lea rdx, str.CreateThread_failed
lea rcx, [0x14017f200]
call fcn.14006326c
lea rcx, [0x14017f200]
call fcn.14006355c
lea edx, [rsi + 2]
lea rcx, [0x14017f200]
call fcn.140063264
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x108]
mov edx, dword [0x1401888e8]
test edx, edx
je 0x14008f268
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x14008f1ec
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14009ee6c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14006c514
test eax, eax
jne 0x14009ee95
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x14009eeb0
and dword [0x14018a790], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14009f114
cmp dword [0x14018a790], 0
jne 0x14009ee95
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14009f114
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], ax
je 0x14009f223
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
test eax, eax
jne 0x14009f223
lea rax, [rsp + 0x50]
mov esi, ecx
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x14009f1e2
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, [0x140119050]
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.1400026d0
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.14009f114
lea rax, [rsp + 0x50]
inc esi
mov qword [rsp + 0x38], rax
mov edx, esi
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009f18f
mov rcx, qword [rsp + 0x48]
call fcn.14009dd18
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14009f223
inc dword [0x14018a790]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x14009f248
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x14010f1a8]
mov rdi, rdx
mov rbx, rcx
call fcn.14009de5c
test al, al
jne 0x14009f2a5
mov r9d, 0x200
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.14009feb0
test al, al
je 0x14009f2a5
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret

Function at 0x14009f2c8
Capabilities:
Delete registry key

Disassembly:
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009f248
Function at 0x14009f2d8
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.14009de5c
test al, al
jne 0x14009f35e
mov r9d, 0x200
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call fcn.14009feb0
test al, al
je 0x14009f35e
lea rax, [rsp + 0x30]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009f35e
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.14009dd18
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x14009f37c
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009f2d8

Function at 0x14009f648
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov qword [r11 - 0x28], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14009e238
test al, al
je 0x14009f67f
mov eax, dword [rsp + 0x30]
jmp 0x14009f6e0
mov rdx, rbx
mov rcx, rsi
call fcn.14009ff14
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x14009f6de
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rsi
sete bl
call fcn.14009dd18
test bl, bl
je 0x14009f6de
cmp dword [rsp + 0x34], 0
je 0x14009f6de
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14009f6f8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r12d, dword [rsp + 0x8c8]
mov rdi, r9
mov rsi, qword [rsp + 0x8c0]
lea r9, [rsp + 0x40]
mov ebx, r12d
mov qword [rsp + 0x20], 0x400
mov r13, r8
mov r15, rdx
mov rbp, rcx
call fcn.14009e5a0
test al, al
jne 0x14009f77c
mov r8d, ebx
mov rcx, rdi
test rsi, rsi
je 0x14009f769
mov rdx, rsi
call fcn.1400f2690
jmp 0x14009f770
xor edx, edx
call fcn.1400f24e0
cmp byte [0x14013ee99], 0
sete al
jmp 0x14009f7ba
lea rcx, [rsp + 0x40]
call fcn.14009e2cc
mov r8, rbx
test rax, rax
jne 0x14009f7ab
mov rcx, rdi
test rsi, rsi
je 0x14009f7a0
mov rdx, rsi
call fcn.1400f2690
jmp 0x14009f7a7
xor edx, edx
call fcn.1400f24e0
xor ebx, ebx
jmp 0x14009f7b8
mov rdx, rdi
mov rcx, rax
call fcn.14008dd74
mov ebx, eax
mov al, 1
test al, al
je 0x14009f7c2
mov eax, ebx
jmp 0x14009f831
mov rdx, r15
mov rcx, rbp
call fcn.14009ff14
mov dword [rsp + 0x30], r12d
mov rbp, rax
test rax, rax
je 0x14009f813
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rdx, r13
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call fcn.14009dd18
test ebx, ebx
jne 0x14009f813
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14009f831
mov r8, r12
mov rcx, rdi
test rsi, rsi
je 0x14009f828
mov rdx, rsi
call fcn.1400f2690
jmp 0x14009f82f
xor edx, edx
call fcn.1400f24e0
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14009f858
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.14009f648
Function at 0x14009f89c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r14, qword [rsp + 0x8c0]
mov rbx, r9
mov esi, dword [rsp + 0x8c8]
lea r9, [rsp + 0x40]
mov r12, r8
mov qword [rsp + 0x20], 0x400
mov rbp, rdx
mov rdi, rcx
call fcn.14009e5a0
xor r13d, r13d
test al, al
jne 0x14009f911
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.14008e2e4
cmp byte [0x14013ee99], r13b
sete al
jmp 0x14009f932
lea rcx, [rsp + 0x40]
call fcn.14009e2cc
test rax, rax
mov r8, rsi
mov rcx, rbx
cmove rax, r14
mov rdx, rax
call fcn.14008e2e4
mov al, 1
test al, al
je 0x14009f93d
mov al, 1
jmp 0x14009f9c0
mov rdx, rbp
mov rcx, rdi
call fcn.14009ff14
mov rbp, rax
mov dil, r13b
test rax, rax
je 0x14009f9af
lea ecx, [rsi + rsi]
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rcx, rbp
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, rbp
sete dil
call fcn.14009dd18
test dil, dil
je 0x14009f9af
mov ecx, dword [rsp + 0x30]
shr ecx, 1
test esi, esi
jne 0x14009f9a0
mov word [rbx], r13w
jmp 0x14009f9bd
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x14009f9bd
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.14008e2e4
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14009fa10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbp, rdx
mov qword [rsp + 0x20], 0x400
mov r8, rdx
lea r9, [rsp + 0x40]
mov rdx, rcx
mov rbx, rcx
mov rsi, 0xffffffff80000001
mov rcx, rsi
call fcn.14009e5a0
xor edi, edi
test al, al
mov eax, edi
jne 0x14009fa6f
cmp byte [0x14013ee99], dil
sete r8b
jmp 0x14009fac4
mov rcx, qword [0x140189788]
mov r8d, 1
jmp 0x14009faa9
mov rdx, qword [rcx]
lea r10, [rsp + 0x40]
sub r10, rdx
movzx r9d, word [rdx]
movzx r11d, word [rdx + r10]
sub r9d, r11d
jne 0x14009faa0
add rdx, 2
test r11d, r11d
jne 0x14009fa89
test r9d, r9d
je 0x14009fab0
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14009fa7e
jmp 0x14009fac4
mov rdx, qword [rcx + 8]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], di
jne 0x14009fab8
add eax, r8d
test r8b, r8b
jne 0x14009fb17
mov rdx, rbx
mov rcx, rsi
call fcn.14009ff14
mov rsi, rax
test rax, rax
je 0x14009fb12
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call fcn.14009dd18
mov ecx, dword [rsp + 0x30]
test ebx, ebx
cmovne ecx, edi
mov edi, ecx
mov eax, edi
shr rax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x880]
add rsp, 0x850
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009fb3c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x510]
sub rsp, 0x610
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rdi, rdx
mov qword [rsp + 0x58], rdx
mov rsi, rcx
lea rdx, str.SoftwareWinRAR
mov rcx, rdi
mov r8d, 0xf
call fcn.140091370
test eax, eax
je 0x14009fb8f
xor al, al
jmp 0x14009fda8
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009fb88
mov ecx, 0x100000
call fcn.1400f8130
mov rbx, rax
test rax, rax
jne 0x14009fbd2
lea rcx, [0x14017f200]
call fcn.14006335c
jmp 0x14009fb88
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
and dword [rsp + 0x4c], 0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0x100]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x44], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14009fd0a
lea rax, [rdi + 0x1e]
mov qword [rsp + 0x60], rax
lea rcx, [rax + 2]
cmp word [rax], 0x5c
mov rdi, rcx
cmovne rdi, rax
mov eax, dword [rsp + 0x48]
cmp eax, 3
jne 0x14009fc6a
mov eax, dword [rsp + 0x44]
lea r8, [rbp + 0x100]
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.14009e84c
mov eax, dword [rsp + 0x48]
cmp eax, 4
jne 0x14009fc88
mov r9d, dword [rbx]
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.14009e7c8
mov eax, dword [rsp + 0x48]
cmp eax, 1
jne 0x14009fca2
mov r9, rbx
lea r8, [rbp + 0x100]
mov rdx, rdi
mov rcx, rsi
call fcn.14009e758
mov eax, dword [rsp + 0x4c]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x40]
inc eax
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x28], rcx
lea r8, [rbp + 0x100]
mov rcx, qword [rsp + 0x50]
mov edx, eax
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x44], 0x100000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 2]
je 0x14009fc34
mov rdi, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1400f8128
xor ecx, ecx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov ebx, ecx
mov qword [rsp + 0x30], rcx
xor edx, edx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
jmp 0x14009fd7b
mov r9d, 0x200
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400791c8
lea rdx, [rbp + 0x100]
mov rcx, rsi
call fcn.14009fb3c
lea rax, [rsp + 0x58]
inc ebx
mov qword [rsp + 0x38], rax
mov edx, ebx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009fd33
mov rcx, qword [rsp + 0x50]
call fcn.14009dd18
mov al, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x640]
add rsp, 0x610
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a0208
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, 0x40
mov rbx, r9
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14009e758
xor r14d, r14d
test al, al
je 0x1400a023d
xor eax, eax
jmp 0x1400a029a
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.14009edbc
mov rdi, rax
test rax, rax
je 0x1400a0294
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], r14w
jne 0x1400a0259
lea eax, [rcx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009dd18
jmp 0x1400a0298
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400a02b8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009e7c8
test al, al
je 0x1400a02e2
xor eax, eax
jmp 0x1400a0330
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009edbc
mov rdi, rax
test rax, rax
je 0x1400a032a
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009dd18
jmp 0x1400a032e
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400a02b8

Function at 0x1400a0340
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, 0x40
mov r14, qword [rsp + 0x70]
mov rsi, r9
mov qword [rax - 0x28], r14
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009e84c
test al, al
je 0x1400a037b
xor eax, eax
jmp 0x1400a03c4
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009edbc
mov rdi, rax
test rax, rax
je 0x1400a03be
mov dword [rsp + 0x28], r14d
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009dd18
jmp 0x1400a03c2
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400a03e0
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.1400a0208
Function at 0x1400a03f8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.14009e7c8
test al, al
je 0x1400a02e2
xor eax, eax
jmp 0x1400a0330
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.14009edbc
mov rdi, rax
test rax, rax
je 0x1400a032a
mov r9d, 4
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.14009dd18
jmp 0x1400a032e
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400a02b8
Function at 0x1400a2c80
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x4278]
mov eax, 0x4360
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x4250], rax
mov rsi, rcx
call fcn.140078a84
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x1400a2ec8
lea r14, [0x14010f1a8]
mov r15d, 0xc8
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x20], r14
mov rdx, rax
mov rcx, 0xffffffff80000000
call fcn.14009f89c
cmp word [rsp + 0x30], bx
je 0x1400a2ec8
mov r8d, r15d
lea rdx, str._shellprintcommand
lea rcx, [rsp + 0x30]
call fcn.14008e2ac
lea r9, [rbp + 0x250]
mov dword [rsp + 0x28], 0x800
mov r8, r14
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call fcn.14009f89c
cmp word [rbp + 0x250], bx
jne 0x1400a2deb
mov r9, rdi
lea r8, str.SoftwareClasses_s
mov edx, r15d
lea rcx, [rbp + 0xc0]
call fcn.1400026d0
mov rdi, 0xffffffff80000002
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8, r14
lea rdx, [rbp + 0xc0]
call fcn.14009f89c
cmp word [rsp + 0x30], bx
je 0x1400a2ec8
lea r9, [rsp + 0x30]
mov edx, r15d
lea r8, str.SoftwareClasses_s_shellprintcommand
lea rcx, [rbp + 0xc0]
call fcn.1400026d0
lea r9, [rbp + 0x250]
mov dword [rsp + 0x28], 0x800
mov r8, r14
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.14009f89c
cmp word [rbp + 0x250], bx
je 0x1400a2ec8
mov r14d, 0x1000
lea rdx, [rbp + 0x2250]
mov r8d, r14d
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0xffe
ja 0x1400a2ec8
lea rdx, [0x140119504]
lea rcx, [rbp + 0x2250]
call fcn.1400f39f8
test rax, rax
je 0x1400a2ec8
lea rcx, [rbp + 0x2250]
mov dil, bl
cmp rax, rcx
jbe 0x1400a2e50
cmp word [rax - 2], 0x22
mov ecx, 1
movzx edi, bl
cmove edi, ecx
mov r8, r14
mov word [rax], bx
mov rdx, rsi
lea rcx, [rbp + 0x2250]
call fcn.14008e2ac
test dil, dil
je 0x1400a2e80
mov r8, r14
lea rdx, [0x140118fac]
lea rcx, [rbp + 0x2250]
call fcn.14008e2ac
mov r8d, 0x800
lea rdx, [rbp + 0x1250]
lea rcx, [rbp + 0x2250]
call fcn.14008d960
mov r9, rax
mov dword [rsp + 0x28], 8
lea r8, [rbp + 0x1250]
mov qword [rsp + 0x20], rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta al
jmp 0x1400a2eca
xor al, al
mov rcx, qword [rbp + 0x4250]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0x4360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret