joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000dc90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push r14
mov eax, 0x13f0
call fcn.1800c19a0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1400], rbx
mov qword [rsp + 0x1408], rbp
mov qword [rsp + 0x1410], rsi
mov qword [rsp + 0x1418], rdi
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov edi, edx
mov ebx, ecx
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rdx, [0x1801f3e58]
lea rcx, [rsp + 0x20]
call fcn.18000c460
nop
call fcn.1800b4738
nop
cmp qword [rsp + 0x38], 0x10
jb 0x18000dd22
mov rcx, qword [rsp + 0x20]
call fcn.1800b5354
call fcn.1800b4738
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov r8d, 1
mov edx, r8d
nop
mov ecx, eax
shr ecx, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, r8d
mov dword [rsp + rdx*4 + 0x54], eax
inc r8d
inc rdx
cmp rdx, 0x270
jl 0x18000dd40
mov dword [rsp + 0x50], 0x270
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x20
mov dword [rsp + 0x30], 0xffffffff
mov r14d, 0x80000000
lea ebp, [rbx + r14]
lea eax, [rdi + r14]
sub eax, ebp
cmp eax, 0xffffffff
jne 0x18000dda9
lea rcx, [rsp + 0x20]
call fcn.180013bd0
mov edx, eax
jmp 0x18000ddf8
lea esi, [rax + 1]
lea edi, [rsi - 1]
nop
xor ebx, ebx
xor eax, eax
test edi, edi
je 0x18000ddda
nop dword [rax + rax]
xor ebx, ebx
lea rcx, [rsp + 0x50]
call fcn.180013ca0
cmp eax, 0xffffffff
ja 0x18000ddc2
or ebx, eax
or eax, 0xffffffff
cmp eax, edi
jb 0x18000ddc0
xor edx, edx
div esi
mov r8d, edx
mov ecx, eax
xor edx, edx
mov eax, ebx
div esi
cmp eax, ecx
jb 0x18000ddf2
cmp r8d, edi
jne 0x18000ddb0
xor edx, edx
mov eax, ebx
div esi
lea eax, [rdx + rbp]
add eax, r14d
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18000eb70
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, qword [rdx]
mov rdi, rcx
lea rcx, [rsp + 0x252]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x250], si
call fcn.1800be330
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
lea r9, [rsp + 0x30]
lea rdx, [0x1801f3ee0]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0x104
mov dword [rsp + 0x30], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000ece3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], si
call fcn.1800be330
lea r8d, [rsi + 0x2a]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rax, [rsp + 0x40]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], si
lea rax, [rax + 2]
jne 0x18000ec50
mov rcx, qword [str.Internet_Exploreriexplore.exe]
mov qword [rax], rcx
mov rcx, qword [0x1801ec428]
mov qword [rax + 8], rcx
mov rcx, qword [0x1801ec430]
mov qword [rax + 0x10], rcx
mov rcx, qword [0x1801ec438]
mov qword [rax + 0x18], rcx
mov rcx, qword [0x1801ec440]
mov qword [rax + 0x20], rcx
mov rcx, qword [0x1801ec448]
mov qword [rax + 0x28], rcx
mov rcx, qword [0x1801ec450]
mov qword [rax + 0x30], rcx
mov rcx, qword [0x1801ec458]
mov qword [rax + 0x38], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000ed1f
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x40]
sub rdi, rcx
nop dword [rax]
movzx ecx, word [rdx]
lea rdx, [rdx + 2]
mov word [rdi + rdx - 2], cx
test cx, cx
jne 0x18000ecd0
jmp 0x18000ed1a
lea rax, [rsp + 0x250]
lea rcx, [rsp + 0x250]
sub rdi, rax
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdi + rcx - 2], ax
test ax, ax
jne 0x18000ed00
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000f210
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor ecx, ecx
lea rdx, str.Program_FilesInternet_Exploreriexplore.exe
nop word [rax + rax]
movzx eax, word [rcx + rdx]
lea rcx, [rcx + 2]
mov word [rsp + rcx + 0x3a], ax
test ax, ax
jne 0x18000f250
lea rax, [rsp + 0x30]
sub rax, 2
nop dword [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x18000f270
xor edx, edx
nop dword [rax]
movzx ecx, word [rbx + rdx*2]
lea rdx, [rdx + 1]
mov word [rax + rdx*2 - 2], cx
test cx, cx
jne 0x18000f280
lea rdx, str.open
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x18000f2c7
lea rcx, [rsp + 0x30]
call fcn.18000f6a0
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x250
pop rbx
ret

Function at 0x18000f6a0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x8c0
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1800be330
xor eax, eax
lea rdx, [0x1801ec2c4]
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.1800b5a54
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
xor ecx, ecx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000f75c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x8c0
pop rbx
ret
Function at 0x18000f780
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x8c0
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1800be330
xor eax, eax
lea rdx, [0x1801ec2c4]
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.1800b5a54
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
xor ecx, ecx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000f858
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x8c0
pop rbx
ret
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov rax, qword [0x18027b278]
test rax, rax
jne 0x18002c7e2
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18002c7db
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
mov rcx, qword [rax + 0x240]
test rcx, rcx
je 0x18002c855
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x18002c855
mov rax, qword [0x18027b278]
test rax, rax
jne 0x18002c828
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18002c821
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
mov rcx, qword [rax + 0x240]
test rcx, rcx
je 0x18002c848
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x18002c848
mov rcx, rbx
call fcn.18000f2f0
jmp 0x18002c855
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x18000f780
add rsp, 0x30
pop rbx
ret
Function at 0x18000f9b0
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x660
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov rsi, rcx
mov rdi, rdx
lea rcx, [rsp + 0x232]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], bp
call fcn.1800be330
lea rcx, [rsp + 0x442]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x440], bp
call fcn.1800be330
lea rdx, [rsp + 0x230]
mov rcx, rsi
sub rdx, rsi
nop dword [rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x18000fa20
lea rdx, [rsp + 0x440]
mov rcx, rdi
sub rdx, rdi
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x18000fa40
lea rcx, [rsp + 0x230]
call fcn.1800b5db4
lea rcx, [rsp + 0x440]
call fcn.1800b5db4
lea rax, [rsp + 0x230]
lea r8, [rsp + 0x440]
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x18000fa94
add rax, 2
test ecx, ecx
jne 0x18000fa80
test edx, edx
je 0x18000fb60
mov qword [rsp + 0x690], rbx
mov ebx, ebp
nop word [rax + rax]
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bp
call fcn.1800be330
mov r8, rdi
lea rcx, [rsp + 0x20]
test ebx, ebx
jne 0x18000fae1
lea rdx, str._s.bak
call fcn.1800b5a54
jmp 0x18000faf0
lea rdx, str._s.bak_d
mov r9d, ebx
call fcn.1800b5a54
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000fb0a
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800bb08c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 5]
test eax, eax
jne 0x18000fb52
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jge 0x18000fb58
inc ebx
jmp 0x18000fab0
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rbx, qword [rsp + 0x690]
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x660
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010050
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800100b6
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ebx, [rsi + 1]
movsxd rcx, ebx
call fcn.1800b4760
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
mov dword [rsp + 0x40], 0
mov rbp, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x1801ec5a8]
lea rcx, [rsp + 0x89]
movups xmm0, xmmword [str.identifierBegin:abcdefghijklmnopqrstuvwxyz:identifierEnd]
movups xmm1, xmmword [0x1801ec580]
xor edx, edx
mov r8d, 0xcb
mov byte [rsp + 0x88], al
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1801ec590]
movsd xmm1, qword [0x1801ec5a0]
movaps xmmword [rsp + 0x70], xmm0
movsd qword [rsp + 0x80], xmm1
call fcn.1800be330
lea rax, [rsp + 0x50]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x180010153
xor edi, edi
mov qword [rsp + 0x198], r15
movsxd r10, r9d
movsxd r14, esi
test esi, esi
jle 0x1800101cc
movzx r15d, byte [rsp + 0x50]
lea rsi, [rsp + 0x50]
mov rbx, rbp
neg rsi
cmp byte [rbx], r15b
jne 0x1800101c1
xor r8d, r8d
xor eax, eax
test r9d, r9d
jle 0x1800101c1
lea r11, [rsi + rbx]
nop word [rax + rax]
lea rdx, [rsp + 0x50]
add rdx, rax
movzx ecx, byte [rdx]
cmp byte [r11 + rdx], cl
jne 0x1800101c1
inc r8d
cmp r8d, r9d
je 0x18001020b
inc rax
cmp rax, r10
jl 0x1800101a0
inc rdi
inc rbx
cmp rdi, r14
jl 0x180010182
test rbp, rbp
je 0x1800101d9
mov rcx, rbp
call fcn.1800bcdc8
xor eax, eax
mov r15, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
test rbp, rbp
je 0x180010218
mov rcx, rbp
call fcn.1800bcdc8
mov eax, 1
jmp 0x1800101db
Function at 0x180010220
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x690
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x680], rax
xor esi, esi
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x260], si
call fcn.1800be330
mov ecx, esi
lea rdx, str.WnCloud.exe
nop dword [rax]
movzx eax, word [rcx + rdx]
lea rcx, [rcx + 2]
mov word [rsp + rcx + 0x25e], ax
test ax, ax
jne 0x180010270
lea rcx, [rsp + 0x260]
call fcn.1800b5db4
xor edx, edx
mov ebx, esi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp eax, 0xffffffff
je 0x180010369
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180010360
nop dword [rax]
lea rcx, [rsp + 0x472]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x470], si
call fcn.1800be330
mov rax, rsi
movzx ecx, word [rsp + rax + 0x4c]
lea rax, [rax + 2]
mov word [rsp + rax + 0x46e], cx
test cx, cx
jne 0x1800102f0
lea rcx, [rsp + 0x470]
call fcn.1800b5db4
lea rax, [rsp + 0x470]
lea r8, [rsp + 0x260]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180010344
add rax, 2
test ecx, ecx
jne 0x180010330
test edx, edx
jne 0x18001034a
inc ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800102d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180010530
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.1800be330
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [rsp + 0x24]
cmp ecx, 6
jb 0x18001059b
cmp dword [rsp + 0x28], 2
jb 0x18001059b
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x158
ret
xor eax, eax
cmp ecx, 0xa
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x158
ret

Function at 0x1800105c0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.1800be330
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [rsp + 0x24], 0xa
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x158
ret
Function at 0x180010780
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x18001079b
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x180010793
mov qword [rsp + 0x30], rdi
or rdx, 0xffffffffffffffff
nop
cmp word [rbx + rdx*2 + 2], 0
lea rdx, [rdx + 1]
jne 0x1800107b0
lea rdx, [rdx*2 + 0xa]
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x1800107e2
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
sub rax, rbx
nop
movzx ecx, word [rbx]
lea rbx, [rbx + 2]
mov word [rax + rbx - 2], cx
test cx, cx
jne 0x1800107f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x30]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x180010840
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x180010860
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180010858
mov ecx, 1
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x180010893
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x1800108a0
xor eax, eax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800108a4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x30]
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800108d0
Capabilities:
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x1800108f0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1800108e8
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1800108e8
call qword [sym.imp.USER32.dll_CloseClipboard]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x180010920
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push r14
sub rsp, 0x20
mov r14, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x18001093a
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbx
mov ecx, 1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, qword [rsp + 0x38]
test edi, edi
mov rdi, qword [rsp + 0x40]
jne 0x180010990
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x1800109b0
sub r14, rbx
nop dword [rax + rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [r14 + rbx - 1], cl
test cl, cl
jne 0x1800109a0
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x180010cf0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1540]
mov eax, 0x1640
call fcn.1800c19a0
sub rsp, rax
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x1530], rax
mov rdi, rcx
lea rcx, [rbp + 0x172]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x170], si
call fcn.1800be330
lea rdx, [0x1801ec2c4]
lea rcx, [rbp + 0x170]
mov r8, rdi
call fcn.1800b5a54
lea rax, [rbp + 0x170]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x180010d67
lea eax, [rcx - 1]
test eax, eax
jle 0x180010d92
movsxd rax, ecx
cmp word [rbp + rax*2 + 0x16e], 0x5c
je 0x180010d92
mov ecx, 0x5c
mov word [rbp + rax*2 + 0x170], cx
lea r8, [rbp + 0x170]
lea rdx, [0x1801ec548]
lea rcx, [rbp + 0x590]
call fcn.1800b5a54
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180010e83
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x180010e83
cmp word [rsp + 0x4c], 0x2e
je 0x180010dd0
movzx eax, word [rsp + 0x4e]
test ax, ax
je 0x180010dd0
cmp ax, 0x2e
jne 0x180010e05
cmp word [rsp + 0x50], si
je 0x180010dd0
test byte [rsp + 0x20], 0x10
je 0x180010e52
lea rcx, [rbp + 0x382]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x380], si
call fcn.1800be330
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x170]
lea rdx, str._s_s_
lea rcx, [rbp + 0x380]
call fcn.1800b5a54
lea rcx, [rbp + 0x380]
call fcn.180010cf0
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x170]
lea rdx, [0x1801eb788]
lea rcx, [rbp + 0xd60]
call fcn.1800b5a54
lea rcx, [rbp + 0xd60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x180010dd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbp + 0x1530]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x1640]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret