joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ce450
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r13
sub rsp, 0x3e0
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rbx, qword [0x14020e1d0]
xor esi, esi
mov r13d, ecx
cmp qword [rbx + 0x10], rsi
je 0x1400ce48d
mov rbx, qword [rbx + 0x10]
cmp byte [rbx], sil
jne 0x1400ce49d
mov rax, qword [0x14020ddc0]
mov rbx, rsi
cmp byte [rax], bl
cmovne rbx, rax
lea rcx, [rsp + 0x70]
call fcn.14017d460
lea rdx, str.EVERYTHING_TASKBAR_NOTIFICATION
lea rcx, [rsp + 0x70]
call fcn.1401788c0
test rbx, rbx
je 0x1400ce4ec
lea rdx, [0x1401cea7c]
lea rcx, [rsp + 0x70]
call fcn.140177470
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.140177470
lea rdx, [0x1401b1a60]
lea rcx, [rsp + 0x70]
call fcn.140177470
mov rcx, qword [rsp + 0x78]
call fcn.1400d7fb0
lea rcx, [rsp + 0x70]
mov rbp, rax
call fcn.1400012c0
test rbp, rbp
je 0x1400ce692
lea rcx, [rsp + 0x190]
mov qword [rsp + 0x400], rdi
mov qword [rsp + 0x408], r12
call fcn.14017d460
lea rcx, [rsp + 0x2b0]
call fcn.14017d460
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x190]
mov rdx, rax
call fcn.140177f70
lea rcx, [rsp + 0x2b0]
call fcn.1400d9a90
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rsp + 0x40]
call qword [fcn.1400b5030]
mov r11d, dword [rsp + 0x190]
mov eax, dword [rsp + 0x2b0]
lea edi, [rax + r11 + 6]
movsxd rcx, edi
call fcn.1400cf700
mov r12, rax
mov dword [rax], r13d
mov rdx, qword [rsp + 0x198]
lea rbx, [rax + 4]
mov eax, dword [rsp + 0x190]
mov rcx, rbx
add eax, 1
movsxd r8, eax
call fcn.1401a8ef0
mov eax, dword [rsp + 0x190]
mov r11d, dword [rsp + 0x2b0]
mov rdx, qword [rsp + 0x2b8]
add eax, 1
add r11d, 1
movsxd rcx, eax
movsxd r8, r11d
add rcx, rbx
call fcn.1401a8ef0
lea rcx, str.send_cl_n
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], r12
call fcn.1400b3fe0
xor r8d, r8d
lea r11, [rsp + 0x60]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], r11
lea edx, [r8 + 0x4a]
mov rcx, rbp
mov dword [rsp + 0x28], 0x7530
mov dword [rsp + 0x20], 9
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
mov rdi, qword [rsp + 0x400]
je 0x1400ce64e
lea rdx, str.send_message_ok_n
mov ecx, 0xff00ff00
mov esi, 1
call fcn.1400b4010
jmp 0x1400ce668
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.send_message_failed__u_n
mov ecx, 0xffff0000
mov r8d, eax
call fcn.1400b4010
mov rcx, r12
call fcn.1400cf780
lea rcx, [rsp + 0x2b0]
call fcn.1400012c0
lea rcx, [rsp + 0x190]
call fcn.1400012c0
mov r12, qword [rsp + 0x408]
mov eax, esi
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1401a8ec0
mov rbx, qword [rsp + 0x410]
add rsp, 0x3e0
pop r13
pop rsi
pop rbp
ret
Function at 0x1400ce760
Capabilities:
Check for time delay via gettickcount
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x370
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x1400ce8d5
xor ebp, ebp
nop
nop
lea rcx, [rsp + 0x140]
call fcn.14017d460
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rdx, str.EVERYTHING_MUTEX
lea rcx, [rsp + 0x20]
call fcn.1401788c0
call fcn.1400ce420
test rax, rax
je 0x1400ce7fb
call fcn.1400ce420
lea rdx, [0x1401ceab0]
lea rcx, [rsp + 0x20]
mov r8, rax
call fcn.140178b10
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x140]
call fcn.14017d760
lea rcx, [rsp + 0x20]
call fcn.1400012c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [0x14020e1c0]
test rcx, rcx
je 0x1400ce838
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14020e1c0], rbp
mov r8, qword [rsp + 0x148]
cmp word [r8], bp
je 0x1400ce865
cmp word [r8], 0x5c
jne 0x1400ce853
mov word [r8], 0x5f
add r8, 2
cmp word [r8], bp
jne 0x1400ce846
mov r8, qword [rsp + 0x148]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14020e1c0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x140]
mov ebx, eax
call fcn.1400012c0
cmp ebx, 0xb7
jne 0x1400ce90c
lea rcx, str.mutex_exists_n
call fcn.1400b3fe0
mov r11, qword [0x14020e1d0]
bt dword [r11 + 4], 0x17
jb 0x1400ce900
mov ecx, esi
call fcn.1400ce450
test eax, eax
jne 0x1400ce8d5
lea ecx, [rbx - 0x53]
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
jbe 0x1400ce7b0
xor eax, eax
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1401a8ec0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov dword [0x14020e1c8], 1
jmp 0x1400ce8d5
mov rax, qword [0x14020e1d0]
mov eax, dword [rax + 8]
shr eax, 0x17
not eax
and eax, 1
jmp 0x1400ce8d7
Function at 0x1400cfb70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
xor r8d, r8d
movsxd rbx, r9d
mov rbp, rdx
mov rdi, rcx
call fcn.1400db600
test eax, eax
je 0x1400cfbf7
lea r9, [rsp + 0x30]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400cfbdd
mov r8d, dword [rsp + 0x30]
cmp r8d, ebx
je 0x1400cfc21
lea rdx, str.NRFR_read_error__d____d_n
mov r9d, ebx
mov ecx, 0xffff0000
call fcn.1400b4010
jmp 0x1400cfbf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.NRFR_read_error__d_n
mov ecx, 0xffff0000
mov r8d, eax
call fcn.1400b4010
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.read_error__I64x__d_n
mov r8, rbp
mov r9d, eax
mov ecx, 0xffff0000
call fcn.1400b4010
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.1401a9240
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d5200
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edi, edx
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e200
test edi, edi
mov rcx, qword [rsp + 0x28]
je 0x1400d524c
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400d5252
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400012c0
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1400d5290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
test r8, r8
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
je 0x1400d52f6
mov r12d, 0xffffffff
xor r13d, r13d
nop
mov esi, r12d
cmp rbx, r12
lea r9, [rsp + 0x58]
cmovbe esi, ebx
mov rdx, rdi
mov rcx, rbp
mov r8d, esi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400d5314
mov eax, dword [rsp + 0x58]
cmp eax, esi
jne 0x1400d5314
add rdi, rax
sub rbx, rax
jne 0x1400d52c0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x1400d52fb

Function at 0x1400d5320
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
lea rcx, [rsp + 0x40]
mov ebx, r9d
mov esi, r8d
mov edi, edx
call fcn.14017d460
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14017e200
mov eax, dword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov r8d, esi
mov edx, edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.1400012c0
cmp rbx, 0xffffffffffffffff
jne 0x1400d53c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400d53c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateFileW__:__d:_Failed_to_open_file__s_n
mov r8, rbp
mov edx, eax
call fcn.1400b3fe0
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x278
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d53e0
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x470
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rcx
lea rcx, [rsp + 0x240]
mov edi, r9d
mov r12d, r8d
mov rbp, rdx
call fcn.14017d460
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x240]
mov rdx, rsi
call fcn.14017e200
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.14017e200
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x248]
xor ebx, ebx
test r12d, r12d
mov r8d, ebx
setne r8b
or r8d, 2
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400d54d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
je 0x1400d5488
lea rcx, str.MoveFileExW__:_GetLastError__:__d:_Failed_to_move_file_from__s_to__s_n
mov r9, rbp
mov r8, rsi
mov edx, eax
call fcn.1400b3fe0
jmp 0x1400d5500
test r12d, r12d
je 0x1400d54a4
test edi, edi
mov rcx, qword [rsp + 0x28]
je 0x1400d549e
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400d54a4
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x248]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400d54d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.MoveFileW__:_GetLastError__:__d:_Failed_to_move_file_from__s_to__s_n
mov r9, rbp
mov edx, eax
mov r8, rsi
call fcn.1400b3fe0
jmp 0x1400d5500
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x248]
mov ecx, 1
mov eax, 0x20000
test edi, edi
mov ebx, ecx
cmovne ecx, eax
mov edx, 5
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea rcx, [rsp + 0x20]
call fcn.1400012c0
lea rcx, [rsp + 0x240]
call fcn.1400012c0
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x470
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400d5540
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp byte [0x14020e200], 0
mov rsi, rcx
mov eax, 7
lea rcx, [rsp + 0x40]
mov ebx, 3
mov edi, edx
cmovne ebx, eax
call fcn.14017d460
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14017e200
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], 0
neg edi
mov r8d, ebx
mov edx, 0x80000000
sbb eax, eax
xor r9d, r9d
and eax, 0x8000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.1400012c0
cmp rbx, 0xffffffffffffffff
jne 0x1400d55fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400d55fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateFileW__:__d:_Failed_to_open_file__s_n
mov r8, rsi
mov edx, eax
call fcn.1400b3fe0
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401a8ec0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400d5630
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14017d460
mov rcx, rbx
call fcn.14016e1f0
test eax, eax
je 0x1400d56e3
lea rcx, [rsp + 0x20]
mov r8d, eax
mov rdx, rbx
call fcn.14017e000
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400d5688
test al, 0x10
jne 0x1400d56e3
mov rbx, qword [rsp + 0x28]
cmp word [rbx], 0
je 0x1400d56d8
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x1400d56ac
cmp ax, 0x2f
je 0x1400d56ac
add rbx, 2
cmp word [rbx], 0
jne 0x1400d5693
cmp word [rbx], 0
je 0x1400d56d3
mov word [rbx], 0
mov rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rbx], 0x5c
add rbx, 2
cmp word [rbx], 0
jne 0x1400d5693
mov rbx, qword [rsp + 0x28]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20]
call fcn.1400012c0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d6d10
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call fcn.140178170
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1400d6d56
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140177f70
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x50
pop rbx
ret

Function at 0x1400d6d70
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x101
call fcn.140178170
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400d6dbc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140177f70
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret
Function at 0x1400d6de0
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x690
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rdi, qword [rsp + 0x6f0]
mov r12, qword [rsp + 0x6f8]
mov rbx, rcx
lea rcx, [rsp + 0x40]
mov rbp, r9
mov rsi, r8
mov r13, rdx
call fcn.14017d460
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.14017e3d0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, r12
lea r10, [rsp + 0x260]
neg rcx
mov r14d, eax
mov rcx, r13
sbb r11d, r11d
xor eax, eax
lea rdx, [rsp + 0x470]
and r11d, 0x104
test r12, r12
mov r9, rsi
cmove r10, rax
neg rcx
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x38], r11d
sbb r8d, r8d
mov qword [rsp + 0x30], r10
and r8d, 0x104
test r13, r13
mov qword [rsp + 0x28], rdi
cmove rdx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
mov ebx, eax
jne 0x1400d6ebd
mov word [rsp + 0x470], ax
mov word [rsp + 0x260], ax
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test r13, r13
je 0x1400d6ee5
lea rdx, [rsp + 0x470]
mov rcx, r13
call fcn.140177f70
test r12, r12
je 0x1400d6efa
lea rdx, [rsp + 0x260]
mov rcx, r12
call fcn.140177f70
mov eax, ebx
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x690
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400d76a0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
add rdx, 4
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [rbx], eax
jne 0x1400d76cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400d76cc
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400d7890
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e200
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov ebx, eax
je 0x1400d78ed
mov r8, qword [rsp + 0x28]
xor r9d, r9d
mov edx, 0x1005
lea ecx, [r9 + 4]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea rcx, [rsp + 0x20]
call fcn.1400012c0
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d7920
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e200
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov ebx, eax
je 0x1400d797d
mov r8, qword [rsp + 0x28]
xor r9d, r9d
mov edx, 0x1005
lea ecx, [r9 + 4]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea rcx, [rsp + 0x20]
call fcn.1400012c0
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret
Function at 0x1400d7f40
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e3d0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400012c0
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d8190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e200
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400012c0
cmp ebx, 0xffffffff
je 0x1400d81ed
test bl, 0x10
jne 0x1400d81ed
mov eax, 1
jmp 0x1400d81ef
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d8210
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e200
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400012c0
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d8280
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [rcx], 0
mov rbx, rcx
je 0x1400d82e2
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14017e4f0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400012c0
cmp ebx, 0xffffffff
je 0x1400d82e2
test bl, 0x10
je 0x1400d82e2
mov eax, 1
jmp 0x1400d82e4
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rbx
ret

Function at 0x1400d8610
Capabilities:
Delete file

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor eax, eax
neg r8d
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x48], rcx
mov dword [rsp + 0x28], 3
mov qword [r11 - 0x30], rax
sbb ax, ax
mov qword [r11 - 0x38], rdx
and ax, 0x40
lea rcx, str.Enter_SHFileOperation_n
or ax, 0x4000
mov word [rsp + 0x40], ax
call fcn.1400b3fe0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea rcx, str.Leave_SHFileOperation_n
call fcn.1400b3fe0
add rsp, 0x68
ret
Function at 0x1400d8870
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400d8981
mov qword [rsp + 0x270], rbx
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rcx, [rsp + 0x20]
call fcn.14017d460
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14017d760
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.140001000
mov ecx, 2
add eax, 1
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x1400d891a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140001150
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rcx, [rsp + 0x20]
call fcn.1400012c0
mov rcx, rdi
call fcn.14017cf20
mov ecx, 2
add eax, 1
movsxd rdx, eax
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x1400d8973
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rdi
mov rcx, rax
call fcn.14017cb50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x250
pop rdi
ret
Function at 0x1400d8f50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x690
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rbx, rcx
lea rcx, [rsp + 0x40]
mov rbp, rdx
call fcn.14017d460
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14017e3d0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, rbx
lea rdx, [rsp + 0x260]
neg rcx
mov rcx, qword [rsp + 0x48]
mov esi, eax
sbb r8d, r8d
xor eax, eax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
and r8d, 0x104
mov qword [rsp + 0x28], rax
test rbx, rbx
mov qword [rsp + 0x20], rax
cmove rdx, rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
mov edi, eax
jne 0x1400d8ff3
mov word [rsp + 0x260], ax
mov word [rsp + 0x470], ax
lea rcx, [rsp + 0x40]
call fcn.1400012c0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test rbx, rbx
je 0x1400d901a
lea rdx, [rsp + 0x260]
mov rcx, rbx
call fcn.140177f70
test edi, edi
je 0x1400d9027
mov rax, qword [rbx + 8]
cmp byte [rax], 0
jne 0x1400d9092
lea rcx, [rsp + 0x40]
call fcn.14017d460
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.14017e3d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea rcx, [rsp + 0x40]
mov edi, eax
call fcn.1400012c0
cmp edi, 3
je 0x1400d907c
cmp edi, 6
je 0x1400d907c
test edi, edi
mov rax, qword [0x140200708]
jne 0x1400d9073
mov rdx, qword [rax + 0x32e0]
jmp 0x1400d908a
mov rdx, qword [rax + 0x378]
jmp 0x1400d908a
mov rax, qword [0x140200708]
mov rdx, qword [rax + 0x370]
mov rcx, rbx
call fcn.140177ed0
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.1401a8ec0
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x690
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d9460
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov rbx, rdx
call fcn.14017d460
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r8d, dword [rsp + 0x24]
add eax, 1
cmp eax, r8d
jle 0x1400d94b6
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.14017d470
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rbx
test eax, eax
je 0x1400d94d7
mov rdx, qword [rsp + 0x28]
call fcn.140177f70
jmp 0x1400d94dc
call fcn.140178170
lea rcx, [rsp + 0x20]
call fcn.1400012c0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a8ec0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret