joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016177
Capabilities:
Delete file

Disassembly:
jmp 0x14002adc0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x718
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x738]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x6e8], rax
lea rcx, [0x14007f1da]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov rax, qword [0x140075c58]
cmp dword [rax + 8], 0x4a61
jae 0x14002ae30
mov dword [rbp + 0x6e4], 1
jmp 0x14002ae3a
mov dword [rbp + 0x6e4], 2
mov eax, dword [rbp + 0x6e4]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x24], 0
jmp 0x14002ae54
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
jae 0x14002af0e
mov eax, dword [rbp + 0x24]
lea rcx, str.dismcore.dll
mov r9d, dword [rbp + 0x718]
mov r8, qword [rbp + 0x710]
mov rdx, qword [rcx + rax*8]
xor ecx, ecx
call fcn.1400161a4
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14002ae94
call fcn.140016b13
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14002aefe
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400161f9
mov eax, dword [rbp + 0x24]
lea rcx, str.dismcore.dll
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0x90]
call fcn.140016af0
lea rcx, [rbp + 0x90]
call fcn.1400162a3
mov qword [rbp + 0x68], rax
mov eax, 0x7e
mov rcx, qword [rbp + 0x68]
mov word [rbp + rcx*2 + 0x8e], ax
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002ae4c
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140057700]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x6e8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x6f8]
pop rdi
pop rbp
ret
Function at 0x140016186
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x14002bdb0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xfa8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2be
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xfc8]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0xf68], rax
lea rcx, [0x14007f1da]
call fcn.140016b68
mov byte [rbp + 4], 0
mov dword [rbp + 0x44], 0xc0000022
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016825
xor r9d, r9d
mov r8d, 0x1c
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x14002be34
jmp 0x14002bf46
mov r8d, 0x104
lea rdx, str.MicrosoftWindowsApps
lea rcx, [rbp + 0x70]
call fcn.140016983
mov r8d, 0x104
lea rdx, str.BluetoothDiagnosticUtil.dll
lea rcx, [rbp + 0x70]
call fcn.140016983
mov r8d, dword [rbp + 0xf98]
mov rdx, qword [rbp + 0xf90]
lea rcx, [rbp + 0x70]
call fcn.14001612c
test eax, eax
jne 0x14002be80
jmp 0x14002bf46
mov byte [rbp + 4], 1
mov rax, qword [0x140075c58]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x4a0]
call fcn.1400161f9
mov r8d, 0x104
lea rdx, str._syswow64_
lea rcx, [rbp + 0x4a0]
call fcn.140016983
mov r8d, 0x104
lea rdx, str.msdt.exe
lea rcx, [rbp + 0x4a0]
call fcn.140016983
lea rdx, str._path
lea rcx, [rbp + 0x6d0]
call fcn.1400161f9
mov rax, qword [0x140075c58]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x6d0]
call fcn.140016af0
lea rdx, str.diagnosticsindexBluetoothDiagnostic.xml__skip_yes
lea rcx, [rbp + 0x6d0]
call fcn.140016af0
mov dword [rsp + 0x20], 0x2710
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x6d0]
lea rcx, [rbp + 0x4a0]
call fcn.14001689d
test eax, eax
je 0x14002bf3c
mov dword [rbp + 0x44], 0
xor eax, eax
test eax, eax
jne 0x14002be08
movzx eax, byte [rbp + 4]
test eax, eax
je 0x14002bf7e
mov dword [rbp + 0x24], 5
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002bf65
jmp 0x14002bf7e
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14002bf55
call fcn.14001615e
mov eax, dword [rbp + 0x44]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140057eb0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0xf68]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xf78]
pop rdi
pop rbp
ret
Function at 0x1400161c7
Capabilities:
Start service

Disassembly:
jmp 0x1400281f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14007edd2]
call fcn.140016b68
mov byte [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140028248
jmp 0x140028320
mov r8d, 0x14
mov rdx, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14002826f
jmp 0x140028320
mov rcx, qword [rbp + 0x48]
call fcn.140016910
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 4
jne 0x14002828a
mov byte [rbp + 4], 1
jmp 0x140028320
cmp dword [rbp + 0x64], 6
je 0x140028296
cmp dword [rbp + 0x64], 3
jne 0x1400282da
mov dword [rbp + 0x84], 5
mov rcx, qword [rbp + 0x48]
call fcn.140016910
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 4
jne 0x1400282b8
mov byte [rbp + 4], 1
jmp 0x1400282da
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbp + 0x84]
dec eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x1400282a0
cmp dword [rbp + 0x64], 1
jne 0x140028316
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140028316
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x48]
call fcn.140016910
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 4
jne 0x140028316
mov byte [rbp + 4], 1
jmp 0x140028320
xor eax, eax
test eax, eax
jne 0x140028223
cmp qword [rbp + 0x48], 0
je 0x140028331
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp qword [rbp + 0x28], 0
je 0x140028342
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rbp + 4]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400162c6
Capabilities:
Delete file

Disassembly:
jmp 0x14002b9a0
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x14007f1da]
call fcn.140016b68
mov rax, qword [0x140075c58]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400161f9
lea rdx, str.iscsiexe.dll
lea rcx, [rbp + 0x10]
call fcn.140016af0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x20]
lea rdx, [0x140058200]
call fcn.1400169a6
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x140016366
Capabilities:
Print debug messages

Disassembly:
jmp 0x140035670
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14007fb67]
call fcn.140016b68
mov qword [rbp + 0x48], 0x104
cmp qword [rbp + 0x140], 0
je 0x1400356bf
mov rcx, qword [rbp + 0x140]
call fcn.1400162a3
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
cmp qword [0x140075c58], 0
jne 0x1400356d8
call fcn.140016640
mov rax, qword [rax + 0x30]
mov qword [rbp + 8], rax
jmp 0x1400356e7
mov rax, qword [0x140075c58]
mov rax, qword [rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x48]
shl rax, 1
mov r8, rax
mov edx, 8
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140035786
lea rdx, str._UCM_
mov rcx, qword [rbp + 0x28]
call fcn.1400161f9
cmp qword [rbp + 0x140], 0
je 0x140035735
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
lea rdx, str._code__0x
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
mov rcx, qword [rbp + 0x28]
call fcn.140016bef
mov rdx, rax
mov ecx, dword [rbp + 0x148]
call fcn.1400169ce
lea rdx, [0x140063c2c]
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400163b1
Capabilities:
Bypass uac via icmluautil

Disassembly:
jmp 0x140023360
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007ecd0]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x68], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x44], eax
lea r9, [rbp + 0x68]
mov r8d, 4
lea rdx, [0x140045150]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x1400233f0
jmp 0x14002343a
cmp qword [rbp + 0x68], 0
jne 0x1400233f9
jmp 0x14002343a
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x48]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x140023434
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400233c8
cmp qword [rbp + 0x68], 0
je 0x14002344f
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jne 0x14002345b
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14004bf00]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001648d
Capabilities:
Bypass uac via rpc

Disassembly:
jmp 0x14001d0b0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x308
lea rbp, [rsp + 0x70]
lea rdi, [rsp + 0x70]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x328]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x14007e505]
call fcn.140016b68
mov byte [rbp + 4], 0
mov qword [rbp + 0x178], 0
mov dword [rbp + 0x194], 0
cmp qword [rbp + 0x2f8], 0
je 0x14001d164
mov rax, qword [rbp + 0x2f8]
mov qword [rax], 0
mov rax, qword [rbp + 0x2f8]
mov qword [rax + 8], 0
mov rax, qword [rbp + 0x2f8]
mov dword [rax + 0x10], 0
mov rax, qword [rbp + 0x2f8]
mov dword [rax + 0x14], 0
mov edx, 0x18
lea rcx, [rbp + 0xd8]
call fcn.140016825
mov edx, 0x38
lea rcx, [rbp + 0x108]
call fcn.140016825
mov dword [rbp + 0x12c], 1
movzx eax, word [rbp + 0x2f0]
mov word [rbp + 0x130], ax
mov edx, 0x70
lea rcx, [rbp + 0x50]
call fcn.140016825
lea rdx, [rbp + 0x28]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.140016406
test eax, eax
jne 0x14001d320
lea rcx, [rbp + 0x50]
call fcn.140016451
test eax, eax
jne 0x14001d320
lea rax, [rbp + 0x194]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0x2e8]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp + 0x2e0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x2c8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x2c0]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x2b8]
mov r8, qword [rbp + 0x2b0]
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x50]
call fcn.1400167cb
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14001d278
mov ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x50]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
jne 0x14001d2f3
cmp qword [rbp + 0x178], 0
jne 0x14001d2f3
cmp qword [rbp + 0x2f8], 0
je 0x14001d2ef
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0xe0]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x2f8]
mov ecx, dword [rbp + 0xe8]
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x2f8]
mov ecx, dword [rbp + 0xec]
mov dword [rax + 0x14], ecx
mov byte [rbp + 4], 1
lea rcx, [rbp + 0x50]
call fcn.140016a19
jmp 0x14001d316
lea rcx, [rbp + 0x28]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
movzx eax, byte [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x70]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret
Function at 0x1400164a6
Capabilities:
Delete registry key
Delete registry value

Disassembly:
jmp 0x140039e20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000001
mov eax, 0x22
mov word [rbp + 0xf8], ax
mov eax, 0x24
mov word [rbp + 0xfa], ax
lea rax, str.SymbolicLinkValue
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x168], 0
mov rcx, qword [rbp + 0x260]
call fcn.1400162a3
mov eax, eax
shl rax, 1
mov dword [rbp + 0x24], eax
mov dword [rbp + 0xa8], 0x30
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xc0], 0x40
lea rax, [rbp + 0x78]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140039f1b
mov eax, dword [rbp + 4]
jmp 0x14003a073
movzx eax, word [rbp + 0x4a]
mov ecx, dword [rbp + 0x24]
lea rax, [rax + rcx + 2]
mov qword [rbp + 0x148], rax
mov rcx, qword [rbp + 0x148]
call fcn.140016695
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x140039f50
jmp 0x14003a050
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x80], rax
xor eax, eax
mov word [rbp + 0x78], ax
movzx eax, word [rbp + 0x148]
mov word [rbp + 0x7a], ax
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x78]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140039f8b
jmp 0x14003a050
mov rdx, qword [rbp + 0x260]
lea rcx, [rbp + 0x78]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140039faa
jmp 0x14003a050
mov dword [rbp + 0xa8], 0x30
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xc0], 0x140
lea rax, [rbp + 0x78]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
lea r8, [rbp + 0xa8]
mov edx, 0xf003f
lea rcx, [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14003a046
lea rdx, [rbp + 0xf8]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14003a039
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
test eax, eax
jne 0x140039f1b
cmp qword [rbp + 0x128], 0
je 0x14003a066
mov rcx, qword [rbp + 0x128]
call fcn.140016c1c
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140062780]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret
Function at 0x1400164d8
Capabilities:
Set registry value

Disassembly:
jmp 0x140035ec0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x108], 0
lea r8, [rbp + 0xe8]
lea rdx, [0x14006aa90]
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.SHELL32.dll_SHAssocEnumHandlersForProtocolByApplication]
test eax, eax
jge 0x140035f47
jmp 0x140036126
mov dword [rbp + 0x24], 0
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax]
lea r9, [rbp + 0x24]
lea r8, [rbp + 0xc8]
mov edx, 1
mov rcx, qword [rbp + 0xe8]
call qword [rax + 0x18]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140036108
cmp dword [rbp + 0x24], 0
je 0x140036108
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
lea r8, [rbp + 0x108]
lea rdx, [0x14006a568]
mov rcx, qword [rbp + 0xc8]
call qword [rax]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x1400360f4
mov qword [rbp + 0x88], 0
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x108]
call qword [rax + 0x20]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x1400360e0
cmp qword [rbp + 0x88], 0
je 0x1400360e0
mov rcx, qword [rbp + 0x210]
call fcn.1400162a3
mov qword [rbp + 0x1d8], rax
mov rcx, qword [rbp + 0x88]
call fcn.1400162a3
mov rcx, qword [rbp + 0x1d8]
lea rax, [rcx + rax + 4]
shl rax, 1
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x1400360d3
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400161f9
lea rdx, [0x140063d74]
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
mov rdx, qword [rbp + 0x210]
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x44], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rbp + 0xa8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0xa8]
call fcn.140016c1c
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
call qword [rax + InitCommonControls]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xc8]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x24], 0
jne 0x140035f47
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xe8]
call qword [rax + InitCommonControls]
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.1400169a6
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x1400164f1
Capabilities:
Get explorer pid

Disassembly:
jmp 0x140038310
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x168]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
call qword [sym.imp.USER32.dll_GetShellWindow]
mov qword [rbp + 8], rax
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x140]
mov dword [rbp + 0x44], eax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rbp + 0x24], 0
je 0x1400383ac
mov eax, dword [rbp + 0x44]
and eax, 0x80
test eax, eax
jne 0x14003839b
mov eax, dword [rbp + 0x44]
bts eax, 7
mov dword [rbp + 0x44], eax
mov r8d, dword [rbp + 0x24]
xor edx, edx
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x1400383ae
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140062e10]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001652d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jmp 0x14003cd70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140075340]
xor rax, rbp
mov qword [rbp + 0x448], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14003cde5
mov eax, 1
jmp 0x14003cf83
lea rax, [rbp + 0x298]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14003ce30
cmp dword [rbp + 0x24], 2
jne 0x14003ce29
mov eax, 1
jmp 0x14003cf83
xor eax, eax
jmp 0x14003cf83
mov rcx, qword [rbp + 0x478]
call fcn.140016bef
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax - 2]
cmp eax, 0x5c
je 0x14003ce6e
mov eax, 0x5c
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov rax, qword [rbp + 8]
add rax, 2
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov dword [rbp + 0x44], 0x104
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14003cf3b
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0x104
mov rcx, qword [rbp + 8]
call fcn.1400165af
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call fcn.14001652d
test eax, eax
jne 0x14003ceed
jmp 0x14003cf3b
mov dword [rbp + 0x44], 0x104
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14003cebc
mov rax, qword [rbp + 8]
sub rax, 2
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14003cf81
mov eax, 1
jmp 0x14003cf83
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140063b90]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x448]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret