joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400076f0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rsi, rcx
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x1400078a8
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov ebx, 0x23
mov eax, 0x1c
cmp dword [rdi], 0
cmovne ebx, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.1400e17c0
bts ebx, 0xf
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rbx, 0xffffffffffffffff
test eax, eax
js 0x1400077e7
lea rcx, [rsp + 0x40]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400077a0
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140004960
cmp dword [rdi], 0
je 0x1400077e7
lea rdx, str.Temp
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400077d0
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140003cd0
lea rdx, str.Macrium_
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400077f1
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140003cd0
mov rdx, qword [rsi + 0x10]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140003cd0
cmp dword [rsi + 0x40], 0
je 0x140007830
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [0x14016d848]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140007840
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140003cd0
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x30]
call fcn.140004a90
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140007883
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dbfd0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004d90
int3
Function at 0x1400078c0
Capabilities:
Delete file

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov r15, rdx
mov r14, rcx
mov rdi, qword [rcx]
mov r8, qword [rcx + 8]
sub r8, rdi
sar r8, 4
test r8, r8
je 0x1400079fb
test rdx, rdx
je 0x1400079fb
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400079fb
lea ecx, [rax - 1]
cmp r8, rcx
jbe 0x1400079fb
nop word [rax + rax]
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, qword [rdi + 8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140003cd0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rsi, qword [r14 + 8]
lea rax, [rdi + 0x10]
cmp rax, rsi
je 0x140007996
lea rbx, [rax + 8]
sub rdi, rax
nop word [rax + rax]
mov rax, qword [rbx - 8]
mov qword [rdi + rbx - 8], rax
lea rcx, [rbx + rdi]
mov rdx, rbx
call fcn.140004a90
add rbx, 0x10
lea rax, [rbx - 8]
cmp rax, rsi
jne 0x140007970
mov rsi, qword [r14 + 8]
mov rdx, qword [rsi - 8]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400079b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add qword [r14 + 8], 0xfffffffffffffff0
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400079de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [r14]
mov rcx, qword [r14 + 8]
sub rcx, rdi
sar rcx, 4
mov eax, dword [r15 + 0xc]
dec eax
cmp rcx, rax
ja 0x140007920
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140007a10
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rdx
mov r14, qword [rcx + 8]
mov rdi, qword [rcx]
mov rax, r14
sub rax, rdi
cmp rax, 0x10
jb 0x140007c32
test rdx, rdx
je 0x140007c32
cmp dword [rdx + 8], 0
je 0x140007c32
xor esi, esi
mov qword [rbp - 0x40], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
cmp rdi, r14
je 0x140007b6b
movabs r13, 0xaaaaaaaaaaaaaaab
movabs r12, 0x8888888888888889
nop dword [rax]
mov rbx, qword [rdi]
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov qword [rbp - 0x28], rsi
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rax, qword [rbp - 0x28]
mov rdx, rax
sub rdx, rbx
mov rcx, rbx
sub rcx, rax
cmp rbx, rax
cmovb rcx, rdx
mov rax, r13
mul rcx
shr rdx, 4
mov rax, r12
mul rdx
shr rdx, 5
mov rax, r12
mul rdx
shr rdx, 5
movabs rax, 0xd6bf94d5e57a42bd
mul rdx
shr rdx, 0x17
cmp edx, dword [r15 + 8]
jb 0x140007b5a
mov rdx, qword [rbp - 0x38]
cmp qword [rbp - 0x30], rdx
je 0x140007b4e
mov ecx, sendto
call fcn.1400065b0
mov rbx, rax
mov rcx, qword [rdi]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbx + 8], rax
add qword [rbp - 0x38], 0x10
jmp 0x140007b5a
mov r8, rdi
lea rcx, [rbp - 0x40]
call fcn.140009380
add rdi, 0x10
cmp rdi, r14
jne 0x140007aa0
mov rsi, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
cmp rsi, rdi
je 0x140007bcd
mov rcx, qword [r15]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbp - 0x50], rax
mov rdx, qword [rsi + 8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x50]
call fcn.140003cd0
mov rbx, qword [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007bc4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add rsi, 0x10
cmp rsi, rdi
jne 0x140007b74
lea rcx, [rbp - 0x40]
call fcn.1400063b0
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x140007c32
mov rdi, qword [rbp - 0x38]
cmp rbx, rdi
je 0x140007c1e
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007c11
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add rbx, 0x10
cmp rbx, rdi
jne 0x140007bf0
mov rbx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rcx, rbx
call fcn.140006540
nop
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400dbfd0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400080c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rsi, rcx
cmp qword [rcx + 0x30], 0
je 0x1400082e6
xor r14d, r14d
mov qword [rbp + 0xf0], r14
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x14000830d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0xf0], rax
mov r8, qword [rsi + 0x10]
lea rdx, str.Logging_initialized_for__s_r_n
lea rcx, [rbp + 0xf0]
call fcn.140005ca0
mov dword [rbp + 0xf8], r14d
mov rdx, qword [rbp + 0xf0]
mov ebx, dword [rdx - 0x10]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea r8d, [r14 + 3]
lea rcx, [rsp + 0x40]
call fcn.140008aa0
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xf8]
mov r8d, ebx
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
je 0x1400081a3
call fcn.1400e8ff0
lea rdx, str.Date_______Time______________________Level_______TID___File_________________Line____Function______Description_r_n
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400081b4
mov r8d, eax
lea rcx, [rbp + 0xf0]
call fcn.140004960
mov rdx, qword [rbp + 0xf0]
mov ebx, dword [rdx - 0x10]
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov r8d, 3
lea rcx, [rbp - 0x30]
call fcn.140008aa0
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xf8]
mov r8d, ebx
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
je 0x14000821d
call fcn.1400e8ff0
lea rdx, str.______________________________________________________________________________________________________________r_n
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140008230
mov r8d, eax
lea rcx, [rbp + 0xf0]
call fcn.140004960
mov rdx, qword [rbp + 0xf0]
mov ebx, dword [rdx - 0x10]
lea rax, [rbp + 0x68]
mov qword [rbp + 0x60], rax
mov r8d, 3
lea rcx, [rbp + 0x60]
call fcn.140008aa0
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xf8]
mov r8d, ebx
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
cmp rcx, rax
je 0x140008299
call fcn.1400e8ff0
mov dword [rsp + 0x30], r14d
lea rax, str.Logging_started
mov qword [rsp + 0x28], rax
lea r8, [0x1401698e8]
mov qword [rsp + 0x20], r8
mov r9, r8
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400086b0
nop
mov rdx, qword [rbp + 0xf0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400082e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400dbfd0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004d90
int3
Function at 0x1400086b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, r9
mov r14, r8
mov r13, rdx
mov rdi, rcx
mov r12, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
mov esi, dword [rdx]
and esi, 0x1ff
mov dword [rsp + 0x40], esi
call fcn.1400c82b4
mov rcx, rax
test rax, rax
je 0x140008867
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
cmp esi, dword [rdi + 0x18]
ja 0x140008810
cmp dword [rdi + 0x40], 0
jne 0x14000873b
cmp qword [rdi + 0x30], 0
je 0x140008810
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140008320
cmp dword [rdi + 0x40], 0
je 0x1400087e4
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400087e4
xor r14d, r14d
mov dword [rsp + 0x58], r14d
mov rbx, qword [rsp + 0x50]
mov esi, dword [rbx - 0x10]
cmp dword [rbx - 8], 1
jle 0x14000879c
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.1400089e0
mov rcx, qword [rdi + 0x30]
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [rsp + 0x58]
add edx, dword [rdi + 0x28]
mov dword [rdi + 0x28], edx
mov eax, dword [rdi + 0x24]
test eax, eax
je 0x1400087e9
shr edx, 0x14
cmp edx, eax
jb 0x1400087e9
mov rcx, rdi
call fcn.140008880
mov rcx, rdi
call fcn.140007f20
mov rcx, rdi
call fcn.1400080c0
jmp 0x1400087e9
mov rbx, qword [rsp + 0x50]
cmp dword [rdi + 0x44], 0
je 0x140008810
cmp dword [rbx - 8], 1
jle 0x140008807
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400089e0
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rdi]
test rax, rax
je 0x14000882c
mov ecx, dword [r13]
bt ecx, 9
jae 0x14000882c
btr ecx, 9
mov rdx, rbp
call rax
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140008849
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004d90
int3
Function at 0x140008880
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400088f9
mov qword [rsp + 0x58], rdi
lea r9, [rsp + 0x30]
xor edi, edi
lea rdx, str.________________________________________________________________________________r_n
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 0x51]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 0x30]
lea r9, [rsp + 0x30]
lea r8d, [rdi + 0x14]
mov qword [rsp + 0x20], rdi
lea rdx, str.Logging_terminated._n
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], rdi
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x40
pop rbx
ret

Function at 0x14000a530
Capabilities:
Check if file exists

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov rcx, rdx
call fcn.140005ff0
cmp qword [rax + 0x10], 0
je 0x14000a5b4
mov rcx, rsi
call fcn.140005c60
mov rcx, rax
call fcn.140005e20
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call fcn.14000c420
mov rcx, rbx
call fcn.140006930
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000a5b4
lea rdx, [0x1401698e8]
mov rcx, rbx
call fcn.140005bf0
mov rdx, rbx
mov rcx, rdi
call fcn.14000c810
nop
mov rcx, rbx
call fcn.14000a480
nop
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000a5f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2d8], rbx
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov dword [rsp + 0x34], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x38]
call fcn.140005ff0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rsp + 0x30], di
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140006420
lea rdx, [0x1401698e8]
lea rcx, [rsp + 0x38]
call fcn.140005c20
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000c2d0
mov dword [rsp + 0x34], 2
mov qword [rsp + 0x88], rdi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMacriumReflect
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a730
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
call fcn.1400e17c0
mov dword [rsp + 0x90], 0x104
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a721
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call fcn.140005bf0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x38]
call fcn.14000a480
nop
mov rcx, rbx
call fcn.140005ff0
cmp qword [rax + 0x10], 0
je 0x14000a799
mov r8, 0xffffffffffffffff
lea rdx, [0x14016d848]
mov rcx, rbx
call fcn.14000c010
cmp rax, 0xffffffffffffffff
je 0x14000a799
lea r9, [rax + 1]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.14000bf40
mov rdx, rax
mov rcx, rbx
call fcn.14000c180
nop
lea rcx, [rsp + 0x68]
call fcn.14000a480
nop
mov rcx, rbx
call fcn.140006930
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000a7bd
lea rdx, [0x1401698e8]
mov rcx, rbx
call fcn.140005bf0
mov rax, rbx
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400dbfd0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2c0
pop rdi
ret
Function at 0x14000a7f0
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3c8]
sub rsp, 0x4c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
call fcn.140005ff0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rbp - 0x70], si
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140006420
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x38]
call fcn.140005ff0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rbp - 0x70], si
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140006420
lea rdx, [0x1401698e8]
lea rcx, [rsp + 0x38]
call fcn.140005c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.14000c2d0
mov rdi, rax
mov dword [rsp + 0x30], 3
mov qword [rbp - 0x78], rsi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, str.SOFTWAREMacriumCommonSharedFolders
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a94d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.1400e17c0
mov dword [rbp - 0x70], 0x104
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Common
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a943
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140005bf0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rbx
call fcn.14000c180
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x68]
call fcn.14000a480
nop
lea rcx, [rsp + 0x38]
call fcn.14000a480
nop
mov rcx, rbx
call fcn.140005ff0
cmp qword [rax + 0x10], 0
jne 0x14000a9f2
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x60]
call fcn.1400e17c0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140005bf0
mov rcx, rbx
call fcn.140005ff0
cmp qword [rax + 0x10], 0
je 0x14000a9f2
lea rcx, str.MacriumCommon_
call fcn.140005c60
mov rcx, rax
call fcn.140005e20
mov r8, rax
lea rdx, str.MacriumCommon_
mov rcx, rbx
call fcn.14000c420
mov rcx, rbx
call fcn.140006930
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000aa16
lea rdx, [0x1401698e8]
mov rcx, rbx
call fcn.140005bf0
mov rax, rbx
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400dbfd0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000f710
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x58]
call fcn.140005ff0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rsp + 0x50], r14w
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140006420
nop
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14000c2d0
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f82a
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.1400e17c0
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f81e
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140005bf0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x58]
call fcn.14000a480
nop
mov rax, rsi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x2a0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011f90
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x140011fba
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
jne 0x140012003
mov rax, qword [rsp + 0x40]
add rax, 8
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
add rsp, 0x38
ret