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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400292ac
cmp rax, 0xffffffffffffffff
je 0x1400292ac
xor edi, edi
test rbp, rbp
jle 0x140029257
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f068
mov rbx, rax
test rax, rax
jne 0x1400291e4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002924d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a088
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d430
cmp eax, 0xffffffff
je 0x14002922d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400291f4
mov edx, r15d
mov ecx, r14d
call fcn.14001a088
jmp 0x14002924d
cmp byte [rsi + 0x38], dil
je 0x140029244
cmp dword [rsi + 0x34], 5
jne 0x140029244
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002924d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001ae1c
jmp 0x1400292c0
jns 0x1400292c0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c754
cmp rax, 0xffffffffffffffff
jne 0x140029278
cmp byte [rsi + 0x30], dil
je 0x1400292c0
mov edi, dword [rsi + 0x2c]
jmp 0x1400292c0
mov ecx, r14d
call fcn.140018540
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400292c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400292c0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400292b9
mov eax, dword [rsi + 0x2c]
jmp 0x1400292be
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c754
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14000193c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001986
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001986
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001986
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001986
cmp dword [rcx + 0x84], 0xe
jbe 0x140001986
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001988
xor al, al
add rsp, 0x28
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.1401109ad
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 0x14001be90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004d40
nop
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.system_setup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x14001bf64
lea rdx, [0x14013b4a4]
mov rcx, qword [rsp + 0xa0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
jmp 0x14001c04c
mov edx, 0x104
lea rcx, [rsp + 0x58]
call fcn.1400481c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.SystemPartition
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x54], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.1400045e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x14001bfe2
cmp dword [rsp + 0x60], 0
jne 0x14001c015
lea rdx, [0x14013b4c8]
mov rcx, qword [rsp + 0xa0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
jmp 0x14001c04c
lea rcx, [rsp + 0x58]
call fcn.140004640
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.14001bc90
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x14001ee20
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov dword [rsp + 0x30], 0
lea rdx, [0x14013bc18]
lea rcx, [rsp + 0x40]
call fcn.140004430
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140003a10
lea rcx, [rsp + 0x40]
call fcn.140004640
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.14001ea60
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14001ef46
cmp dword [rsp + 0x88], 0
je 0x14001ef2e
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.140004640
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf013f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ef0f
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp qword [rsp + 0x48], 0
je 0x14001ef0f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.14001efa0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x34]
jmp 0x14001ef89
lea rcx, [rsp + 0x40]
call fcn.140004640
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.14001ea60
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call fcn.140001910
mov eax, dword [rsp + 0x38]
add rsp, 0x68
ret
Function at 0x14001efa0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov dword [rsp + 0x60], 0
lea rdx, str.softwaremacrium_reflect_
lea rcx, [rsp + 0x58]
call fcn.140004430
nop
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.140003a10
cmp dword [rsp + 0xc0], 0
je 0x14001f007
mov dword [rsp + 0x50], 1
jmp 0x14001f00f
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004640
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0xb8], 0
je 0x14001f036
mov qword [rsp + 0x70], 0xffffffff80000001
jmp 0x14001f03f
mov qword [rsp + 0x70], 0xffffffff80000002
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14001f0a8
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
call fcn.140001910
mov eax, dword [rsp + 0x68]
jmp 0x14001f0fa
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x58]
call fcn.140001910
mov eax, dword [rsp + 0x6c]
add rsp, 0x98
ret
Function at 0x14002c630
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x48], 0xfffffffffffffffe
lea rcx, str.AdvAPI32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14002c6db
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002c6d0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x68]
call fcn.140004640
xor r9d, r9d
mov r8d, 0x100
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x68]
call fcn.140001910
mov eax, dword [rsp + 0x24]
jmp 0x14002c705
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x68]
call fcn.140004640
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x68]
call fcn.140001910
mov eax, dword [rsp + 0x28]
add rsp, 0x58
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, str.Settings
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
Function at 0x1400b44e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x58]
call fcn.140004d40
nop
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14014d968]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400b45b4
lea rdx, [0x14014d944]
mov rcx, qword [rsp + 0xc0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xc0]
jmp 0x1400b46c1
mov edx, 0x104
lea rcx, [rsp + 0x58]
call fcn.1400481c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [0x14014d988]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x54], eax
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.1400045e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 0
jne 0x1400b4632
cmp dword [rsp + 0x60], 0
jne 0x1400b4665
lea rdx, [0x14014d964]
mov rcx, qword [rsp + 0xc0]
call fcn.140004430
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xc0]
jmp 0x1400b46c1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.140004cb0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b4120
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140001910
mov rax, qword [rsp + 0xc0]
add rsp, 0xb8
ret
Function at 0x1400b4950
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
lea rcx, [rsp + 0x28]
call fcn.140004d40
nop
lea rcx, [rsp + 0x20]
call fcn.140004d40
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b5630
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b5520
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400b49cb
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x38], rax
jae 0x1400b4b03
cmp dword [rsp + 0x30], 0
je 0x1400b4ade
lea rcx, [rsp + 0x20]
call fcn.140004640
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.140004640
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400b4ad0
lea r8, [0x14014ddc0]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140046070
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140004640
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x28]
call fcn.140004640
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x70]
call fcn.140001910
lea rcx, [rsp + 0x20]
call fcn.140004640
mov qword [rsp + 0x80], rax
lea r8, [0x14014ddd8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x90]
call fcn.140046070
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140004640
mov qword [rsp + 0x88], rax
mov r8d, 5
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x90]
call fcn.140001910
lea rcx, [0x14014ddf0]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
nop
lea rcx, [rsp + 0x20]
call fcn.140001910
nop
lea rcx, [rsp + 0x28]
call fcn.140001910
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140001910
jmp 0x1400b4b7e
cmp dword [rsp + 0x30], 0
je 0x1400b4b16
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x40], rax
jae 0x1400b4b5b
cmp dword [rsp + 0x34], 0
je 0x1400b4b5b
lea rcx, [rsp + 0x28]
call fcn.140004640
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x20]
call fcn.140004640
mov qword [rsp + 0xa0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x20]
call fcn.140001910
nop
lea rcx, [rsp + 0x28]
call fcn.140001910
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140001910
add rsp, 0xb8
ret
Function at 0x1400b53e0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b5506
mov eax, dword [rsp + 0x20]
mov ecx, eax
call fcn.1400f3660
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400b5438
xor eax, eax
jmp 0x1400b550b
mov r9, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400b5465
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
xor eax, eax
jmp 0x1400b550b
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [0x14014dc44]
mov rcx, qword [rsp + 0x30]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400b5492
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
xor eax, eax
jmp 0x1400b550b
cmp qword [rsp + 0x38], 0
jne 0x1400b54a8
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
xor eax, eax
jmp 0x1400b550b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
shl rax, 0x30
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 8]
and rcx, 0xffff
movzx ecx, cx
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
shr rcx, 0x10
and rcx, 0xffff
movzx ecx, cx
shl rcx, 0x10
or rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400e8ff0
mov rax, qword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1400b5520
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x20]
call fcn.140004d40
nop
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400b5591
mov rax, qword [rsp + 0x270]
mov r9, qword [rax]
lea r8, [rsp + 0x40]
lea rdx, [0x14014dd88]
lea rcx, [rsp + 0x20]
call fcn.140005ca0
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x278]
call fcn.140004b30
lea rcx, [rsp + 0x20]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400b55d2
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call fcn.140001910
mov eax, dword [rsp + 0x28]
jmp 0x1400b5605
lea rcx, [rsp + 0x20]
call fcn.140004640
mov rcx, rax
call fcn.1400b53e0
mov rcx, qword [rsp + 0x280]
mov qword [rcx], rax
mov dword [rsp + 0x2c], 1
lea rcx, [rsp + 0x20]
call fcn.140001910
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x268
ret