joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036f70
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 0x140036fb8
mov dword [rsp + 0x30], 1
lea rdx, [0x1401faff0]
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 0x140036fd7
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 0x140037047
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14003701b
inc rax
jmp 0x140037022
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
shl rax, 0x34
or rax, rbx
movabs rcx, 0x182100000000
or rax, rcx
jmp 0x140037058
movabs rax, 0x8000000000
jmp 0x140037058
add rsp, 0x40
pop rbx
ret

Function at 0x140037060
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 0x1400370b7
mov dword [rsp + 0x30], 1
lea rdx, [0x1401faff0]
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 0x1400370e9
mov dword [rsp + 0x34], 1
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x34]
call sub.MSVCR120.dll__CxxThrowException
mov dword [rsp + 0x38], edi
xor cl, cl
cmp byte [rsp + 0x80], cl
je 0x140037103
mov rcx, rbx
call fcn.140035fe0
movzx ecx, al
cmp qword [rbx + 0x18], 8
jb 0x14003710d
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x140037117
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 0x14003718d
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140037161
inc rax
jmp 0x140037168
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
shl rax, 0x34
or rax, rbx
movabs rcx, 0x1b2100000000
or rax, rcx
jmp 0x14003719e
movabs rax, 0x8000000000
jmp 0x14003719e
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400371c0
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.14005f820
nop
mov rax, qword [rbx]
mov r8, qword [rax + 0x20]
lea rax, [0x14005f7b0]
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.1400610c0
mov rdi, rax
cmp qword [rsp + 0x70], 8
jb 0x140037256
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 0x1400372ef
cmp qword [r14 + 0x18], 8
jb 0x140037282
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 0x1400372a6
movabs rdi, 0x8000000000
jmp 0x1400372ef
mov edx, MsiPreviewDialogW
lea rcx, str...integration_store_utils.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400372c2
inc rax
jmp 0x1400372c9
lea rax, str...integration_store_utils.cpp
mov rdx, rax
lea rcx, [0x14020c428]
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 0x14003731d
lock dec dword [rcx + 8]
jne 0x14003731d
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x14003731d
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.140108d90
add rsp, 0x88
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400375a0
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 0x1400375cc
mov rdx, qword [r8]
jmp 0x1400375cf
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 0x140037630
lea rcx, str...integration_store_utils.cpp
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140037604
inc rax
jmp 0x14003760b
lea rax, str...integration_store_utils.cpp
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x242100000000
shl rax, 0x34
or rax, rbp
or rax, rcx
jmp 0x140037648
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14005fd40
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 0x140050330
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov dword [rbp - 0x19], ebx
mov qword [rbp + 0x3f], rbx
mov qword [rbp + 0x47], rbx
mov qword [rbp + 0x47], 7
mov qword [rbp + 0x3f], rbx
mov word [rbp + 0x2f], bx
movzx eax, word [str.PreserveUserIntegrationsOnLogin]
neg ax
sbb r8, r8
and r8d, 0x1f
lea rdx, str.PreserveUserIntegrationsOnLogin
lea rcx, [rbp + 0x2f]
call fcn.140007d00
nop
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rbx
mov word [rbp + 0xf], bx
movzx eax, word [str.SOFTWAREMicrosoftAppVClientIntegration]
neg ax
sbb r8, r8
and r8d, 0x2a
lea rdx, str.SOFTWAREMicrosoftAppVClientIntegration
lea rcx, [rbp + 0xf]
call fcn.140007d00
nop
mov dword [rbp - 0x19], ebx
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140050498
mov rdi, qword [rbp - 0x11]
lea ecx, [rbx + 0x18]
call qword [sym.imp.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rcx, rax
mov qword [rbp - 1], rax
test rax, rax
je 0x14005044e
lea rax, vtable.appv::utility::scope_guard_func.0
mov qword [rcx], rax
lea rax, vtable.appv::utility::scope_guard_func_impl_class_std::_Bind_1__long_int__long_int____cdecl__const__struct_HKEY______ptr64___struct_HKEY______ptr64____ptr64__.0
mov qword [rcx], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdi
jmp 0x140050451
mov rcx, rbx
mov qword [rbp - 9], rcx
mov dword [rbp - 0x15], 4
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
lea rcx, [rbp - 9]
call fcn.140014fd0
nop
cmp qword [rbp + 0x27], 8
jb 0x1400504a9
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], rbx
mov word [rbp + 0xf], bx
cmp qword [rbp + 0x47], 8
jb 0x1400504ca
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x47], 7
mov qword [rbp + 0x3f], rbx
mov word [rbp + 0x2f], bx
test edi, edi
je 0x1400504e2
xor al, al
jmp 0x1400504e9
cmp dword [rbp - 0x19], 0
setne al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140108d90
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140052fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
mov r9, qword [rdx + 0x10]
mov r8, rdx
jb 0x140052fea
mov r8, qword [rdx]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140053024
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r10
cmp rdx, r9
jb 0x140053010
mov rax, rcx
mov edx, 0x1f31d
shr rax, 0x20
xor ecx, eax
btr ecx, 0x1f
call qword [sym.imp.MSVCR120.dll_ldiv]
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x140053064
lea eax, [rcx + 0x7fffffff]
cdqe
add rsp, 0x28
ret
movsxd rax, ecx
add rsp, 0x28
ret
Function at 0x1400608a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, qword [rdx]
mov r10, rcx
cmp qword [r8 + 0x18], 8
mov r9, qword [r8 + 0x10]
jb 0x1400608b4
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x1400608e4
movabs r11, 0x100000001b3
nop
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r9
jb 0x1400608d0
mov rdx, qword [r10 + 0x28]
mov rax, rcx
shr rax, 0x20
xor rax, rcx
and rax, rdx
cmp qword [r10 + 0x30], rax
ja 0x140060908
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
ret
Function at 0x140075570
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
movabs rdi, 0x8000000000
mov byte [rax - 0x30], 0
xor r15d, r15d
mov qword [rax - 0x28], r15
cmp byte [rax - 0x30], r15b
jne 0x1400756e3
xor r8d, r8d
lea rcx, [rax - 0x28]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
setne cl
mov byte [rsp + 0x68], cl
test cl, cl
je 0x1400756e3
cmp qword [rbx + 0x18], 8
jb 0x1400755e6
mov rbx, qword [rbx]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
movabs rsi, 0x142100000000
test eax, eax
jne 0x140075676
lea edx, [rax + 0x5c]
lea rcx, str.D:_agent_work2_sprivate_softgridclientintegration_notifier_process.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14007564b
inc rax
jmp 0x140075652
lea rax, str.D:_agent_work2_sprivate_softgridclientintegration_notifier_process.hpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
or rdi, rsi
cmp byte [rsp + 0x68], 0
je 0x140075734
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
je 0x14007569a
mov byte [rsp + 0x68], 0
jmp 0x140075734
mov edx, MsiPreviewDialogW
lea rcx, str.D:_agent_work2_sprivate_softgridclientintegration_notifier_process.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400756b6
inc rax
jmp 0x1400756bd
lea rax, str.D:_agent_work2_sprivate_softgridclientintegration_notifier_process.hpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
or rdi, rsi
jmp 0x140075734
mov edx, MsiPreviewDialogW
lea rcx, str.D:_agent_work2_sprivate_softgridclientintegration_notifier_process.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400756ff
inc rax
jmp 0x140075706
lea rax, str.D:_agent_work2_sprivate_softgridclientintegration_notifier_process.hpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x132100000000
or rdi, rax
cmp byte [rsp + 0x68], 0
je 0x140075755
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
movzx ecx, byte [rsp + 0x68]
test eax, eax
cmovne ecx, r15d
mov byte [rsp + 0x68], cl
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140094d10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x58], 8
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x58], 0
jb 0x140094d37
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x140094daf
lea rcx, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140094d7a
inc rax
jmp 0x140094d81
lea rax, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x342500000000
shl rax, 0x34
or rax, rdi
or rax, rcx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, dword [rsp + 0x58]
je 0x140094e03
lea rcx, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140094dd1
inc rax
jmp 0x140094dd8
lea rax, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x350500040002
shl rax, 0x34
or rax, rcx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140095050
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
lea rdx, [rcx + 0x40]
mov rdi, r8
xor r8d, r8d
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x48], r8d
jb 0x14009507c
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
je 0x1400950f8
test eax, eax
je 0x1400950f8
lea rcx, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400950c3
inc rax
jmp 0x1400950ca
lea rax, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x312500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp dword [rsp + 0x48], 1
je 0x14009514d
lea rcx, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14009511b
inc rax
jmp 0x140095122
lea rax, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x320500040002
shl rax, 0x34
or rax, rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
cmp eax, 0x4000
jb 0x1400951a6
lea rcx, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140095174
inc rax
jmp 0x14009517b
lea rax, str.d:_agent_work2_sprivate_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x14020c428]
mov rdx, rax
call fcn.140005ff0
movabs rcx, 0x330500040003
shl rax, 0x34
or rax, rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov dword [rdi], eax
movabs rax, 0x8000000000
add rsp, 0x30
pop rdi
ret
Function at 0x1400952e0
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x30], xmm0
xor ebp, ebp
mov qword [rax - 0x20], rbp
mov dword [rax + 0x18], ebp
lea r8, [rax + 0x18]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140095324
lea edi, [rbp + 0xd]
jmp 0x140095333
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0xea
je 0x14009533a
mov rbx, qword [rsp + 0x28]
jmp 0x14009539c
mov word [rsp + 0x60], bp
mov edx, dword [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.1400174a0
lea r8, [rsp + 0x70]
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140095375
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14009539c
cmp word [rbx], 0
jne 0x140095380
mov r8, rbp
jmp 0x14009538f
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140095384
mov rdx, rbx
mov rcx, rsi
call fcn.140007d00
mov edi, ebp
test rbx, rbx
je 0x1400953b8
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140095ae0
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
test rcx, rcx
jne 0x140095b1d
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140095be5
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
cmp word [rcx], di
jne 0x140095b46
mov r8d, edi
jmp 0x140095b5a
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], di
jne 0x140095b50
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140007d00
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140096b10
nop
cmp qword [rsp + 0x40], 8
jb 0x140095b8b
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], rdi
mov word [rsp + 0x28], di
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
cmp qword [rsp + 0x60], 8
jb 0x140095bd0
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], rdi
mov word [rsp + 0x48], di
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140108d90
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400960e0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov qword [rdx + 0x10], rbp
cmp qword [rdx + 0x18], 8
jb 0x140096126
mov rax, qword [rdx]
jmp 0x140096129
mov rax, rdx
mov word [rax], bp
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000c890
nop
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
sub rcx, rdi
sar rcx, 1
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400961ad
lea edx, [rax + 0x5c]
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140096173
inc rax
jmp 0x14009617a
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x14020c428]
call fcn.140005ff0
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or rsi, rbx
movabs rax, 0x792500000000
or rsi, rax
jmp 0x14009627d
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
cmp word [rdi], 0
jne 0x1400961d5
mov r8, rbp
jmp 0x1400961eb
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400961e0
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140007d00
nop
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400119b0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400962c0
mov rsi, rax
cmp qword [rsp + 0x78], 8
jb 0x14009622d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x60], bp
cmp qword [rsp + 0x58], 8
jb 0x140096253
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
mov rax, rsi
shr rax, 0x27
not eax
test al, 1
jne 0x14009627d
movabs rsi, 0x8000000000
test rdi, rdi
je 0x140096299
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140108d90
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret