joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c0614
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 [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
movzx r13d, r8b
movzx r12d, dl
mov qword [rsp + 0x48], rcx
mov r10, qword [0x14017a048]
lea rbx, [0x14017a048]
cmp r10, rbx
je 0x1400c06d6
test byte [r10 + 0x1c], 4
je 0x1400c06a1
cmp byte [r10 + 0x19], 4
jb 0x1400c06a1
mov rcx, qword [r10 + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x60
call fcn.140006b98
mov r10, qword [0x14017a048]
cmp r10, rbx
je 0x1400c06d6
test byte [r10 + 0x1c], 4
je 0x1400c06d6
cmp byte [r10 + 0x19], 5
jb 0x1400c06d6
mov rcx, qword [r10 + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x61
mov dword [rsp + 0x28], r13d
mov r9, r14
mov dword [rsp + 0x20], r12d
call fcn.14003d63c
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400c06df
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400c06ec
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400c0733
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001d90
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 0x1400c08a6
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]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c081c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x1400c07c7
xor eax, eax
jmp 0x1400c070e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x1400c0812
test byte [rcx + 0x1c], 4
je 0x1400c0812
cmp byte [rcx + 0x19], 2
jb 0x1400c0812
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x1401614e8]
call fcn.140011330
mov eax, 6
jmp 0x1400c070e
mov rax, qword [rsp + 0x48]
lea r9, [0x1400c4870]
mov r8, qword [rsp + 0x300]
mov rcx, rbx
mov edx, dword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r13d
call fcn.1400c3294
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x1400c089f
test byte [rcx + 0x1c], 4
je 0x1400c089f
cmp byte [rcx + 0x19], 4
jb 0x1400c089f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x63
call fcn.140006b98
mov eax, edi
jmp 0x1400c070e
call fcn.140001f68
int3
Function at 0x1400c3d98
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x1400c3e05
test byte [rcx + 0x1c], 4
je 0x1400c3e05
cmp byte [rcx + 0x19], 5
jb 0x1400c3e05
mov eax, dword [r9 + 0x14]
mov edx, 0x1f7
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [r9 + 0x10]
mov r9, rbp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov qword [r11 - 0x28], rsi
call fcn.1400cef70
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x1400c3eb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400c3e7c
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c3ef5
test byte [rcx + 0x1c], 4
je 0x1400c3ef5
cmp byte [rcx + 0x19], 5
jb 0x1400c3ef5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x1f8
call fcn.140006b98
jmp 0x1400c3ef5
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c3eac
test byte [rcx + 0x1c], 4
je 0x1400c3eac
cmp byte [rcx + 0x19], 2
jb 0x1400c3eac
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x1f9
mov r9d, edi
call fcn.140006bc4
mov qword [rbx], rdi
jmp 0x1400c3ee1
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c3ede
test byte [rcx + 0x1c], 4
je 0x1400c3ede
cmp byte [rcx + 0x19], 5
jb 0x1400c3ede
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x1fa
call fcn.140006b98
mov rsi, rdi
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1400c581c
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r15
sub rsp, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x1400c5889
test byte [rcx + 0x1c], 4
je 0x1400c5889
cmp byte [rcx + 0x19], 5
jb 0x1400c5889
mov eax, dword [r9 + 0x14]
mov edx, 0x1fd
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [r9 + 0x10]
mov r9, rbp
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov qword [r11 - 0x28], rsi
call fcn.1400cef70
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x1400c5935
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400c5900
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c5979
test byte [rcx + 0x1c], 4
je 0x1400c5979
cmp byte [rcx + 0x19], 5
jb 0x1400c5979
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x1fe
call fcn.140006b98
jmp 0x1400c5979
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c5930
test byte [rcx + 0x1c], 4
je 0x1400c5930
cmp byte [rcx + 0x19], 2
jb 0x1400c5930
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x1ff
mov r9d, edi
call fcn.140006bc4
mov qword [rbx], rdi
jmp 0x1400c5965
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c5962
test byte [rcx + 0x1c], 4
je 0x1400c5962
cmp byte [rcx + 0x19], 5
jb 0x1400c5962
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0x200
call fcn.140006b98
mov rsi, rdi
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1400d7d9c
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor r9d, r9d
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop dword [rax + rax]
test eax, eax
jne 0x1400d7dc5
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetEndOfFile]
Function at 0x1400dbb04
Capabilities:
Resolve function by parsing pe exports

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 rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x1400dbb5d
test byte [rcx + 0x1c], 4
je 0x1400dbb5d
cmp byte [rcx + 0x19], 4
jb 0x1400dbb5d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161a48]
mov edx, 0xa
call fcn.140006b98
mov rax, qword [rsp + 0x70]
mov ecx, 0xffff
mov qword [rbx], rbp
mov qword [rbx + 8], rsi
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x78]
movdqu xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rax]
mov rax, rdi
cqo
and rdx, rcx
add rax, rdx
and rax, rcx
xor ecx, ecx
sub rax, rdx
mov dword [rbx + 0x30], eax
mov r8, rax
movdqu xmmword [rbx + 0x20], xmm1
test eax, eax
jne 0x1400dbbab
mov eax, 0x10000
mov dword [rbx + 0x30], eax
mov r8d, eax
mov rax, qword [rsp + 0x80]
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x68]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x58], eax
mov al, byte [rsp + 0x90]
mov byte [rbx + 0x5c], al
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x68], rax
mov al, byte [rsp + 0xa8]
mov byte [rbx + 0x70], al
mov qword [rbx + 0x34], rcx
mov qword [rbx + 0x48], rcx
mov dword [rbx + 0x3c], r9d
mov dword [rbx + 0x40], r10d
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400dbcdf
test byte [rcx + 0x1c], 4
je 0x1400dbc4c
cmp byte [rcx + 0x19], 4
jb 0x1400dbc4c
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, r8d
lea r8, [0x140161a48]
call fcn.1400ce7e0
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400dbcdf
test byte [rcx + 0x1c], 4
je 0x1400dbc87
cmp byte [rcx + 0x19], 4
jb 0x1400dbc87
mov rax, qword [rbx]
movzx r9d, byte [rbx + 0x5c]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
call fcn.1400dd004
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400dbcdf
test byte [rcx + 0x1c], 4
je 0x1400dbcb9
cmp byte [rcx + 0x19], 4
jb 0x1400dbcb9
movzx r9d, byte [rbx + 0x70]
lea r8, [0x140161a48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.140011750
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400dbcdf
test byte [rcx + 0x1c], 4
je 0x1400dbcdf
cmp byte [rcx + 0x19], 4
jb 0x1400dbcdf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161a48]
mov edx, 0xe
call fcn.140006b98
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 0x1400f19c8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x20
mov rbx, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
xor r14d, r14d
mov ebp, eax
test eax, eax
jne 0x1400f1a1c
xor r9d, r9d
lea edx, [rax + 1]
xor r8d, r8d
mov ecx, 0x80070057
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, 2
mov rsi, 0xffffffffffffffff
mul rbp
cmovo rax, rsi
mov rcx, rax
call fcn.140002860
mov rcx, qword [rbx + 0x10]
mov r8d, ebp
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x1400f1a6e
xor r9d, r9d
lea edx, [rsi + 2]
xor r8d, r8d
mov ecx, 0x80070057
call qword [sym.imp.KERNEL32.dll_RaiseException]
test rdi, rdi
jne 0x1400f1a81
mov rax, qword [rbx + 0x10]
mov word [rax], r14w
mov dword [rbx + 0x18], r14d
jmp 0x1400f1ab5
inc rsi
cmp word [rdi + rsi*2], r14w
jne 0x1400f1a81
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call fcn.1400eb260
test eax, eax
jns 0x1400f1ab5
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
Function at 0x1400f5de8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov dword [rsp + 0x60], 4
mov rdi, r8
test r8, r8
jne 0x1400f5e23
lea r8, str.pdwValue
mov edx, 0x46e
lea rcx, str.base_stor_blbcoresdk_smart_smartregistry.hpp
call fcn.14008ac24
mov ebx, 0x80004005
jmp 0x1400f5e82
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400f5e33
mov ebx, 0x8000ffff
jmp 0x1400f5e82
and dword [r8], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x1400f5e75
jg 0x1400f5e68
mov ebx, eax
jmp 0x1400f5e71
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x1400f5e82
cmp dword [rsp + 0x68], 4
jne 0x1400f5e1c
mov ecx, dword [rsp + 0x30]
mov dword [rdi], ecx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140103b1c
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x30
mov rsi, r9
mov r14b, r8b
mov r15b, dl
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140103b93
mov rcx, qword [0x14017a048]
lea rbx, [0x14017a048]
cmp rcx, rbx
je 0x140103b89
test byte [rcx + 0x1c], 1
je 0x140103b89
cmp byte [rcx + 0x19], 4
jb 0x140103b89
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0x48
mov r9, rdi
call fcn.1400112c8
mov esi, 1
jmp 0x140103cbe
mov rax, qword [0x14017a048]
lea rbx, [0x14017a048]
cmp rax, rbx
je 0x140103bdd
test byte [rax + 0x1c], 1
je 0x140103bdd
cmp byte [rax + 0x19], 3
jb 0x140103bdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x140166708]
mov edx, 0x49
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140006bc4
mov r9, rsi
mov r8b, r14b
mov dl, r15b
mov rcx, rdi
call fcn.14009247c
mov esi, eax
test eax, eax
jns 0x140103c66
mov rcx, qword [0x14017a048]
cmp rcx, rbx
je 0x140103cbe
test byte [rcx + 0x1c], 1
je 0x140103c33
cmp byte [rcx + 0x19], 2
jb 0x140103c33
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0x4a
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140011330
mov rcx, qword [0x14017a048]
cmp rcx, rbx
je 0x140103cbe
test byte [rcx + 0x1c], 1
je 0x140103cbe
cmp byte [rcx + 0x19], 2
jb 0x140103cbe
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0x4c
mov dword [rsp + 0x20], esi
mov r9, rdi
call fcn.140011330
jmp 0x140103cbe
mov edx, 0x2000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x140103cbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, rbx
je 0x140103cbe
test byte [rcx + 0x1c], 1
je 0x140103cbe
cmp byte [rcx + 0x19], 3
jb 0x140103cbe
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0x4b
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.14003d060
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov byte [rdx], 0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x140103d46
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x140103d4d
test byte [rcx + 0x1c], 1
je 0x140103d4d
cmp byte [rcx + 0x19], 3
jb 0x140103d4d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0x4d
mov r9d, eax
call fcn.140011750
jmp 0x140103d4d
test al, 0x10
je 0x140103d4d
mov byte [rbx], 1
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140106730
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov byte [rdx], bl
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140106763
test al, 0x10
jne 0x1401067bd
mov byte [rdi], 1
jmp 0x1401067bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14010677e
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1401067bd
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1401067bd
test byte [rcx + 0x1c], 1
je 0x1401067bd
cmp byte [rcx + 0x19], 2
jb 0x1401067bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140011330
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
sub rsp, 0x30
and qword [rax + 0x10], 0
mov rsi, rdx
mov byte [rdx], 0
mov rbp, rcx
lea rdx, [rax + 0x10]
call fcn.140091744
mov ebx, eax
test eax, eax
js 0x140106932
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140106904
mov byte [rsi], 1
jmp 0x14010696d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14010691f
movzx ebx, ax
or ebx, 0x80070000
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
ja 0x14010692e
xor ebx, ebx
jmp 0x14010696d
test ebx, ebx
jns 0x14010696d
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14010696d
test byte [rcx + 0x1c], 1
je 0x14010696d
cmp byte [rcx + 0x19], 2
jb 0x14010696d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140011330
cmp qword [rsp + 0x48], 0
je 0x140106986
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
Function at 0x1401069a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x1401069ef
test byte [rcx + 0x1c], 1
je 0x1401069ef
cmp byte [rcx + 0x19], 5
jb 0x1401069ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0xc
call fcn.140006b98
test rdi, rdi
jne 0x140106a0c
lea r8, str.pbIsReparsePoint___NULL
mov edx, 0xab
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008ac24
mov rcx, rsi
mov byte [rdi], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140106a66
bt eax, 0xa
jae 0x140106ab9
mov byte [rdi], 1
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140106ae6
test byte [rcx + 0x1c], 1
je 0x140106ac0
cmp byte [rcx + 0x19], 4
jb 0x140106ac0
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xd]
mov r9, rsi
lea r8, [0x140166708]
call fcn.1400112c8
jmp 0x140106ab9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140106a81
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x140106ab9
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140106ae6
test byte [rcx + 0x1c], 1
je 0x140106ac0
cmp byte [rcx + 0x19], 2
jb 0x140106ac0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0xe
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140011330
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140106ae6
test byte [rcx + 0x1c], 1
je 0x140106ae6
cmp byte [rcx + 0x19], 5
jb 0x140106ae6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140166708]
mov edx, 0xf
call fcn.140006b98
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1401072e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov byte [rax + 0x20], r9b
push rdi
push r12
push r15
sub rsp, 0x30
mov bpl, r8b
mov rsi, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
lea r12, [0x140166708]
cmp rcx, r15
je 0x14010733d
test byte [rcx + 0x1c], 1
je 0x14010733d
cmp byte [rcx + 0x19], 4
jb 0x14010733d
mov rcx, qword [rcx + 0x10]
mov edx, 0x2d
mov r8, r12
call fcn.140006b98
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1401073e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140107372
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1401073cb
test byte [rcx + 0x1c], 1
je 0x1401073a9
cmp byte [rcx + 0x19], 2
jb 0x1401073a9
mov rcx, qword [rcx + 0x10]
mov edx, 0x30
mov r9, rsi
mov dword [rsp + 0x20], ebx
mov r8, r12
call fcn.140011330
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1401073cb
test byte [rcx + 0x1c], 1
je 0x1401073cb
cmp byte [rcx + 0x19], 4
jb 0x1401073cb
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, r12
call fcn.140006b98
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
lea rcx, [rsp + 0x68]
mov byte [rsp + 0x68], 0
call fcn.140094178
mov ebx, eax
test eax, eax
js 0x1401073a2
test bpl, bpl
je 0x140107444
bt edi, 0xb
jae 0x14010747b
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14010743a
test byte [rcx + 0x1c], 1
je 0x14010743a
cmp byte [rcx + 0x19], 2
jb 0x14010743a
mov rcx, qword [rcx + 0x10]
mov edx, 0x31
mov r9, rsi
mov r8, r12
call fcn.1400112c8
mov rcx, qword [0x14017a048]
mov ebx, 0x80780066
jmp 0x1401073a9
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140107482
test byte [rcx + 0x1c], 1
je 0x140107482
cmp byte [rcx + 0x19], 4
jb 0x140107482
mov rcx, qword [rcx + 0x10]
mov eax, edi
and eax, 0x800
mov edx, 0x32
mov r9, rsi
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.14003d5bc
mov rcx, qword [0x14017a048]
bt edi, 0xe
jae 0x1401073a9
cmp rcx, r15
je 0x1401074b8
test byte [rcx + 0x1c], 1
je 0x1401074b8
cmp byte [rcx + 0x19], 2
jb 0x1401074b8
mov rcx, qword [rcx + 0x10]
mov edx, 0x33
mov r9, rsi
mov r8, r12
call fcn.1400112c8
mov rcx, qword [0x14017a048]
mov ebx, 0x80780067
jmp 0x1401073a9
Function at 0x140116d7c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
mov edi, ebx
mov byte [rax + 0x10], bl
mov dword [rdx], ebx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
sub eax, 2
je 0x140116e23
sub eax, 1
je 0x140116dc2
cmp eax, 2
jne 0x140116e2a
mov dword [rsi], 1
jmp 0x140116e2a
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1401165b4
mov edi, eax
test eax, eax
jns 0x140116e14
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140116e10
test byte [rcx + 0x1c], 1
je 0x140116e10
cmp byte [rcx + 0x19], 3
jb 0x140116e10
mov rcx, qword [rcx + 0x10]
lea r8, [0x140167690]
mov edx, 0xe
mov dword [rsp + 0x20], edi
mov r9, rbp
call fcn.140011330
mov edi, ebx
jmp 0x140116e18
mov bl, byte [rsp + 0x48]
neg bl
sbb eax, eax
neg eax
add eax, 2
jmp 0x140116e28
mov eax, 5
mov dword [rsi], eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret