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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14004a110]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.140005d10
mov ebx, eax
test eax, eax
jne 0x1400071f7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400071d1
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400070e0
mov ebx, eax
test eax, eax
jne 0x1400071f7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140007180
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400071e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x50], ebp
call fcn.140004430
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140007207
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140017a00
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x140007230
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400072a4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x1400072bf
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x1400072bf
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x1400072bf
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
and dl, byte [rbx - 0x47]
invalid
Function at 0x1400072e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x70
movzx r14d, dl
mov rsi, rcx
call fcn.140009040
test eax, eax
jne 0x140007307
mov eax, 0x80004005
add rsp, 0x70
pop r14
pop rsi
pop rbx
ret
mov rcx, qword [0x14004d168]
mov edx, 0x65
lea rax, str.APPID
xorps xmm0, xmm0
mov qword [rsp + 0x98], r15
lea r15, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
lea r9, [rsp + 0x50]
movdqu xmmword [rsp + 0x60], xmm0
lea r8d, [rdx - 0x64]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
call fcn.1400095b0
test eax, eax
js 0x14000748d
xor ebx, ebx
lea r8, str.AppID
lea rcx, [rsp + 0x50]
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x60], rbx
call fcn.140005d10
test eax, eax
je 0x140007392
mov ecx, eax
call fcn.140002d20
mov ebx, eax
jmp 0x140007478
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov rdx, r15
mov dword [rsp + 0x28], 0x2001f
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0xa8], rbx
mov dword [rsp + 0x20], ebx
mov rdi, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140007459
mov rdi, qword [rsp + 0xa8]
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14b, r14b
je 0x140007462
lea rcx, [rsi + 0x68]
test rcx, rcx
je 0x140007446
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x140007412
lea eax, [rax*2 + 2]
lea rdx, str.LocalService
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rsi
call fcn.140005270
test eax, eax
jne 0x140007462
mov ebx, 0x80004005
jmp 0x140007462
mov ecx, eax
call fcn.140002d20
mov ebx, eax
test rdi, rdi
je 0x140007470
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x90]
cmp qword [rsp + 0x50], 0
je 0x14000748b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov r15, qword [rsp + 0x98]
add rsp, 0x70
pop r14
pop rsi
pop rbx
ret
Function at 0x140007720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14004a110]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400077ae
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400077ae
call fcn.140002d00
mov ebx, eax
jmp 0x1400078d6
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400077cf
call fcn.140002d00
jmp 0x1400078c5
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400077f2
call fcn.140002d00
jmp 0x1400078c5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140007814
mov ebx, 0x8007000e
jmp 0x1400078c7
mov ecx, eax
test eax, eax
je 0x14000784c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140007842
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000784c
lea rcx, [rsp + 0x70]
call fcn.140002b70
jmp 0x140007856
mov ecx, 0x80070216
call fcn.1400038f0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140007869
cmp qword [rsp + 0x70], 0
jne 0x140007878
mov ebx, 0x8007000e
jmp 0x1400078c7
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400078a2
call fcn.140002d00
jmp 0x1400078c5
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400074a0
mov ebx, eax
test rdi, rdi
je 0x1400078d6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400078ed
lea rcx, [rsp + 0x70]
call fcn.140004520
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140017a00
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400088c0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400089b0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x1400089c8
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400089d4
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x1400089d0
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140008b80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x14004a110]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r15d, r15d
mov rdi, rcx
mov r14d, edx
lea rcx, [rsp + 0x50]
lea r8, str.AppID
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
call fcn.140005d10
mov ebx, eax
test eax, eax
je 0x140008bf1
mov dword [rdi + 0x27c], eax
jmp 0x140008d52
mov rdx, qword [rsp + 0x50]
lea r8, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
lea rcx, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x48], r15
call fcn.140005d10
mov ebx, eax
test eax, eax
jne 0x140008d3a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, str.LocalService
xor r8d, r8d
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
jne 0x140008ca2
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140008c75
lea ecx, [rbx + 0xd]
jmp 0x140008ca2
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140008c96
test al, 1
jne 0x140008c8f
shr rax, 1
cmp word [rsp + rax*2 + 0x8e], r15w
je 0x140008c9f
mov ecx, 0xd
jmp 0x140008ca2
mov word [rsp + 0x90], r15w
mov ecx, r15d
test ecx, ecx
mov eax, r15d
mov edx, 1
cmove eax, edx
mov dword [rdi + 0x28c], eax
test eax, eax
je 0x140008cfe
lea rax, [rdi + 0x68]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x68], rax
lea rax, [0x140009d70]
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140008cf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x140008d40
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x140008d29
cmp eax, 0x80010106
jne 0x140008d40
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140008d2d
jmp 0x140008d40
mov byte [rdi + 0x62], 1
mov edx, r14d
mov rcx, rdi
call fcn.140008720
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x38], r15
je 0x140008d52
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], r15
je 0x140008d64
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140017a00
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x140008db0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140008dd8
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
lea r8, [0x140005ab0]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140008e19
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
Function at 0x1400094a0
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x78
call fcn.140009040
test eax, eax
jne 0x1400094b7
mov eax, 0x80004005
add rsp, 0x78
ret
mov qword [rsp + 0x70], rbx
xor ebx, ebx
lea r8, str.AppID
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
call fcn.140005d10
test eax, eax
je 0x1400094fc
mov ecx, eax
call fcn.140002d20
mov ebx, eax
jmp 0x14000958f
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x30], rbx
lea rbx, str.278A87E1_1BC2_4E19_82E9_8BBE31D67D20
lea rcx, [rsp + 0x20]
mov r8, rbx
mov r9d, 0x20006
call fcn.140005d10
test eax, eax
je 0x140009536
mov ecx, eax
call fcn.140002d20
jmp 0x14000957a
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x14004d168]
xor r8d, r8d
xorps xmm0, xmm0
lea rax, str.APPID
lea r9, [rsp + 0x50]
lea edx, [r8 + 0x65]
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
call fcn.1400095b0
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x14000958f
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x1400095a2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x78
ret

Function at 0x14000a380
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x14004d161], 0
mov ebx, r9d
je 0x14000a397
or ebx, 0xffffffff
jmp 0x14000a3eb
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
lea rcx, [0x14004d240]
mov rdx, rax
call fcn.1400061d0
cmp al, 1
jne 0x14000a3cf
lea rcx, [0x14004d240]
mov edx, ebx
call fcn.140008b80
mov ebx, eax
jmp 0x14000a3d3
mov ebx, dword [rsp + 0x20]
cmp dword [0x14004d4cc], 0
jne 0x14000a3eb
cmp byte [0x14004d2a2], 0
je 0x14000a3eb
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x14004d240]
xor edx, edx
call fcn.140003a70
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14000afc0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x60
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rcx
mov qword [rax - 0x48], rcx
lea r9, [0x14003f710]
xor edx, edx
lea r8d, [rdx + 5]
lea rcx, [0x14003f700]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
js 0x14000b0d8
cmp qword [r14], 0
je 0x14000b0d8
mov ecx, 0x18
call fcn.140017dd0
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x14000b056
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000b059
mov ecx, 0x8007000e
call fcn.140016c80
int3
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
jne 0x14000b06e
mov ecx, 0x8007000e
call fcn.140016c80
nop
mov rcx, qword [r14]
add r14, 8
mov rax, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov rcx, rbx
call fcn.14000ce60
test esi, esi
js 0x14000b0d8
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
mov eax, esi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000be90
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x6a0
mov rax, qword [0x14004a110]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rsi, rcx
lea rcx, [rsp + 0x272]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], di
call fcn.140017a30
lea rcx, [rsp + 0x482]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x480], di
call fcn.140017a30
lea rcx, [rsp + 0x270]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [rdi + 0x5c]
lea rcx, [rsp + 0x270]
call fcn.140019294
test rax, rax
je 0x14000bf1e
mov word [rax], di
lea rcx, [rsp + 0x270]
mov edx, 0x5c
call fcn.140019294
test rax, rax
je 0x14000bf52
lea r8, str.Intelgp_
lea rcx, [rsp + 0x270]
mov edx, 0x104
mov word [rax + 2], di
call fcn.1400187e8
lea r8, [rsp + 0x270]
lea rcx, [rsp + 0x480]
mov edx, 0x104
call fcn.140018870
lea r8, str.profile_.dat
lea rcx, [rsp + 0x480]
mov r9d, 0xd
mov edx, 0x104
call fcn.1400191ac
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000bfee
test byte [rsp + 0x20], 0x10
jne 0x14000bfc3
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000c020
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000bfa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
cmp eax, 0x12
cmove edi, edi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x14000bff3
mov eax, 0x80004005
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.140017a00
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000c020
Capabilities:
Delete file
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14004a110]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rcx
mov rbx, r8
mov rdi, rdx
lea rcx, [rsp + 0x32]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], si
call fcn.140017a30
lea rcx, [rsp + 0x30]
mov r8, rbx
mov edx, 0x104
call fcn.140018870
or r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp word [rdi + r9*2 + 0x2c], si
jne 0x14000c080
lea r8, [rdi + 0x2c]
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400191ac
mov rcx, r14
call fcn.14000b100
lea rdx, str.profile_
lea rcx, [rdi + 0x2c]
mov rbp, rax
mov qword [rsp + 0x28], rax
call fcn.140017100
test rax, rax
je 0x14000c1c0
lea r8, [rax + 0x10]
lea rcx, [rbp + 4]
mov edx, 0x104
call fcn.140018870
lea rcx, [rbp + 4]
mov edx, 0x2e
call fcn.140019294
test rax, rax
je 0x14000c1c0
lea r8, [0x1400349cc]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov word [rax], si
mov qword [rsp + 0x20], rsi
call fcn.1400195a8
test eax, eax
jne 0x14000c1b1
mov ecx, 0x35c8
call fcn.140017dd0
mov r9, qword [rsp + 0x20]
mov edx, 1
mov rcx, rax
mov r8d, 0x35c8
mov rbx, rax
call fcn.140019a5c
cmp rax, 0x35c8
jne 0x14000c19f
mov r8, rbp
mov rdx, rbx
mov rcx, r14
call fcn.14000d560
test eax, eax
js 0x14000c19f
mov rsi, qword [r14 + 0x20]
lea r9, [rsp + 0x28]
lea rcx, [r14 + 0x20]
mov r8, qword [rsi + 8]
mov rdx, rsi
call fcn.14000a440
movabs rcx, 0xaaaaaaaaaaaaaa9
mov rdx, rax
mov rax, qword [r14 + 0x28]
sub rcx, rax
cmp rcx, 1
jb 0x14000c1e9
inc rax
mov qword [r14 + 0x28], rax
mov qword [rsi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov esi, 1
mov rcx, rbx
call fcn.140016f70
mov rcx, qword [rsp + 0x20]
call fcn.1400197d4
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x14000c1cb
mov rdx, rbp
mov rcx, r14
call fcn.14000b210
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140017a00
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.14002da28
int3
Function at 0x14000cef0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14004a110]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor esi, esi
mov edi, edx
mov rbx, rcx
cmp dword [rcx + 0x18], esi
jne 0x14000cf4f
lea rax, [0x14004e530]
lea r8, [0x14000b3e0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rbx + 0x18], 1
mov qword [rbx + 0x10], rax
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], si
call fcn.140017a30
lea r8, str.GlobalProfileAppListChangedForSession
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.140018870
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14000cf85
lea rcx, [rsp + 0x50]
lea r8, [0x140034778]
mov r9d, edi
lea rcx, [rcx + rax*2]
mov edx, 0x104
call fcn.140019584
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
test rax, rax
je 0x14000d05a
xor eax, eax
lea r8, [0x14000b2d0]
mov r9, rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14000d051
mov qword [rsp + 0x40], rdi
mov rdi, qword [rbx]
lea r9, [rsp + 0x30]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbx
call fcn.14000a480
movabs rcx, 0x666666666666665
mov rdx, rax
mov rax, qword [rbx + 8]
sub rcx, rax
cmp rcx, 1
jb 0x14000d07f
inc rax
mov qword [rbx + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
jmp 0x14000d05a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140017a00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.14002da28
int3

Function at 0x14000d260
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x60
xor ecx, ecx
lea rax, [r11 - 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rcx
mov rbx, r8
mov qword [r11 - 0x18], rcx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
lea rdx, str.SOFTWAREIntelDisplayigfxcuiprofiles_app
xor r9d, r9d
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000d2ee
lea rax, [rsp + 0x88]
mov r9d, 4
mov r8, rbx
mov rdx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000d300
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
test r8d, r8d
je 0x14000d3c9
mov edx, dword [rdx + 4]
mov qword [rsp + 0x48], r14
call fcn.14000d410
mov edx, dword [rbx + 4]
lea rdi, [rbx + 8]
lea r9, [rsp + 0x58]
mov r8, rdi
mov rcx, rsi
call fcn.14000b720
mov r14, rax
test rax, rax
je 0x14000d3bc
mov rdx, qword [rax]
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x14000d364
mov r8d, dword [rbx]
cmp dword [rcx + 0x10], r8d
je 0x14000d35f
mov rcx, qword [rcx]
cmp rcx, rdx
jne 0x14000d351
cmp rcx, rdx
jne 0x14000d3bc
mov rdx, rbx
mov rcx, rax
mov qword [rsp + 0x40], rbp
call fcn.14000e260
mov ebp, dword [r14 + 8]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000d380
add rax, 0xfffffffffffffffc
lea rdx, str..exe
lea rcx, [rdi + rax*2]
call fcn.1400193ec
test eax, eax
je 0x14000d3a4
mov ebp, dword [rbx]
mov rdx, qword [rsp + 0x58]
mov r9d, ebp
mov r8, rdi
mov rcx, rsi
call fcn.14000d260
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov edx, dword [rdx]
lea r8, [rsp + 0x58]
call fcn.14000b650
mov rdi, rax
test rax, rax
je 0x14000d3c1
cmp qword [rax + 8], 0
jbe 0x14000d3c1
mov rdx, rbx
mov rcx, rax
call fcn.14000e2d0
mov r9d, dword [rdi + 8]
mov rdx, qword [rsp + 0x58]
lea r8, [rbx + 8]
mov rcx, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.14000d260