joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010f9ac
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x30
xor ebp, ebp
lea r9, [rax + 0x10]
xor r8d, r8d
mov dword [rax + 0x10], ebp
xor edx, edx
mov dword [rax + 0x18], ebp
mov esi, ebp
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
lea r15, [0x14017b048]
lea r12, [0x1401635b0]
test eax, eax
jne 0x14010fa5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x800700ea
jne 0x14010fad2
mov eax, dword [rsp + 0x68]
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x14010fac8
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14010fa4f
mov ebx, 0x8007000e
jmp 0x14010fbe1
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14010fb13
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14010fbcd
test byte [rcx + 0x1c], 1
je 0x14010fbcd
cmp byte [rcx + 0x19], 2
jb 0x14010fbcd
mov edx, 0x39
jmp 0x14010fbb3
mov ebx, 0x80070216
jmp 0x14010fbe1
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14010fc0a
test byte [rcx + 0x1c], 1
je 0x14010fbe8
cmp byte [rcx + 0x19], 2
jb 0x14010fbe8
mov rcx, qword [rcx + 0x10]
mov edx, 0x38
mov r9, rdi
mov dword [rsp + 0x20], ebx
mov r8, r12
call fcn.140005d40
jmp 0x14010fbe1
mov rdi, rsi
mov ebx, ebp
cmp word [rsi], bp
je 0x14010fbc6
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14010fb4d
test byte [rcx + 0x1c], 1
je 0x14010fb4d
cmp byte [rcx + 0x19], 4
jb 0x14010fb4d
mov rcx, qword [rcx + 0x10]
mov edx, 0x3a
mov r9, rdi
mov r8, r12
call fcn.140005cd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x14010fb7c
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], bp
jne 0x14010fb64
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], bp
jne 0x14010fb21
jmp 0x14010fbc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14010fbcd
test byte [rcx + 0x1c], 1
je 0x14010fbcd
cmp byte [rcx + 0x19], 2
jb 0x14010fbcd
mov edx, 0x3b
mov rcx, qword [rcx + 0x10]
mov r9, rdi
mov r8, r12
mov dword [rsp + 0x20], ebx
call fcn.140005d40
mov rcx, qword [0x14017b048]
test rsi, rsi
je 0x14010fbe8
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x14010fc0a
test byte [rcx + 0x1c], 1
je 0x14010fc0a
cmp byte [rcx + 0x19], 4
jb 0x14010fc0a
mov rcx, qword [rcx + 0x10]
mov edx, 0x3c
mov r8, r12
call fcn.140004c10
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140112818
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rbp - 8], rax
and qword [rbp - 0x30], 0
lea r8, [rbp - 0x30]
and qword [rbp - 0x28], 0
mov rdi, rdx
and dword [rbp - 0x20], 0
lea rdx, str.MediaId
mov r15, rcx
or r14, 0xffffffffffffffff
call fcn.140088abc
mov ebx, eax
test eax, eax
js 0x1401129a6
and qword [rsp + 0x30], 0
lea r8d, [r14 + 2]
and dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rbp - 0x30]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140112909
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1401128f6
test byte [rcx + 0x1c], 1
je 0x1401128f6
cmp byte [rcx + 0x19], 2
jb 0x1401128f6
mov r9, qword [rbp - 0x30]
lea edx, [r14 + 0xc]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov dword [rsp + 0x20], edi
call fcn.140005d40
mov rcx, qword [0x14017b048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1401129ad
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x20]
mov r8d, 0x10
lea rdx, [rbp - 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14011297f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1401128f6
test byte [rcx + 0x1c], 1
je 0x1401128f6
cmp byte [rcx + 0x19], 2
jb 0x1401128f6
mov r9, qword [rbp - 0x30]
lea r8, [0x140163ba0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov dword [rsp + 0x20], edi
call fcn.140005d40
jmp 0x1401128ef
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
test eax, eax
je 0x14011299e
mov ebx, 0x8007000e
jmp 0x1401129a6
movups xmm0, xmmword [rbp - 0x18]
movdqu xmmword [rdi], xmm0
mov rcx, qword [0x14017b048]
cmp qword [rbp - 0x30], 0
je 0x1401129cb
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
cmp qword [rbp - 0x28], 0
je 0x1401129ee
lea rcx, [rbp - 0x28]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
nop dword [rax + rax]
and qword [rbp - 0x28], 0
mov rcx, qword [0x14017b048]
cmp r14, 0xffffffffffffffff
je 0x140112a0a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test ebx, ebx
jns 0x140112a42
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140112a42
test byte [rcx + 0x1c], 1
je 0x140112a42
cmp byte [rcx + 0x19], 2
jb 0x140112a42
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, 0xd
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140005d40
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401158c4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
mov byte [rdx], bl
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
mov r8d, eax
add eax, 0xfffffffe
test eax, 0xfffffffc
jne 0x1401159d0
cmp r8d, 4
je 0x1401159d0
cmp r8d, 2
jne 0x1401159cd
lea rdx, [rsp + 0x48]
mov byte [rsp + 0x48], bl
mov rcx, rdi
call fcn.14010e30c
lea r14, [0x14017b048]
mov ebx, eax
test eax, eax
jns 0x14011596c
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x140115966
test byte [rcx + 0x1c], 1
je 0x140115966
cmp byte [rcx + 0x19], 3
jb 0x140115966
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, 0x52
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140005d40
xor al, al
xor ebx, ebx
jmp 0x140115970
mov al, byte [rsp + 0x48]
test al, al
jne 0x1401159d0
lea rdx, [rsp + 0x48]
mov byte [rsp + 0x48], al
mov rcx, rdi
call fcn.14012674c
mov ebx, eax
test eax, eax
jns 0x1401159c5
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x1401159bf
test byte [rcx + 0x1c], 1
je 0x1401159bf
cmp byte [rcx + 0x19], 3
jb 0x1401159bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, 0x53
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140005d40
mov al, 1
xor ebx, ebx
jmp 0x1401159c9
mov al, byte [rsp + 0x48]
test al, al
je 0x1401159d0
mov byte [rsi], 1
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401159f0
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r15d, r15d
mov rdi, r8
mov byte [rbp + 0x50], r15b
mov r14, rdx
mov byte [rbp + 0x48], r15b
mov rsi, rcx
mov byte [rbp + 0x58], r15b
mov ebx, r15d
mov byte [rbp - 0x10], r15b
mov byte [rbp - 0xf], r15b
mov byte [rdx], r15b
test r8, r8
je 0x140115a30
mov byte [r8], r15b
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
lea r13, [0x14017b048]
sub eax, 2
je 0x140115af6
sub eax, 1
je 0x140115a87
cmp eax, 2
jne 0x140115bff
test rdi, rdi
je 0x140115a62
mov byte [rdi], 1
lea r8, [rbp + 0x50]
mov rcx, rsi
lea rdx, [rbp + 0x48]
call fcn.140128a18
mov ebx, eax
test eax, eax
js 0x140115aea
cmp byte [rbp + 0x48], r15b
je 0x140115bc7
jmp 0x140115bc3
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.140134e50
mov ebx, eax
test eax, eax
js 0x140115aea
cmp byte [rbp + 0x50], r15b
je 0x140115bc7
test rdi, rdi
je 0x140115aab
mov byte [rdi], 1
lea rdx, [rbp + 0x58]
mov rcx, rsi
call fcn.140134fa0
mov ebx, eax
test eax, eax
jns 0x140115adb
cmp eax, 0x80780076
jne 0x140115bc7
mov byte [r14], r15b
test rdi, rdi
je 0x140115ad3
mov byte [rdi], r15b
mov ebx, r15d
jmp 0x140115bc7
cmp byte [rbp + 0x58], r15b
je 0x140115bc3
jmp 0x140115bc7
mov rcx, qword [0x14017b048]
jmp 0x140115bd2
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.14010e30c
mov ebx, eax
test eax, eax
jns 0x140115b4b
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x140115b43
test byte [rcx + 0x1c], 1
je 0x140115b43
cmp byte [rcx + 0x19], 3
jb 0x140115b43
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, 0x54
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005d40
mov rcx, qword [0x14017b048]
mov al, r15b
mov ebx, r15d
jmp 0x140115b55
mov al, byte [rbp - 0x10]
mov rcx, qword [0x14017b048]
test al, al
jne 0x140115bce
lea rdx, [rbp - 0xf]
mov rcx, rsi
call fcn.14012674c
mov ebx, eax
test eax, eax
jns 0x140115bad
mov rcx, qword [0x14017b048]
cmp rcx, r13
je 0x140115ba6
test byte [rcx + 0x1c], 1
je 0x140115ba6
cmp byte [rcx + 0x19], 3
jb 0x140115ba6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, 0x55
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005d40
mov rcx, qword [0x14017b048]
mov al, 1
mov ebx, r15d
jmp 0x140115bb7
mov al, byte [rbp - 0xf]
mov rcx, qword [0x14017b048]
test al, al
je 0x140115bce
test rdi, rdi
je 0x140115bc3
mov byte [rdi], 1
mov byte [r14], 1
mov rcx, qword [0x14017b048]
test ebx, ebx
jns 0x140115bff
cmp rcx, r13
je 0x140115bff
test byte [rcx + 0x1c], 1
je 0x140115bff
cmp byte [rcx + 0x19], 2
jb 0x140115bff
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, 0x56
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005d40
mov eax, ebx
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14011794c
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea rdi, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
mov r14, r9
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
test rcx, rcx
jne 0x140117988
lea r8, str.wszTargetVolume___NULL
mov edx, 0x108a
mov rcx, rdi
call fcn.140087b08
test rbx, rbx
jne 0x1401179a1
lea r8, str.rgVolumeMountedVhdPaths
mov edx, 0x108b
mov rcx, rdi
call fcn.140087b08
test r14, r14
jne 0x1401179ba
lea r8, str.pullSizeToReclaim
mov edx, 0x108c
mov rcx, rdi
call fcn.140087b08
and qword [r14], 0
mov edx, ebp
and qword [rsp + 0x50], 0
mov rcx, rbx
xor edi, edi
call fcn.1401181e4
mov ebx, eax
test eax, eax
jns 0x140117a1e
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140117aae
test byte [rcx + 0x1c], 1
je 0x140117aae
cmp byte [rcx + 0x19], 2
jb 0x140117aae
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163ba0]
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov r9d, ebx
call fcn.140004c3c
jmp 0x140117aae
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400887a0
mov rsi, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x140117a9a
lea r9, [rsp + 0x58]
mov rcx, rsi
lea r8, [rsp + 0x50]
xor ebp, ebp
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x140117a66
mov rcx, rsi
call fcn.140137834
mov ebx, eax
jmp 0x140117a6d
mov rbp, qword [rsp + 0x50]
xor ebx, ebx
test ebx, ebx
js 0x140117a9a
call fcn.1401178fc
cmp rax, rbp
mov r15, rax
cmova r15, rbp
call fcn.1401162cc
lea rcx, [rax + r15]
cmp rcx, rbp
jbe 0x140117a97
mov rdi, rax
sub rdi, rbp
add rdi, r15
mov qword [r14], rdi
test rsi, rsi
je 0x140117aae
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401258a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
test rdx, rdx
jne 0x1401258d0
lea r8, str.wszfilePath___NULL
mov edx, 0xac
lea rcx, str.base_stor_blbengine_blbengutils_filelogger.cpp
call fcn.140087b08
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x68], 0
mov eax, 0xfeff
and qword [rsp + 0x70], 0
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
lea r8d, [r9 + 3]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [r14], rax
cmp rax, 0xffffffffffffffff
jne 0x140125985
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x140125aea
test byte [rcx + 0x1c], 1
je 0x140125aea
cmp byte [rcx + 0x19], 2
jb 0x140125aea
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164880]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005d40
jmp 0x140125aea
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140125810
mov ebx, eax
test eax, eax
jns 0x1401259e0
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x140125aea
test byte [rcx + 0x1c], 1
je 0x140125aea
cmp byte [rcx + 0x19], 2
jb 0x140125aea
mov edx, 0xc
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164880]
call fcn.140004c3c
jmp 0x140125aea
cmp qword [rsp + 0x70], 0
lea rdi, [0x14017b048]
jne 0x140125aba
mov rcx, qword [r14]
lea r9, [rsp + 0x68]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x60]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140125a6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x140125aea
test byte [rcx + 0x1c], 1
je 0x140125aea
cmp byte [rcx + 0x19], 2
jb 0x140125aea
mov edx, 0xd
mov r9d, ebx
jmp 0x1401259cb
cmp dword [rsp + 0x68], 2
je 0x140125a8d
lea r8, str.dwBytesWritten__sizeof_wchUnicodeBOM_
mov edx, 0xe4
lea rcx, str.base_stor_blbengine_blbengutils_filelogger.cpp
call fcn.140087b08
mov rcx, qword [0x14017b048]
cmp rcx, rdi
je 0x140125aea
test byte [rcx + 0x1c], 1
je 0x140125ac1
cmp byte [rcx + 0x19], 4
jb 0x140125ac1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164880]
mov edx, 0xe
call fcn.140004c10
mov rcx, qword [0x14017b048]
cmp rcx, rdi
je 0x140125aea
test byte [rcx + 0x1c], 1
je 0x140125aea
cmp byte [rcx + 0x19], 4
jb 0x140125aea
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164880]
mov edx, 0xf
mov r9, rsi
call fcn.140005cd0
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140132508
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, r9
mov r12b, r8b
mov r13, rdx
mov r15, rcx
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140132564
test byte [rcx + 0x1c], 1
je 0x140132564
cmp byte [rcx + 0x19], 4
jb 0x140132564
mov rcx, qword [rcx + 0x10]
lea r8, [0x140165c58]
mov edx, 0xc
call fcn.140004c10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
xor esi, esi
mov rcx, qword [r15]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1401325b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1401326b4
mov rax, rbx
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x1401326af
mov ecx, eax
mov r14d, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1401325e8
mov ebx, 0x8007000e
jmp 0x1401326b4
mov r8, r14
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
mov rcx, qword [r15]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14013262a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140132685
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140088f04
mov ebx, eax
test eax, eax
js 0x140132680
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x50]
mov rdx, rbp
mov rcx, rsi
call fcn.1400887a0
mov ebx, eax
test eax, eax
js 0x140132699
mov rcx, qword [r13]
lea rdx, [rbp + 8]
xor r8d, r8d
call fcn.1400889dc
mov ebx, eax
test eax, eax
js 0x140132699
mov byte [rbp + 0x10], r12b
xor edi, edi
jmp 0x140132685
mov rsi, qword [rsp + 0x50]
test rdi, rdi
je 0x140132699
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x1401326b4
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x1401326b4
mov ebx, 0x80070216
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1401326e8
test byte [rcx + 0x1c], 1
je 0x1401326e8
cmp byte [rcx + 0x19], 4
jb 0x1401326e8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140165c58]
mov edx, 0xd
call fcn.140004c10
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140134398
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor r12d, r12d
lea r9, [rax + 0x10]
mov qword [rdx], r12
mov r15, rdx
xor edx, edx
mov dword [rax + 0x18], r12d
xor r8d, r8d
mov r14, rcx
mov ebx, r12d
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140134401
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
je 0x140134401
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1401344de
mov ecx, dword [rsp + 0x68]
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x140134426
mov ebx, 0x8007000e
jmp 0x1401344e2
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140134462
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1401344cf
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rbp + rsi*2], r12w
jne 0x140134466
test esi, esi
je 0x1401344cf
lea eax, [rsi + 1]
lea rcx, [rax + rax]
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140134499
mov ebx, 0x8007000e
jmp 0x1401344cf
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.14003bd58
mov ebx, eax
test eax, eax
js 0x1401344bb
lea ecx, [rsi - 1]
mov word [rdi + rcx*2], r12w
mov qword [r15], rdi
mov rdi, r12
test rdi, rdi
je 0x1401344cf
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14013451d
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14013451d
test byte [rcx + 0x1c], 1
je 0x14013451d
cmp byte [rcx + 0x19], 3
jb 0x14013451d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140165de8]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140005d40
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140134540
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x680
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rdi, rcx
mov rcx, qword [0x14017b048]
lea r14, [0x14017b048]
lea r15, [0x140165de8]
cmp rcx, r14
je 0x1401345a2
test byte [rcx + 0x1c], 1
je 0x1401345a2
cmp byte [rcx + 0x19], 4
jb 0x1401345a2
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov r8, r15
call fcn.140004c10
movups xmm0, xmmword [0x14015af68]
mov ebx, 0x104
lea rcx, [rsp + 0x40]
mov edx, ebx
movdqu xmmword [rdi], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14013461d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x14013460a
test byte [rcx + 0x1c], 1
je 0x14013460a
cmp byte [rcx + 0x19], 2
jb 0x14013460a
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0xc]
mov r9d, eax
mov r8, r15
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140134720
mov r8d, ebx
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14013467f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x14013460a
test byte [rcx + 0x1c], 1
je 0x14013460a
cmp byte [rcx + 0x19], 2
jb 0x14013460a
mov edx, 0xd
lea r9, [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], edi
call fcn.140005d40
jmp 0x140134603
mov r8d, ebx
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x1401346e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x14013460a
test byte [rcx + 0x1c], 1
je 0x14013460a
cmp byte [rcx + 0x19], 2
jb 0x14013460a
mov edx, 0xe
lea r9, [rsp + 0x250]
jmp 0x14013466d
lea rax, [rsp + 0x460]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], si
jne 0x1401346ef
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x460]
call fcn.14008b570
mov ebx, eax
test eax, eax
js 0x140134719
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rdi], xmm0
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x140134742
test byte [rcx + 0x1c], 1
je 0x140134742
cmp byte [rcx + 0x19], 4
jb 0x140134742
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov r8, r15
call fcn.140004c10
mov eax, ebx
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret