joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400077f0
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x308
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rax, rdx
test r8d, r8d
je 0x140007830
xor ecx, ecx
call fcn.140007700
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14010bcc0
add rsp, 0x308
ret
mov edx, 0x2e
mov rcx, rax
mov qword [rsp + 0x300], rbx
call fcn.14010bd78
mov rbx, rax
test rax, rax
jne 0x140007856
lea rbx, [0x140154db0]
jmp 0x140007884
add rax, 2
cmp word [rax], 0
je 0x140007884
mov edx, 0xffdf
movzx ecx, word [rax]
cmp cx, 0x61
jb 0x14000787a
cmp cx, 0x7a
ja 0x14000787a
and cx, dx
mov word [rax], cx
add rax, 2
cmp word [rax], 0
jne 0x140007865
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
mov qword [rsp + 0x30], 0
call fcn.14010c6c0
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
mov edx, 0x80
mov rcx, rbx
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14010bcc0
add rsp, 0x308
ret

Function at 0x140007b40
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, rcx
mov rcx, qword [rcx + 0xb0]
xor r9d, r9d
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x1002
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d9d4c
test rax, rax
je 0x140007b93
lea rcx, [rbx + 0xb8]
call fcn.1400d9cd0
mov rcx, qword [rbx + 0xa8]
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140007bff
mov rcx, qword [rbx + 0xb0]
mov qword [rbx + 0xc0], rax
lea rax, [rbx + 0xb8]
test rax, rax
jne 0x140007bd9
xor r9d, r9d
jmp 0x140007bdd
mov r9, qword [rax + 8]
mov rcx, qword [rcx + 0x40]
mov edx, 0x1003
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.1400d9d4c
mov eax, 1
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14010bcc0
add rsp, 0x300
pop rbx
ret
Function at 0x140009000
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp rcx, 3
jne 0x140009027
mov rbx, qword [0x140199b78]
cmp word [rbx], di
je 0x140009130
jmp 0x140009093
cmp rcx, 2
jne 0x14000903f
mov byte [0x140199b74], dil
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x140199b60]
test rcx, rcx
je 0x14000905a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x140199b60], rdi
cmp rbx, 1
jne 0x140009086
mov rcx, qword [0x140199b58]
test rcx, rcx
je 0x140009130
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [0x140199b58], rdi
mov byte [0x140199b74], 0xc8
jmp 0x1400090fe
cmp rbx, 0x10000
jb 0x140009130
mov rcx, qword [0x140199b58]
test rcx, rcx
je 0x1400090ac
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [0x140199b58], rdi
test rbx, rbx
je 0x140009130
cmp word [rbx], di
je 0x140009130
mov eax, dword [0x140199b70]
test eax, eax
jg 0x140009130
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x1b]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
cmp rax, 0xffffffffffffffff
je 0x140009130
or rcx, 0xffffffffffffffff
mov qword [0x140199b58], rax
xor eax, eax
mov rdi, rbx
mov rdx, rbx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [0x140199b78]
call fcn.140002570
lea rax, [0x140199b88]
lea r8, [0x140007f90]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov dword [rsp + 0x20], 0x10000
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140199b60], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140009140
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x890
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x880], rax
xor r12d, r12d
mov rbp, rcx
mov rcx, qword [rcx]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov edx, 0x209
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x48], r12
mov word [rsp + 0x50], r12w
mov word [rsp + 0x464], r12w
call fcn.140063ce0
lea edx, [r12 + 0x5c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
lea r8d, [r12 + 0x5c]
lea rcx, [rsp + 0x50]
xor edx, edx
mov rsi, rax
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rbx, rax
test rax, rax
je 0x140009259
nop
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
mov word [rbx + 2], r12w
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea rdx, [rsp + 0x464]
lea rcx, [rsp + 0x50]
mov r8d, 0x209
mov word [rsp + 0x464], r12w
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov word [rbx], r12w
test edi, edi
jne 0x1400092b8
cmp rbx, rsi
je 0x140009259
lea r8d, [rdi + 0x5c]
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov rbx, rax
test rax, rax
jne 0x1400091d0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14013fd80]
repne scasw ax, word [rdi]
lea rdx, [0x14013fd80]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbp
call fcn.140002570
mov rdx, qword [rbp]
movzx eax, word [rsp + 0x50]
mov word [rdx + 8], ax
mov rax, qword [rbp]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14010bcc0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x464]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdi, [rsp + 0x464]
lea rdx, [rsp + 0x464]
movsxd rcx, eax
xor eax, eax
mov word [rsp + rcx*2 + 0x462], r12w
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbp
call fcn.140002570
jmp 0x14000928c
Function at 0x14000a490
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rsi, rcx
mov rbp, qword [0x14019a5c8]
call fcn.1400da76c
mov rcx, rax
xor edi, edi
mov edx, edi
test rax, rax
setne dl
test edx, edx
jne 0x14000a4d9
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r9, rbp
mov r8, qword [rsi + 0xc8]
lea rdx, [0x14013ff80]
lea rcx, [rsp + 0x58]
call fcn.140002990
inc dword [0x140199b70]
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000a554
nop dword [rax]
inc edi
mov dword [rsp + 0x20], edi
mov r9, rbp
mov r8, qword [rsi + 0xc8]
lea rdx, str._s_s__d_
lea rcx, [rsp + 0x58]
call fcn.140002990
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000a520
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov rdx, qword [0x14019a5d8]
call fcn.1400075b0
cmp eax, 0x13
jne 0x14000a59a
dec dword [0x140199b70]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000a5ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000a5ce
mov edx, 3
mov rcx, rsi
call fcn.14000a440
nop
dec dword [0x140199b70]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000a5ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a5f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rsi, rcx
mov rbp, qword [0x14019a5e8]
call fcn.1400da76c
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14000a637
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov r9, rbp
mov r8, qword [rsi + 0xc8]
lea rdx, str._s_s.TXT
lea rcx, [rsp + 0x68]
call fcn.140002990
inc dword [0x140199b70]
xor edi, edi
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000a6b4
nop dword [rax]
inc edi
mov dword [rsp + 0x20], edi
mov r9, rbp
mov r8, qword [rsi + 0xc8]
lea rdx, str._s_s__d_.TXT
lea rcx, [rsp + 0x68]
call fcn.140002990
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000a680
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14000a6ef
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a72a
mov rdx, qword [0x14019a5f8]
xor ecx, ecx
call fcn.1400075b0
cmp eax, 0x13
jne 0x14000a72a
dec dword [0x140199b70]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000a75e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000a75e
mov edx, 3
mov rcx, rsi
call fcn.14000a440
nop
dec dword [0x140199b70]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000a75e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14000b000
Capabilities:
Get file attributes

