joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063da0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
lea rax, [r11 - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1402958f0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402959c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140063ee6
lea rcx, [rsp + 0x38]
call fcn.1400637a0
test al, al
je 0x140063ee6
mov qword [rsp + 0x68], 7
xor esi, esi
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rsi
mov word [rsp + 0x70], si
lea rax, str.model
mov qword [rsp + 0x90], rax
lea rax, str.manufacturer
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.1400638f0
movzx ebx, al
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
test bl, bl
je 0x140063ea1
lea rcx, [rsp + 0x50]
call fcn.140063c30
mov byte [rdi], al
mov bl, 1
cmp qword [rsp + 0x88], 8
jb 0x140063eb6
mov rcx, qword [rsp + 0x70]
call fcn.1400681d4
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rsp + 0x68], 8
jb 0x140063ee1
mov rcx, qword [rsp + 0x50]
call fcn.1400681d4
movzx eax, bl
jmp 0x140063ee8
xor al, al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401f3080
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140063f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov esi, r8d
mov ebp, edx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov edx, ebp
mov rcx, r14
mov dword [rsp + 0x28], MsiSetExternalUIW
mov edi, eax
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14006401b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x140064018
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0xbb8
jae 0x140064018
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r15
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, r14
mov dword [rsp + 0x28], MsiSetExternalUIW
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140063fc6
jmp 0x14006401b
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140064040
Capabilities:
Create directory
Get common file path
Get startup folder
Read file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
mov qword [rsp + 0x58], 7
xor esi, esi
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
lea rax, [r11 - 0x228]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400641ed
lea rdx, str.UniqueId
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400641ed
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400640ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400641ed
lea rdx, str.data
lea rcx, [rsp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1400641ed
cmp word [rsp + 0xa0], 0
jne 0x14006411c
mov r8, rsi
jmp 0x14006413b
lea rax, [rsp + 0xa0]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140064130
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.1400268f0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov edx, 0x80000000
mov r8d, 3
call fcn.140063f70
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400641ed
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
mov r8d, 0x40
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400641da
nop dword [rax]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400641da
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140058ff0
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x38]
mov r8d, 0x40
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400641a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 0x10], 0
seta bl
jmp 0x1400641ef
xor bl, bl
cmp qword [rsp + 0x58], 8
jb 0x140064201
mov rcx, qword [rsp + 0x40]
call fcn.1400681d4
movzx eax, bl
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1401f3080
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140064230
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 0x47], reloc.OLEAUT32.dll_SafeArrayDestroy
xor edi, edi
mov qword [rbp + 0x3f], rdi
mov byte [rbp + 0x2f], dil
lea rcx, [rbp + 0x2f]
call fcn.140064040
test al, al
jne 0x140064286
xor bl, bl
jmp 0x140064351
mov qword [rbp + 0x27], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1f], rdi
mov byte [rbp + 0xf], 0
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rax, qword [rbp + 0x2f]
mov qword [rbp + 7], rax
mov eax, dword [rbp + 0x3f]
mov dword [rbp - 1], eax
lea rax, str.glority
mov qword [rbp - 9], rax
mov dword [rbp - 0x11], 7
lea rax, [rbp - 0x21]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp - 0x11]
xor edx, edx
lea rcx, [rbp - 1]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp eax, 1
sete al
test al, al
je 0x14006432f
mov r8d, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp + 0xf]
call fcn.140011130
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
shr r8, 1
mov rcx, rbx
call fcn.1400268f0
mov bl, 1
jmp 0x140064331
xor bl, bl
cmp qword [rbp + 0x27], 0x10
jb 0x140064341
mov rcx, qword [rbp + 0xf]
call fcn.1400681d4
mov qword [rbp + 0x27], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1f], rdi
mov byte [rbp + 0xf], 0
cmp qword [rbp + 0x47], 0x10
jb 0x140064361
mov rcx, qword [rbp + 0x2f]
call fcn.1400681d4
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401f3080
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140064390
Capabilities:
Create directory
Delete file
Get common file path
Get startup folder
Write file on windows
Write file to startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x58], 7
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140064516
lea rdx, str.UniqueId
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140064516
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14006443b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140064516
lea rdx, str.data
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140064516
cmp word [rsp + 0x60], 0
jne 0x140064462
mov r8, rbp
jmp 0x14006447b
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140064470
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400268f0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov edx, 0x40000000
mov r8d, 2
call fcn.140063f70
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140064516
mov dword [rsp + 0x38], ebp
lea rdi, [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400644c6
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
mov r8d, dword [rdi]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x38]
cmp rcx, qword [rdi]
je 0x14006450c
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [rsp + 0x38]
mov eax, ecx
cmp rax, qword [rdi]
sete bl
jmp 0x140064518
xor bl, bl
cmp qword [rsp + 0x58], 8
jb 0x14006452a
mov rcx, qword [rsp + 0x40]
call fcn.1400681d4
movzx eax, bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401f3080
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140064560
Capabilities:
Encrypt data using dpapi

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14006459b
mov rcx, qword [rcx]
mov qword [rbp + 0x47], reloc.OLEAUT32.dll_SafeArrayDestroy
xor edi, edi
mov qword [rbp + 0x3f], rdi
mov byte [rbp + 0x2f], dil
add r8, r8
mov rdx, rcx
lea rcx, [rbp + 0x2f]
call fcn.140011130
nop
mov qword [rbp + 0x27], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1f], rdi
mov byte [rbp + 0xf], dil
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rax, qword [rbp + 0x2f]
mov qword [rbp + 7], rax
mov eax, dword [rbp + 0x3f]
mov dword [rbp - 1], eax
lea rax, str.glority
mov qword [rbp - 9], rax
mov dword [rbp - 0x11], 7
lea rax, [rbp - 0x21]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp - 0x11]
xor edx, edx
lea rcx, [rbp - 1]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
cmp eax, 1
sete al
test al, al
je 0x140064653
mov r8d, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp + 0xf]
call fcn.140011130
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp + 0xf]
call fcn.140064390
movzx ebx, al
jmp 0x140064655
xor bl, bl
cmp qword [rbp + 0x27], 0x10
jb 0x140064665
mov rcx, qword [rbp + 0xf]
call fcn.1400681d4
mov qword [rbp + 0x27], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1f], rdi
mov byte [rbp + 0xf], 0
cmp qword [rbp + 0x47], 0x10
jb 0x140064685
mov rcx, qword [rbp + 0x2f]
call fcn.1400681d4
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401f3080
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140067740
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov r14, r8
mov rsi, rdx
mov rbp, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
cmp qword [rcx + 8], rdi
jne 0x140067788
lea rdx, [0x140296e0c]
mov rcx, rsi
call fcn.140011c70
jmp 0x140067912
call fcn.140069614
mov rdx, rax
mov ecx, edi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400677a7
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [0x140296e0c]
test rdx, 0xffffffffffff0000
jne 0x1400677ea
movzx ebx, dx
mov ecx, ebx
call fcn.140069024
test rax, rax
je 0x1400677f8
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140011830
jmp 0x1400677f8
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.140011b80
nop
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x88], edi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x10], eax
or rdi, 0xffffffffffffffff
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x1400678e8
mov ecx, dword [rsp + 0x88]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x14006787e
lea eax, [rcx - 6]
cmp eax, 1
jbe 0x14006787e
cmp ecx, 4
jne 0x1400678e8
mov rdx, r14
mov rcx, rbp
call fcn.140067930
mov r8d, eax
lea rdx, [0x14029709c]
lea rcx, [rsp + 0x38]
call fcn.140011640
jmp 0x1400678e8
mov eax, 2
mul rdx
cmovo rax, rdi
mov rcx, rax
call fcn.1400681dc
mov rbx, rax
test rax, rax
je 0x1400678e8
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0x10], eax
test eax, eax
jne 0x1400678e0
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400678c6
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140011b80
mov rcx, rbx
call fcn.1400681d4
mov rbx, qword [rsp + 0x38]
lea rcx, [rbx - 0x18]
call fcn.1400116e0
add rax, 0x18
mov qword [rsi], rax
lock add dword [rbx - 8], 0xffffffff
jg 0x140067912
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 + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x140067930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [rbx + 0x10], eax
mov rbx, qword [rsp + 0x48]
cmove edi, dword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140067ec0
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rsi
mov rbx, rdx
mov rbp, rcx
call fcn.140069614
mov rcx, rax
xor r8d, r8d
test rax, rax
setne r8b
test r8d, r8d
jne 0x140067f06
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
or rdi, 0xffffffffffffffff
test rbx, rbx
je 0x140067f5c
test rbx, 0xffffffffffff0000
jne 0x140067f48
movzx esi, bx
mov ecx, esi
call fcn.140069024
test rax, rax
je 0x140067f6f
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140011830
jmp 0x140067f6f
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140067f50
jmp 0x140067f5e
xor eax, eax
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140011b80
nop
mov rax, rdi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140067f72
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Display_Inline_Images
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140067fc3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x14006b720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
je 0x14006b792
call fcn.14007e1f0
mov r8d, 0xf0
mov rdx, rsi
mov r15, qword [rax + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14006b792
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14006b7db
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov esi, 1
test rdi, rdi
je 0x14006b7c0
mov r10, qword [r12]
mov r9, r14
mov r8, rdi
mov rdx, rbp
mov rcx, r12
call qword [r10 + 0x40]
mov esi, eax
test rbx, rbx
je 0x14006b7c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14006b7d9
mov r8, qword [rcx]
mov rdx, r14
call qword [r8 + 0x140]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14006c638
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x14006c677
cmp dword [rcx + 0xd8], 0
jne 0x14006c677
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.14007e1f0
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14006c9d4
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14006c6d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.14007e1f0
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14006c730
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14006c768
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14006d370
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x14030691c]
test eax, eax
je 0x14006d3c2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14030691c]
test eax, eax
jne 0x14006d3cb
call fcn.14006d4c0
test eax, eax
je 0x14006d3e7
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1402fb4b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14006d3ef
xor eax, eax
jmp 0x14006d447
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14006d429
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14006d42b
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14006d444
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x14006dd0c
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0xc8], 0
jne 0x14006dd4a
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14006de02
call fcn.140069614
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14006dd69
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + MsiBeginTransactionW]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1401f68fc
test eax, eax
je 0x14006ddd1
cmp eax, 0xc
je 0x14006ddcb
cmp eax, 0x16
je 0x14006ddc5
cmp eax, 0x22
je 0x14006ddc5
cmp eax, 0x50
je 0x14006ddd1
call fcn.140068cb8
int3
call fcn.140068cb8
int3
call fcn.140068cdc
int3
test rbx, rbx
je 0x14006dde1
mov rcx, rbx
call fcn.1401f68e0
mov rbx, rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14006de00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret