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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
lea r8, str.SOFTWAREMcAfeeMSCPackages
mov rdi, rcx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], ebx
mov r9d, 0x20119
mov qword [rsp + 0x48], rbx
call fcn.14000dab0
test eax, eax
je 0x14000b8f9
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000b973
jmp 0x14000b96d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.1400464e0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rdx, rdi
lea rax, [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b965
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14000b965
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14000b996
test al, 1
jne 0x14000b965
shr rax, 1
cmp word [rsp + rax*2 + 0x4e], bx
je 0x14000b99b
test rdi, rdi
je 0x14000b973
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140043760
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
mov word [rsp + 0x50], bx
mov edx, 0x3b
lea rcx, [rsp + 0x50]
call fcn.140045c6c
test rax, rax
jne 0x14000b9bb
lea rcx, [rsp + 0x50]
call fcn.1400512bc
mov ebx, eax
test rdi, rdi
je 0x14000b9c9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000b975
Function at 0x14000e2c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebx, ebx
movsxd r15, r8d
mov qword [rsp + 0x50], rbx
lea rdi, str.InprocServer32
mov qword [rsp + 0x40], rdi
lea rax, str.LocalServer32
mov qword [rsp + 0x48], rax
mov r14, rdx
test rdx, rdx
je 0x14000e4cf
test r8d, r8d
jle 0x14000e4cf
mov qword [r11 + 8], rbp
mov esi, ebx
mov qword [r11 + 0x20], r12
lea rbp, str.7323885B_407F_4839_9695_96F545FF6286
lea r12d, [rbx + 0x7d]
mov word [rdx], bx
mov qword [rsp + 0x30], rbx
nop word [rax + rax]
lea r8, str.CLSID_
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14004f7d0
mov r8, rbp
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.14004fd54
mov edx, 0x26
mov rcx, rbp
call fcn.140050054
cmp r12w, word [rbp + rax*2 - 2]
je 0x14000e393
lea r8, [0x140088b30]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14004fd54
mov r8, rdi
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.14004fd54
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000e431
lea rax, [rsp + 0x30]
mov r9d, 0x201
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000e431
lea rax, [rsp + 0x30]
mov r9d, 0x101
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000e431
mov rdi, qword [rsp + rsi*8 + 0x48]
inc rsi
test rdi, rdi
jne 0x14000e340
mov rcx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x2c8]
mov rbp, qword [rsp + 0x2b0]
test rcx, rcx
je 0x14000e4cf
lea eax, [r15 + r15]
xor r9d, r9d
mov dword [rsp + 0x38], eax
xor r8d, r8d
lea rax, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000e4c0
mov rdx, r15
mov rcx, r14
call fcn.140050054
mov rdx, rax
cmp eax, 2
jbe 0x14000e4b9
cmp word [r14], 0x22
jne 0x14000e4b9
dec eax
cmp word [r14 + rax*2], 0x22
jne 0x14000e4b9
mov word [r14 + rax*2], bx
lea eax, [rdx - 2]
test eax, eax
je 0x14000e4b4
lea rsi, [r14 + 2]
mov ecx, eax
mov rdi, r14
rep movsw word [rdi], word [rsi]
mov word [r14 + rax*2], bx
cmp bx, word [r14]
setne bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000e4d1
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140043760
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000f350
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
lea r8, str.SOFTWAREMcAfeeAPMcVSCIns
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
lea r9d, [rax + 1]
mov qword [rsp + 0x40], rax
call fcn.14000dab0
test eax, eax
je 0x14000f39b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000f3eb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add rsp, 0x50
pop rbx
ret
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.APEnabled
lea rax, [rsp + 0x68]
mov dword [rsp + 0x60], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000f3f3
cmp dword [rsp + 0x60], 0
jne 0x14000f3f3
test rbx, rbx
je 0x14000f3eb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add rsp, 0x50
pop rbx
ret
test rbx, rbx
je 0x14000f401
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x68], 0
setne al
add rsp, 0x50
pop rbx
ret
Function at 0x140010a50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rcx, [rsp + 0x40]
call fcn.140036130
nop
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea rbx, str.SoftwareWow6432NodeMcAfee
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140036300
nop
lea rcx, [rsp + 0x40]
test eax, eax
je 0x140010ae2
call fcn.1400361d0
xor al, al
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140043760
mov rbx, qword [rsp + 0x490]
add rsp, 0x480
pop rdi
ret
call fcn.1400361d0
xor r8d, r8d
call fcn.140011340
mov rdi, rax
test rax, rax
je 0x140010abf
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.1400464e0
lea rdx, str.RegistryMACHINE_
mov rcx, qword [rsp + 0x460]
nop dword [rax + rax]
movzx r8d, word [rdx]
cmp rcx, 0x200
jae 0x140010b52
mov word [rsp + rcx*2 + 0x60], r8w
mov rcx, qword [rsp + 0x460]
inc rcx
mov qword [rsp + 0x460], rcx
add rdx, 2
cmp word [rdx], 0
jne 0x140010b20
jmp 0x140010b60
test r8w, r8w
jne 0x140010abf
nop dword [rax]
movzx eax, word [rbx]
cmp rcx, 0x200
jae 0x140010b90
mov word [rsp + rcx*2 + 0x60], ax
mov rcx, qword [rsp + 0x460]
inc rcx
mov qword [rsp + 0x460], rcx
add rbx, 2
cmp word [rbx], 0
jne 0x140010b60
jmp 0x140010b99
test ax, ax
jne 0x140010abf
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 6
xor r8d, r8d
lea rdx, str.SymbolicLinkValue
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete al
jmp 0x140010ac1
Function at 0x140010d80
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov edi, edx
mov rbx, rcx
call fcn.140011290
test eax, eax
jne 0x140010eae
mov r8d, 0xf01ff
mov rdx, qword [rbx]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x140010dfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xd0], eax
lea ecx, [rbx + 5]
call fcn.14002bb50
test eax, eax
je 0x140010ea0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_call_OpenService__error_code___d
mov r9d, 0x15c
jmp 0x140010e82
mov dword [rsp + 0x60], 0xffffffff
mov dword [rsp + 0x64], edi
mov r8, qword [rsp + 0x60]
shr r8, 0x20
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov edx, 0xffffffff
mov r9d, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x140010ea0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xd0], eax
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140010ea0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_call_ChangeServiceConfig_when_setting_service_start_type__error_code___d
mov r9d, 0x16f
mov qword [rsp + 0x20], rax
lea r8, str.SecurityCenter::CMSCServiceInstallerLogic_class_SecurityCenter::CMSCServiceTypedefs_class_SecurityCenter::CMSCServiceDep_::UpdateServiceStartType
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeMSCServiceInstaller.h
mov ecx, 5
call fcn.140001f30
nop
test rbx, rbx
je 0x140010eae
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x140011180
Capabilities:
Modify service

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x74], ecx
lea r8, [rsp + 0x38]
mov rax, rdx
mov dword [rsp + 0x64], 0xea60
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x58], rcx
xorps xmm0, xmm0
mov rcx, rax
mov qword [rsp + 0x6c], 0xea60
mov edx, 2
mov qword [rsp + 0x38], 0x15180
mov qword [rsp + 0x50], 3
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x140011271
mov qword [rsp + 0x80], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 5
mov dword [rsp + 0x30], eax
mov ebx, eax
call fcn.14002bb50
test eax, eax
je 0x140011252
lea rax, [rsp + 0x30]
mov r9d, 0x115
mov qword [rsp + 0x28], rax
lea r8, str.SecurityCenter::CMSCServiceInstallerLogic_class_SecurityCenter::CMSCServiceTypedefs_class_SecurityCenter::CMSCServiceDep_::SetFailureActions
lea rax, str.Failed_to_call_ChangeServiceConfig2_to_set_Failure_Actions__error_code___d
mov ecx, 5
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExeMSCServiceInstaller.h
mov qword [rsp + 0x20], rax
call fcn.140001f30
mov eax, ebx
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140043760
add rsp, 0x88
ret
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140043760
add rsp, 0x88
ret
Function at 0x140011340
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov byte [rsp + 0x10], dl
push rdi
sub rsp, 0x80
mov edi, r8d
cmp r8d, 5
jbe 0x140011366
xor eax, eax
jmp 0x140011549
lea rcx, [rsp + 0x60]
call fcn.140036130
nop
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8, str.SoftwareMcAfee
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140036300
test eax, eax
jne 0x1400113f8
lea rcx, [rsp + 0x60]
call fcn.140036240
mov dword [rsp + 0x28], 2
lea rcx, [0x140085440]
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 6]
xor r8d, r8d
lea rdx, str.SymbolicLinkValue
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001153c
lea rcx, [rsp + 0x60]
call fcn.1400363a0
jmp 0x140011539
cmp eax, 0xb7
jne 0x14001153c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 8
xor r9d, r9d
lea r8, str.SoftwareMcAfee
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140036300
test eax, eax
jne 0x14001153c
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0xa0], ebx
lea rcx, [rsp + 0x60]
call fcn.140036240
mov rcx, rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14001153c
cmp dword [rsp + 0x98], ebx
ja 0x1400114ff
cmp dword [rsp + 0xa0], 1
ja 0x1400114ff
lea rcx, [rsp + 0x60]
call fcn.140036240
mov rsi, rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001153c
lea rdx, str.NtDeleteKey
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001153c
mov rcx, rsi
call qword [case.0x1400408d8.0]
test eax, eax
je 0x14001151d
jmp 0x14001153c
lea rcx, [rsp + 0x60]
call fcn.140036240
mov rcx, rax
lea rdx, [0x14008b1c0]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x14001153c
lea rcx, [rsp + 0x60]
call fcn.1400362e0
lea r8d, [rdi + 1]
mov dl, 1
lea rcx, str.SoftwareMcAfee
call fcn.140011340
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1400361d0
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140012a00
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov esi, r9d
mov edi, r8d
mov rbx, rdx
mov rbp, 0xffffffffffffffff
test rdx, rdx
je 0x140012a76
bt r8d, 8
jae 0x140012a43
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r9d, 0x40
mov qword [rsp + 0x40], 0
mov r8d, edi
mov dword [rsp + 0x20], esi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14005223c
mov rcx, qword [rsp + 0x40]
test eax, eax
cmovne rcx, rbp
mov rax, rcx
jmp 0x140012a79
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400134e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140013520
test al, 0x10
ja 0x1400135b4
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400464e0
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.14004f7d0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140050054
xor esi, esi
cmp eax, 1
jle 0x140013569
cdqe
cmp word [rsp + rax*2 + 0x1e], 0x5c
jne 0x140013569
mov word [rsp + rax*2 + 0x1e], si
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.140045b04
test rax, rax
jne 0x140013584
mov eax, 0xf
jmp 0x1400135b6
lea rdx, [rsp + 0x20]
mov word [rax], si
mov rcx, rdi
call fcn.1400134e0
test eax, eax
jne 0x1400135b6
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400135b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400135b6
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140043760
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001a070
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [r8]
mov rsi, r8
mov rdi, rdx
mov rbx, qword [rax]
cmp rbx, rax
je 0x14001a158
nop dword [rax]
cmp qword [rbx + 0x38], 8
lea r9, [rbx + 0x20]
mov rax, qword [r9 + 0x10]
jb 0x14001a0b2
mov r9, qword [r9]
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14001a0bf
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.14000bda0
cmp rax, 0xffffffffffffffff
je 0x14001a0fc
cmp qword [rbx + 0x58], 8
lea r9, [rbx + 0x40]
mov rcx, qword [r9 + 0x10]
jb 0x14001a0e8
mov r9, qword [r9]
mov r8, qword [rbx + 0x30]
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.14000c0c0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14001a128
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14001a123
cmp rbx, qword [rax + 0x10]
jne 0x14001a123
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14001a110
mov rbx, rax
jmp 0x14001a14f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14001a14f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14001a140
cmp rbx, qword [rsi]
jne 0x14001a0a0
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14001a165
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x14001a1e0
mov eax, 2
mov rbx, 0xffffffffffffffff
mul rbp
lea rdx, [0x14007723c]
cmovo rax, rbx
mov rcx, rax
call fcn.140043f98
mov rsi, rax
test rax, rax
je 0x14001a1e0
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14001a1ad
mov rcx, qword [rdi]
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14001a1c0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14000ea70
mov rcx, rsi
call fcn.140043780
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140021cd0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140021d4f
cmp di, word [rcx]
je 0x140021d4f
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140021cf8
lea eax, [rdi + 2]
jmp 0x140021d54
xor ecx, ecx
call fcn.140021b98
mov rdx, rbx
mov rcx, rax
call fcn.1400255b8
test eax, eax
je 0x140021d4b
mov edx, dword [0x14007543c]
lea rax, [0x14009f5c8]
mov qword [rsp + 0x28], rax
lea r9, section..data
mov eax, dword [0x140075424]
lea r8, str.Intel_Corporation
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140024030
test eax, eax
jne 0x140021d4b
mov eax, 5
jmp 0x140021d54
xor eax, eax
jmp 0x140021d54
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400247d4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov r9, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8, [0x140024e50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14002482e
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14002482e
lea eax, [rbx + 1]
jmp 0x140024830
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140026a1c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor ebp, ebp
mov dword [rcx], ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rcx + 0x18], ebp
mov qword [rcx + 0x20], rbp
mov qword [rcx + 0x28], rbp
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x28], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
lea ecx, [rbp + 0x58]
call fcn.1400437bc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov dword [rdi + 0x40], ebp
lea rbx, [rdi + 0x48]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
test rsi, rsi
je 0x140026aae
mov rdx, rsi
jmp 0x140026af2
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.1400464e0
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rdx, str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000ec10
nop
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140043760
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002b630
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rdi, rcx
xor ebx, ebx
cmp dword [rcx + 0x20], ebx
jne 0x14002b669
xor eax, eax
jmp 0x14002b89a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.14001a850
nop
mov esi, 0x104
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.1400464e0
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x210]
call fcn.1400464e0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov r8, rax
mov edx, esi
lea rcx, [rbp + 0x320]
lea rax, [rbp + 0x320]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14002b6eb
mov al, byte [r8 + rcx]
test al, al
je 0x14002b6eb
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14002b6cc
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov byte [rax], bl
mov r8, rsi
lea rcx, [rbp + 0x210]
lea rax, [rbp + 0x210]
mov r9, qword [rsp + 0x60]
sub r9, rax
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x14002b730
mov al, byte [r9 + rcx]
test al, al
je 0x14002b730
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x14002b711
lea rax, [rcx - 1]
test r8, r8
cmovne rax, rcx
mov byte [rax], bl
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r8, [0x140075acc]
mov rdx, rsi
lea rcx, [rbp + 0x210]
call fcn.14002b584
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
or dword [rsp + 0x38], 0xffffffff
lea rax, [0x14002b920]
mov qword [rsp + 0x30], rax
lea rax, [0x14002b8c0]
mov qword [rsp + 0x28], rax
lea rax, [0x14002b930]
mov qword [rsp + 0x20], rax
lea r9, [0x14002b910]
lea r8, [fcn.14002b8d0]
lea rdx, [0x140012620]
lea rcx, [0x140012610]
mov rax, qword [rdi + 8]
call qword [case.0x1400408d8.0]
mov rsi, rax
test rax, rax
je 0x14002b884
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call fcn.1400464e0
lea rax, [rbp + 0x100]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [0x14002b940]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x320]
mov rcx, rsi
mov rax, qword [rdi + 0x10]
call qword [case.0x1400408d8.0]
mov rcx, rsi
mov rax, qword [rdi + 0x18]
call qword [case.0x1400408d8.0]
lea rcx, [rbp + 0x104]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14002b884
cmp dword [rbp + 0x100], ebx
je 0x14002b876
lea rax, [rbp - 8]
mov qword [rbp - 0x10], rax
mov r8d, 3
lea rdx, [rbp + 0x104]
lea rcx, [rbp - 0x10]
call fcn.14002b478
nop
mov rcx, qword [rbp - 0x10]
call fcn.14002357c
mov ebx, eax
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x14002b876
call fcn.14004a7f8
lea rcx, [rbp + 0x104]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14002b898
call fcn.14004a7f8
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140043760
mov rbx, qword [rsp + 0x570]
add rsp, 0x540
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ddf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x14002de43
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], 0
xor r8d, r8d
lea rcx, [0x140075bf8]
mov edx, 0x8000
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x38]
test eax, eax
jns 0x14002de58
test rbx, rbx
je 0x14002de43
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 0x57
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14004fc58
mov edi, eax
test rbx, rbx
je 0x14002de7d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret