joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009d0c4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0x420
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rdi, rcx
lea r13, [0x10001db10]
mov qword [rsp + 0x28], r13
lea r14, [0x10001daa0]
mov qword [rsp + 0x30], r14
lea r15, [0x10001daf8]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], 0x53
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 0xff
xor esi, esi
mov word [rsp + 0xc8], si
mov byte [rsp + 0xca], sil
mov byte [rsp + 0xcb], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.1000e8000
nop
mov edx, 0x104
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jne 0x10009d247
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], 0x5a
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 0xff
mov word [rsp + 0xc8], si
mov byte [rsp + 0xca], sil
mov byte [rsp + 0xcb], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x28]
mov qword [rsp + 0x20], r11
cmp ebx, esi
jge 0x10009d23d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x150]
call fcn.1000e79d4
lea r9, [0x10001db80]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x28]
call fcn.1000e7a50
mov r8d, 0x104
mov rdx, rdi
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
cmp eax, esi
jne 0x10009d316
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 0xff
mov word [rsp + 0xc8], si
mov byte [rsp + 0xca], sil
mov byte [rsp + 0xcb], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x28]
mov qword [rsp + 0x20], r11
cmp ebx, esi
jge 0x10009d30b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x150]
call fcn.1000e79d4
lea r9, [0x10001dba8]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x28]
call fcn.1000e7a50
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x10009e3f8
Capabilities:
Move file

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x1f0
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rbx, r8
mov rdi, rdx
lea r12, [0x10001db10]
mov qword [rsp + 0x20], r12
lea r13, [0x10001dd80]
mov qword [rsp + 0x28], r13
lea r14, [0x10001daf8]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x16b
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
xor esi, esi
mov word [rax - 0x148], si
mov byte [rax - 0x146], sil
mov byte [rax - 0x145], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xd0]
call fcn.1000e8000
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
jne 0x10009e569
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov dword [rsp + 0xd8], ebx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x179
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov word [rsp + 0xc0], si
mov byte [rsp + 0xc2], sil
mov byte [rsp + 0xc3], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x20]
mov qword [rsp + 0x228], r11
cmp ebx, esi
jge 0x10009e55e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x140]
call fcn.1000e79d4
lea r9, [0x10001ddd8]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x20]
call fcn.1000e7a50
nop
lea rcx, [rsp + 0xd0]
call fcn.1000e80ec
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x10009e59c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x1f0
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rbx, rdx
lea rbp, [0x10001db10]
mov qword [rsp + 0x20], rbp
lea r12, [0x10001ddf0]
mov qword [rsp + 0x28], r12
lea r13, [0x10001daf8]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x183
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
xor edi, edi
mov word [rax - 0x148], di
mov byte [rax - 0x146], dil
mov byte [rax - 0x145], 1
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xd0]
call fcn.1000e8000
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
jne 0x10009e6ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, edi
cmovle ebx, eax
mov dword [rsp + 0xd8], ebx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x18b
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov word [rsp + 0xc0], di
mov byte [rsp + 0xc2], dil
mov byte [rsp + 0xc3], 1
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x20]
mov qword [rsp + 0x220], r11
cmp ebx, edi
jge 0x10009e6f4
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x140]
call fcn.1000e79d4
lea r9, [0x10001de48]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x20]
call fcn.1000e7a50
nop
lea rcx, [rsp + 0xd0]
call fcn.1000e80ec
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x10009e72c
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x750
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov rbx, rcx
lea r12, [0x10001db10]
mov qword [rsp + 0x40], r12
lea r13, [0x10001de60]
mov qword [rsp + 0x48], r13
lea r14, [0x10001daf8]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x194
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
xor esi, esi
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x100]
call fcn.1000e8000
nop
mov edi, 0x144
mov r9d, edi
lea r8, [rsp + 0x220]
xor edx, edx
mov rcx, rbx
call fcn.10009e17c
mov r9d, edi
lea r8, [rsp + 0x4b0]
mov dl, 1
mov rcx, rbx
call fcn.10009e17c
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x10009e8ce
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x10009e859
lea r8, [rsp + 0x220]
lea rdx, [rsp + 0x4b0]
mov rcx, rbx
call fcn.10009e3f8
jmp 0x10009e8ce
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1ab
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 + 0xa]
lea rcx, [rsp + 0x100]
call fcn.1000eb640
xor edx, edx
mov rcx, rbx
call fcn.10009d358
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10009e9bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov dword [rsp + 0x108], ebx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1bf
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdi + 0x79]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x40]
mov qword [rsp + 0xf0], r11
cmp ebx, esi
jge 0x10009e9b2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x170]
call fcn.1000e79d4
lea r9, [0x10001deb8]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x40]
call fcn.1000e7a50
nop
lea rcx, [rsp + 0x100]
call fcn.1000e80ec
mov rax, rdi
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x750]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x10009ea04
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x4c0
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rbx, rcx
lea r12, [0x10001db10]
mov qword [rsp + 0x40], r12
lea r13, [0x10001dee0]
mov qword [rsp + 0x48], r13
lea r14, [0x10001daf8]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1cb
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
xor ebp, ebp
mov word [rsp + 0xe0], bp
mov byte [rsp + 0xe2], bpl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rbp + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x100]
call fcn.1000e8000
nop
mov r9d, 0x144
lea r8, [rsp + 0x220]
mov dl, 1
mov rcx, rbx
call fcn.10009e17c
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009eaf8
lea rdx, [rsp + 0x220]
mov rcx, rbx
call fcn.10009e59c
mov dl, 1
mov rcx, rbx
call fcn.10009d358
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10009ebf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
mov dword [rsp + 0x108], ebx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1e8
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bp
mov byte [rsp + 0xe2], bpl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdi + 0x79]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x40]
mov qword [rsp + 0xe8], r11
cmp ebx, ebp
jge 0x10009ebe6
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x170]
call fcn.1000e79d4
lea r9, [0x10001deb8]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1000e97d0
nop
lea rcx, [rsp + 0x40]
call fcn.1000e7a50
nop
lea rcx, [rsp + 0x100]
call fcn.1000e80ec
mov rax, rdi
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1000e48ec
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x320
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x102]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x34], 0x104
mov dword [rsp + 0x30], 0x10
mov word [rsp + 0x100], si
call sub.msvcrt.dll_memset
xor eax, eax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, rbx
mov word [rsp + 0xe0], si
mov qword [rsp + 0xe2], rax
mov qword [rsp + 0xea], rax
mov qword [rsp + 0xf2], rax
mov dword [rsp + 0xfa], eax
mov qword [rsp + 0x20], rsi
call sub.CLUSAPI.dll_GetClusterResourceState
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp ebx, 2
je 0x1000e4a15
lea rax, [0x10002fd50]
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x100034a70]
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [0x10002fd38]
mov dword [rsp + 0x50], 0xc8b
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0xff
mov word [rsp + 0xd8], si
mov qword [rsp + 0x48], rax
mov byte [rsp + 0xda], sil
mov byte [rsp + 0xdb], 1
call sub.msvcrt.dll_memset
lea r8, [0x100034a00]
jmp 0x1000e4b24
cmp eax, esi
je 0x1000e4ab9
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x100]
mov r8d, 0xf
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, esi
jne 0x1000e4ab9
lea rax, [0x10002fd50]
xor edx, edx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x100034a70]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [0x10002fd38]
mov dword [rsp + 0x50], 0xc93
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0xff
mov word [rsp + 0xd8], si
mov qword [rsp + 0x48], rax
mov byte [rsp + 0xda], sil
mov byte [rsp + 0xdb], 1
call sub.msvcrt.dll_memset
lea r8, [0x100034b50]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1000e91dc
mov al, 1
jmp 0x1000e4b33
lea rax, [0x10002fd50]
xor edx, edx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x100034a70]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [0x10002fd38]
mov dword [rsp + 0x50], 0xc8f
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0xff
mov word [rsp + 0xd8], si
mov qword [rsp + 0x48], rax
mov byte [rsp + 0xda], sil
mov byte [rsp + 0xdb], 1
call sub.msvcrt.dll_memset
lea r8, [0x100034ae0]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1000e91dc
xor al, al
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1000e824c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x910
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x900], rax
mov rdi, rcx
call sub.VssTrace.DLL_Ordinal_11
cmp eax, dword [rdi + 4]
je 0x1000e83c6
mov rdx, qword [rdi + 0x28]
mov ecx, dword [rdi + 0x24]
lea r8, [rsp + 0x50]
xor ebx, ebx
mov dword [rdi + 4], eax
mov dword [rsp + 0x50], ebx
call sub.VssTrace.DLL_Ordinal_8_1
cmp eax, ebx
je 0x1000e82a0
mov eax, dword [rsp + 0x50]
jmp 0x1000e82b5
mov rcx, qword [rdi + 0x60]
cmp rcx, rbx
je 0x1000e82b0
call fcn.1000e823c
jmp 0x1000e82b5
call sub.VssTrace.DLL_Ordinal_6
mov dword [rdi], eax
mov eax, dword [rdi + 4]
cmp dword [0x100176ba0], eax
je 0x1000e83c6
lea rcx, [rsp + 0x102]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x100], bx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x100]
mov r8d, 0x400
mov rcx, rdi
call fcn.1000e9014
lea rax, [0x100035d30]
xor edx, edx
mov qword [rsp + 0x60], rax
lea r11, [0x100035aa0]
lea rax, [0x100035a88]
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x70], 0x250
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], r11
mov dword [rsp + 0x74], 0xb
mov dword [rsp + 0x78], 0xff
mov word [rsp + 0xf8], bx
mov byte [rsp + 0xfa], bl
mov byte [rsp + 0xfb], 1
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rdi + 4]
mov dword [rsp + 0x48], ecx
mov ecx, dword [0x100176ba0]
lea r8, [0x100035d08]
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, [0x100035c60]
mov r9d, 0x78
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1000e8704
mov r11d, dword [rdi + 4]
mov dword [0x100176ba0], r11d
mov rcx, qword [rsp + 0x900]
xor rcx, rsp
call fcn.100130830
mov rbx, qword [rsp + 0x928]
add rsp, 0x910
pop rdi
ret
Function at 0x1000f20a0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
xor esi, esi
lea rax, [0x1000381e0]
mov rbx, rcx
mov qword [rsp + 0x30], rax
lea rax, [0x1000387a8]
mov rdi, rdx
mov qword [rsp + 0x38], rax
lea rax, [0x1000381c0]
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x58]
xor edx, edx
mov dword [rsp + 0x48], 0x399
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], si
mov byte [rsp + 0xd2], sil
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
xor r8d, r8d
call fcn.1000e8000
mov rcx, qword [rbx + 8]
cmp rcx, rsi
jne 0x1000f2145
cmp qword [rdi + 8], rsi
sete bl
jmp 0x1000f218b
mov rdx, qword [rdi + 8]
cmp rdx, rsi
jne 0x1000f2180
lea rax, [0x100008440]
lea r9, [0x100008450]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
mov r8d, 0xaa
mov qword [rsp + 0x20], rax
call fcn.1000e8634
mov bl, sil
jmp 0x1000f21c6
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, esi
setne bl
lea rcx, [0x100008430]
cmp bl, sil
lea rax, [0x100008440]
cmovne rax, rcx
lea r9, [0x100008450]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
mov r8d, 0xaa
mov qword [rsp + 0x20], rax
call fcn.1000e8634
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
lea r11, [rsp + 0x150]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1000f7614
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov rbp, rdx
mov rdi, rcx
lea r13, [0x100008710]
mov qword [rsp + 0x30], r13
lea r14, [0x100039fa0]
mov qword [rsp + 0x38], r14
lea r15, [0x1000086f8]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x10f
mov ebx, 0xb
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], 0xff
xor r12d, r12d
mov word [rax - 0xb8], r12w
mov byte [rax - 0xb6], r12b
mov byte [rax - 0xb5], 1
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e8000
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp eax, r12d
jne 0x1000f773f
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x113
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rbp
lea r8, [0x10003a050]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9c20
int3
mov rbx, qword [rdi + 8]
mov qword [rdi + 8], r12
mov qword [rsp + 0xe0], rbx
lea rax, [0x10000d460]
mov qword [rsp + 0xd8], rax
cmp esi, 1
jne 0x1000f7784
cmp rbx, r12
je 0x1000f7772
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
jmp 0x1000f788b
mov qword [rdi + 8], r12
lea eax, [rsi - 1]
lea rdx, [rax + rax + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 8], rax
cmp rax, r12
jne 0x1000f77c1
mov dword [rsp + 0x1a0], 0x8007000e
lea rdx, [0x100172be0]
lea rcx, [rsp + 0x1a0]
call sub.msvcrt.dll__CxxThrowException
int3
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, r12d
je 0x1000f77fa
cmp eax, esi
ja 0x1000f77fa
cmp rbx, r12
je 0x1000f77e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
jmp 0x1000f788b
mov qword [rsp + 0xe0], r12
mov rcx, qword [rdi + 8]
cmp rcx, r12
je 0x1000f7811
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi + 8], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x11f
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9, rbp
lea r8, [0x10003a0a0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9c20
nop
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x100102740
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x160
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea r12, [0x10003c720]
mov qword [rsp + 0x40], r12
lea r13, [0x10003c8d0]
mov qword [rsp + 0x48], r13
lea r14, [0x10003c708]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x16c
mov dword [rsp + 0x5c], 0xb
mov dword [rsp + 0x60], 0xff
xor ebp, ebp
mov word [rax - 0x98], bp
mov byte [rax - 0x96], bpl
mov byte [rax - 0x95], 1
xor edx, edx
lea r8d, [rbp + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e8000
nop
mov dword [rsp + 0x28], 0x48
mov qword [rsp + 0x20], rsi
lea r9d, [rbp + 3]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp eax, ebp
je 0x1001028b2
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x17f
mov dword [rsp + 0x5c], 0xb
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bp
mov byte [rsp + 0xe2], bpl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rbp + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
movzx r8d, bx
or r8d, 0x80070000
cmp ebx, ebp
cmovle r8d, ebx
mov dword [rsp + 0x38], 0x48
mov qword [rsp + 0x30], rsi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x10003c910]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e9e30
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret