joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c5720
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11bf0]
mov eax, 0x11cf0
call fcn.1400ddab0
sub rsp, rax
movzx r10d, word [rdx]
mov r11d, 0xffdf
mov rdi, rcx
mov rcx, qword [rbp + 0x11c20]
lea eax, [r10 - 0x41]
test r11w, ax
jne 0x1400c57c8
cmp word [rdx + 2], 0
jne 0x1400c57c8
cmp word [r8], 0
jne 0x1400c57c8
cmp word [r9], 0
jne 0x1400c57c8
cmp word [rcx], 0
jne 0x1400c57c8
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400c57ab
cmp byte [rdi + 0x12a], 0
jne 0x1400c57ab
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c57a9
mov rcx, rbx
call fcn.1400c6870
test al, al
je 0x1400c57ab
xor ebx, ebx
cmp byte [rbp + 0x11c30], 0
je 0x1400c57c0
test rbx, rbx
je 0x1400c57c0
mov qword [rdi + 0xf8], rbx
mov rax, rbx
jmp 0x1400c591d
test r10w, r10w
jne 0x1400c57ed
cmp word [r8], r10w
jne 0x1400c57ed
cmp word [r9], r10w
jne 0x1400c57ed
cmp word [rcx], r10w
jne 0x1400c57ed
mov rcx, rdi
call fcn.1400c5970
jmp 0x1400c591d
xor ebx, ebx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x20], r9
mov r9, r8
mov dword [rsp + 0x30], ebx
mov r8, rdx
mov byte [rbp + 0x1789], bl
lea rax, [0x1400e0684]
mov dword [rbp + 0x178c], ebx
mov rdx, rdi
mov qword [rbp + 0xf48], rax
lea rcx, [rsp + 0x30]
movdqa xmmword [rbp + 0x1790], xmm0
mov qword [rbp + 0x17a0], rbx
mov dword [rbp + 0x17a8], ebx
mov qword [rbp + 0x17b0], rbx
movdqa xmmword [rbp + 0x17c0], xmm0
call fcn.1400c6a50
test eax, eax
je 0x1400c591b
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c28]
mov byte [rbp + 0x1789], al
mov rax, qword [rbp + 0x11c38]
mov qword [rbp + 0x17a0], rax
mov eax, dword [rbp + 0x11c40]
mov dword [rbp + 0x17a8], eax
je 0x1400c5932
mov rbx, qword [rbp + 0xf68]
cmp rbx, 0xffff
je 0x1400c58f0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400c591b
cmp byte [rdi + 0x12a], 0
mov rbx, qword [rbp + 0xf68]
jne 0x1400c58f0
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c58d1
mov rcx, rbx
call fcn.1400c6870
test al, al
je 0x1400c58e9
mov rcx, qword [rbp + 0xf68]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400c591b
mov rbx, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c8], rbx
je 0x1400c590a
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c8], rbx
call fcn.1400c6f10
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400c7020
test rax, rax
jne 0x1400c5944
xor eax, eax
lea r11, [rsp + 0x11cf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x1400c5a60]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rbp + 0x11c30], 0
mov rax, qword [rbp + 0x1790]
je 0x1400c591d
test rax, rax
je 0x1400c591d
mov qword [rdi + 0xf8], rax
jmp 0x1400c591d
Function at 0x1400c6f10
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1898]
test rcx, rcx
je 0x1400c700c
mov eax, dword [rbx]
test eax, eax
je 0x1400c700c
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400c6f4f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400c6f6d
mov r8d, 0x7fff
lea rdx, [rbx + 0x18ac]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400c6f6d
mov word [rbx + 0x18ac], si
mov eax, dword [rbx]
test al, 4
je 0x1400c6f89
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x18a8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rbx]
test al, 0x20
je 0x1400c6fc6
mov rcx, qword [rbx + 0x1898]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400c6fc6
movzx r9d, byte [rbx + 0x1858]
lea rdx, [rbx + 0x11aac]
mov ecx, dword [rsp + 0x30]
call fcn.140082090
test eax, eax
jne 0x1400c6fc6
mov word [rbx + 0x11aac], si
mov eax, dword [rbx]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
test al, 8
je 0x1400c6ff2
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x118aa]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [rbx]
bt eax, 8
jae 0x1400c700c
mov rcx, qword [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbx + 0x18a0], rax
add rsp, 0x20
pop rbx
ret

Function at 0x1400c7800
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11ce8
call fcn.1400ddab0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400c78dc
xor r9d, r9d
mov byte [rsp + 0x18a8], dl
xorps xmm0, xmm0
mov dword [rsp + 0x20], r9d
lea rcx, [0x1400e0684]
mov byte [rsp + 0x1879], r9b
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400c82a0]
mov dword [rsp + 0x187c], r9d
movdqa xmmword [rsp + 0x1880], xmm0
mov qword [rsp + 0x1890], r9
mov dword [rsp + 0x1898], r9d
movdqa xmmword [rsp + 0x18b0], xmm0
mov qword [rsp + 0x18a0], rax
mov dword [rsp + 0x18ac], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1880], 0
je 0x1400c78dc
mov rax, qword [0x140112060]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400c78dc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140117b88], eax
mov rax, qword [0x140112060]
mov ecx, dword [rax + 0x74]
je 0x1400c78d2
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x11ce8
ret
mov edx, 1
call fcn.1400018c0
mov eax, 1
add rsp, 0x11ce8
ret
Function at 0x1400c78f0
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push rbx
push r15
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
movzx r15d, dl
mov rbx, rcx
jne 0x1400c7913
mov eax, 1
add rsp, 0x28
pop r15
pop rbx
ret
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140112060]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400c8030
cmp byte [rbx], 0
mov rbp, rax
je 0x1400c794a
test rax, rax
jne 0x1400c7953
jmp 0x1400c7a18
test rbp, rbp
jne 0x1400c7a18
test rdi, rdi
je 0x1400c7a18
xor r9d, r9d
mov qword [rsp + 0x48], rsi
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov r14d, eax
nop word [rax + rax]
cmp dword [0x140117b88], esi
jne 0x1400c79a9
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400018c0
jmp 0x1400c79b4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400c79d7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r14d
sub ecx, eax
add ecx, 0x1f4
cmp ecx, 5
jg 0x1400c7990
mov rax, qword [0x140112060]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400c7a18
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140117b88], eax
mov rax, qword [0x140112060]
mov ecx, dword [rax + 0x74]
je 0x1400c7a0e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c7a18
mov edx, 1
call fcn.1400018c0
cmp byte [rbx], 0
movzx edx, r15b
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
je 0x1400c7a40
xor r9d, r9d
mov r8, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400c7a60
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400c7d00
Function at 0x1400c7d00
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x11cf0
call fcn.1400ddab0
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx esi, dl
mov rdi, rcx
je 0x1400c7f54
xor edx, edx
call fcn.1400c7f70
test eax, eax
jne 0x1400c7d40
mov rsi, qword [rsp + 0x11d10]
add rsp, 0x11cf0
pop rdi
ret
mov qword [rsp + 0x11d00], rbx
mov qword [rsp + 0x11d08], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x140112060]
mov rcx, rdi
mov rdx, rax
mov rbp, rax
call fcn.1400c8030
mov ecx, dword [0x140117b6c]
xor ebx, ebx
test rax, rax
mov dword [rsp + 0x30], ebx
lea rax, [0x1400e0684]
mov dword [rsp + 0x188c], ebx
cmovne ecx, ebx
mov qword [rsp + 0x1048], rax
mov dword [0x140117b6c], ecx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1890], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x18c0], xmm1
test sil, sil
je 0x1400c7dc1
mov byte [rsp + 0x1889], bl
test ecx, ecx
je 0x1400c7dc9
mov byte [rsp + 0x1889], 1
mov rax, qword [0x140117b78]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x18a0], rax
mov rax, qword [rdi + 0x10]
mov dword [rsp + 0x18a8], ecx
lea rcx, [0x1400c8130]
mov qword [rsp + 0x18b0], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1890]
test rax, rax
je 0x1400c7f0c
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400c6760]
mov qword [rsp + 0x28], rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov r9, qword [rsp + 0x28]
test r9, r9
je 0x1400c7e80
movsxd rdx, dword [0x140117b6c]
mov ecx, ebx
mov r8, qword [rsp + 0x1890]
mov r10, qword [0x140117b78]
test edx, edx
jle 0x1400c7e62
mov rax, r10
cmp qword [rax], r8
je 0x1400c7e76
inc ecx
add rax, 8
cmp ecx, edx
jl 0x1400c7e53
cmp edx, 0x1f4
jge 0x1400c7e76
mov qword [r10 + rdx*8], r8
inc edx
mov dword [0x140117b6c], edx
mov qword [rsp + 0x1890], r9
jmp 0x1400c7e88
mov r9, qword [rsp + 0x1890]
mov rcx, r9
call fcn.1400c5110
movsxd rcx, dword [0x140117b6c]
mov rdx, qword [rsp + 0x1890]
mov r8, qword [0x140117b78]
test ecx, ecx
jle 0x1400c7ebf
mov rax, r8
nop dword [rax]
cmp qword [rax], rdx
je 0x1400c7ed3
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400c7eb0
cmp ecx, 0x1f4
jge 0x1400c7ed3
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x140117b6c], ecx
mov rax, qword [0x140112060]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400c7f44
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140117b88], eax
mov rax, qword [0x140112060]
mov ecx, dword [rax + 0x74]
je 0x1400c7f00
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c7f44
mov edx, 1
call fcn.1400018c0
jmp 0x1400c7f44
mov ecx, dword [0x140117b6c]
test ecx, ecx
je 0x1400c7f44
cmp ecx, 1
mov dword [0x140117b6c], ebx
setg cl
test cl, cl
je 0x1400c7f44
mov rcx, qword [0x140117b78]
xor edx, edx
mov dword [0x140117b6c], 1
mov qword [rcx], rbp
mov rcx, rdi
call fcn.1400c7d00
mov rbx, qword [rsp + 0x11d00]
mov rbp, qword [rsp + 0x11d08]
mov rsi, qword [rsp + 0x11d10]
mov eax, 1
add rsp, 0x11cf0
pop rdi
ret
Function at 0x1411ddbec
Capabilities:
Encode data using xor

Disassembly:
push 0x7d875616
mov qword [rsp + 8], rdi
push 0x2800c79c
mov qword [rsp + 8], r10
lea rdi, [0x1411e0358]
lea rsp, [rsp + 8]
mov r10d, 0x9f38dfad
sar r10, 0xb1
push r10
add r10b, byte [rcx + r10*2]
xor r10d, esi
and r10d, 0xff
mov r10d, dword [rdi + r10*4]
shr esi, 8
xor esi, r10d
inc rcx
xor esi, 0x62172a89
dec r9
lea rsp, [rsp + 8]
jne 0x1411ddc0c
jmp 0x141203d27
pop r10
mov edi, 0xcd151fad
pop rdi
Function at 0x1400010a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx eax, byte [rdx]
mov r11, rcx
mov r10, qword [rsp + 0x88]
shl eax, 0x18
mov dword [rsp + 0x38], eax
movzx eax, word [rdx + 1]
mov dword [rsp + 0x3c], eax
mov rax, qword [rdx + 3]
add rdx, 0xb
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
mov qword [r10], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], r10
movzx ecx, word [rax]
mov dword [r10 + 8], ecx
lea rcx, str.ETW0
mov qword [r10 + 0x10], rdx
mov dword [r10 + 0xc], 2
movzx eax, word [rdx]
lea rdx, [rsp + 0x38]
mov dword [r10 + 0x18], eax
lea rax, [0x140143548]
sub eax, ecx
mov dword [r10 + 0x1c], 1
mov rcx, qword [r11 + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d24e0
add rsp, 0x58
ret
Function at 0x14001b0c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
mov edx, 0xffffffff
cmp rax, rdx
ja 0x14001b266
mov dword [rsp + 0x60], eax
neg eax
sbb r8, r8
and r8, rcx
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001b126
mov rdx, qword [rdi]
mov rax, qword [r15]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14001b160
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jne 0x14001b1b1
cmp dword [rsp + 0x60], eax
jne 0x14001b167
cmp eax, 0xea
jne 0x14001b1ad
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call fcn.14001cd20
mov rcx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x14001b180
mov rdi, qword [rdi]
mov rax, qword [r15]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov r9, r14
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov esi, eax
test esi, esi
jne 0x14001b1e0
mov rax, qword [rsp + 0x88]
mov byte [rax], 1
mov edx, dword [rsp + 0x60]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
cmp rdx, rax
je 0x14001b1d4
mov rcx, rbx
call fcn.14001cd20
movabs rax, 0x8000000000
jmp 0x14001b251
lea eax, [rsi - 2]
cmp eax, 1
jbe 0x14001b238
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14001b20a
inc rax
jmp 0x14001b211
lea rax, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
mov ecx, esi
or rax, rcx
movabs rcx, 0xf2100000000
or rax, rcx
jmp 0x14001b251
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x88]
mov byte [rax], 0
jmp 0x14001b1d4
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call fcn.14001a938
nop
int3
Function at 0x14001b85c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r10, r8
mov r11, rdx
mov r8, qword [r9]
mov rcx, qword [r9 + 8]
sub rcx, r8
mov eax, 0xffffffff
cmp rcx, rax
ja 0x14001b936
mov rax, rcx
neg rax
sbb rdx, rdx
and rdx, r8
cmp qword [r10 + 0x18], 8
jb 0x14001b8a3
mov r10, qword [r10]
mov rax, qword [r11]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, r10
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001b91e
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14001b8f2
inc rax
jmp 0x14001b8f9
lea rax, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
or rax, rbx
movabs rcx, 0x182100000000
or rax, rcx
jmp 0x14001b92f
movabs rax, 0x8000000000
jmp 0x14001b92f
add rsp, 0x40
pop rbx
ret
call fcn.14001a938
nop
int3

Function at 0x14001b944
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r14
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, r9
mov rdi, r8
mov r14, rdx
mov rax, qword [r9 + 0x10]
inc rax
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x14001ba62
mov esi, eax
add rsi, rsi
mov rax, rsi
shr rax, 0x20
test eax, eax
jne 0x14001ba68
xor cl, cl
cmp byte [rsp + 0x70], cl
je 0x14001b9a9
mov rcx, rbx
call fcn.14001a964
mov cl, al
cmp qword [rbx + 0x18], 8
jb 0x14001b9b3
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x14001b9bd
mov rdi, qword [rdi]
mov rax, qword [r14]
movzx r9d, cl
inc r9d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001ba3a
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14001ba0e
inc rax
jmp 0x14001ba15
lea rax, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
or rax, rbx
movabs rcx, 0x1b2100000000
or rax, rcx
jmp 0x14001ba4b
movabs rax, 0x8000000000
jmp 0x14001ba4b
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
call fcn.14001a938
nop
call fcn.14001a938
int3
Function at 0x14001ba78
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rdi, r9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea rax, [0x140039c40]
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x20]
mov qword [r11 - 0x38], rax
mov r9d, dword [rsp + 0x80]
call fcn.14003ae24
mov rbx, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14001bb49
cmp qword [rdi + 0x18], 8
jb 0x14001bad3
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x38]
mov rdx, rdi
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14001bafd
movabs rbx, 0x8000000000
jmp 0x14001bb49
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14001bb1f
inc rax
jmp 0x14001bb26
lea rax, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
or rbx, rax
movabs rax, 0x222100000000
or rbx, rax
lea rcx, [rsp + 0x38]
call fcn.1400085d0
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14001bd8c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x18], 8
mov rdi, rdx
mov rdx, r8
mov r10d, r9d
mov rbx, r8
mov rsi, rcx
jb 0x14001bdb9
mov rdx, qword [r8]
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, r10d
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
je 0x14001be26
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14001bdfa
inc rax
jmp 0x14001be01
lea rax, str.admin_appman_appvclientintegrationintegration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x242100000000
or rax, rbp
or rax, rcx
jmp 0x14001be3e
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14003a30c
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002285c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rax, rdx
jb 0x14002287b
mov rax, qword [rdx]
xor esi, esi
lea r9, [rsp + 0x38]
mov qword [rdx + 0x10], rsi
xor r8d, r8d
mov word [rax], si
mov edx, 0x4000
mov qword [rsp + 0x38], rsi
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x1400228f4
lea edx, [rsi + 0x5c]
lea rcx, str.AdminAppManAppV_sharedinclude_sharedenv_utils.hpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x1400228c8
inc rax
jmp 0x1400228cf
lea rax, str.AdminAppManAppV_sharedinclude_sharedenv_utils.hpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0xc2500000000
or rax, rdi
or rax, rcx
jmp 0x14002291c
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14000954c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140024780
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push r14
sub rsp, 0xf0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rsi, rcx
mov r8d, 0x65
lea rdx, str.AppV::Integration::IntegrationManager::Startup
lea rcx, [r11 - 0x68]
call fcn.14005e0a8
mov rdi, rax
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea r14d, [rbx + 7]
mov qword [rsp + 0x68], r14
mov word [rsp + 0x50], bx
lea rdx, str.Integration_manager_is_starting_up.
lea rcx, [rsp + 0x50]
call fcn.14000954c
nop
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r14
mov word [rsp + 0x70], bx
lea rdx, [0x14010bbd8]
lea rcx, [rsp + 0x70]
call fcn.14000954c
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.14005e0f4
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140024853
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14000c220
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r14
mov word [rsp + 0x70], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140024885
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.14000c220
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
mov word [rsp + 0x50], bx
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x1400248b2
inc rdx
mov rcx, qword [rsp + 0x90]
call fcn.14000c220
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], r14
mov word [rsp + 0x50], bx
lea rdx, [0x14010bbd8]
lea rcx, [rsp + 0x50]
call fcn.14000954c
cmp qword [rsp + 0x60], rbx
je 0x1400249a0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftAppVSubsystemDisabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
test eax, eax
je 0x140024938
test rcx, rcx
je 0x1400249a0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x1400249a0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 4
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
test eax, eax
jne 0x140024925
cmp dword [rsp + 0x38], ebx
setne dil
test rcx, rcx
je 0x14002499d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov bl, dil
mov byte [rsi + 0x1a8], bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400249c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.14000c220
movabs rax, 0x8000000000
jmp 0x1400249d4
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400d24e0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret