joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400684b4
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
call fcn.140067fcc
test eax, eax
jne 0x1400684de
mov eax, 0x80004005
jmp 0x140068628
and qword [rbp - 0x40], 0
lea r8, str.AppID
and qword [rbp - 0x38], 0
lea rcx, [rbp - 0x40]
and qword [rbp - 0x30], 0
mov ebx, 0x20006
mov r9d, ebx
mov rdx, 0xffffffff80000000
call fcn.1400044cc
test eax, eax
je 0x140068535
mov ecx, eax
call fcn.1400036fc
mov rcx, qword [rbp - 0x40]
mov ebx, eax
test rcx, rcx
je 0x14006852e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140068628
and qword [rbp - 0x28], 0
lea rsi, [0x14015b3b0]
and qword [rbp - 0x20], 0
lea rcx, [rbp - 0x28]
and qword [rbp - 0x18], 0
mov r9d, ebx
mov rbx, qword [rbp - 0x40]
mov r8, rsi
mov rdx, rbx
call fcn.1400044cc
test eax, eax
je 0x14006859e
mov ecx, eax
call fcn.1400036fc
mov rcx, qword [rbp - 0x28]
mov edi, eax
test rcx, rcx
je 0x140068583
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x140068597
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
jmp 0x140068628
mov rdi, qword [rbp - 0x28]
test rdi, rdi
jne 0x1400685bf
lea r8, str.m_hKey___0
mov edx, 0x1544
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008ac24
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
xor r8d, r8d
mov qword [rbp - 0x20], rsi
lea rax, str.APPID
xorps xmm0, xmm0
lea r9, [rbp - 0x28]
mov qword [rbp - 0x28], rax
movdqu xmmword [rbp - 0x18], xmm0
lea edx, [r8 + 0x67]
call fcn.140005938
mov esi, eax
test rdi, rdi
je 0x140068612
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x140068626
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, esi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14008b0c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
test rcx, rcx
jne 0x14008b0f1
lea edx, [rcx + 0x3b]
lea rcx, str.base_stor_blbutil_networkutils.cpp
lea r8, str.wszNetworkShare
call fcn.14008ac24
and qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
xor edi, edi
mov rcx, rbx
mov qword [rsp + 0x58], rdi
or rsi, 0xffffffffffffffff
call fcn.14008c48c
mov ebx, eax
test eax, eax
js 0x14008b1e8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14008b160
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14008b14a
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x80070005
jne 0x14008b1e8
mov ebx, 0x80780047
jmp 0x14008b1e8
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, str.TempFile.tmp
call fcn.14008bdcc
mov ebx, eax
test eax, eax
js 0x14008b1e3
and qword [rsp + 0x30], rdi
xor r9d, r9d
mov rdi, qword [rsp + 0x58]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x4000080
mov rcx, rdi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14008b1e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14008b1d2
movzx eax, ax
or eax, 0x80070000
mov ebx, 0x80780047
cmp eax, 0x80070005
cmove eax, ebx
mov ebx, eax
jmp 0x14008b1e8
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
cmp rsi, 0xffffffffffffffff
je 0x14008b21d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14008e85c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
lea r12, [0x14015e1c0]
mov ebp, 1
cmp rcx, r14
je 0x14008e8c0
test byte [rcx + 0x1c], bpl
je 0x14008e8c0
cmp byte [rcx + 0x19], 4
jb 0x14008e8c0
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x17]
mov r8, r12
call fcn.140006b98
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
xor ebx, ebx
xor r9d, r9d
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
lea r8d, [rbx + 0x20]
lea ecx, [rbx + 0x5a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
jns 0x14008e931
mov ecx, eax
call fcn.140026c9c
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14008e9d4
test byte [rcx + 0x1c], 8
je 0x14008e9b2
cmp byte [rcx + 0x19], 2
jb 0x14008e9b2
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
mov r9d, eax
mov r8, r12
call fcn.140006bc4
jmp 0x14008e9ab
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14008e966
test byte [rcx + 0x1c], bpl
je 0x14008e966
cmp byte [rcx + 0x19], 4
jb 0x14008e966
mov r9d, dword [rsp + 0x30]
mov edx, 0x1a
mov rcx, qword [rcx + 0x10]
mov r8, r12
call fcn.140011750
mov rcx, qword [0x14017a048]
cmp dword [rsp + 0x30], 2
movzx edi, bl
cmove edi, ebp
cmp rcx, r14
je 0x14008e9a8
test byte [rcx + 0x1c], bpl
je 0x14008e9a8
cmp byte [rcx + 0x19], 4
jb 0x14008e9a8
mov rcx, qword [rcx + 0x10]
lea rax, [0x140158f68]
test dil, dil
lea r9, [0x140158f60]
mov edx, 0x1b
mov r8, r12
cmove r9, rax
call fcn.1400112c8
mov byte [rsi], dil
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x14008e9d4
test byte [rcx + 0x1c], bpl
je 0x14008e9d4
cmp byte [rcx + 0x19], 4
jb 0x14008e9d4
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r8, r12
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x14008f1f4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
lea r9, [rsp + 0x68]
mov qword [rdx], r15
mov r14, rdx
xor edx, edx
mov dword [rsp + 0x70], r15d
xor r8d, r8d
mov rbp, rcx
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14008f25e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
je 0x14008f25e
test eax, eax
jg 0x14008f250
mov ebx, eax
jmp 0x14008f335
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14008f335
mov ecx, dword [rsp + 0x68]
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14008f283
mov ebx, 0x8007000e
jmp 0x14008f339
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14008f2c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14008f326
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14008f326
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], r15w
jne 0x14008f2c4
test edi, edi
je 0x14008f326
lea eax, [rdi + 1]
lea rcx, [rax + rax]
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r11, rax
test rax, rax
jne 0x14008f2f6
mov ebx, 0x8007000e
jmp 0x14008f326
mov r8, rsi
mov rdx, rbx
mov rcx, r11
call fcn.140038040
mov ebx, eax
test eax, eax
js 0x14008f317
lea ecx, [rdi - 1]
mov word [r11 + rcx*2], r15w
mov qword [r14], r11
jmp 0x14008f326
mov rcx, r11
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x14008f374
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14008f374
test byte [rcx + 0x1c], 1
je 0x14008f374
cmp byte [rcx + 0x19], 3
jb 0x14008f374
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e1c0]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140011330
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008f598
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push r13
push r14
sub rsp, 0x40
and qword [rdx], 0
mov rsi, rdx
and qword [rax + 0x18], 0
lea rdx, [rax + 0x18]
mov r14, rcx
call fcn.14008c314
lea r13, [0x14017a048]
mov ebx, eax
test eax, eax
js 0x14008f728
and qword [rsp + 0x30], 0
mov r8d, 3
and dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x80]
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14008f66c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14008f656
test byte [rcx + 0x1c], 1
je 0x14008f656
cmp byte [rcx + 0x19], 2
jb 0x14008f656
mov r9, qword [rsp + 0x80]
lea edx, [rbp + 0xc]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e1c0]
mov dword [rsp + 0x20], eax
call fcn.14003d060
mov rcx, qword [0x14017a048]
test ebx, ebx
jle 0x14008f72f
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14008f72f
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x78]
and qword [rsp + 0x88], 0
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], 8
mov edx, 0x7405c
mov qword [rsp + 0x20], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14008f70e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x14008f6ff
test byte [rcx + 0x1c], 1
je 0x14008f6ff
cmp byte [rcx + 0x19], 2
jb 0x14008f6ff
mov r9, qword [rsp + 0x80]
lea r8, [0x14015e1c0]
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov dword [rsp + 0x20], eax
call fcn.14003d060
test ebx, ebx
jle 0x14008f719
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14008f719
mov rax, qword [rsp + 0x88]
mov qword [rsi], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp qword [rsp + 0x80], 0
je 0x14008f755
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x14008f789
cmp rcx, r13
je 0x14008f789
test dword [rcx + 0x1c], 0x200
je 0x14008f789
cmp byte [rcx + 0x19], 2
jb 0x14008f789
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e1c0]
mov edx, 0xd
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140011330
mov eax, ebx
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008fd60
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test rcx, rcx
jne 0x14008fd8c
lea r8, str.wcsPath
mov edx, 0x817
lea rcx, str.base_stor_blbutil_fileutils.cpp
call fcn.14008ac24
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14008fe27
xor r9d, r9d
xor r8d, r8d
mov dl, dil
mov rcx, rbx
call fcn.14009247c
test eax, eax
js 0x14008fe29
mov edx, 0x2000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x14008fe27
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14008fe16
test byte [rcx + 0x1c], 2
je 0x14008fe16
cmp byte [rcx + 0x19], 2
jb 0x14008fe16
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x40
mov r9d, ebx
call fcn.140011750
test ebx, ebx
jle 0x14008fe23
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x14008fe29
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140091588
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edi, edi
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400915d1
lea r8, str.wszFilePath___NULL
mov edx, 0x7a0
lea rcx, str.base_stor_blbutil_fileutils.cpp
call fcn.14008ac24
test rsi, rsi
jne 0x1400915ee
lea r8, str.pwszVolumePath___NULL
mov edx, 0x7a1
lea rcx, str.base_stor_blbutil_fileutils.cpp
call fcn.14008ac24
xor edx, edx
mov qword [rsi], rdi
mov r8d, 0x208
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14009165c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1400916d5
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400916d5
mov r8d, 0x104
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x1400916db
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14009169a
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jne 0x1400916d7
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400916d0
test byte [rcx + 0x1c], 1
je 0x1400916d0
cmp byte [rcx + 0x19], 2
jb 0x1400916d0
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x3e]
lea r8, [0x14015e3d8]
call fcn.140006b98
mov ebx, 0x8000ffff
test ebx, ebx
jns 0x140091714
jmp 0x140091705
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x240]
call fcn.14008c1cc
mov ebx, eax
test eax, eax
js 0x140091700
mov rcx, qword [rsp + 0x20]
mov qword [rsi], rcx
jmp 0x140091714
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140093148
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 r12
push r13
push r14
sub rsp, 0x30
mov r14, rdx
mov rbp, rcx
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
lea r13, [0x14015e7f8]
cmp rcx, r12
je 0x1400931a2
test byte [rcx + 0x1c], 1
je 0x1400931a2
cmp byte [rcx + 0x19], 4
jb 0x1400931a2
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r8, r13
call fcn.140006b98
xor ebx, ebx
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14009321e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x1400931d4
mov ebx, eax
jmp 0x1400931dd
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400932d1
test byte [rcx + 0x1c], 1
je 0x1400932d1
cmp byte [rcx + 0x19], 2
jb 0x1400932d1
mov edx, 0xb
mov rcx, qword [rcx + 0x10]
mov r9, rbp
mov r8, r13
mov dword [rsp + 0x20], ebx
call fcn.140011330
jmp 0x1400932d1
mov rcx, rsi
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140093242
mov ebx, 0x8007000e
jmp 0x1400932d1
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14009329a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14009326f
mov ebx, eax
jmp 0x140093278
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400932d1
test byte [rcx + 0x1c], 1
je 0x1400932d1
cmp byte [rcx + 0x19], 2
jb 0x1400932d1
mov edx, 0xc
jmp 0x140093206
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400932cb
test byte [rcx + 0x1c], 1
je 0x1400932cb
cmp byte [rcx + 0x19], 4
jb 0x1400932cb
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
mov r9, rbp
mov qword [rsp + 0x20], rdi
mov r8, r13
call fcn.1400113b0
mov qword [r14], rdi
mov rdi, rbx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x140093309
test byte [rcx + 0x1c], 1
je 0x140093309
cmp byte [rcx + 0x19], 4
jb 0x140093309
mov rcx, qword [rcx + 0x10]
mov edx, 0xe
mov r8, r13
call fcn.140006b98
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret
Function at 0x140093334
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0x10], 0
lea r8, [rax + 0x10]
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x14009337c
lea r8, str._fRet
mov edx, 0x78
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008ac24
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140093397
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x800700ea
jne 0x14009342a
mov ecx, dword [rsp + 0x38]
xor ebx, ebx
inc ecx
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400933c9
mov ebx, 0x8007000e
jmp 0x14009342a
mov r8d, dword [rsp + 0x38]
xor edx, edx
inc r8d
mov rcx, rdi
add r8, r8
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x38]
mov rdx, rdi
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140093427
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140093416
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14009342a
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140093e64
Capabilities:
Get common file path

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, 0x20
mov rbx, rcx
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x140093eb4
test byte [rcx + 0x1c], 1
je 0x140093eb4
cmp byte [rcx + 0x19], 4
jb 0x140093eb4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x8f
call fcn.140006b98
test rbx, rbx
jne 0x140093ed1
lea r8, str.pwszWindowsTempPath
mov edx, 0xa75
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008ac24
and qword [rbx], 0
mov ecx, 0x28
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140093ef8
mov ebx, 0x8007000e
jmp 0x14009403a
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov rdx, rdi
movups xmmword [rdi + 0x10], xmm0
lea ecx, [rax + 0x14]
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0x14
jbe 0x140093fd5
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, esi
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x140093fce
mov ecx, eax
mov ebp, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140093eee
mov r8d, ebp
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
cmp eax, esi
ja 0x140093f89
test eax, eax
jne 0x140094035
test eax, eax
jne 0x140093faa
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140093faf
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140093faf
mov ebx, 0x8007000e
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140094024
test byte [rcx + 0x1c], 1
je 0x140094024
cmp byte [rcx + 0x19], 2
jb 0x140094024
mov edx, 0x90
jmp 0x140094011
mov ebx, 0x80070216
jmp 0x14009403a
test eax, eax
jne 0x140094035
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140093ff4
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140094024
test byte [rcx + 0x1c], 1
je 0x140094024
cmp byte [rcx + 0x19], 2
jb 0x140094024
mov edx, SysAllocStringByteLen
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov r9d, ebx
call fcn.140006bc4
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14009403a
mov qword [rbx], rdi
xor ebx, ebx
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x140094067
test byte [rcx + 0x1c], 1
je 0x140094067
cmp byte [rcx + 0x19], 4
jb 0x140094067
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, DllRegisterServer
call fcn.140006b98
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14009408c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, rcx
mov qword [rax + 8], rbx
test rcx, rcx
jne 0x1400940c7
lea r8, str.pwszBlbWindowsDirectoryPath___NULL
mov edx, 0x63c
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008ac24
and qword [r14], rbx
mov edi, 0x208
mov ecx, edi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1400940ec
mov edi, 0x8007000e
jmp 0x140094158
mov r8, rdi
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x140094135
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14008c48c
mov edi, eax
test eax, eax
js 0x140094130
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
jmp 0x140094135
mov rbx, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rbx, rbx
je 0x140094158
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret