joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004fa90
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 0x14004fbf8
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 0x14004fbae
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 0x14004fbb1
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.140014fa0
nop
cmp qword [rbp + 0x27], 8
jb 0x14004fc09
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 0x14004fc2a
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 0x14004fc42
xor al, al
jmp 0x14004fc49
cmp dword [rbp - 0x19], 0
setne al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140107280
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140052730
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 0x14005274a
mov r8, qword [rdx]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140052784
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r10
cmp rdx, r9
jb 0x140052770
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 0x1400527c4
lea eax, [rcx + 0x7fffffff]
cdqe
add rsp, 0x28
ret
movsxd rax, ecx
add rsp, 0x28
ret
Function at 0x140060000
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 0x140060014
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140060044
movabs r11, 0x100000001b3
nop
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r9
jb 0x140060030
mov rdx, qword [r10 + 0x28]
mov rax, rcx
shr rax, 0x20
xor rax, rcx
and rax, rdx
cmp qword [r10 + 0x30], rax
ja 0x140060068
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
ret
Function at 0x140074cd0
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 0x140074e43
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 0x140074e43
cmp qword [rbx + 0x18], 8
jb 0x140074d46
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 0x140074dd6
lea edx, [rax + 0x5c]
lea rcx, str.C:_btvsts3621private_softgridclientintegration_notifier_process.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140074dab
inc rax
jmp 0x140074db2
lea rax, str.C:_btvsts3621private_softgridclientintegration_notifier_process.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
or rdi, rsi
cmp byte [rsp + 0x68], 0
je 0x140074e94
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
je 0x140074dfa
mov byte [rsp + 0x68], 0
jmp 0x140074e94
mov edx, MsiPreviewDialogW
lea rcx, str.C:_btvsts3621private_softgridclientintegration_notifier_process.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140074e16
inc rax
jmp 0x140074e1d
lea rax, str.C:_btvsts3621private_softgridclientintegration_notifier_process.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
or rdi, rsi
jmp 0x140074e94
mov edx, MsiPreviewDialogW
lea rcx, str.C:_btvsts3621private_softgridclientintegration_notifier_process.hpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140074e5f
inc rax
jmp 0x140074e66
lea rax, str.C:_btvsts3621private_softgridclientintegration_notifier_process.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, 0x132100000000
or rdi, rax
cmp byte [rsp + 0x68], 0
je 0x140074eb5
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 0x140094470
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 0x140094497
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 0x14009450f
lea rcx, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400944da
inc rax
jmp 0x1400944e1
lea rax, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x140209428]
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 0x140094563
lea rcx, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140094531
inc rax
jmp 0x140094538
lea rax, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x140209428]
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 0x1400947b0
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 0x1400947dc
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 0x140094858
test eax, eax
je 0x140094858
lea rcx, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140094823
inc rax
jmp 0x14009482a
lea rax, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x140209428]
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 0x1400948ad
lea rcx, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14009487b
inc rax
jmp 0x140094882
lea rax, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x140209428]
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 0x140094906
lea rcx, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400948d4
inc rax
jmp 0x1400948db
lea rax, str.c:_btvsts3621private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x140209428]
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 0x140094a40
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 0x140094a84
lea edi, [rbp + 0xd]
jmp 0x140094a93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0xea
je 0x140094a9a
mov rbx, qword [rsp + 0x28]
jmp 0x140094afc
mov word [rsp + 0x60], bp
mov edx, dword [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140017470
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 0x140094ad5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140094afc
cmp word [rbx], 0
jne 0x140094ae0
mov r8, rbp
jmp 0x140094aef
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140094ae4
mov rdx, rbx
mov rcx, rsi
call fcn.140007d00
mov edi, ebp
test rbx, rbx
je 0x140094b18
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 0x140095240
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 0x14009527d
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140095345
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 0x1400952a6
mov r8d, edi
jmp 0x1400952ba
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], di
jne 0x1400952b0
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140007d00
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140096270
nop
cmp qword [rsp + 0x40], 8
jb 0x1400952eb
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 0x140095330
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.140107280
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140095840
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 0x140095886
mov rax, qword [rdx]
jmp 0x140095889
mov rax, rdx
mov word [rax], bp
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000c860
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 0x14009590d
lea edx, [rax + 0x5c]
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x1400958d3
inc rax
jmp 0x1400958da
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x140209428]
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 0x1400959dd
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 0x140095935
mov r8, rbp
jmp 0x14009594b
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x140095940
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140007d00
nop
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140011980
nop
mov rdx, rbx
mov rcx, rax
call fcn.140095a20
mov rsi, rax
cmp qword [rsp + 0x78], 8
jb 0x14009598d
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 0x1400959b3
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 0x1400959dd
movabs rsi, 0x8000000000
test rdi, rdi
je 0x1400959f9
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.140107280
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x140095d80
Capabilities:
Copy file

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x140095ea8
cmp qword [rdx + 0x10], 0
je 0x140095ea8
call fcn.1400120b0
test eax, eax
je 0x140095ea8
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140096270
nop
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140096270
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x140095e4d
call fcn.140094c50
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
or rbx, rax
movabs rax, 0x932500000000
or rbx, rax
jmp 0x140095e57
movabs rbx, 0x8000000000
cmp qword [rsp + 0x50], 8
jb 0x140095e6a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp qword [rsp + 0x70], 8
jb 0x140095e90
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov rax, rbx
jmp 0x140095eeb
mov edx, MsiPreviewDialogW
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140095ec4
inc rax
jmp 0x140095ecb
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x140209428]
call fcn.140005ff0
shl rax, 0x34
movabs rcx, 0x922500000057
or rax, rcx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140107280
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x140096670
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov rbp, r8
mov rsi, rcx
xor r14d, r14d
mov dword [r11 - 0x48], r14d
mov dword [r11 + 0x20], r14d
lea rdi, [0x140209590]
mov rdx, rdi
cmp qword [0x1402095a8], 8
cmovae rdx, qword [0x140209590]
lea rax, [r11 + 0x20]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r14
lea r9, [r11 - 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400967b1
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x1400967ac
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x1400967ac
mov byte [rsp + 0x88], r14b
lea rdx, [rcx + 2]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.140063840
nop
cmp qword [0x1402095a8], 8
cmovae rdi, qword [0x140209590]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14009678c
cmp word [rbx], ax
jne 0x140096771
mov r8d, r14d
jmp 0x140096780
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x140096775
mov rdx, rbx
mov rcx, rbp
call fcn.140007d00
nop
test rbx, rbx
je 0x1400967a8
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov eax, edi
jmp 0x1400967b1
mov eax, 0x65e
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ad1b0
Capabilities:
Get disk information

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 rcx, qword [rcx + 8]
cmp qword [rcx + 0x10], 2
jb 0x1400ad24d
cmp qword [rcx + 0x18], 8
jb 0x1400ad1e5
mov rax, qword [rcx]
jmp 0x1400ad1e8
mov rax, rcx
cmp word [rax + 2], 0x3a
jne 0x1400ad24d
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x28]
call fcn.14000c550
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
cmp qword [rsp + 0x40], 8
jb 0x1400ad233
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
movzx eax, bl
jmp 0x1400ad24f
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140107280
add rsp, 0x50
pop rbx
ret

Function at 0x1400ae790
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r8, rdx
lea rdx, str.SELECT_Component.ComponentId_FROM_Shortcut__Component_WHERE_Shortcut.Component___Component.Component_and_Shortcut.Target
lea rcx, [r11 - 0x30]
call fcn.14000d5f0
nop
lea r8, [0x140175e34]
mov rdx, rax
mov rcx, rbx
call fcn.14000d570
mov dword [rsp + 0x20], 1
cmp qword [rsp + 0x50], 8
jb 0x1400ae801
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140107280
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400fa610
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov eax, dword [0x140209cc8]
test al, 1
jne 0x1400fa681
or eax, 1
mov dword [0x140209cc8], eax
xor eax, eax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea rcx, [r11 - 0x40]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rsp + 0x28]
test ecx, ecx
je 0x1400fa66e
mov eax, 2
xor edx, edx
cmp ecx, 9
cmovne eax, edx
jmp 0x1400fa673
mov eax, 1
cmp eax, 2
sete al
mov byte [0x140209c28], al
jmp 0x1400fa688
movzx eax, byte [0x140209c28]
add rsp, 0x68
ret