joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005320
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x140043110]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.140005750
test eax, eax
je 0x140005351
mov eax, 1
jmp 0x140005458
lea rdx, [rsp + 0x72]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000554e
cmp eax, 0x104
je 0x14000554e
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x140005597
mov qword [rsp + 0xaa8], rbx
mov qword [rsp + 0xab0], rsi
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140005471
lea rdx, [rsp + 0x280]
mov r8d, 0x400
mov ecx, 0xd80a
call fcn.140002f20
test eax, eax
jne 0x14000542f
lea r8, str.Could_not_open_Service_Manager
lea rcx, [rsp + 0x280]
mov edx, 0x400
call fcn.140014a08
test eax, eax
je 0x14000542f
cmp eax, 0xc
je 0x14000556b
cmp eax, 0x16
je 0x140005560
cmp eax, 0x22
je 0x140005560
cmp eax, 0x50
jne 0x140005555
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.140013b10
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
add rdi, 0x68
mov r9d, 0xf01ff
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov r8, rdi
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x140005532
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, [rsp + 0x280]
mov r8d, 0x400
mov ecx, 0xd80b
call fcn.140002f20
test eax, eax
jne 0x140005527
lea r8, str.Could_not_start_service
lea rcx, [rsp + 0x280]
mov edx, 0x400
call fcn.140014a08
test eax, eax
je 0x140005527
cmp eax, 0xc
je 0x14000558c
cmp eax, 0x16
je 0x140005581
cmp eax, 0x22
je 0x140005581
cmp eax, 0x50
jne 0x140005576
xor r9d, r9d
mov r8, rdi
jmp 0x140005436
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140005448
xor eax, eax
jmp 0x140005458
mov ecx, 0x80004005
call fcn.1400039a0
int3
mov ecx, 0x80070057
call fcn.1400039a0
int3
mov ecx, 0x8007000e
call fcn.1400039a0
int3
mov ecx, 0x80004005
call fcn.1400039a0
int3
mov ecx, 0x80070057
call fcn.1400039a0
int3
mov ecx, 0x8007000e
call fcn.1400039a0
int3
call fcn.140014790
int3
Function at 0x1400059f0
Capabilities:
Access the windows event log

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
ja 0x140005a37
je 0x140005a2e
test eax, eax
je 0x140005a25
sub eax, 5
je 0x140005a1c
dec eax
jne 0x140005a48
lea r8, str._The_specified_handle_is_invalid
jmp 0x140005a6a
lea r8, str.The_handle_does_not_have_access_to_the_service
jmp 0x140005a6a
lea r8, str.Success
jmp 0x140005a6a
lea r8, str.A_specified_parameter_is_invalid
jmp 0x140005a6a
sub eax, 0x7b
je 0x140005a63
sub eax, 0x3a9
je 0x140005a5a
cmp eax, 5
je 0x140005a51
lea r8, str.Unknown_error
jmp 0x140005a6a
lea r8, str.The_specified_database_does_not_exist.
jmp 0x140005a6a
lea r8, str._The_specified_service_does_not_exist
jmp 0x140005a6a
lea r8, str._The_specified_service_name_is_invalid
lea rdx, [0x14002e990]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140005a80

Function at 0x140005a80
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x140043110]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r9, rdx
mov edx, 0x100
mov rbx, rcx
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x60]
lea r8d, [rdx - 1]
mov qword [rsp + 0x20], rax
call fcn.140014c28
xor edi, edi
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], di
mov qword [rsp + 0x50], rax
cmp dword [rbx + 0x28c], edi
jne 0x140005af2
lea rcx, [rsp + 0x60]
call fcn.140014b40
lea rdx, [rbx + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140005b43
mov qword [rsp + 0x40], rdi
mov ecx, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
mov word [rsp + 0x28], cx
lea edx, [rcx + 3]
xor r8d, r8d
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013b10
add rsp, 0x278
pop rdi
pop rbx
ret
Function at 0x140007130
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140043110]
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.140005dc0
mov ebx, eax
test eax, eax
jne 0x140007247
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 0x140007221
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140007130
mov ebx, eax
test eax, eax
jne 0x140007247
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 0x1400071d0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140007236
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.1400044e0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140007257
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140013b10
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x140007280
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 0x1400072f4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000730f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000730f
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.0x14000730f
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
xor dword [rdx], 0x434ab51e
in al, 0xd7
jno 0x14006f649
and edi, dword [rdi + rbx*2]
jrcxz 0x14006f644
invalid
pop rdx
sbb al, 0xc8
adc al, 0xc9
leave
or al, 0x7f
invalid
Function at 0x140007330
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.1400090a0
test eax, eax
jne 0x140007357
mov eax, 0x80004005
add rsp, 0x70
pop r14
pop rsi
pop rbx
ret
mov rcx, qword [0x140046100]
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.140009610
test eax, eax
js 0x1400074dd
xor ebx, ebx
lea r8, [0x14002da78]
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.140005dc0
test eax, eax
je 0x1400073e2
mov ecx, eax
call fcn.140002dd0
mov ebx, eax
jmp 0x1400074c8
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 0x1400074a9
mov rdi, qword [rsp + 0xa8]
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test r14b, r14b
je 0x1400074b2
lea rcx, [rsi + 0x68]
test rcx, rcx
je 0x140007496
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x140007462
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.140005320
test eax, eax
jne 0x1400074b2
mov ebx, 0x80004005
jmp 0x1400074b2
mov ecx, eax
call fcn.140002dd0
mov ebx, eax
test rdi, rdi
je 0x1400074c0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x90]
cmp qword [rsp + 0x50], 0
je 0x1400074db
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 0x140007770
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 [0x140043110]
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 0x1400077fe
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 0x1400077fe
call fcn.140002db0
mov ebx, eax
jmp 0x140007926
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000781f
call fcn.140002db0
jmp 0x140007915
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 0x140007842
call fcn.140002db0
jmp 0x140007915
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 0x140007864
mov ebx, 0x8007000e
jmp 0x140007917
mov ecx, eax
test eax, eax
je 0x14000789c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140007892
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000789c
lea rcx, [rsp + 0x70]
call fcn.140002c20
jmp 0x1400078a6
mov ecx, 0x80070216
call fcn.1400039a0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400078b9
cmp qword [rsp + 0x70], 0
jne 0x1400078c8
mov ebx, 0x8007000e
jmp 0x140007917
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 0x1400078f2
call fcn.140002db0
jmp 0x140007915
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.1400074f0
mov ebx, eax
test rdi, rdi
je 0x140007926
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14000793d
lea rcx, [rsp + 0x70]
call fcn.1400045d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140013b10
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008910
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 0x140008a00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140008a18
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 0x140008a24
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140008a20
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 0x140008bd0
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 [0x140043110]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r15d, r15d
mov rdi, rcx
mov r14d, edx
lea rcx, [rsp + 0x50]
lea r8, [0x14002da78]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
call fcn.140005dc0
mov ebx, eax
test eax, eax
je 0x140008c41
mov dword [rdi + 0x27c], eax
jmp 0x140008da2
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.140005dc0
mov ebx, eax
test eax, eax
jne 0x140008d8a
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 0x140008cf2
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x140008cc5
lea ecx, [rbx + 0xd]
jmp 0x140008cf2
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140008ce6
test al, 1
jne 0x140008cdf
shr rax, 1
cmp word [rsp + rax*2 + 0x8e], r15w
je 0x140008cef
mov ecx, 0xd
jmp 0x140008cf2
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 0x140008d4e
lea rax, [rdi + 0x68]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x68], rax
lea rax, [0x140009dd0]
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140008d46
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x140008d90
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x140008d79
cmp eax, 0x80010106
jne 0x140008d90
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140008d7d
jmp 0x140008d90
mov byte [rdi + 0x62], 1
mov edx, r14d
mov rcx, rdi
call fcn.140008770
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x38], r15
je 0x140008da2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], r15
je 0x140008db4
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.140013b10
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 0x140008de0
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 0x140008e08
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
lea r8, [0x140005b60]
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 0x140008e49
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 0x140009500
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x78
call fcn.1400090a0
test eax, eax
jne 0x140009517
mov eax, 0x80004005
add rsp, 0x78
ret
mov qword [rsp + 0x70], rbx
xor ebx, ebx
lea r8, [0x14002da78]
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.140005dc0
test eax, eax
je 0x14000955c
mov ecx, eax
call fcn.140002dd0
mov ebx, eax
jmp 0x1400095ef
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.140005dc0
test eax, eax
je 0x140009596
mov ecx, eax
call fcn.140002dd0
jmp 0x1400095da
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [0x140046100]
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.140009610
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x1400095ef
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x140009602
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 0x14000a3e0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [0x140046140], 0
mov ebx, r9d
je 0x14000a3f7
or ebx, 0xffffffff
jmp 0x14000a44b
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x20]
lea rcx, [0x140046230]
mov rdx, rax
call fcn.140006280
cmp al, 1
jne 0x14000a42f
lea rcx, [0x140046230]
mov edx, ebx
call fcn.140008bd0
mov ebx, eax
jmp 0x14000a433
mov ebx, dword [rsp + 0x20]
cmp dword [0x1400464bc], 0
jne 0x14000a44b
cmp byte [0x140046292], 0
je 0x14000a44b
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x140046230]
xor edx, edx
call fcn.140003b20
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14000b600
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
xor ecx, ecx
lea rax, [rsp + 0x60]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControls_FolderDisplay_shellexPropertySheetHandlersigfxOSP
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000b69a
lea rax, str.FA507C3F_30C6_4DCA_9EE5_2656072EEC14
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x68]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], 0x4e
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000b68e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret
mov al, 1
add rsp, 0x58
ret
Function at 0x14000b6b0
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x50
xor edi, edi
lea rax, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCplsigfxcpl.cpl
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000b752
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rbx
mov rbx, qword [rsp + 0x70]
lea r9d, [rdi + 4]
lea rdx, str.RunLevel
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000b745
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x14000c7d0
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x48
xor eax, eax
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControls_FolderDisplay_shellexPropertySheetHandlers
lea rcx, [rsp + 0x20]
mov r9d, 0xf003f
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], rax
call fcn.140005dc0
test eax, eax
jne 0x14000c8c1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
test rcx, rcx
je 0x14000c82f
mov rbx, qword [rsp + 0x20]
lea r8, str.IgfxOSP
mov rdx, rbx
call fcn.140007280
jmp 0x14000c8a7
cmp byte [0x1400461c0], 0
jne 0x14000c87a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c86a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400461c0], 1
mov qword [0x1400461b8], rax
jmp 0x14000c881
mov rax, qword [0x1400461b8]
mov byte [0x1400461c0], 1
jmp 0x14000c881
mov rax, qword [0x1400461b8]
mov rbx, qword [rsp + 0x20]
lea rdx, str.IgfxOSP
mov rcx, rbx
test rax, rax
je 0x14000c8a1
mov r8d, dword [rsp + 0x28]
xor r9d, r9d
call rax
jmp 0x14000c8a7
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x14000c8b5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000c8d1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x48
ret

Function at 0x14000c8e0
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x48
xor eax, eax
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionControl_PanelCpls
lea rcx, [rsp + 0x20]
mov r9d, 0xf003f
mov rdx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], rax
call fcn.140005dc0
test eax, eax
jne 0x14000c9d1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
test rcx, rcx
je 0x14000c93f
mov rbx, qword [rsp + 0x20]
lea r8, str.igfxcpl.cpl
mov rdx, rbx
call fcn.140007280
jmp 0x14000c9b7
cmp byte [0x1400461c0], 0
jne 0x14000c98a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c97a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1400461c0], 1
mov qword [0x1400461b8], rax
jmp 0x14000c991
mov rax, qword [0x1400461b8]
mov byte [0x1400461c0], 1
jmp 0x14000c991
mov rax, qword [0x1400461b8]
mov rbx, qword [rsp + 0x20]
lea rdx, str.igfxcpl.cpl
mov rcx, rbx
test rax, rax
je 0x14000c9b1
mov r8d, dword [rsp + 0x28]
xor r9d, r9d
call rax
jmp 0x14000c9b7
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test rbx, rbx
je 0x14000c9c5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000c9e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add rsp, 0x48
ret