joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af194
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 [0x14016f608]
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 [0x14016f048]
lea rbx, [0x14016f048]
cmp r10, rbx
je 0x1400af25a
test byte [r10 + 0x1c], 4
je 0x1400af21f
cmp byte [r10 + 0x19], 4
jb 0x1400af21f
mov rcx, qword [r10 + 0x10]
lea r8, [0x14014f138]
mov edx, 0x60
call fcn.1400049d8
mov r10, qword [0x14016f048]
cmp r10, rbx
je 0x1400af25a
test byte [r10 + 0x1c], 4
je 0x1400af25a
cmp byte [r10 + 0x19], 5
jb 0x1400af25a
movzx eax, r13b
lea r8, [0x14014f138]
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.14001017c
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400af263
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400af270
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400af2b6
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14013e2a0
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 0x1400af417
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 0x1400af38d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400af33e
xor eax, eax
jmp 0x1400af292
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400af383
test byte [rcx + 0x1c], 4
je 0x1400af383
cmp byte [rcx + 0x19], 2
jb 0x1400af383
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x14014f138]
call fcn.140005938
mov eax, 6
jmp 0x1400af292
mov r8, qword [rsp + 0x300]
lea r9, [0x1400ae3b0]
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.1400ae448
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400af410
test byte [rcx + 0x1c], 4
je 0x1400af410
cmp byte [rcx + 0x19], 4
jb 0x1400af410
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x63
call fcn.1400049d8
mov eax, edi
jmp 0x1400af292
call fcn.14013e474
int3
Function at 0x1400ba078
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 [0x14016f608]
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 [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400ba100
test byte [rcx + 0x1c], 4
je 0x1400ba100
cmp byte [rcx + 0x19], 4
jb 0x1400ba100
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f1
call fcn.1400049d8
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 0x1400ba188
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400ba17e
test byte [rcx + 0x1c], 4
je 0x1400ba17e
cmp byte [rcx + 0x19], 2
jb 0x1400ba17e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f2
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005938
mov eax, 0xd
jmp 0x1400ba2b5
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 0x1400ba1d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ba17e
mov rsi, qword [rsp + 0x98]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14005a05c
lea rcx, [r14 + 8]
call fcn.1400051dc
lea rcx, [rsp + 0x48]
mov bl, al
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
test bl, bl
jne 0x1400ba250
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400ba249
test byte [rcx + 0x1c], 4
je 0x1400ba249
cmp byte [rcx + 0x19], 2
jb 0x1400ba249
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f3
call fcn.1400049d8
mov eax, 1
jmp 0x1400ba2b5
mov r8, rsi
mov rdx, rsi
mov rcx, r14
call fcn.14005a05c
lea rcx, [r14 + 8]
call fcn.1400051dc
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 [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400ba2b3
test byte [rcx + 0x1c], 4
je 0x1400ba2b3
cmp byte [rcx + 0x19], 4
jb 0x1400ba2b3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1f4
call fcn.1400049d8
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14013e2a0
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 0x1400ba2e4
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 [0x14016f608]
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.1400ce18c
mov r14d, 8
lea rdx, [rbp - 0x29]
mov r8d, r14d
lea rcx, [rbp + 0x27]
call fcn.1400ce7e8
mov r9d, dword [rbp - 0x29]
lea eax, [r14 + 0x30]
shr r9d, 3
lea r8d, [r14 + 0x70]
and r9d, 0x3f
lea rdx, [0x14016fa10]
sub eax, r9d
lea rcx, [rbp - 0x39]
sub r8d, r9d
cmp r9d, 0x38
cmovb r8d, eax
call fcn.1400ce18c
mov r8d, r14d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400ce18c
lea r9d, [r14 + 8]
mov rcx, rdi
mov r8d, r9d
lea rdx, [rbp - 0x39]
call fcn.1400ce7e8
mov rcx, rdi
mov r8, rbx
sub rcx, rbx
mov al, byte [rcx + r8]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x1400ba3af
mov rcx, qword [0x14016f048]
lea r14, [0x14016f048]
cmp rcx, r14
je 0x1400ba44e
test byte [rcx + 0x1c], 4
je 0x1400ba411
cmp byte [rcx + 0x19], 5
jb 0x1400ba411
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.1400abfdc
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400ba44e
test byte [rcx + 0x1c], 4
je 0x1400ba44e
cmp byte [rcx + 0x19], 5
jb 0x1400ba44e
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.1400abfdc
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14013e2a0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400bfab0
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 [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bfb09
test byte [rcx + 0x1c], 4
je 0x1400bfb09
cmp byte [rcx + 0x19], 4
jb 0x1400bfb09
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc4
call fcn.1400049d8
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bfb5e
test byte [rax + 0x1c], 4
je 0x1400bfb5e
cmp byte [rax + 0x19], 4
jb 0x1400bfb5e
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
cmp byte [rbx + 0x10], 0
je 0x1400bfc6e
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 0x1400bfbaa
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400bfb98
cmp dword [rbx + 0x4c], 1
je 0x1400bfbba
cmp dword [rbx + 0x4c], 4
jne 0x1400bfc67
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.1400af194
test eax, eax
jne 0x1400bfcff
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.1400af194
test eax, eax
jne 0x1400bfcff
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.1400af980
test eax, eax
jne 0x1400bfcff
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c1664
test eax, eax
jne 0x1400bfcff
xor eax, eax
jmp 0x1400bfcff
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c179c
mov ebx, eax
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bfcfd
test byte [rcx + 0x1c], 4
je 0x1400bfcd7
cmp byte [rcx + 0x19], 4
jb 0x1400bfcd7
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bfcfd
test byte [rcx + 0x1c], 4
je 0x1400bfcfd
cmp byte [rcx + 0x19], 4
jb 0x1400bfcfd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc7
call fcn.1400049d8
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 0x1400bfd1c
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 [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bfd75
test byte [rcx + 0x1c], 4
je 0x1400bfd75
cmp byte [rcx + 0x19], 4
jb 0x1400bfd75
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc4
call fcn.1400049d8
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x40]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bfdca
test byte [rax + 0x1c], 4
je 0x1400bfdca
cmp byte [rax + 0x19], 4
jb 0x1400bfdca
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc5
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
cmp byte [rbx + 0x10], 0
je 0x1400bfeda
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 0x1400bfe16
mov r8d, eax
mov eax, dword [rdx]
lea rdx, [rdx + 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1400bfe04
cmp dword [rbx + 0x4c], 1
je 0x1400bfe26
cmp dword [rbx + 0x4c], 4
jne 0x1400bfed3
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.1400af194
test eax, eax
jne 0x1400bff6b
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.1400af194
test eax, eax
jne 0x1400bff6b
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.1400af980
test eax, eax
jne 0x1400bff6b
mov r8, rdi
mov edx, esi
mov rcx, rbx
call fcn.1400c1664
test eax, eax
jne 0x1400bff6b
xor eax, eax
jmp 0x1400bff6b
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov r8d, esi
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.1400c1ce0
mov ebx, eax
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bff69
test byte [rcx + 0x1c], 4
je 0x1400bff43
cmp byte [rcx + 0x19], 4
jb 0x1400bff43
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xc6
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bff69
test byte [rcx + 0x1c], 4
je 0x1400bff69
cmp byte [rcx + 0x19], 4
jb 0x1400bff69
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xc7
call fcn.1400049d8
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 0x1400cea7c
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 [0x14016f048]
lea r15, [0x14016f048]
cmp rcx, r15
je 0x1400cead5
test byte [rcx + 0x1c], 4
je 0x1400cead5
cmp byte [rcx + 0x19], 4
jb 0x1400cead5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f688]
mov edx, 0xa
call fcn.1400049d8
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 0x1400ceb23
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 [0x14016f048]
cmp rcx, r15
je 0x1400cec57
test byte [rcx + 0x1c], 4
je 0x1400cebc4
cmp byte [rcx + 0x19], 4
jb 0x1400cebc4
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, r8d
lea r8, [0x14014f688]
call fcn.1400abf8c
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec57
test byte [rcx + 0x1c], 4
je 0x1400cebff
cmp byte [rcx + 0x19], 4
jb 0x1400cebff
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.1400ce8fc
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec57
test byte [rcx + 0x1c], 4
je 0x1400cec31
cmp byte [rcx + 0x19], 4
jb 0x1400cec31
movzx r9d, byte [rbx + 0x70]
lea r8, [0x14014f688]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400cec57
test byte [rcx + 0x1c], 4
je 0x1400cec57
cmp byte [rcx + 0x19], 4
jb 0x1400cec57
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f688]
mov edx, 0xe
call fcn.1400049d8
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 0x1400e4e80
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 0x1400e4ec8
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.14013ec4c
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 0x1400e4f0e
xor r9d, r9d
lea edx, [rsi + 2]
xor r8d, r8d
mov ecx, 0x80070057
call qword [sym.imp.KERNEL32.dll_RaiseException]
test rbx, rbx
jne 0x1400e4f21
mov rax, qword [rdi + 0x10]
mov word [rax], r14w
mov dword [rdi + 0x18], r14d
jmp 0x1400e4f4f
inc rsi
cmp word [rbx + rsi*2], r14w
jne 0x1400e4f21
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.1400ddeb4
test eax, eax
jns 0x1400e4f4f
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 0x1400e7e20
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 0x1400e7e5b
lea r8, str.pdwValue
mov edx, 0x46e
lea rcx, str.base_stor_blbcoresdk_smart_smartregistry.hpp
call fcn.140082070
mov ebx, 0x80004005
jmp 0x1400e7eb3
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400e7e6b
mov ebx, 0x8000ffff
jmp 0x1400e7eb3
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 0x1400e7ea6
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400e7eb3
cmp dword [rsp + 0x68], 4
jne 0x1400e7e54
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 0x1400f50e0
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.140088dd0
mov ebx, eax
test eax, eax
js 0x1400f514e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f5129
mov byte [rsi], 1
jmp 0x1400f514a
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 0x1400f5189
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400f5189
test byte [rcx + 0x1c], 1
je 0x1400f5189
cmp byte [rcx + 0x19], 2
jb 0x1400f5189
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154378]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140005938
cmp qword [rsp + 0x48], r14
je 0x1400f519b
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 0x1400f51b4
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 0x1400f51e1
test al, 0x10
jne 0x1400f5234
mov byte [rdi], 1
jmp 0x1400f5234
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400f5234
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400f5234
test byte [rcx + 0x1c], 1
je 0x1400f5234
cmp byte [rcx + 0x19], 2
jb 0x1400f5234
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154378]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005938
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f5248
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 [0x14016f048]
lea r14, [0x14016f048]
cmp rcx, r14
je 0x1400f5297
test byte [rcx + 0x1c], 1
je 0x1400f5297
cmp byte [rcx + 0x19], 5
jb 0x1400f5297
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154378]
mov edx, 0xc
call fcn.1400049d8
test rdi, rdi
jne 0x1400f52b4
lea r8, str.pbIsReparsePoint___NULL
mov edx, 0xab
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.140082070
mov rcx, rsi
mov byte [rdi], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f5308
bt eax, 0xa
jae 0x1400f5354
mov byte [rdi], 1
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400f5381
test byte [rcx + 0x1c], 1
je 0x1400f535b
cmp byte [rcx + 0x19], 4
jb 0x1400f535b
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xd]
mov r9, rsi
lea r8, [0x140154378]
call fcn.1400058d8
jmp 0x1400f5354
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400f5354
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400f5381
test byte [rcx + 0x1c], 1
je 0x1400f535b
cmp byte [rcx + 0x19], 2
jb 0x1400f535b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154378]
mov edx, 0xe
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005938
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400f5381
test byte [rcx + 0x1c], 1
je 0x1400f5381
cmp byte [rcx + 0x19], 5
jb 0x1400f5381
mov rcx, qword [rcx + 0x10]
lea r8, [0x140154378]
mov edx, 0xf
call fcn.1400049d8
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret