joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400965d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140147d10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x140096616
xor eax, eax
jmp 0x14009676e
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x140147d48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x34], 4
jne 0x14009667f
cmp dword [rsp + 0x30], 0
je 0x14009667f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14009676e
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x140147d80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x34], 4
jne 0x14009671a
cmp dword [rsp + 0x30], 1
jb 0x14009671a
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.HardwareDetectionDisabled
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14009676e
mov dword [rsp + 0x34], 4
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140147de8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x58
ret

Function at 0x140096780
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareMacriumReflect
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400967c1
jmp 0x140096801
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.HardwareDetectionCount
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x48
ret
Function at 0x140097090
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
lea rdx, str.SoftwareMacriumReflectMIGStoppedUntilReboot
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400970ce
cmp dword [rsp + 0x30], 1
je 0x1400970f9
cmp dword [rsp + 0x30], 2
je 0x140097121
jmp 0x140097173
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
lea rdx, [0x140148470]
lea rcx, [0x140148368]
call fcn.14001efa0
call fcn.140096d30
jmp 0x140097173
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140148480]
lea rcx, [0x140148490]
call fcn.14001efa0
call fcn.140096dd0
jmp 0x140097173
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 1
lea rdx, [0x140148498]
lea rcx, [0x1401484a8]
call fcn.14001efa0
call fcn.140096e70
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 1
lea rdx, [0x1401484b0]
lea rcx, [0x1401484c0]
call fcn.14001efa0
call fcn.1400b47c0
xor ecx, ecx
call fcn.140098350
add rsp, 0x48
ret
Function at 0x140097250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x90], 0xfffffffffffffffe
movzx eax, byte [rsp + 0xb8]
test eax, eax
jne 0x1400972a5
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisableCheck
lea rcx, [0x140148680]
call fcn.14001ee20
cmp eax, 1
jne 0x1400972a5
xor al, al
jmp 0x1400974c9
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.140004430
nop
lea rcx, [rsp + 0x48]
call fcn.140004a80
cmp eax, 3
jge 0x1400972e0
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
call fcn.140001910
movzx eax, byte [rsp + 0x40]
jmp 0x1400974c9
lea r8, [0x140148688]
lea rdx, [0x140148690]
lea rcx, [rsp + 0x48]
call fcn.140003570
lea rcx, [rsp + 0x48]
call fcn.140004640
mov rcx, rax
call fcn.14009a900
test eax, eax
je 0x140097327
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x48]
call fcn.140001910
movzx eax, byte [rsp + 0x41]
jmp 0x1400974c9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call fcn.140004cb0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x88]
call fcn.14001a6e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140004b30
nop
lea rcx, [rsp + 0x88]
call fcn.140001910
lea rdx, str.is_protected.mrimg
lea rcx, [rsp + 0x48]
call fcn.140003a10
lea rcx, [rsp + 0x48]
call fcn.140004640
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x510
jne 0x1400973f3
mov dword [rsp + 0x50], 1
jmp 0x1400973fb
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x140097416
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x54], 0
je 0x14009746e
lea rcx, [rsp + 0x48]
call fcn.140004640
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, rax
call fcn.140097fe0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x14009746e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x48]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140097498
lea rcx, [rsp + 0x48]
call fcn.140004640
mov rcx, rax
call fcn.1400980b0
cmp dword [rsp + 0x54], 1
jne 0x1400974a9
mov dword [rsp + 0x58], 1
jmp 0x1400974b1
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0x48]
call fcn.140001910
movzx eax, byte [rsp + 0x42]
add rsp, 0xa8
ret
Function at 0x140099e10
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140099e45
mov eax, 1
jmp 0x14009a011
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x510
je 0x140099e59
xor eax, eax
jmp 0x14009a011
mov rcx, qword [rsp + 0xb0]
call fcn.140099800
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0xc0010000
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x58], 0
je 0x140099ecd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x140099edc
xor eax, eax
jmp 0x14009a011
lea rcx, [0x140148090]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140148070]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140099f13
xor eax, eax
jmp 0x14009a011
mov rcx, qword [rsp + 0xb8]
call fcn.1400e9024
shl rax, 1
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400c7eb0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1400e17c0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov dword [rax], 1
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1400e1360
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x40]
mov edx, 3
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x90]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400c7ea8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x50]
add rsp, 0xa8
ret
Function at 0x14009a020
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14009a045
mov eax, 1
jmp 0x14009a15c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x510
je 0x14009a059
xor eax, eax
jmp 0x14009a15c
mov rcx, qword [rsp + 0x80]
call fcn.140099800
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x40010000
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x50], 0
je 0x14009a0cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x14009a0dc
xor eax, eax
jmp 0x14009a15c
lea rcx, [0x1401480d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401480b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14009a10a
xor eax, eax
jmp 0x14009a15c
mov dword [rsp + 0x44], 1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 4
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x68]
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x4c]
add rsp, 0x78
ret

Function at 0x14009a170
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14009a1a3
mov eax, 1
jmp 0x14009a1f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x510
je 0x14009a1b4
xor eax, eax
jmp 0x14009a1f3
cmp dword [rsp + 0x40], 0
je 0x14009a1e4
xor eax, eax
cmp eax, 1
je 0x14009a1e4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009a1e4
mov rcx, qword [rsp + 0x38]
call fcn.14009a020
test eax, eax
jne 0x14009a1e4
xor eax, eax
jmp 0x14009a1f3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140099e10
add rsp, 0x28
ret
Function at 0x14009a200
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
call fcn.140004a80
cmp eax, 3
jge 0x14009a22b
xor al, al
jmp 0x14009a314
lea rcx, [rsp + 0x48]
call fcn.140004d40
nop
mov edx, 0xff
lea rcx, [rsp + 0x48]
call fcn.1400481c0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x80]
call fcn.140004640
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x38], 0x100
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400045e0
lea rdx, str.NTFS
lea rcx, [rsp + 0x48]
call fcn.140045140
movzx eax, al
test eax, eax
jne 0x14009a2f4
lea rdx, str.ReFS
lea rcx, [rsp + 0x48]
call fcn.140045140
movzx eax, al
test eax, eax
jne 0x14009a2f4
lea rdx, str.exFAT
lea rcx, [rsp + 0x48]
call fcn.140045140
movzx eax, al
test eax, eax
jne 0x14009a2f4
mov dword [rsp + 0x44], 0
jmp 0x14009a2fc
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x48]
call fcn.140001910
movzx eax, byte [rsp + 0x40]
add rsp, 0x78
ret
Function at 0x14009a730
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xb0]
call fcn.140004a80
cmp eax, 3
jge 0x14009a776
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0xb0]
call fcn.140001910
movzx eax, byte [rsp + 0x21]
jmp 0x14009a8ea
call fcn.1400985f0
movzx eax, al
test eax, eax
je 0x14009a79e
mov byte [rsp + 0x22], 0
mov rcx, qword [rsp + 0xb0]
call fcn.140001910
movzx eax, byte [rsp + 0x22]
jmp 0x14009a8ea
lea r8, [0x140147fac]
lea rdx, [0x140147fc4]
mov rcx, qword [rsp + 0xb0]
call fcn.140003570
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
call fcn.140004cb0
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14001a6e0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call fcn.140004b30
nop
lea rcx, [rsp + 0x58]
call fcn.140001910
lea rcx, [rsp + 0x28]
call fcn.140004d40
nop
lea rax, [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.140004cb0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x80]
call fcn.14001a6e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r9, [0x140148230]
mov rax, qword [rsp + 0x78]
mov r8, qword [rax]
lea rdx, [0x1401482a0]
lea rcx, [rsp + 0x28]
call fcn.140005ca0
nop
lea rcx, [rsp + 0x80]
call fcn.140001910
lea rcx, [rsp + 0x28]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14009a8bf
mov byte [rsp + 0x20], 0
jmp 0x14009a8c4
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0x28]
call fcn.140001910
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001910
movzx eax, byte [rsp + 0x23]
add rsp, 0xa8
ret
Function at 0x14009f5c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x104
ja 0x14009f611
cmp dword [rsp + 0x24], 0
jne 0x14009f618
xor al, al
jmp 0x14009f6c5
lea rcx, [rsp + 0x50]
call fcn.140019a00
cmp qword [rsp + 0x498], 0
je 0x14009f63c
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x38], rax
jmp 0x14009f648
lea rax, str._TEMP
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140004430
nop
lea rcx, [rsp + 0x30]
call fcn.140004640
lea r9, [rsp + 0x260]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14009f69c
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.140001910
movzx eax, byte [rsp + 0x20]
jmp 0x14009f6c5
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x490]
call fcn.140004670
mov byte [rsp + 0x21], 1
lea rcx, [rsp + 0x30]
call fcn.140001910
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x488
ret

Function at 0x14009f810
Capabilities:
Check if file exists
Get disk information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, [0x140149654]
mov rcx, qword [rsp + 0x80]
call fcn.140005bf0
mov eax, 0x63
mov word [rsp + 0x20], ax
jmp 0x14009f85e
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0x7a
jge 0x14009f91c
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.140016c00
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
lea r8, [0x140149644]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400105d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, dword [rsp + 0x70]
jne 0x14009f8c4
mov dword [rsp + 0x28], 1
jmp 0x14009f8cc
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x38]
call fcn.14000a510
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14009f917
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140016c00
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
mov rcx, qword [rsp + 0x78]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009f917
mov al, 1
jmp 0x14009f932
jmp 0x14009f851
lea rdx, [0x14014965c]
mov rcx, qword [rsp + 0x80]
call fcn.140005bf0
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x68
ret
Function at 0x1400a1090
Capabilities:
Get local ipv4 addresses

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, sendto
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x6f
je 0x1400a10d8
jmp 0x1400a1144
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.1400c7eb0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400a10fe
jmp 0x1400a1144
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
xor r8d, r8d
mov edx, sendto
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400a1144
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400c7ea8
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x38]
add rsp, 0x58
ret

Function at 0x1400a3020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
dec rax
sar rax, 1
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jge 0x1400a30f8
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
lea rax, [rax + rcx*2 - 2]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
lea rcx, [rcx + rdx*2]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x90]
call fcn.1400a21c0
movzx eax, al
test eax, eax
je 0x1400a30c2
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov rcx, rax
call fcn.140005e20
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movzx eax, word [rax]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
jmp 0x1400a305f
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jne 0x1400a3158
mov rax, qword [rsp + 0x80]
cqo
and rax, 1
xor rax, rdx
sub rax, rdx
test rax, rax
jne 0x1400a3158
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx*2 - 2]
mov rcx, rax
call fcn.140005e20
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movzx eax, word [rax]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x80]
dec rax
mov qword [rsp + 0x78], rax
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x88]
call fcn.140005e20
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400a3290
add rsp, 0x68
ret
Function at 0x1400ab160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.140004430
nop
xor r8d, r8d
lea rdx, str.__updates.macrium.com_
lea rcx, [rsp + 0x40]
call fcn.1400034e0
cmp eax, 0xffffffff
jne 0x1400ab1bf
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x48]
jmp 0x1400ab336
mov edx, 0x64
lea rcx, [0x1401a2098]
call fcn.1400ac9c0
movzx eax, al
test eax, eax
jne 0x1400ab1f2
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x4c]
jmp 0x1400ab336
mov ecx, sendto
call fcn.1400c7e60
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1400ab21a
mov rcx, qword [rsp + 0x70]
call fcn.1400ac1e0
mov qword [rsp + 0x78], rax
jmp 0x1400ab223
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x38]
lea r8, [0x1400ab350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400ab296
mov rcx, qword [rsp + 0x38]
call fcn.1400ac390
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x50]
jmp 0x1400ab336
mov rcx, qword [rsp + 0x38]
call fcn.1400ac370
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 0x1388
lea rdx, str.InternetConnectionTimeout
lea rcx, [0x14014af00]
call fcn.14001ee20
mov dword [rsp + 0x54], eax
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], 0
jne 0x1400ab306
mov rcx, qword [rsp + 0x38]
call fcn.1400616b0
cmp eax, 0xffffffff
je 0x1400ab306
mov dword [rsp + 0x30], 1
jmp 0x1400ab30e
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x38]
call fcn.1400ac390
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x60]
add rsp, 0x98
ret

Function at 0x1400acab0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x268
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x278]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.1400ad5e0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
lea r8, [0x14014b2a4]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.1400f5298
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x268
ret