Disassembly:
push r12
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov r12, rcx
lea rcx, [rsp + 0x28]
call fcn.1400dd794
nop
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.140009770
test eax, eax
jg 0x14000b051
lea rcx, [rsp + 0x28]
call fcn.1400dda58
jmp 0x14000b0f8
xor esi, esi
mov rbx, rsi
movsxd rbp, eax
test eax, eax
jle 0x14000b0ee
test rbx, rbx
js 0x14000b0e8
cmp rbx, qword [rsp + 0x38]
jge 0x14000b0e8
mov rax, qword [rsp + 0x30]
lea rdi, [rax + rbx*8]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x14000b0cb
test esi, esi
jne 0x14000b0da
mov esi, 1
mov rcx, qword [r12 + 0xd8]
xor r9d, r9d
mov r8, rdi
mov edx, 0x496
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edx, [rsi + 0x5b]
mov rcx, qword [rdi]
call fcn.14010bd78
lea rdx, [rax + 2]
mov rcx, qword [r12 + 0xe0]
call fcn.14000e400
jmp 0x14000b0da
lea rdx, [0x14014f7a8]
mov rcx, qword [rdi]
call fcn.14000a790
inc rbx
cmp rbx, rbp
jl 0x14000b061
jmp 0x14000b0ee
call fcn.1400d020c
nop
lea rcx, [rsp + 0x28]
call fcn.1400dda58
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
Function at 0x14000ba50
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov r12, rdx
mov rsi, rcx
lea rdx, [rsp + 0x60]
call fcn.14000a2c0
nop
xor edi, edi
or ebx, 0xffffffff
mov rax, qword [rsp + 0x60]
cmp word [rax], di
je 0x14000ba9e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14000bb00
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsi + 0xc8]
lea rcx, [rdx - 0x18]
lea rdi, [rax - 0x18]
cmp rcx, rdi
je 0x14000bafb
cmp dword [rdi + 0x10], 0
jl 0x14000baed
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14000baed
call fcn.140001e00
mov rbp, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14000bae2
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14000bafb
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140002570
mov edi, 1
inc dword [0x140199b70]
mov r8d, edi
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.14000d640
test eax, eax
jle 0x14000bb28
mov edx, 1
mov rcx, rsi
call fcn.14000a440
nop
dec dword [0x140199b70]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000bb4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x14000bef0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rbx, rcx
call fcn.1400ddc74
xor edi, edi
test rax, rax
je 0x14000bf23
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14000bf23
mov rax, qword [rax + 0x40]
jmp 0x14000bf26
mov rax, rdi
mov qword [rsp + 0x28], rax
lea rax, str.properties
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x44c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret

Function at 0x14000bf80
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x250
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, str.Preferred_DropEffect
mov rdi, r8
mov r12, rdx
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
xor esi, esi
lea r13, [rsp + 0x20]
test rdi, rdi
mov rcx, rbx
mov r14d, eax
mov ebp, esi
cmovne r13, rdi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000c074
lea ecx, [rsi + 0xf]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x14000c06e
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
jne 0x14000c00b
mov dword [r13], 1
jmp 0x14000c011
mov eax, dword [rax]
mov dword [r13], eax
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], si
mov ebp, eax
call fcn.14010c6c0
test ebp, ebp
je 0x14000c06e
lea r8, [rsp + 0x30]
mov r9d, 0x208
mov edx, esi
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov rdx, qword [r12 + 0x10]
lea r8, [rsp + 0x30]
mov rcx, r12
call fcn.1400ddb64
inc esi
cmp esi, ebp
jb 0x14000c040
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebp
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14010bcc0
add rsp, 0x250
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000c180
Capabilities:
Move file

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor eax, eax
xor r10d, r10d
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
mov rax, qword [rcx]
mov qword [r11 - 0x48], r10
mov r11d, r10d
cmp word [rax], r10w
je 0x14000c1cb
cmp word [rax], 0xa
jne 0x14000c1c1
mov word [rax], r10w
inc r11d
add rax, 2
cmp word [rax], r10w
jne 0x14000c1b4
test rdx, rdx
je 0x14000c1f4
mov rax, qword [rdx]
cmp word [rax], r10w
je 0x14000c1f4
nop dword [rax]
cmp word [rax], 0xa
jne 0x14000c1ea
mov word [rax], r10w
add rax, 2
cmp word [rax], r10w
jne 0x14000c1e0
mov rax, qword [rcx]
mov qword [rsp + 0x30], rax
test rdx, rdx
je 0x14000c209
mov rax, qword [rdx]
mov qword [rsp + 0x38], rax
cmp r11d, 1
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], r8d
setg r10b
or r10w, r9w
mov word [rsp + 0x40], r10w
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x68
ret

Function at 0x14000c230
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000c2ed
call fcn.1400da76c
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14000c27c
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov r8, qword [rdi]
mov rdx, qword [0x14019a528]
lea rcx, [rsp + 0x48]
call fcn.140002990
xor r8d, r8d
xor edx, edx
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1400da654
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000c2d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000c323
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000c323
and eax, 0xfffffff8
mov edx, eax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
or ebx, 0xffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000c323
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000cf40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rsi
mov esi, edx
mov rbx, rcx
call fcn.1400da76c
mov rcx, rax
xor ebp, ebp
mov r8d, ebp
test rax, rax
setne r8b
test r8d, r8d
jne 0x14000cf87
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000ce70
mov ebx, eax
mov edx, 4
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
neg esi
sbb edx, edx
add edx, 2
mov dword [rax], edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x2c], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x38], 1
lea edx, [rbx + rbx + 0x1c]
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea rdx, [rsp + 0x28]
mov rcx, qword [rdx]
mov qword [rax], rcx
mov rcx, qword [rdx + 8]
mov qword [rax + 8], rcx
mov ecx, dword [rdx + 0x10]
mov dword [rax + 0x10], ecx
lea rcx, [rax + 0x14]
mov r8, rbx
add r8, r8
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
call fcn.14010cd30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ebp, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000d084
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
mov ecx, 0xf
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rdx, rdi
mov ecx, ebp
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000d09f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000d560
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000d5f7
call fcn.1400da76c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000d59f
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8, rbx
mov rdx, qword [0x14019a528]
lea rcx, [rsp + 0x50]
call fcn.140002990
xor r8d, r8d
xor edx, edx
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400da654
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000d5f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14000d62c
test al, 0x10
je 0x14000d612
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005480
mov rcx, rax
call fcn.14000c330
jmp 0x14000d627
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140005480
mov rcx, rax
call fcn.14000c230
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14000d640
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov edi, r8d
mov r12, rdx
mov rbx, rcx
lea rcx, [rax - 0x50]
call fcn.1400dd794
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14000c0a0
movsxd r14, eax
test eax, eax
jg 0x14000d69e
lea rcx, [rsp + 0x28]
call fcn.1400dda58
mov eax, r14d
jmp 0x14000d7d9
xor r15d, r15d
test edi, edi
je 0x14000d73a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
test eax, eax
jle 0x14000d6c4
cmp word [r12 + rsi*2 - 2], 0x5c
jne 0x14000d6c4
dec esi
mov rbx, r15
movsxd rbp, esi
test r14d, r14d
jle 0x14000d729
nop
test rbx, rbx
js 0x14000d723
cmp rbx, qword [rsp + 0x38]
jge 0x14000d723
mov rax, qword [rsp + 0x30]
mov rdi, qword [rax + rbx*8]
mov r8d, esi
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x14000d73a
cmp word [rdi + rbp*2], 0x5c
jne 0x14000d73a
lea edx, [rax + 0x5c]
lea rcx, [rdi + rbp*2 + 2]
call qword [sym.imp.SHLWAPI.dll_StrChrW]
test rax, rax
je 0x14000d719
cmp word [rax + 2], r15w
jne 0x14000d73a
inc rbx
cmp rbx, r14
jge 0x14000d729
jmp 0x14000d6d0
call fcn.1400d020c
nop
lea rcx, [rsp + 0x28]
call fcn.1400dda58
xor eax, eax
jmp 0x14000d7d9
cmp qword [rsp + 0x38], r15
jg 0x14000d747
call fcn.1400d020c
int3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
movzx edx, word [rcx]
mov ecx, 0xffdf
cmp dx, 0x61
jb 0x14000d766
cmp dx, 0x7a
jb 0x14000d766
and dx, cx
movzx eax, word [r12]
cmp ax, 0x61
jb 0x14000d77a
cmp ax, 0x7a
jb 0x14000d77a
and ax, cx
cmp dx, ax
sete r15b
inc r15d
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
mov eax, 1
cmovne r15d, eax
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
mov eax, 2
cmovne r15d, eax
mov r9d, 0x200
mov r8d, r15d
mov rdx, r12
lea rcx, [rsp + 0x28]
call fcn.14000d280
nop
lea rcx, [rsp + 0x28]
call fcn.1400dda58
mov eax, r14d
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret