joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f2b80
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x430
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov eax, dword [0x140298a00]
test al, 1
jne 0x1400f2bf7
or eax, 1
mov dword [0x140298a00], eax
mov qword [0x1402989f8], 7
mov qword [0x1402989f0], rsi
mov word [0x1402989e0], si
xor r8d, r8d
lea rdx, [0x14013f6e0]
lea rcx, [0x1402989e0]
call fcn.14000b9c0
lea rcx, [0x14013d0c0]
call fcn.1400fb570
nop
mov r8d, 0x200
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x30], 0
jne 0x1400f2c18
mov r8, rsi
jmp 0x1400f2c2c
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400f2c21
lea rdx, [rsp + 0x30]
lea rcx, [0x1402989e0]
call fcn.14000b9c0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1402989e0]
mov rcx, rbx
call fcn.14000b870
mov rax, rbx
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400f2ff0
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
sub rsp, 0x468
cmp dword [0x14029896c], 0
jne 0x1400f311e
mov qword [rax - 8], rbx
xor ebx, ebx
mov word [rax + 0x14], 0x500
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], rbx
mov dword [rax + 0x10], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x488]
lea edx, [rbx + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f3116
mov rcx, qword [rsp + 0x488]
lea rax, [rsp + 0x470]
lea r8, [rsp + 0x60]
lea edx, [rbx + 2]
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400f3108
lea rax, [rsp + 0x480]
lea r8d, [rbx + 0x20]
lea rcx, [rsp + 0x478]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400f3108
cmp dword [rsp + 0x60], ebx
jbe 0x1400f30f0
nop word [rax + rax]
mov rcx, qword [rsp + 0x480]
mov edx, ebx
add rdx, rdx
mov rdx, qword [rsp + rdx*8 + 0x68]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400f30e6
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400f30c0
jmp 0x1400f30f0
mov dword [0x140298970], 1
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [0x14029896c], 1
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x460]
mov eax, dword [0x140298970]
add rsp, 0x468
ret
Function at 0x1400f39b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x1400f3a38
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400f3a38
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400f3a38
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400f3a38
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f4dc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
lea rdx, [rsp + 0x30]
mov ebx, r9d
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x1400f4de0
lea rcx, [rsp + 0x242]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], di
call fcn.1400fa4e0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathGetArgsW]
lea rcx, [rsp + 0x240]
mov r8, rax
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400f4e30
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
lea rdx, [rdx + 1]
mov word [rcx + rdx*2 - 2], ax
test ax, ax
jne 0x1400f4e40
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
test ebx, ebx
je 0x1400f4e8c
lea rcx, [rsp + 0x30]
call fcn.1400f51b0
test eax, eax
jne 0x1400f4e8c
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400ef5f0
lea r9, [rsp + 0x240]
lea r8, [rsp + 0x30]
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, qword [rsp + 0x460]
mov eax, 1
add rsp, 0x450
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x440
xor edi, edi
mov rsi, r8
mov rbp, rdx
mov dword [rsp + 0x468], edi
cmp rdx, 0xffffffff80000002
jne 0x1400f56e0
lea rdx, str.RegistryEx.cpp
lea rcx, str.hStartKey___HKEY_LOCAL_MACHINE
mov r8d, 0x267
call fcn.1400eb260
test rsi, rsi
je 0x1400f57ea
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], di
jne 0x1400f56f0
test rax, rax
je 0x1400f57ea
lea rax, [rsp + 0x470]
mov r9d, 0x10008
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f57ea
mov qword [rsp + 0x478], rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x470]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x468]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x468], 0x200
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
cmp eax, 0x103
je 0x1400f57b3
test eax, eax
jne 0x1400f57c1
mov rdx, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x460]
lea r8, [rsp + 0x40]
call fcn.1400f56a0
mov ebx, 0x3f2
test eax, eax
cmovne ebx, edi
test ebx, ebx
je 0x1400f5740
jmp 0x1400f57c1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x478]
sete dil
mov eax, edi
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f5860
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x10], 0xffffffff80000002
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x1400f58a1
cmp dword [rcx + 0x18], 0
jne 0x1400f58a1
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey___HKEY_LOCAL_MACHINE__m_bWriteHKLM
mov r8d, 0x2e9
call fcn.1400eb260
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400f592e
test rsi, rsi
je 0x1400f592e
xor ebx, ebx
mov qword [rsp + 0x78], rcx
test rdi, rdi
je 0x1400f58fc
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov rdx, rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400f592e
mov rcx, qword [rsp + 0x78]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test rdi, rdi
je 0x1400f5917
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x50
pop rdi
ret

Function at 0x1400f5940
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
je 0x1400f5964
test rdx, rdx
jne 0x1400f597d
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey__pszSubKeyNameBuf
mov r8d, 0x2d3
call fcn.1400eb260
mov edx, dword [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
mov r9d, esi
lea eax, [rdx + 1]
mov r8, rdi
mov dword [rbx + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400f59b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
cmp qword [rcx + 0x10], 0
mov rbx, qword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x80]
mov rdi, r9
mov r12d, r8d
mov rbp, rdx
mov rsi, rcx
je 0x1400f5a12
test rdx, rdx
je 0x1400f5a12
test r9, r9
je 0x1400f5a12
test r15, r15
je 0x1400f5a12
test r14, r14
je 0x1400f5a12
test rbx, rbx
jne 0x1400f5a2b
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey__pszValueNameBuf__pdwValueNameLen__pdwValueType__pDataBuf__pdwDataLen
mov r8d, 0x2b6
call fcn.1400eb260
mov eax, dword [rsp + 0x90]
mov dword [rdi], r12d
mov qword [rsp + 0x38], rbx
mov dword [rbx], eax
mov edx, dword [rsi + 0x20]
mov rcx, qword [rsi + 0x10]
lea eax, [rdx + 1]
mov qword [rsp + 0x30], r14
xor ebx, ebx
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x28], r15
mov dword [rsi + 0x20], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop r12
ret

Function at 0x1400f5a90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov rdi, r8
mov r12, rdx
mov rbp, rcx
cmp r8, qword [rsp + 0x80]
jne 0x1400f5ad0
lea rdx, str.RegistryEx.cpp
lea rcx, str.pvValue___pvDefaultValue
mov r8d, 0x183
call fcn.1400eb260
xor ebx, ebx
mov r15d, ebx
test r12, r12
je 0x1400f5bba
test rdi, rdi
je 0x1400f5bba
test r14, r14
je 0x1400f5bba
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400f5b86
mov rbp, qword [rsp + 0x88]
mov r15d, dword [r14]
mov qword [rsp + 0x70], rcx
test rbp, rbp
je 0x1400f5b37
lea rax, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f5b86
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test rbp, rbp
je 0x1400f5b65
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
jne 0x1400f5b86
cmp dword [rsp + 0x68], 3
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
cmp qword [rsp + 0x80], rbx
je 0x1400f5bba
mov rdx, qword [rsp + 0x80]
mov r8d, r15d
mov rcx, rdi
call fcn.1400fa780
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400f5bd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov r14d, ebx
test r9, r9
je 0x1400f5bf9
mov r14d, dword [r9]
test rdx, rdx
je 0x1400f5cc3
test r8, r8
je 0x1400f5cc3
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400f5cb4
mov qword [rsp + 0x30], rcx
cmp qword [rsp + 0x80], rbx
je 0x1400f5c51
mov rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f5cb4
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
cmp qword [rsp + 0x80], rbx
je 0x1400f5c91
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x1400f5cb4
mov eax, dword [rsp + 0x78]
cmp eax, 4
je 0x1400f5cab
cmp eax, 3
jne 0x1400f5cb0
cmp dword [rsp + 0x68], 4
jne 0x1400f5cb0
mov ebx, 1
mov eax, ebx
jmp 0x1400f5cc5
test rdi, rdi
je 0x1400f5cc3
mov dword [rsi], r14d
mov eax, 1
jmp 0x1400f5cc5
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400f5ce0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x80]
mov r12, r9
mov rsi, r8
mov r15, rdx
mov rdi, rcx
cmp r8, rbx
jne 0x1400f5d28
lea rdx, str.RegistryEx.cpp
lea rcx, str.pszValue___pszDefaultValue
mov r8d, 0x126
call fcn.1400eb260
xor ebp, ebp
mov r13d, ebp
test r15, r15
je 0x1400f5ec0
test rsi, rsi
je 0x1400f5ec0
test r12, r12
je 0x1400f5ec0
mov rcx, qword [rdi + 0x10]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x60], r14
test rcx, rcx
je 0x1400f5e75
mov r14, qword [rsp + 0x88]
mov r13d, dword [r12]
mov qword [rsp + 0x68], rcx
test r14, r14
je 0x1400f5d9d
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f5e75
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test r14, r14
je 0x1400f5dce
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x80]
cmp ecx, 2
jne 0x1400f5e40
mov eax, 2
mul r13
cmovo rax, rdi
mov rcx, rax
call fcn.1400f9438
mov r14, rax
test rax, rax
je 0x1400f5e39
mov r8d, r13d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, rsi
mov rcx, r14
sub rdx, r14
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x1400f5e10
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400f5e24
mov rcx, r14
mov dword [r12], eax
call fcn.1400fa318
mov ecx, dword [rsp + 0x80]
test r15d, r15d
jne 0x1400f5e75
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x1400f5e52
cmp ecx, 7
jne 0x1400f5e57
mov ebp, 1
mov eax, ebp
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
test rbx, rbx
je 0x1400f5ebc
nop word [rax + rax]
cmp word [rbx + rdi*2 + 2], bp
lea rdi, [rdi + 1]
jne 0x1400f5e80
lea ecx, [rdi*2 + 2]
cmp ecx, r13d
ja 0x1400f5ebc
sub rsi, rbx
nop word [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rsi + rbx - 2], ax
test ax, ax
jne 0x1400f5ea0
mov dword [r12], ecx
mov eax, 1
jmp 0x1400f5e59
xor eax, eax
jmp 0x1400f5e59
xor eax, eax
jmp 0x1400f5e5e
Function at 0x1400f61b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x60
mov rcx, qword [rcx + 0x10]
mov rsi, r9
mov r14d, r8d
mov rbp, rdx
test rcx, rcx
je 0x1400f6293
test rdx, rdx
je 0x1400f6293
test r9, r9
je 0x1400f6293
mov qword [r11 + 0x10], rbx
xor ebx, ebx
mov qword [r11 - 0x18], rcx
cmp qword [rsp + 0x98], rbx
je 0x1400f6254
mov rdx, qword [rsp + 0x98]
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400f624f
xor eax, eax
mov rbx, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x90]
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp qword [rsp + 0x98], rbx
je 0x1400f628a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov eax, ebx
jmp 0x1400f6237
lea r11, [rsp + 0x60]
xor eax, eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400f70f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov r8d, 0x840
add rcx, 0x38
call fcn.1400fa4e0
xor eax, eax
lea rcx, str.DXVA2.DLL
mov qword [rbx + 0x878], rax
mov qword [rbx + 0x880], rax
mov dword [rbx + 0x888], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x1400f71d0
lea rdx, str.GetNumberOfPhysicalMonitorsFromHMONITOR
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.GetPhysicalMonitorsFromHMONITOR
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.DestroyPhysicalMonitors
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.GetMonitorBrightness
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SetMonitorBrightness
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x30], rax
je 0x1400f71c3
cmp qword [rbx + 0x18], 0
je 0x1400f71c3
cmp qword [rbx + 0x20], 0
je 0x1400f71c3
cmp qword [rbx + 0x28], 0
je 0x1400f71c3
test rax, rax
jne 0x1400f71d0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f6fb0
add rsp, 0x20
pop rbx
ret
Function at 0x1400f7b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x1400f7b70
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r9d
mov rbx, r8
xor r9d, r9d
mov r8, rdx
lea rdx, [0x140162b50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400f7d50
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.28
call fcn.140120220
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.1401227a0
mov qword [rbp - 0x28], rax
lea r8, [0x1400f7b30]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.140128ac0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140120600
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b20
movzx ecx, al
sub ecx, 2
je 0x1400f7c51
dec ecx
jne 0x1400f7c65
mov rcx, qword [rbp - 0x30]
call fcn.140128370
lea r8d, [rsi + 0x10]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b70
test eax, eax
jne 0x1400f7c65
mov r8d, 1
mov edx, 0xff
mov rcx, qword [rbp - 0x30]
call fcn.140128980
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140120cf0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b60
mov r13d, eax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b40
mov r12d, eax
mov edi, eax
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400f9438
mov r14, rax
test r12d, r12d
je 0x1400f7cdd
lea r15d, [r13*4]
mov rbx, rax
mov esi, r12d
mov rcx, r15
call fcn.1400f9438
mov qword [rbx], rax
lea rbx, [rbx + 8]
dec rsi
jne 0x1400f7cc5
mov r15d, dword [rbp + 0x48]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.140120530
mov ecx, SafeArrayAllocDescriptor
call fcn.1400fa320
mov qword [rbp - 0x18], rax
test rax, rax
je 0x1400f7d1c
mov ecx, dword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, r14
mov rcx, rax
call fcn.1400f8530
mov rsi, rax
test r12d, r12d
je 0x1400f7d35
mov rbx, r14
mov rcx, qword [rbx]
call fcn.1400fd97c
lea rbx, [rbx + 8]
dec rdi
jne 0x1400f7d24
mov rcx, r14
call fcn.1400fd97c
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401202b0
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400f7b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x1400f7b70
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r9d
mov rbx, r8
xor r9d, r9d
mov r8, rdx
lea rdx, [0x140162b50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400f7d50
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.28
call fcn.140120220
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.1401227a0
mov qword [rbp - 0x28], rax
lea r8, [0x1400f7b30]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.140128ac0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140120600
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b20
movzx ecx, al
sub ecx, 2
je 0x1400f7c51
dec ecx
jne 0x1400f7c65
mov rcx, qword [rbp - 0x30]
call fcn.140128370
lea r8d, [rsi + 0x10]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b70
test eax, eax
jne 0x1400f7c65
mov r8d, 1
mov edx, 0xff
mov rcx, qword [rbp - 0x30]
call fcn.140128980
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140120cf0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b60
mov r13d, eax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140128b40
mov r12d, eax
mov edi, eax
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400f9438
mov r14, rax
test r12d, r12d
je 0x1400f7cdd
lea r15d, [r13*4]
mov rbx, rax
mov esi, r12d
mov rcx, r15
call fcn.1400f9438
mov qword [rbx], rax
lea rbx, [rbx + 8]
dec rsi
jne 0x1400f7cc5
mov r15d, dword [rbp + 0x48]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.140120530
mov ecx, SafeArrayAllocDescriptor
call fcn.1400fa320
mov qword [rbp - 0x18], rax
test rax, rax
je 0x1400f7d1c
mov ecx, dword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, r14
mov rcx, rax
call fcn.1400f8530
mov rsi, rax
test r12d, r12d
je 0x1400f7d35
mov rbx, r14
mov rcx, qword [rbx]
call fcn.1400fd97c
lea rbx, [rbx + 8]
dec rdi
jne 0x1400f7d24
mov rcx, r14
call fcn.1400fd97c
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401202b0
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140103c24
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140103c3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140103c3c
xor eax, eax
test eax, eax
je 0x140103c4c
mov ecx, eax
call fcn.1401039fc
or eax, 0xffffffff
jmp 0x140103c4e
xor eax, eax
add rsp, 0x28
ret