joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008e194
Capabilities:
Get common file path

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 r15
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x14008e1e4
test byte [rcx + 0x1c], 1
je 0x14008e1e4
cmp byte [rcx + 0x19], 4
jb 0x14008e1e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150128]
mov edx, 0x8f
call fcn.140004b74
test rsi, rsi
jne 0x14008e201
lea r8, str.pwszWindowsTempPath
mov edx, 0xa75
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008410c
and qword [rsi], 0
mov ebx, 0x28
mov ecx, ebx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x14008e224
mov ebx, 0x8007000e
jmp 0x14008e346
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor ebx, ebx
mov rdx, rdi
lea ecx, [rbx + 0x14]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebp, eax
cmp eax, 0x14
jbe 0x14008e2f5
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, ebp
mov eax, 0xffffffff
add rcx, rcx
cmp rcx, rax
jbe 0x14008e26c
mov ebx, 0x80070216
jmp 0x14008e346
mov ebx, ecx
mov ecx, ecx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
je 0x14008e21a
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov rdx, rdi
mov ecx, ebp
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebp
ja 0x14008e2a4
test eax, eax
jne 0x14008e32c
test eax, eax
jne 0x14008e2be
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14008e2c3
mov ebx, 0x8007000e
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14008e338
test byte [rcx + 0x1c], 1
je 0x14008e338
cmp byte [rcx + 0x19], 2
jb 0x14008e338
mov edx, 0x90
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150128]
mov r9d, ebx
call fcn.140004b98
jmp 0x14008e331
test eax, eax
jne 0x14008e32c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14008e338
test byte [rcx + 0x1c], 1
je 0x14008e338
cmp byte [rcx + 0x19], 2
jb 0x14008e338
mov edx, SysAllocStringByteLen
jmp 0x14008e2e0
mov qword [rsi], rdi
xor edi, edi
mov rcx, qword [0x1401720a0]
test rdi, rdi
je 0x14008e34d
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x14008e373
test byte [rcx + 0x1c], 1
je 0x14008e373
cmp byte [rcx + 0x19], 4
jb 0x14008e373
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150128]
mov edx, SysAllocStringByteLen
call fcn.140004b74
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14008ecf8
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov rbp, rdx
test rdx, rdx
jne 0x14008ed34
lea r8, str.hCryptHash
mov edx, 0x206
lea rcx, str.base_stor_blbutilchecksum.cpp
call fcn.14008410c
test rdi, rdi
jne 0x14008ed51
lea r8, [0x1401501d8]
mov edx, 0x207
lea rcx, str.base_stor_blbutilchecksum.cpp
call fcn.14008410c
test esi, esi
je 0x14008edad
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jns 0x14008ede4
mov ecx, eax
call fcn.14003ab64
mov ebx, eax
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x14008ede4
test byte [rcx + 0x1c], 1
je 0x14008ede4
cmp byte [rcx + 0x19], 2
jb 0x14008ede4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401502a0]
mov edx, 0x13
mov r9d, eax
call fcn.140004b98
jmp 0x14008ede4
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x14008ede4
test byte [rcx + 0x1c], 1
je 0x14008ede4
cmp byte [rcx + 0x19], 5
jb 0x14008ede4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401502a0]
mov edx, 0x14
mov r9, rdi
call fcn.140010244
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140090d84
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rcx
xor r13d, r13d
xor ecx, ecx
xor edx, edx
mov ebp, r13d
mov r12d, r8d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x140090e16
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140090fb7
test byte [rcx + 0x1c], 1
je 0x140090fb7
cmp byte [rcx + 0x19], 2
jb 0x140090fb7
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x3e]
mov r9d, ebx
lea r8, [0x140150580]
call fcn.140004b98
jmp 0x140090fb7
or rbx, 0xffffffffffffffff
mov rdx, rbx
inc rdx
cmp word [r15 + rdx*2], r13w
jne 0x140090e1d
lea r14d, [rax + 1]
xor ecx, ecx
inc r14
add r14, rdx
lea rdx, [r14 + r14]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x140090e4f
mov ebx, 0x8007000e
jmp 0x140090fd3
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
ja 0x140090f6d
test eax, eax
je 0x140090f57
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140090e6a
mov eax, 0x5c
cmp ax, word [rdi + rbx*2 - 2]
je 0x140090ee0
lea r8, [0x140149494]
mov rdx, r14
mov rcx, rdi
call fcn.140051874
mov ebx, eax
test eax, eax
jns 0x140090ee0
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140090fa9
test byte [rcx + 0x1c], 1
je 0x140090fa9
cmp byte [rcx + 0x19], 2
jb 0x140090fa9
mov edx, 0x40
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150580]
mov r9d, ebx
call fcn.140004b98
jmp 0x140090fa9
mov r8, r15
mov rdx, r14
mov rcx, rdi
call fcn.140051874
mov ebx, eax
test eax, eax
jns 0x140090f26
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140090fa9
test byte [rcx + 0x1c], 1
je 0x140090fa9
cmp byte [rcx + 0x19], 2
jb 0x140090fa9
mov edx, 0x41
jmp 0x140090ec8
mov r8d, r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbp, rax
test rax, rax
jne 0x140090f52
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140090fa9
mov ebx, r13d
jmp 0x140090fa9
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140090f72
mov ebx, 0x8007006f
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x140090fa9
test byte [rcx + 0x1c], 1
je 0x140090fa9
cmp byte [rcx + 0x19], 2
jb 0x140090fa9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150580]
mov edx, 0x3f
mov r9d, ebx
call fcn.140004b98
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
jne 0x140090fdb
test ebx, ebx
jne 0x140090fd3
lea r8, str.S_OK___hr
mov edx, 0x649
lea rcx, str.base_stor_blbutil_blbutility.cpp
call fcn.14008410c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rax, rbp
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009304c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
test rcx, rcx
jne 0x140093090
lea r8, str.pwszLogsDirectory
mov edx, 0x23c
lea rcx, str.base_stor_blbutil_blbtrace.cpp
call fcn.14008410c
and qword [rdi], 0
mov rcx, qword [0x1401720a0]
lea rsi, [0x1401720a0]
cmp rcx, rsi
je 0x1400930c8
test byte [rcx + 0x1c], 1
je 0x1400930c8
cmp byte [rcx + 0x19], 4
jb 0x1400930c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150830]
mov edx, 0x23
call fcn.140004b74
mov ebx, 0x208
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rsp + 0x230]
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, str._SystemRoot_Logs
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14003ac00
mov ebx, eax
test eax, eax
js 0x140093152
mov r8d, 0x104
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x14009313d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140093152
xor r8d, r8d
lea rcx, [rsp + 0x230]
mov rdx, rdi
call fcn.140084ef8
mov ebx, eax
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x14009317f
test byte [rcx + 0x1c], 1
je 0x14009317f
cmp byte [rcx + 0x19], 4
jb 0x14009317f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140150830]
mov edx, 0x24
call fcn.140004b74
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140141cf0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a216c
Capabilities:
Move file

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 r15
sub rsp, 0x30
mov rsi, rdx
lea r15, [0x1401720a0]
mov rbp, rcx
xor edi, edi
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400a21fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x20
jne 0x1400a2233
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400a21ea
test byte [rcx + 0x1c], 1
je 0x1400a21ea
cmp byte [rcx + 0x19], 3
jb 0x1400a21ea
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x32]
mov r9, rbp
mov qword [rsp + 0x20], rsi
lea r8, [0x140151848]
call fcn.140005bdc
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jb 0x1400a2194
cmp edi, 5
jne 0x1400a227b
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400a222c
test byte [rcx + 0x1c], 1
je 0x1400a222c
cmp byte [rcx + 0x19], 2
jb 0x1400a222c
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x4f]
lea r8, [0x140151848]
call fcn.140004b74
mov eax, 0x80780163
jmp 0x1400a227d
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400a226c
test byte [rcx + 0x1c], 1
je 0x1400a226c
cmp byte [rcx + 0x19], 2
jb 0x1400a226c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151848]
mov dword [rsp + 0x28], eax
mov edx, 0x53
mov r9, rbp
mov qword [rsp + 0x20], rsi
call fcn.140005c9c
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
jmp 0x1400a227d
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1400a3220
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rsp + 0x78], rax
and dword [rsp + 0x30], 0
mov edi, edx
mov rsi, rcx
mov ebx, 0x20
mov r8d, ebx
lea rcx, [rsp + 0x58]
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x58]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400a32d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400a32bd
test byte [rcx + 0x1c], 2
je 0x1400a32bd
cmp byte [rcx + 0x19], 2
jb 0x1400a32bd
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x43]
mov r9d, edi
lea r8, [0x140151848]
call fcn.140004b98
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a336e
mov r9d, dword [rsp + 0x30]
cmp r9d, ebx
je 0x1400a3314
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400a3364
test byte [rcx + 0x1c], 2
je 0x1400a3364
cmp byte [rcx + 0x19], 2
jb 0x1400a3364
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151848]
mov edx, 0x64
mov dword [rsp + 0x20], ebx
call fcn.14000ffdc
jmp 0x1400a3364
mov rsi, qword [rsi + 0x10]
lea rcx, [rsp + 0x38]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14008ea00
mov ebx, eax
test eax, eax
js 0x1400a3353
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
call fcn.14008f0ac
test al, al
mov ecx, 0x80004005
cmove ebx, ecx
lea r8, [rsi + 0x10]
lea rdx, [rsi + 8]
call fcn.14008f200
test ebx, ebx
jns 0x1400a336e
neg edi
sbb ebx, ebx
add ebx, 0x80780002
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140141cf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a3398
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rsp + 0x58], rax
and dword [rsp + 0x30], 0
xor edx, edx
mov rdi, rcx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x38]
call fcn.14008ea00
mov ebx, eax
test eax, eax
js 0x1400a3473
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a3454
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400a3444
test byte [rcx + 0x1c], 2
je 0x1400a3444
cmp byte [rcx + 0x19], 2
jb 0x1400a3444
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151848]
mov edx, 0x65
mov r9d, edi
call fcn.140004b98
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a3473
cmp dword [rsp + 0x30], 0x20
je 0x1400a3473
lea r8, str.dwWritten__sizeof_rgChecksum_
mov edx, 0xd2f
lea rcx, str.base_stor_blbcatalogcatsys.cpp
call fcn.14008410c
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140141cf0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400a7514
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov ebp, r8d
mov rsi, r9
mov r15, rdx
mov rdi, rcx
test r9, r9
jne 0x1400a7553
lea r8, str.pAtom___NULL
mov edx, 0x10ec
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.14008410c
test r15, r15
jne 0x1400a7570
lea r8, str.pbVal___NULL
mov edx, 0x10ed
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.14008410c
or dword [rsi], 0xffffffff
xor eax, eax
test ebp, ebp
je 0x1400a758f
mov rdx, r15
mov r8, rbp
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400a757f
mov rcx, qword [rdi + 0x10]
xor edx, edx
div dword [rdi]
mov ebx, edx
mov r9d, edx
mov rdx, qword [rcx + rdx*8]
test rdx, rdx
je 0x1400a7640
mov r8, qword [rdi + 0x18]
mov ecx, ebx
shr r9, 5
and ecx, 0x1f
mov eax, dword [r8 + r9*4]
bt eax, ecx
jb 0x1400a75f4
cmp byte [rdx], 9
jne 0x1400a7640
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
call fcn.1400a76f0
cmp dword [rsp + 0x60], ebp
jne 0x1400a7640
mov r8d, dword [rsp + 0x60]
mov rdx, r15
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400a7640
shl ebx, 0xb
jmp 0x1400a7661
mov r12d, dword [rdx]
lea r14, [rdx + 8]
xor edi, edi
test r12d, r12d
je 0x1400a7640
mov rdx, qword [r14]
cmp byte [rdx], 9
jne 0x1400a7635
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
call fcn.1400a76f0
cmp dword [rsp + 0x60], ebp
jne 0x1400a7635
mov r8d, dword [rsp + 0x60]
mov rdx, r15
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400a765c
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400a7602
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
shl ebx, 0xb
or ebx, edi
xor eax, eax
mov dword [rsi], ebx
jmp 0x1400a7645
Function at 0x1400b1774
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov r13b, r8b
mov r14, qword [rsp + 0x2f8]
mov r12b, dl
mov rsi, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
mov qword [rsp + 0x48], rcx
mov r10, qword [0x1401720a0]
lea rbx, [0x1401720a0]
cmp r10, rbx
je 0x1400b183a
test byte [r10 + 0x1c], 4
je 0x1400b17ff
cmp byte [r10 + 0x19], 4
jb 0x1400b17ff
mov rcx, qword [r10 + 0x10]
lea r8, [0x140152e48]
mov edx, 0x60
call fcn.140004b74
mov r10, qword [0x1401720a0]
cmp r10, rbx
je 0x1400b183a
test byte [r10 + 0x1c], 4
je 0x1400b183a
cmp byte [r10 + 0x19], 5
jb 0x1400b183a
movzx eax, r13b
lea r8, [0x140152e48]
movzx ecx, r12b
mov edx, 0x61
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ecx
mov rcx, qword [r10 + 0x10]
call fcn.140010730
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400b1843
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400b1850
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400b1896
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140141cf0
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, ecx
mov rdx, r15
lea rcx, [rsp + 0x60]
lea rbx, [rax + rax]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r8d, edi
lea rcx, [rsp + 0x60]
add r8, r8
add rcx, rbx
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov eax, ebp
add rax, rax
cmp rax, 0x208
jae 0x1400b19f7
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor edx, edx
mov word [rsp + rax + 0x60], cx
mov dword [rsp + 0x28], 0x2000080
lea r8d, [rcx + 7]
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b196d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400b191e
xor eax, eax
jmp 0x1400b1872
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400b1963
test byte [rcx + 0x1c], 4
je 0x1400b1963
cmp byte [rcx + 0x19], 2
jb 0x1400b1963
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x140152e48]
call fcn.140005b60
mov eax, 6
jmp 0x1400b1872
mov r8, qword [rsp + 0x300]
lea r9, [0x1400b0960]
mov edx, dword [rsp + 0x40]
mov rcx, rbx
movzx eax, r12b
mov dword [rsp + 0x50], eax
movzx eax, r13b
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400b0a00
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400b19f0
test byte [rcx + 0x1c], 4
je 0x1400b19f0
cmp byte [rcx + 0x19], 4
jb 0x1400b19f0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x63
call fcn.140004b74
mov eax, edi
jmp 0x1400b1872
call fcn.140141ec8
int3
Function at 0x1400bc7c4
Capabilities:
Get volume information via ioctl

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r14, qword [rsp + 0x120]
xor ebp, ebp
mov r15, qword [rsp + 0x128]
mov rsi, rcx
mov r12, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov dword [rsp + 0x40], ebp
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bc84c
test byte [rcx + 0x1c], 4
je 0x1400bc84c
cmp byte [rcx + 0x19], 4
jb 0x1400bc84c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1f1
call fcn.140004b74
mov qword [r15], rbp
mov r8d, 3
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov qword [r12], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rbx], ebp
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400bc8d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400bc8ca
test byte [rcx + 0x1c], 4
je 0x1400bc8ca
cmp byte [rcx + 0x19], 2
jb 0x1400bc8ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1f2
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005b60
mov eax, 0xd
jmp 0x1400bca01
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x60
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x90064
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400bc920
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bc8ca
mov rsi, qword [rsp + 0x98]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14005b5b0
lea rcx, [r14 + 8]
call fcn.1400053cc
lea rcx, [rsp + 0x48]
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
test bl, bl
jne 0x1400bc99c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400bc995
test byte [rcx + 0x1c], 4
je 0x1400bc995
cmp byte [rcx + 0x19], 2
jb 0x1400bc995
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1f3
call fcn.140004b74
mov eax, 1
jmp 0x1400bca01
mov r8, rsi
mov rdx, rsi
mov rcx, r14
call fcn.14005b5b0
lea rcx, [r14 + 8]
call fcn.1400053cc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15], rsi
mov qword [r12], rsi
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400bc9ff
test byte [rcx + 0x1c], 4
je 0x1400bc9ff
cmp byte [rcx + 0x19], 4
jb 0x1400bc9ff
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1f4
call fcn.140004b74
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140141cf0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400bca34
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140172608]
xor rax, rsp
mov qword [rbp + 0x2f], rax
and dword [rbp - 0x25], 0
mov rbx, rcx
and dword [rbp - 0x29], 0
lea rcx, [rbp - 0x39]
mov rdi, r9
mov dword [rbp - 0x39], 0x67452301
mov esi, r8d
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
call fcn.1400d0990
mov r14d, 8
lea rdx, [rbp - 0x29]
mov r8d, r14d
lea rcx, [rbp + 0x27]
call fcn.1400d0ff4
mov r9d, dword [rbp - 0x29]
lea eax, [r14 + 0x30]
shr r9d, 3
lea r8d, [r14 + 0x70]
and r9d, 0x3f
lea rdx, [0x140172a10]
sub eax, r9d
lea rcx, [rbp - 0x39]
sub r8d, r9d
cmp r9d, 0x38
cmovb r8d, eax
call fcn.1400d0990
mov r8d, r14d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400d0990
lea r9d, [r14 + 8]
mov rcx, rdi
mov r8d, r9d
lea rdx, [rbp - 0x39]
call fcn.1400d0ff4
mov rcx, rdi
mov r8, rbx
sub rcx, rbx
mov al, byte [rcx + r8]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x1400bcaff
mov rcx, qword [0x1401720a0]
lea r14, [0x1401720a0]
cmp rcx, r14
je 0x1400bcb9e
test byte [rcx + 0x1c], 4
je 0x1400bcb61
cmp byte [rcx + 0x19], 5
jb 0x1400bcb61
mov eax, dword [rdi + 0xc]
mov edx, 0x1f5
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
call fcn.1400ae4c4
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400bcb9e
test byte [rcx + 0x1c], 4
je 0x1400bcb9e
cmp byte [rcx + 0x19], 5
jb 0x1400bcb9e
mov eax, dword [rbx + 0xc]
mov edx, 0x1f6
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
call fcn.1400ae4c4
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140141cf0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret