joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bf3d8
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 [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400bf445
test byte [rcx + 0x1c], 4
je 0x1400bf445
cmp byte [rcx + 0x19], 5
jb 0x1400bf445
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.1400b151c
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400bf4e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400bf4ae
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bf523
test byte [rcx + 0x1c], 4
je 0x1400bf523
cmp byte [rcx + 0x19], 5
jb 0x1400bf523
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1f8
call fcn.140004c6c
jmp 0x1400bf523
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bf4de
test byte [rcx + 0x1c], 4
je 0x1400bf4de
cmp byte [rcx + 0x19], 2
jb 0x1400bf4de
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1f9
mov r9d, edi
call fcn.140004c90
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400bf519
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bf515
test byte [rcx + 0x1c], 4
je 0x1400bf515
cmp byte [rcx + 0x19], 5
jb 0x1400bf515
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1fa
call fcn.140004c6c
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
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 0x1400bf82c
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 [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400bf899
test byte [rcx + 0x1c], 4
je 0x1400bf899
cmp byte [rcx + 0x19], 5
jb 0x1400bf899
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.1400b151c
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400bf93c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400bf902
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bf977
test byte [rcx + 0x1c], 4
je 0x1400bf977
cmp byte [rcx + 0x19], 5
jb 0x1400bf977
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1fe
call fcn.140004c6c
jmp 0x1400bf977
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bf932
test byte [rcx + 0x1c], 4
je 0x1400bf932
cmp byte [rcx + 0x19], 2
jb 0x1400bf932
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1ff
mov r9d, edi
call fcn.140004c90
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400bf96d
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bf969
test byte [rcx + 0x1c], 4
je 0x1400bf969
cmp byte [rcx + 0x19], 5
jb 0x1400bf969
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x200
call fcn.140004c6c
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
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 0x1400c4a44
Capabilities:
Encode data using xor

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 r12
sub rsp, 0x60
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x1400c4a9d
test byte [rcx + 0x1c], 4
je 0x1400c4a9d
cmp byte [rcx + 0x19], 4
jb 0x1400c4a9d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0xc4
call fcn.140004c6c
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x1401782b0]
cmp rax, r12
je 0x1400c4af2
test byte [rax + 0x1c], 4
je 0x1400c4af2
cmp byte [rax + 0x19], 4
jb 0x1400c4af2
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c88]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
cmp byte [rbx + 0x10], 0
je 0x1400c4c02
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x50]
mov rdx, qword [rbx + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add rax, 0x1f
mov rdx, qword [rsp + 0x58]
shr rax, 5
test eax, eax
je 0x1400c4b3e
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400c4b2c
cmp dword [rbx + 0x4c], 1
je 0x1400c4b4e
cmp dword [rbx + 0x4c], 4
jne 0x1400c4bfb
mov rdi, qword [rsp + 0x90]
lea rax, str.pagefile.sys
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
or qword [rsp + 0x30], 0xffffffffffffffff
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400b3f70
test eax, eax
jne 0x1400c4c93
mov qword [rsp + 0x38], rdi
lea rax, str.hiberfil.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
mov qword [rsp + 0x20], rbp
xor edx, edx
call fcn.1400b3f70
test eax, eax
jne 0x1400c4c93
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x40]
mov r9d, esi
mov qword [rsp + 0x20], rbp
mov r8b, 1
xor edx, edx
call fcn.1400b475c
test eax, eax
jne 0x1400c4c93
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c661c
test eax, eax
jne 0x1400c4c93
xor eax, eax
jmp 0x1400c4c93
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c6758
mov ebx, eax
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x1400c4c91
test byte [rcx + 0x1c], 4
je 0x1400c4c6b
cmp byte [rcx + 0x19], 4
jb 0x1400c4c6b
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c88]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x1400c4c91
test byte [rcx + 0x1c], 4
je 0x1400c4c91
cmp byte [rcx + 0x19], 4
jb 0x1400c4c91
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0xc7
call fcn.140004c6c
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1400c4cb4
Capabilities:
Encode data using xor

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 r12
sub rsp, 0x60
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov rcx, qword [0x1401782b0]
lea r12, [0x1401782b0]
cmp rcx, r12
je 0x1400c4d0d
test byte [rcx + 0x1c], 4
je 0x1400c4d0d
cmp byte [rcx + 0x19], 4
jb 0x1400c4d0d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0xc4
call fcn.140004c6c
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x1401782b0]
cmp rax, r12
je 0x1400c4d62
test byte [rax + 0x1c], 4
je 0x1400c4d62
cmp byte [rax + 0x19], 4
jb 0x1400c4d62
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c88]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
cmp byte [rbx + 0x10], 0
je 0x1400c4e72
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x50]
mov rdx, qword [rbx + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
add rax, 0x1f
mov rdx, qword [rsp + 0x58]
shr rax, 5
test eax, eax
je 0x1400c4dae
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400c4d9c
cmp dword [rbx + 0x4c], 1
je 0x1400c4dbe
cmp dword [rbx + 0x4c], 4
jne 0x1400c4e6b
mov rdi, qword [rsp + 0x90]
lea rax, str.pagefile.sys
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
or qword [rsp + 0x30], 0xffffffffffffffff
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8b, 1
xor edx, edx
mov qword [rsp + 0x20], rbp
call fcn.1400b3f70
test eax, eax
jne 0x1400c4f03
mov qword [rsp + 0x38], rdi
lea rax, str.hiberfil.sys
or qword [rsp + 0x30], 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov r9d, esi
mov r8b, 1
mov qword [rsp + 0x20], rbp
xor edx, edx
call fcn.1400b3f70
test eax, eax
jne 0x1400c4f03
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x40]
mov r9d, esi
mov qword [rsp + 0x20], rbp
mov r8b, 1
xor edx, edx
call fcn.1400b475c
test eax, eax
jne 0x1400c4f03
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c661c
test eax, eax
jne 0x1400c4f03
xor eax, eax
jmp 0x1400c4f03
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c6ca0
mov ebx, eax
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x1400c4f01
test byte [rcx + 0x1c], 4
je 0x1400c4edb
cmp byte [rcx + 0x19], 4
jb 0x1400c4edb
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c88]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x1400c4f01
test byte [rcx + 0x1c], 4
je 0x1400c4f01
cmp byte [rcx + 0x19], 4
jb 0x1400c4f01
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0xc7
call fcn.140004c6c
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1400d3260
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 [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400d32b9
test byte [rcx + 0x1c], 4
je 0x1400d32b9
cmp byte [rcx + 0x19], 4
jb 0x1400d32b9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159210]
mov edx, 0xa
call fcn.140004c6c
mov rax, qword [rsp + 0x70]
mov ecx, 0xffff
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x68]
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
mov dword [rbx + 0x3c], r9d
cqo
mov dword [rbx + 0x40], r10d
and rdx, rcx
add rax, rdx
and rax, rcx
sub rax, rdx
mov r8, rax
lea eax, [rcx + 1]
xor ecx, ecx
mov qword [rbx + 0x34], rcx
test r8d, r8d
mov qword [rbx + 0x48], rcx
mov rcx, qword [rsp + 0x80]
cmove r8d, 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 qword [rbx + 0x50], rcx
mov ecx, dword [rsp + 0x88]
mov byte [rbx + 0x70], al
movdqu xmmword [rbx + 0x20], xmm1
mov dword [rbx + 0x30], r8d
mov dword [rbx + 0x58], ecx
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400d3437
test byte [rcx + 0x1c], 4
je 0x1400d33a4
cmp byte [rcx + 0x19], 4
jb 0x1400d33a4
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, r8d
lea r8, [0x140159210]
call fcn.1400b0be0
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400d3437
test byte [rcx + 0x1c], 4
je 0x1400d33df
cmp byte [rcx + 0x19], 4
jb 0x1400d33df
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.1400d30d0
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400d3437
test byte [rcx + 0x1c], 4
je 0x1400d3411
cmp byte [rcx + 0x19], 4
jb 0x1400d3411
movzx r9d, byte [rbx + 0x70]
lea r8, [0x140159210]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400d3437
test byte [rcx + 0x1c], 4
je 0x1400d3437
cmp byte [rcx + 0x19], 4
jb 0x1400d3437
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159210]
mov edx, 0xe
call fcn.140004c6c
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 0x1400fca88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push r14
sub rsp, 0x30
xor r14d, r14d
mov rsi, rdx
mov byte [rdx], r14b
mov rbp, rcx
lea rdx, [rax + 0x10]
mov qword [rax + 0x10], r14
call fcn.14008d188
mov ebx, eax
test eax, eax
js 0x1400fcaf6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fcad1
mov byte [rsi], 1
jmp 0x1400fcaf2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
cmovbe ebx, r14d
test ebx, ebx
jns 0x1400fcb31
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400fcb31
test byte [rcx + 0x1c], 1
je 0x1400fcb31
cmp byte [rcx + 0x19], 2
jb 0x1400fcb31
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140005ce8
cmp qword [rsp + 0x48], r14
je 0x1400fcb43
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400fcb64
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]
cmp eax, 0xffffffff
je 0x1400fcb91
test al, 0x10
jne 0x1400fcbe4
mov byte [rdi], 1
jmp 0x1400fcbe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400fcbe4
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400fcbe4
test byte [rcx + 0x1c], 1
je 0x1400fcbe4
cmp byte [rcx + 0x19], 2
jb 0x1400fcbe4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005ce8
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400fcbfc
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 [0x1401782b0]
lea r14, [0x1401782b0]
cmp rcx, r14
je 0x1400fcc4b
test byte [rcx + 0x1c], 1
je 0x1400fcc4b
cmp byte [rcx + 0x19], 5
jb 0x1400fcc4b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0xc
call fcn.140004c6c
test rdi, rdi
jne 0x1400fcc68
lea r8, str.pbIsReparsePoint___NULL
mov edx, 0xab
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008624c
mov rcx, rsi
mov byte [rdi], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fccbc
bt eax, 0xa
jae 0x1400fcd08
mov byte [rdi], 1
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x1400fcd35
test byte [rcx + 0x1c], 1
je 0x1400fcd0f
cmp byte [rcx + 0x19], 4
jb 0x1400fcd0f
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xd]
mov r9, rsi
lea r8, [0x14015e258]
call fcn.140005c6c
jmp 0x1400fcd08
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400fcd08
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x1400fcd35
test byte [rcx + 0x1c], 1
je 0x1400fcd0f
cmp byte [rcx + 0x19], 2
jb 0x1400fcd0f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0xe
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x1400fcd35
test byte [rcx + 0x1c], 1
je 0x1400fcd35
cmp byte [rcx + 0x19], 5
jb 0x1400fcd35
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0xf
call fcn.140004c6c
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 0x1400fdc98
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 [0x1401782b0]
lea r15, [0x1401782b0]
lea r12, [0x14015e258]
cmp rcx, r15
je 0x1400fdcf1
test byte [rcx + 0x1c], 1
je 0x1400fdcf1
cmp byte [rcx + 0x19], 4
jb 0x1400fdcf1
mov rcx, qword [rcx + 0x10]
mov edx, 0x2d
mov r8, r12
call fcn.140004c6c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400fdd8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400fdd72
test byte [rcx + 0x1c], 1
je 0x1400fdd50
cmp byte [rcx + 0x19], 2
jb 0x1400fdd50
mov rcx, qword [rcx + 0x10]
mov edx, 0x30
mov r9, rsi
mov dword [rsp + 0x20], ebx
mov r8, r12
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400fdd72
test byte [rcx + 0x1c], 1
je 0x1400fdd72
cmp byte [rcx + 0x19], 4
jb 0x1400fdd72
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, r12
call fcn.140004c6c
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.140090220
mov ebx, eax
test eax, eax
js 0x1400fdd49
test bpl, bpl
je 0x1400fddea
bt edi, 0xb
jae 0x1400fde21
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400fdde0
test byte [rcx + 0x1c], 1
je 0x1400fdde0
cmp byte [rcx + 0x19], 2
jb 0x1400fdde0
mov rcx, qword [rcx + 0x10]
mov edx, 0x31
mov r9, rsi
mov r8, r12
call fcn.140005c6c
mov rcx, qword [0x1401782b0]
mov ebx, 0x80780066
jmp 0x1400fdd50
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400fde28
test byte [rcx + 0x1c], 1
je 0x1400fde28
cmp byte [rcx + 0x19], 4
jb 0x1400fde28
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.140005ce8
mov rcx, qword [0x1401782b0]
bt edi, 0xe
jae 0x1400fdd50
cmp rcx, r15
je 0x1400fde5e
test byte [rcx + 0x1c], 1
je 0x1400fde5e
cmp byte [rcx + 0x19], 2
jb 0x1400fde5e
mov rcx, qword [rcx + 0x10]
mov edx, 0x33
mov r9, rsi
mov r8, r12
call fcn.140005c6c
mov rcx, qword [0x1401782b0]
mov ebx, 0x80780067
jmp 0x1400fdd50
Function at 0x1400fe9b4
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 rdi, r9
mov r14b, r8b
mov r15b, dl
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fea25
mov rcx, qword [0x1401782b0]
lea rbx, [0x1401782b0]
cmp rcx, rbx
je 0x1400fea1b
test byte [rcx + 0x1c], 1
je 0x1400fea1b
cmp byte [rcx + 0x19], 4
jb 0x1400fea1b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0x48
mov r9, rsi
call fcn.140005c6c
mov edi, 1
jmp 0x1400feb3a
mov rax, qword [0x1401782b0]
lea rbx, [0x1401782b0]
cmp rax, rbx
je 0x1400fea69
test byte [rax + 0x1c], 1
je 0x1400fea69
cmp byte [rax + 0x19], 3
jb 0x1400fea69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea r8, [0x14015e258]
mov r9d, eax
mov edx, 0x49
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov r9, rdi
mov r8b, r14b
mov dl, r15b
mov rcx, rsi
call fcn.14008af2c
mov edi, eax
test eax, eax
jns 0x1400feab6
mov rcx, qword [0x1401782b0]
cmp rcx, rbx
je 0x1400feb09
test byte [rcx + 0x1c], 1
je 0x1400feb09
cmp byte [rcx + 0x19], 2
jb 0x1400feb09
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0x4a
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005ce8
jmp 0x1400feb02
mov edx, 0x2000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400feb02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
cmp rcx, rbx
je 0x1400feb09
test byte [rcx + 0x1c], 1
je 0x1400feb09
cmp byte [rcx + 0x19], 3
jb 0x1400feb09
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0x4b
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
test edi, edi
jns 0x1400feb3a
cmp rcx, rbx
je 0x1400feb3a
test byte [rcx + 0x1c], 1
je 0x1400feb3a
cmp byte [rcx + 0x19], 2
jb 0x1400feb3a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0x4c
mov dword [rsp + 0x20], edi
mov r9, rsi
call fcn.140005ce8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

Function at 0x1400feb60
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]
cmp eax, 0xffffffff
jne 0x1400febb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
cmp rcx, rdx
je 0x1400febbd
test byte [rcx + 0x1c], 1
je 0x1400febbd
cmp byte [rcx + 0x19], 3
jb 0x1400febbd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e258]
mov edx, 0x4d
mov r9d, eax
call fcn.140004c90
jmp 0x1400febbd
test al, 0x10
je 0x1400febbd
mov byte [rbx], 1
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14010c03c
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 rdi, rdx
and dword [rdx], ebx
mov rsi, rcx
mov byte [rax + 0x10], bl
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea rbp, [0x1401782b0]
sub eax, 2
je 0x14010c0e6
sub eax, 1
je 0x14010c088
cmp eax, 2
jne 0x14010c127
mov dword [rdi], 1
jmp 0x14010c127
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14010bd48
mov ebx, eax
test eax, eax
jns 0x14010c0d5
mov rcx, qword [0x1401782b0]
cmp rcx, rbp
je 0x14010c0cf
test byte [rcx + 0x1c], 1
je 0x14010c0cf
cmp byte [rcx + 0x19], 3
jb 0x14010c0cf
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015f1f0]
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005ce8
xor ebx, ebx
xor al, al
jmp 0x14010c0d9
mov al, byte [rsp + 0x48]
neg al
sbb eax, eax
neg eax
add eax, 2
mov dword [rdi], eax
jmp 0x14010c0ec
mov dword [rdi], 5
test ebx, ebx
jns 0x14010c127
mov rcx, qword [0x1401782b0]
cmp rcx, rbp
je 0x14010c127
test dword [rcx + 0x1c], 0x200
je 0x14010c127
cmp byte [rcx + 0x19], 3
jb 0x14010c127
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015f1f0]
mov edx, 0xf
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005ce8
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret