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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140158c98]
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, [0x140159220]
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, [0x140159220]
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, [0x140159220]
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, [0x140159220]
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 0x1400ebc1c
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 rdi, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r14d, r14d
mov ebp, eax
test eax, eax
jne 0x1400ebc64
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 qword [sym.imp.msvcrt.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400ebc9c
xor r9d, r9d
lea edx, [rsi + 2]
xor r8d, r8d
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [rdi + 0x10]
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400ebcc4
xor r9d, r9d
lea edx, [rax + 1]
xor r8d, r8d
mov ecx, 0x80070057
call qword [sym.imp.KERNEL32.dll_RaiseException]
test rbx, rbx
jne 0x1400ebcd7
mov rax, qword [rdi + 0x10]
mov word [rax], r14w
mov dword [rdi + 0x18], r14d
jmp 0x1400ebd05
inc rsi
cmp word [rbx + rsi*2], r14w
jne 0x1400ebcd7
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.1400e3c78
test eax, eax
jns 0x1400ebd05
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, rbx
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_free]
Function at 0x1400eed50
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 0x1400eed86
lea r8, str.pdwValue
mov edx, 0x46e
lea rcx, str.base_stor_blbcoresdk_smart_smartregistry.hpp
call fcn.14008624c
jmp 0x1400eedd8
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400eed96
mov ebx, 0x8000ffff
jmp 0x1400eede5
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]
test eax, eax
je 0x1400eedd1
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400eede5
cmp dword [rsp + 0x68], 4
je 0x1400eeddf
mov ebx, 0x80004005
jmp 0x1400eede5
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 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, [0x14015e268]
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, [0x14015e268]
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, [0x14015e268]
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, [0x14015e268]
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, [0x14015e268]
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, [0x14015e268]
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, [0x14015e268]
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