joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015494
Capabilities:
Clear file content

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
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400140f0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400140f0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400155e4
cmp rax, 0xffffffffffffffff
je 0x1400155e4
xor edi, edi
test rbp, rbp
jle 0x14001558f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000cfc8
mov rbx, rax
test rax, rax
jne 0x14001551c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140015585
mov edx, 0x8000
mov ecx, r14d
call fcn.1400088f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400120a0
cmp eax, 0xffffffff
je 0x140015565
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14001552c
mov edx, r15d
mov ecx, r14d
call fcn.1400088f8
jmp 0x140015585
cmp byte [rsi + 0x38], dil
je 0x14001557c
cmp dword [rsi + 0x34], 5
jne 0x14001557c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140015585
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140009eec
jmp 0x1400155f8
jns 0x1400155f8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400140f0
cmp rax, 0xffffffffffffffff
jne 0x1400155b0
cmp byte [rsi + 0x30], dil
je 0x1400155f8
mov edi, dword [rsi + 0x2c]
jmp 0x1400155f8
mov ecx, r14d
call fcn.14000f488
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400155f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400155f8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400155f1
mov eax, dword [rsi + 0x2c]
jmp 0x1400155f6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400140f0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140017430
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017458
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017458
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140006340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140006373
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400063b9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400063b4
nop
cmp rbx, rcx
jae 0x1400063b9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x1400063a0
cmp rbx, rcx
jb 0x1400063bd
xor eax, eax
jmp 0x1400063c9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000efc0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14000ee30
nop
cmp qword [rax + 0x18], 8
jb 0x14000eff6
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp qword [rsp + 0x40], 8
jb 0x14000f014
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
cmp ebx, 0xffffffff
je 0x14000f035
test bl, 0x10
je 0x14000f035
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140107280
add rsp, 0x50
pop rbx
ret
Function at 0x14000f3d0
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x28]
call fcn.14000ee90
nop
cmp qword [rsp + 0x38], 0
je 0x14000f42c
lea rcx, [rsp + 0x28]
call fcn.14000f280
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14000f4b1
cmp qword [rbx + 0x18], 8
jb 0x14000f436
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x14000f440
mov rsi, qword [rsi]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14000f4a7
lea edx, [rax + 0x5c]
lea rcx, str.C:_btvsts3621private_softgrid_sharedinclude_shared_file_utils.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14000f470
inc rax
jmp 0x14000f477
lea rax, str.C:_btvsts3621private_softgrid_sharedinclude_shared_file_utils.hpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x192500000000
or rdi, rax
jmp 0x14000f4b1
movabs rdi, 0x8000000000
cmp qword [rsp + 0x40], 8
jb 0x14000f4c4
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140107280
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000f5b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbx, rcx
mov byte [rdx], 0
xor esi, esi
mov qword [r11 - 0x40], rsi
mov qword [r11 - 0x38], rsi
mov qword [r11 - 0x38], 7
mov qword [r11 - 0x40], rsi
mov word [rsp + 0x28], si
lea r8d, [rsi + 1]
lea rdx, [0x1401607d8]
lea rcx, [r11 - 0x50]
call fcn.140007d00
nop
lea r8, [rsp + 0x28]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14000e650
nop
cmp qword [rsp + 0x40], 8
jb 0x14000f636
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
lea rcx, [rsp + 0x48]
call fcn.14000e700
cmp qword [rsp + 0x58], 0
je 0x14000f6d2
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000f6cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [rbx - 2]
cmp ecx, 1
jbe 0x14000f6d2
mov edx, MsiPreviewDialogW
lea rcx, str.C:_btvsts3621private_softgrid_sharedinclude_shared_file_utils.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14000f6a3
inc rax
jmp 0x14000f6aa
lea rax, str.C:_btvsts3621private_softgrid_sharedinclude_shared_file_utils.hpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
shl rax, 0x34
or rbx, rax
movabs rax, 0x1e2500000000
or rbx, rax
jmp 0x14000f6dc
mov byte [rdi], 1
movabs rbx, 0x8000000000
cmp qword [rsp + 0x60], 8
jb 0x14000f6ef
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140107280
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140015aa0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, rcx
xor ebp, ebp
mov dword [rax - 0x48], ebp
mov word [rax + 0x10], bp
xorps xmm0, xmm0
movdqu xmmword [rax - 0x38], xmm0
mov qword [rax - 0x28], rbp
lea r8, [rax + 0x10]
mov edx, 0x105
lea rcx, [rax - 0x38]
call fcn.140017750
nop
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
je 0x140015b76
cmp esi, 0x104
jbe 0x140015b2c
mov word [rsp + 0x78], bp
mov edx, esi
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140017470
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [0x140160794]
test rdi, rdi
cmovne rdx, rdi
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
cmp word [rdx], 0
jne 0x140015b54
mov r8, rbp
jmp 0x140015b6b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140015b60
mov rcx, rbx
call fcn.140007d00
nop
jmp 0x140015b85
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
mov dword [rsp + 0x20], 1
test rdi, rdi
je 0x140015ba9
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015bc0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rax - 0x48], r14d
mov word [rax + 0x10], r14w
xorps xmm0, xmm0
movdqu xmmword [rax - 0x38], xmm0
mov qword [rax - 0x28], r14
lea r8, [rax + 0x10]
mov edx, 0x400
lea rcx, [rax - 0x38]
call fcn.140017750
nop
cmp qword [rsi + 0x18], 8
jb 0x140015c1c
mov rcx, qword [rsi]
jmp 0x140015c1f
mov rcx, rsi
mov r8d, 0x400
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebp, eax
test eax, eax
je 0x140015cc6
cmp ebp, 0x3ff
jbe 0x140015c7a
mov word [rsp + 0x78], r14w
mov edx, ebp
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140017470
cmp qword [rsi + 0x18], 8
jb 0x140015c66
mov rsi, qword [rsi]
mov r8d, ebp
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [0x140160794]
test rdi, rdi
cmovne rdx, rdi
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov word [rbx], r14w
cmp word [rdx], 0
jne 0x140015ca3
mov r8, r14
jmp 0x140015cbb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140015cb0
mov rcx, rbx
call fcn.140007d00
nop
jmp 0x140015cd6
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov word [rbx], r14w
mov dword [rsp + 0x20], 1
test rdi, rdi
je 0x140015cfa
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140015d20
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rax - 0x48], ebp
cmp qword [rdx + 0x18], 8
jb 0x140015d51
mov rcx, qword [rdx]
jmp 0x140015d54
mov rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [rax + 1]
mov word [rsp + 0x78], bp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov edx, esi
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140017750
nop
cmp qword [rdi + 0x18], 8
jb 0x140015d91
mov rdi, qword [rdi]
mov r8d, esi
mov rsi, qword [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rbp
mov word [rbx], bp
test eax, eax
je 0x140015deb
lea rdx, [0x140160794]
test rsi, rsi
cmovne rdx, rsi
cmp word [rdx], 0
jne 0x140015dd1
mov r8, rbp
jmp 0x140015de0
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140015dd5
mov rcx, rbx
call fcn.140007d00
nop
jmp 0x140015deb
mov dword [rsp + 0x20], 1
test rsi, rsi
je 0x140015e0f
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbp
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140017d40
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x198
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
cmp dword [0x1402089a4], 0
je 0x140017d80
mov eax, dword [0x1402089a0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140107280
add rsp, 0x198
ret
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x11c
call sub.MSVCR120.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
movzx r9d, byte [rsp + 0x17a]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x28], ax
movzx eax, word [rsp + 0x178]
mov word [rsp + 0x20], ax
call fcn.140017e30
mov dword [0x1402089a4], 1
mov dword [0x1402089a0], eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140107280
add rsp, 0x198
ret
Function at 0x14001db30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sar r8, 1
add r8, r8
je 0x14001db74
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001db60
mov rcx, rax
shr rcx, 0x20
xor eax, ecx
ret

Function at 0x140026e90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov qword [rdx + 0x10], rbx
jb 0x140026eb4
mov rax, qword [rdx]
jmp 0x140026eb7
mov rax, rdx
mov word [rax], bx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x4000
mov qword [rsp + 0x38], rbx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
test eax, eax
jns 0x140026f2e
lea rcx, str.C:_btvsts3621private_softgrid_sharedinclude_sharedenv_utils.hpp
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140026ef4
inc rax
jmp 0x140026efb
lea rax, str.C:_btvsts3621private_softgrid_sharedinclude_sharedenv_utils.hpp
lea rcx, [0x140209428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0xc2500000000
shl rax, 0x34
or rax, rsi
or rax, rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rsp + 0x38]
cmp word [rdx], bx
je 0x140026f4a
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140026f40
mov r8, rbx
mov rcx, rdi
call fcn.140007d00
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
movabs rax, 0x8000000000
add rsp, 0x20
pop rdi
ret
Function at 0x140035f30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov r14, r9
mov rdi, r8
mov r15, rdx
xor ecx, ecx
mov dword [rsp + 0x70], ecx
mov rbx, qword [rsp + 0x90]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov qword [r11 - 0x30], rax
mov edx, 0xffffffff
cmp rax, rdx
jbe 0x140035f94
mov dword [rsp + 0x30], 1
lea rdx, [0x1401f84c8]
lea rcx, [r11 - 0x38]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x140035fa2
mov rcx, qword [rbx]
cmp qword [r8 + 0x18], 8
jb 0x140035fae
mov rdx, qword [r8]
jmp 0x140035fb1
mov rdx, r8
mov rax, qword [r15]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x140035fe9
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
jne 0x140036036
mov eax, dword [rsp + 0x70]
test eax, eax
jne 0x140035ff4
jmp 0x14003603a
cmp eax, 0xea
jne 0x140036032
mov eax, dword [rsp + 0x70]
mov edx, eax
mov rcx, rbx
call fcn.140037ea0
mov rcx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x14003600b
mov rdi, qword [rdi]
mov rax, qword [r15]
lea rdx, [rsp + 0x70]
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]
mov esi, eax
test esi, esi
jne 0x140036067
mov eax, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x98]
mov byte [rdx], 1
mov edx, eax
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
cmp rdx, rax
je 0x14003605b
mov rcx, rbx
call fcn.140037ea0
movabs rax, 0x8000000000
jmp 0x1400360ab
lea eax, [rsi - 2]
cmp eax, 1
jbe 0x140036088
call fcn.140035700
mov ecx, esi
or rax, rcx
movabs rcx, 0xf2100000000
or rax, rcx
jmp 0x1400360ab
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x98]
mov byte [rax], 0
movabs rax, 0x8000000000
jmp 0x1400360ab
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1400366d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov r11, r8
mov r8, rdx
mov r10, qword [r9 + 8]
sub r10, qword [r9]
mov qword [rsp + 0x50], r10
mov eax, 0xffffffff
cmp r10, rax
jbe 0x140036718
mov dword [rsp + 0x30], 1
lea rdx, [0x1401f84c8]
lea rcx, [rsp + 0x30]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x34], r10d
mov rcx, qword [r9]
cmp qword [r9 + 8], rcx
mov edx, 0
cmovne rdx, rcx
cmp qword [r11 + 0x18], 8
jb 0x140036737
mov r11, qword [r11]
mov rax, qword [r8]
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, r11
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400367a7
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14003677b
inc rax
jmp 0x140036782
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
shl rax, 0x34
or rax, rbx
movabs rcx, 0x182100000000
or rax, rcx
jmp 0x1400367b8
movabs rax, 0x8000000000
jmp 0x1400367b8
add rsp, 0x40
pop rbx
ret

Function at 0x1400367c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x50
mov qword [r11 - 0x18], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov rax, qword [r9 + 0x10]
inc rax
mov qword [r11 + 8], rax
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x140036817
mov dword [rsp + 0x30], 1
lea rdx, [0x1401f84c8]
lea rcx, [r11 - 0x28]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x38], eax
mov edi, eax
add rdi, rdi
mov qword [rsp + 0x48], rdi
mov rax, rdi
shr rax, 0x20
test eax, eax
je 0x140036849
mov dword [rsp + 0x34], 1
lea rdx, [0x1401f84c8]
lea rcx, [rsp + 0x34]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x38], edi
xor cl, cl
cmp byte [rsp + 0x80], cl
je 0x140036863
mov rcx, rbx
call fcn.140035740
movzx ecx, al
cmp qword [rbx + 0x18], 8
jb 0x14003686d
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x140036877
mov rsi, qword [rsi]
mov rax, qword [r14]
xor r9d, r9d
test cl, cl
setne r9b
inc r9d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400368ed
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400368c1
inc rax
jmp 0x1400368c8
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
shl rax, 0x34
or rax, rbx
movabs rcx, 0x1b2100000000
or rax, rcx
jmp 0x1400368fe
movabs rax, 0x8000000000
jmp 0x1400368fe
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140036920
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x88
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
call fcn.14005ef80
nop
mov rax, qword [rbx]
mov r8, qword [rax + 0x20]
lea rax, [0x14005ef10]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140060820
mov rdi, rax
cmp qword [rsp + 0x70], 8
jb 0x1400369b6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
xor eax, eax
mov qword [rsp + 0x68], rax
mov word [rsp + 0x58], ax
mov rax, rdi
shr rax, 0x27
not eax
test al, 1
jne 0x140036a4f
cmp qword [r14 + 0x18], 8
jb 0x1400369e2
mov r14, qword [r14]
mov rax, qword [rsp + 0x40]
mov rdx, r14
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test eax, eax
jne 0x140036a06
movabs rdi, 0x8000000000
jmp 0x140036a4f
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140036a22
inc rax
jmp 0x140036a29
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
shl rax, 0x34
mov rdi, rbx
or rdi, rax
movabs rax, 0x222100000000
or rdi, rax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036a7d
lock dec dword [rcx + 8]
jne 0x140036a7d
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x140036a7d
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140107280
add rsp, 0x88
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140036d00
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 r10d, r9d
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
jb 0x140036d2c
mov rdx, qword [r8]
jmp 0x140036d2f
mov rdx, rbx
mov rax, qword [rdi]
xor r9d, r9d
mov r8d, r10d
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebp, eax
test eax, eax
je 0x140036d90
lea rcx, str...integration_store_utils.cpp
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140036d64
inc rax
jmp 0x140036d6b
lea rax, str...integration_store_utils.cpp
lea rcx, [0x140209428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x242100000000
shl rax, 0x34
or rax, rbp
or rax, rcx
jmp 0x140036da8
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14005f4a0
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret