joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bcbc0
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 [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400bcc2d
test byte [rcx + 0x1c], 4
je 0x1400bcc2d
cmp byte [rcx + 0x19], 5
jb 0x1400bcc2d
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.1400aed50
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 0x1400bccd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400bcc96
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bcd0b
test byte [rcx + 0x1c], 4
je 0x1400bcd0b
cmp byte [rcx + 0x19], 5
jb 0x1400bcd0b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1f8
call fcn.140004b74
jmp 0x1400bcd0b
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bccc6
test byte [rcx + 0x1c], 4
je 0x1400bccc6
cmp byte [rcx + 0x19], 2
jb 0x1400bccc6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1f9
mov r9d, edi
call fcn.140004b98
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400bcd01
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bccfd
test byte [rcx + 0x1c], 4
je 0x1400bccfd
cmp byte [rcx + 0x19], 5
jb 0x1400bccfd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1fa
call fcn.140004b74
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 0x1400bd014
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 [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400bd081
test byte [rcx + 0x1c], 4
je 0x1400bd081
cmp byte [rcx + 0x19], 5
jb 0x1400bd081
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.1400aed50
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 0x1400bd124
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400bd0ea
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bd15f
test byte [rcx + 0x1c], 4
je 0x1400bd15f
cmp byte [rcx + 0x19], 5
jb 0x1400bd15f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1fe
call fcn.140004b74
jmp 0x1400bd15f
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bd11a
test byte [rcx + 0x1c], 4
je 0x1400bd11a
cmp byte [rcx + 0x19], 2
jb 0x1400bd11a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1ff
mov r9d, edi
call fcn.140004b98
and qword [rbx + 8], 0
mov qword [rbx], rdi
jmp 0x1400bd155
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bd151
test byte [rcx + 0x1c], 4
je 0x1400bd151
cmp byte [rcx + 0x19], 5
jb 0x1400bd151
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x200
call fcn.140004b74
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 0x1400c2218
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 [0x1401720a0]
lea r12, [0x1401720a0]
cmp rcx, r12
je 0x1400c2271
test byte [rcx + 0x1c], 4
je 0x1400c2271
cmp byte [rcx + 0x19], 4
jb 0x1400c2271
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xc4
call fcn.140004b74
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x1401720a0]
cmp rax, r12
je 0x1400c22c6
test byte [rax + 0x1c], 4
je 0x1400c22c6
cmp byte [rax + 0x19], 4
jb 0x1400c22c6
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
cmp byte [rbx + 0x10], 0
je 0x1400c23d6
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 0x1400c2312
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400c2300
cmp dword [rbx + 0x4c], 1
je 0x1400c2322
cmp dword [rbx + 0x4c], 4
jne 0x1400c23cf
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.1400b1774
test eax, eax
jne 0x1400c2467
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.1400b1774
test eax, eax
jne 0x1400c2467
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.1400b1f64
test eax, eax
jne 0x1400c2467
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c3df4
test eax, eax
jne 0x1400c2467
xor eax, eax
jmp 0x1400c2467
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c3f30
mov ebx, eax
mov rcx, qword [0x1401720a0]
cmp rcx, r12
je 0x1400c2465
test byte [rcx + 0x1c], 4
je 0x1400c243f
cmp byte [rcx + 0x19], 4
jb 0x1400c243f
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp rcx, r12
je 0x1400c2465
test byte [rcx + 0x1c], 4
je 0x1400c2465
cmp byte [rcx + 0x19], 4
jb 0x1400c2465
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xc7
call fcn.140004b74
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 0x1400c2488
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 [0x1401720a0]
lea r12, [0x1401720a0]
cmp rcx, r12
je 0x1400c24e1
test byte [rcx + 0x1c], 4
je 0x1400c24e1
cmp byte [rcx + 0x19], 4
jb 0x1400c24e1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xc4
call fcn.140004b74
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x1401720a0]
cmp rax, r12
je 0x1400c2536
test byte [rax + 0x1c], 4
je 0x1400c2536
cmp byte [rax + 0x19], 4
jb 0x1400c2536
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
cmp byte [rbx + 0x10], 0
je 0x1400c2646
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 0x1400c2582
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400c2570
cmp dword [rbx + 0x4c], 1
je 0x1400c2592
cmp dword [rbx + 0x4c], 4
jne 0x1400c263f
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.1400b1774
test eax, eax
jne 0x1400c26d7
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.1400b1774
test eax, eax
jne 0x1400c26d7
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.1400b1f64
test eax, eax
jne 0x1400c26d7
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c3df4
test eax, eax
jne 0x1400c26d7
xor eax, eax
jmp 0x1400c26d7
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c4478
mov ebx, eax
mov rcx, qword [0x1401720a0]
cmp rcx, r12
je 0x1400c26d5
test byte [rcx + 0x1c], 4
je 0x1400c26af
cmp byte [rcx + 0x19], 4
jb 0x1400c26af
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp rcx, r12
je 0x1400c26d5
test byte [rcx + 0x1c], 4
je 0x1400c26d5
cmp byte [rcx + 0x19], 4
jb 0x1400c26d5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xc7
call fcn.140004b74
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 0x1400d12a8
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 [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400d1301
test byte [rcx + 0x1c], 4
je 0x1400d1301
cmp byte [rcx + 0x19], 4
jb 0x1400d1301
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401533e0]
mov edx, 0xa
call fcn.140004b74
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
movdqu xmmword [rbx + 0x20], xmm1
lea r8, [rdx + rax]
and r8, rcx
lea eax, [rcx + 1]
xor ecx, ecx
sub r8, rdx
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
mov dword [rbx + 0x30], r8d
mov dword [rbx + 0x58], ecx
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400d147d
test byte [rcx + 0x1c], 4
je 0x1400d13ea
cmp byte [rcx + 0x19], 4
jb 0x1400d13ea
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, r8d
lea r8, [0x1401533e0]
call fcn.1400ae470
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400d147d
test byte [rcx + 0x1c], 4
je 0x1400d1425
cmp byte [rcx + 0x19], 4
jb 0x1400d1425
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.1400d1118
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400d147d
test byte [rcx + 0x1c], 4
je 0x1400d1457
cmp byte [rcx + 0x19], 4
jb 0x1400d1457
movzx r9d, byte [rbx + 0x70]
lea r8, [0x1401533e0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400d147d
test byte [rcx + 0x1c], 4
je 0x1400d147d
cmp byte [rcx + 0x19], 4
jb 0x1400d147d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401533e0]
mov edx, 0xe
call fcn.140004b74
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 0x1400e81a8
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 0x1400e81f0
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.140142770
mov rcx, qword [rdi + 0x10]
mov r8d, ebp
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400e8236
xor r9d, r9d
lea edx, [rsi + 2]
xor r8d, r8d
mov ecx, 0x80070057
call qword [sym.imp.KERNEL32.dll_RaiseException]
test rbx, rbx
jne 0x1400e8249
mov rax, qword [rdi + 0x10]
mov word [rax], r14w
mov dword [rdi + 0x18], r14d
jmp 0x1400e8277
inc rsi
cmp word [rbx + rsi*2], r14w
jne 0x1400e8249
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.1400e0fdc
test eax, eax
jns 0x1400e8277
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_void___cdecl_operator_delete___void____ptr64_]
Function at 0x1400eb258
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 0x1400eb293
lea r8, str.pdwValue
mov edx, 0x46e
lea rcx, str.base_stor_blbcoresdk_smart_smartregistry.hpp
call fcn.14008410c
mov ebx, 0x80004005
jmp 0x1400eb2eb
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400eb2a3
mov ebx, 0x8000ffff
jmp 0x1400eb2eb
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 0x1400eb2de
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400eb2eb
cmp dword [rsp + 0x68], 4
jne 0x1400eb28c
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 0x1400f8774
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.14008aff0
mov ebx, eax
test eax, eax
js 0x1400f87e2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f87bd
mov byte [rsi], 1
jmp 0x1400f87de
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 0x1400f881d
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400f881d
test byte [rcx + 0x1c], 1
je 0x1400f881d
cmp byte [rcx + 0x19], 2
jb 0x1400f881d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157e00]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140005b60
cmp qword [rsp + 0x48], r14
je 0x1400f882f
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 0x1400f8850
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 0x1400f887d
test al, 0x10
jne 0x1400f88d0
mov byte [rdi], 1
jmp 0x1400f88d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400f88d0
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400f88d0
test byte [rcx + 0x1c], 1
je 0x1400f88d0
cmp byte [rcx + 0x19], 2
jb 0x1400f88d0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157e00]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005b60
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f88e8
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 [0x1401720a0]
lea r14, [0x1401720a0]
cmp rcx, r14
je 0x1400f8937
test byte [rcx + 0x1c], 1
je 0x1400f8937
cmp byte [rcx + 0x19], 5
jb 0x1400f8937
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157e00]
mov edx, 0xc
call fcn.140004b74
test rdi, rdi
jne 0x1400f8954
lea r8, str.pbIsReparsePoint___NULL
mov edx, 0xab
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.14008410c
mov rcx, rsi
mov byte [rdi], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f89a8
bt eax, 0xa
jae 0x1400f89f4
mov byte [rdi], 1
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400f8a21
test byte [rcx + 0x1c], 1
je 0x1400f89fb
cmp byte [rcx + 0x19], 4
jb 0x1400f89fb
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xd]
mov r9, rsi
lea r8, [0x140157e00]
call fcn.140005afc
jmp 0x1400f89f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400f89f4
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400f8a21
test byte [rcx + 0x1c], 1
je 0x1400f89fb
cmp byte [rcx + 0x19], 2
jb 0x1400f89fb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157e00]
mov edx, 0xe
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005b60
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400f8a21
test byte [rcx + 0x1c], 1
je 0x1400f8a21
cmp byte [rcx + 0x19], 5
jb 0x1400f8a21
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157e00]
mov edx, 0xf
call fcn.140004b74
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 0x1400f9988
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 [0x1401720a0]
lea r15, [0x1401720a0]
lea r12, [0x140157e00]
cmp rcx, r15
je 0x1400f99e1
test byte [rcx + 0x1c], 1
je 0x1400f99e1
cmp byte [rcx + 0x19], 4
jb 0x1400f99e1
mov rcx, qword [rcx + 0x10]
mov edx, 0x2d
mov r8, r12
call fcn.140004b74
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400f9a7d
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 0x1400f9a62
test byte [rcx + 0x1c], 1
je 0x1400f9a40
cmp byte [rcx + 0x19], 2
jb 0x1400f9a40
mov rcx, qword [rcx + 0x10]
mov edx, 0x30
mov r9, rsi
mov dword [rsp + 0x20], ebx
mov r8, r12
call fcn.140005b60
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400f9a62
test byte [rcx + 0x1c], 1
je 0x1400f9a62
cmp byte [rcx + 0x19], 4
jb 0x1400f9a62
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, r12
call fcn.140004b74
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.14008e084
mov ebx, eax
test eax, eax
js 0x1400f9a39
test bpl, bpl
je 0x1400f9ada
bt edi, 0xb
jae 0x1400f9b11
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400f9ad0
test byte [rcx + 0x1c], 1
je 0x1400f9ad0
cmp byte [rcx + 0x19], 2
jb 0x1400f9ad0
mov rcx, qword [rcx + 0x10]
mov edx, 0x31
mov r9, rsi
mov r8, r12
call fcn.140005afc
mov rcx, qword [0x1401720a0]
mov ebx, 0x80780066
jmp 0x1400f9a40
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400f9b18
test byte [rcx + 0x1c], 1
je 0x1400f9b18
cmp byte [rcx + 0x19], 4
jb 0x1400f9b18
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.140005b60
mov rcx, qword [0x1401720a0]
bt edi, 0xe
jae 0x1400f9a40
cmp rcx, r15
je 0x1400f9b4e
test byte [rcx + 0x1c], 1
je 0x1400f9b4e
cmp byte [rcx + 0x19], 2
jb 0x1400f9b4e
mov rcx, qword [rcx + 0x10]
mov edx, 0x33
mov r9, rsi
mov r8, r12
call fcn.140005afc
mov rcx, qword [0x1401720a0]
mov ebx, 0x80780067
jmp 0x1400f9a40