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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov rbp, r9
lea rcx, [rsp + 0x50]
mov rdi, r8
call fcn.1400bc380
mov rax, qword [rdi]
mov r9, rbp
mov rsi, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp eax, 0xea
jne 0x1400ecd86
mov rcx, qword [rdi]
call fcn.140296f94
mov qword [rdi], 0
lea rdx, [0x14030f110]
mov ecx, dword [rsi]
call fcn.1402979b4
mov rdx, qword [rsp + 0x50]
mov r9, rbp
mov qword [rdi], rax
xor r8d, r8d
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ecda7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x1400ecdc0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, r9
mov ebp, r8d
mov r12, rdx
mov r14, rcx
test r9, r9
je 0x1400ecf1a
mov edi, dword [rsp + 0x90]
cmp edi, 1
jb 0x1400ecf1a
xor eax, eax
mov dword [r11 + 0x20], eax
mov qword [r11 - 0x38], rax
cmp r8d, 1
jne 0x1400ece25
lea rax, [r11 + 0x20]
mov qword [r11 - 0x48], rax
lea r9, [r11 - 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400ec660
jmp 0x1400ece47
cmp ebp, 7
jne 0x1400ece5f
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
call fcn.1400ec450
mov edi, eax
test eax, eax
jne 0x1400ecf0c
mov rsi, qword [rsp + 0x30]
mov edi, dword [rsp + 0x88]
jmp 0x1400ece66
mov dword [rsp + 0x88], edi
lea r15d, [rdi + 0x20]
mov ecx, r15d
call fcn.1402974ec
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400ece84
lea edi, [rax + 8]
jmp 0x1400ecf03
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
mov r9d, ebp
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call fcn.1400ec8f0
mov edi, eax
test eax, eax
jne 0x1400ecf03
mov rdx, r12
lea rcx, [rsp + 0x88]
call fcn.1400bc380
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
lea r9d, [rdi + 3]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ecefe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140296f94
nop
mov rcx, qword [rsp + 0x30]
call fcn.140296f94
mov eax, edi
jmp 0x1400ecf1f
mov eax, 0x57
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400f12c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400f12e6
xor eax, eax
cmp ax, word [rcx]
je 0x1400f12e6
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f12e6
test al, 0x10
je 0x1400f12e6
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1400f19a0
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
test rcx, rcx
je 0x1400f1a8d
xor eax, eax
cmp ax, word [rcx]
je 0x1400f1a8d
cmp word [rcx], 0x2e
jne 0x1400f19f3
cmp word [rcx + 2], ax
je 0x1400f1a8d
cmp word [rcx], 0x2e
jne 0x1400f19f3
cmp word [rcx + 2], 0x2e
jne 0x1400f19f3
cmp word [rcx + 4], ax
je 0x1400f1a8d
call fcn.1400f12c0
test al, al
je 0x1400f1a8d
mov r8, rbx
lea rdx, str._s.
lea rcx, [rsp + 0x20]
call fcn.1400270c0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov dl, 1
call fcn.1400f0e70
test al, al
jne 0x1400f1a35
xor bl, bl
jmp 0x1400f1a5a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400f1a77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
call fcn.14002cde0
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x50
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x50
pop rbx
ret
Function at 0x1400f2030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call fcn.140027b30
mov rcx, rax
test rax, rax
je 0x1400f21c5
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
xor ebp, ebp
mov edi, ebp
nop dword [rax + rax]
lea edx, [rdi + 1]
test edx, edx
js 0x1400f21ba
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400f209b
lea rcx, [rsp + 0x48]
call fcn.140028260
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 8], 1
jle 0x1400f20b3
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140028140
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov ecx, dword [rbx - 0xc]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
je 0x1400f213c
test rbx, rbx
jne 0x1400f20ce
mov eax, ebp
jmp 0x1400f20e2
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1402c4f0c
test eax, eax
js 0x1400f21ba
cmp eax, dword [rbx - 0xc]
jg 0x1400f21ba
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], bp
cmp edi, dword [rbx - 0x10]
ja 0x1400f2070
lea rcx, [rbx - 0x18]
call fcn.140027ca0
add rax, 0x18
mov qword [rsi], rax
mov rdi, 0xffffffffffffffff
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x1400f212c
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
call fcn.140027b30
nop
mov rcx, rax
test rax, rax
je 0x1400f21af
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [case.0x1400bf494.25]
mov rdi, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x1400f217b
movzx edx, dx
mov rcx, rsi
call fcn.140027370
jmp 0x1400f2196
mov rax, rdi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400f2180
mov r8d, eax
mov rcx, rsi
call fcn.1400283a0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400f212c
mov rcx, qword [rdx]
mov rax, qword [rcx]
jmp 0x1400f2129
mov ecx, 0x80004005
call fcn.140028370
int3
mov ecx, 0x80070057
call fcn.140028370
nop
mov ecx, 0x80004005
call fcn.140028370
int3

Function at 0x1400f2230
Capabilities:
Delete registry key

Disassembly:
lea rax, vtable.CoreTech::internal::CRegKeyImpl.0
mov qword [rcx], rax
jmp fcn.1400f2250

Function at 0x1400f2250
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400f2298
cmp byte [rbx + 0x14], 0
je 0x1400f227d
lea rdx, [case.0x1400bf494.25]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rbx + 8]
mov byte [rbx + 0x14], 0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 8], 0
mov dword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov dword [rbx + 0x10], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400f2550
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400f25f7
test rdx, rdx
je 0x1400f25f7
cmp byte [0x1403dfb94], 0
jne 0x1400f25bf
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f25af
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403dfb98], rax
mov byte [0x1403dfb94], 1
jmp 0x1400f25c6
mov rax, qword [0x1403dfb98]
mov byte [0x1403dfb94], 1
jmp 0x1400f25c6
mov rax, qword [0x1403dfb98]
mov rcx, qword [rbx + 8]
mov rdx, rdi
test rax, rax
je 0x1400f25e6
mov r8d, dword [rbx + 0x10]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
mov eax, 0x57
add rsp, 0x20
pop rdi
ret

Function at 0x1400f2650
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
mov r10d, edx
test rcx, rcx
jne 0x1400f2668
lea eax, [rcx + 0x57]
add rsp, 0x48
ret
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
test rax, rax
cmovne rdx, rax
xor eax, eax
mov qword [rsp + 0x38], rdx
mov edx, r10d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x1400f2e90
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x1400f2ec0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 8]
test rbx, rbx
jne 0x1400f2ef8
lea eax, [rbx + 0x57]
jmp 0x1400f2fe8
lea rcx, [rsp + 0x48]
call fcn.1400f21e0
nop
mov r9d, dword [rdi + 0x10]
or r9d, 0x2001f
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400f2940
mov ebx, eax
test eax, eax
jne 0x1400f2fdc
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400f2fc1
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400f2ec0
mov ebx, eax
test eax, eax
jne 0x1400f2fdc
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400f2f70
lea rcx, [rsp + 0x48]
call fcn.1400f2250
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0xd0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.1400f2230
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140296f70
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f31d0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebp, r8d
mov rsi, rdx
mov r12, rcx
mov edx, ebp
mov rcx, rsi
mov r8, r9
mov r14, r9
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov r15d, dword [rsp + 0x2d0]
test r15d, r15d
je 0x1400f330c
test eax, eax
jne 0x1400f330c
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x268], r13
xor r13d, r13d
mov edi, r13d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.1402b60e0
mov qword [rsp + 0x38], r13
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r13
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400f32dd
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f32e4
mov rdx, qword [rsp + 0x48]
mov r9, r14
mov r8d, ebp
mov dword [rsp + 0x20], r15d
mov rcx, r12
call fcn.1400f31d0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f32e4
cmp eax, 0x103
je 0x1400f32f2
inc edi
test ebx, ebx
je 0x1400f3243
mov eax, ebx
jmp 0x1400f32f4
xor eax, eax
mov rdi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x278]
mov r13, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x280
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret

Function at 0x1400f33b0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
test r9, r9
je 0x1400f33e0
mov eax, dword [rsp + 0x60]
cmp eax, 1
jb 0x1400f33e0
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
mov eax, 0x57
add rsp, 0x38
ret
Function at 0x1400f3a60
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x20], 0
mov rbx, rdx
mov rsi, rcx
jne 0x1400f3b2b
cmp qword [rdx + 0x18], 8
mov rcx, rdx
mov dword [rsp + 0x50], 0
jb 0x1400f3a8d
mov rcx, qword [rdx]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x1400f3b2b
mov r9, qword [rsi + 0x10]
mov edx, ebp
mov r8, qword [rsi + 8]
mov rcx, r9
sub rcx, r8
mov qword [rsp + 0x48], rdi
cmp rbp, rcx
jae 0x1400f3ac1
lea rax, [r8 + rbp]
jmp 0x1400f3aee
jbe 0x1400f3af2
mov rax, qword [rsi + 0x18]
sub rax, r8
cmp rdx, rax
jbe 0x1400f3adf
lea r8, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.1400d18a8
jmp 0x1400f3af2
sub rdx, rcx
lea r8, [rsi + 8]
mov rcx, r9
call fcn.1400d1964
mov qword [rsi + 0x10], rax
mov rcx, qword [rsi + 8]
call fcn.1400279d0
cmp qword [rbx + 0x18], 8
mov rdi, qword [rsp + 0x48]
jb 0x1400f3b0a
mov rbx, qword [rbx]
mov r9, rax
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
sete al
mov byte [rsi + 0x20], al
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
xor al, al
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f46e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, r9
mov rbp, r8
mov ebx, edx
mov ecx, dword [0x1403e17e8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x1403e2fb0], eax
jg 0x1400f4855
lea r14, [0x1403e2fb8]
mov eax, dword [rdi]
cmp dword [0x1403e2fb4], eax
jg 0x1400f47e3
mov rcx, r14
mov rax, qword [0x1403e2fb8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test ebx, ebx
je 0x1400f47ac
sub ebx, 1
je 0x1400f4776
cmp ebx, 1
je 0x1400f476d
lea rdx, str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x1400f477d
lea rdx, str._s__d_:__ERROR_:___s_:__s_n
jmp 0x1400f477d
lea rdx, str._s__d_:__INFO_:___s_:__s_n
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0x70]
mov r8, rbp
lea rcx, [rsp + 0x30]
call fcn.140027fe0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f47c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
lea rcx, [0x1403e2fb4]
call fcn.14029718c
cmp dword [0x1403e2fb4], 0xffffffff
jne 0x1400f4740
lea rax, vtable.ATL::CAtlStringMgr.0
mov qword [0x1403e2fb8], rax
lea rax, [0x1403e2fe8]
mov qword [0x1403e2fc0], rax
mov dword [0x1403e2fd8], 2
xor eax, eax
mov qword [0x1403e2fd0], rax
mov dword [0x1403e2fe0], eax
mov qword [0x1403e2fc8], r14
lea rcx, [0x140307240]
call fcn.1402974d4
lea rcx, [0x1403e2fb4]
call fcn.14029712c
jmp 0x1400f4740
lea rcx, [0x1403e2fb0]
call fcn.14029718c
cmp dword [0x1403e2fb0], 0xffffffff
jne 0x1400f472b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, vtable.ATL::CWin32Heap.0
mov qword [0x1403e2fe8], rdx
mov qword [0x1403e2ff0], rax
mov byte [0x1403e2ff8], 0
lea rcx, [0x140307210]
call fcn.1402974d4
lea rcx, [0x1403e2fb0]
call fcn.14029712c
jmp 0x1400f472b
Function at 0x1400f5448
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 0x1400f54c7
cmp di, word [rcx]
je 0x1400f54c7
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400f5470
lea eax, [rdi + 2]
jmp 0x1400f54cc
xor ecx, ecx
call fcn.1400f5104
mov rdx, rbx
mov rcx, rax
call fcn.1400f8b64
test eax, eax
je 0x1400f54c3
mov edx, dword [reloc.OLEAUT32.dll_VariantCopyInd]
lea rax, [0x1403dfc98]
mov qword [rsp + 0x28], rax
lea r9, [0x1403cb240]
mov eax, dword [reloc.OLEAUT32.dll_VariantCopy]
lea r8, str.Intel_Corporation
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1400f772c
test eax, eax
jne 0x1400f54c3
mov eax, 5
jmp 0x1400f54cc
xor eax, eax
jmp 0x1400f54cc
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f7ec8
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, [0x1400f8254]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400f7f22
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 0x1400f7f22
lea eax, [rbx + 1]
jmp 0x1400f7f24
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f897c
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov r12, rdx
mov r14, rcx
test rcx, rcx
je 0x1400f8ad0
test rdx, rdx
je 0x1400f8ad0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, 0x8000
mov esi, eax
mov ecx, ebp
call fcn.1402974ec
mov rbx, rax
test rax, rax
jne 0x1400f89d6
lea edi, [rax + 8]
jmp 0x1400f8ac4
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x1400f89fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f8ac4
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], edi
mov r8d, ebp
mov rdx, rbx
mov rcx, rsi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x1400f8a2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400f8ac4
mov eax, dword [rsp + 0x70]
mov ebp, edi
shr eax, 3
mov r15b, dil
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1400f8ab1
xor eax, eax
mov r13d, ebp
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov rcx, rsi
movups xmmword [rsp + 0x20], xmm0
mov rdx, qword [rbx + r13*8]
lea r9d, [rax + 0x18]
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x1400f8a83
cmp qword [rsp + 0x20], r14
jg 0x1400f8a83
mov eax, dword [rsp + 0x28]
mov rcx, r14
sub rcx, qword [rsp + 0x20]
cmp rcx, rax
jl 0x1400f8a8d
inc ebp
cmp ebp, dword [rsp + 0x70]
jae 0x1400f8ab1
jmp 0x1400f8a40
mov rdx, qword [rbx + r13*8]
mov r9d, 0x104
mov r8, r12
mov rcx, rsi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x1400f8aab
mov r15b, 1
jmp 0x1400f8ab1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15b, r15b
jne 0x1400f8ac4
mov edi, 5
mov rcx, rbx
call fcn.140296f94
mov eax, edi
jmp 0x1400f8ad5
mov eax, 0x57
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400f9940
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1403ceac0]
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.140296fc8
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 + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
test rsi, rsi
je 0x1400f99cf
mov rdx, rsi
jmp 0x1400f9a13
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.1402b60e0
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.14002b770
nop
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140296f70
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret