joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a788c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x58], rax
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x38]
xorps xmm0, xmm0
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.140092664
mov ebx, eax
test eax, eax
js 0x1400a7970
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400a7951
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400a7941
test byte [rcx + 0x1c], 2
je 0x1400a7941
cmp byte [rcx + 0x19], 2
jb 0x1400a7941
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015ac58]
mov edx, 0x65
mov r9d, edi
call fcn.140004b9c
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a7970
cmp dword [rsp + 0x30], 0x20
je 0x1400a7970
lea r8, str.dwWritten__sizeof_rgChecksum_
mov edx, 0xd2f
lea rcx, [0x14015a3d8]
call fcn.1400876c8
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014b700
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400aba3c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebp, r8d
mov rsi, r9
mov r15, rdx
mov rdi, rcx
test r9, r9
jne 0x1400aba81
lea r8, str.pAtom___NULL
mov edx, 0x10ec
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.1400876c8
test r15, r15
jne 0x1400aba9e
lea r8, str.pbVal___NULL
mov edx, 0x10ed
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.1400876c8
or dword [rsi], 0xffffffff
xor eax, eax
test ebp, ebp
je 0x1400ababd
mov rdx, r15
mov r8, rbp
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400abaad
xor edx, edx
div dword [rdi]
mov rax, qword [rdi + 0x10]
mov ebx, edx
mov r9d, edx
mov rdx, qword [rax + rdx*8]
test rdx, rdx
je 0x1400abb92
mov r8, qword [rdi + 0x18]
mov ecx, ebx
shr r9, 5
and ecx, 0x1f
mov eax, dword [r8 + r9*4]
bt eax, ecx
jb 0x1400abb38
cmp byte [rdx], 9
jne 0x1400abb92
lea rax, [rdx + 1]
and eax, 7
lea r13, [0x14015afa8]
mov ecx, dword [r13 + rax*4]
mov eax, dword [rcx + rdx + 1]
test eax, eax
jne 0x1400abb15
xor ecx, ecx
jmp 0x1400abb1c
add rcx, 5
add rcx, rdx
cmp eax, ebp
jne 0x1400abb92
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400abb92
shl ebx, 0xb
mov dword [rsi], ebx
xor eax, eax
jmp 0x1400abb97
mov r12d, dword [rdx]
lea r14, [rdx + 8]
xor edi, edi
test r12d, r12d
je 0x1400abb92
lea r13, [0x14015afa8]
mov rcx, qword [r14]
cmp byte [rcx], 9
jne 0x1400abb87
lea rax, [rcx + 1]
and eax, 7
mov edx, dword [r13 + rax*4]
mov eax, dword [rdx + rcx + 1]
test eax, eax
jne 0x1400abb6d
xor ecx, ecx
jmp 0x1400abb74
add rcx, 5
add rcx, rdx
cmp eax, ebp
jne 0x1400abb87
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400abbb5
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400abb4d
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
shl ebx, 0xb
or ebx, edi
jmp 0x1400abb32
Function at 0x1400b5ed0
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 [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
movzx r13d, r8b
movzx r12d, dl
mov qword [rsp + 0x48], rcx
mov r10, qword [0x14017a048]
lea rbx, [0x14017a048]
cmp r10, rbx
je 0x1400b5f92
test byte [r10 + 0x1c], 4
je 0x1400b5f5d
cmp byte [r10 + 0x19], 4
jb 0x1400b5f5d
mov rcx, qword [r10 + 0x10]
lea r8, [0x14015c278]
mov edx, 0x60
call fcn.140004b70
mov r10, qword [0x14017a048]
cmp r10, rbx
je 0x1400b5f92
test byte [r10 + 0x1c], 4
je 0x1400b5f92
cmp byte [r10 + 0x19], 5
jb 0x1400b5f92
mov rcx, qword [r10 + 0x10]
lea r8, [0x14015c278]
mov edx, 0x61
mov dword [rsp + 0x28], r13d
mov r9, r14
mov dword [rsp + 0x20], r12d
call fcn.140010964
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400b5f9b
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400b5fa8
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400b5fef
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14014b700
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 0x1400b6162
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]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b60d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x1400b6083
xor eax, eax
jmp 0x1400b5fca
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x1400b60ce
test byte [rcx + 0x1c], 4
je 0x1400b60ce
cmp byte [rcx + 0x19], 2
jb 0x1400b60ce
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x14015c278]
call fcn.140005ca0
mov eax, 6
jmp 0x1400b5fca
mov rax, qword [rsp + 0x48]
lea r9, [0x1400b5090]
mov r8, qword [rsp + 0x300]
mov rcx, rbx
mov edx, dword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r13d
call fcn.1400b513c
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x1400b615b
test byte [rcx + 0x1c], 4
je 0x1400b615b
cmp byte [rcx + 0x19], 4
jb 0x1400b615b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x63
call fcn.140004b70
mov eax, edi
jmp 0x1400b5fca
call fcn.14014b8d8
int3
Function at 0x1400c1960
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 [0x14017a608]
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 r14d, r8d
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
call fcn.1400d6438
mov esi, 8
lea rdx, [rbp - 0x29]
mov r8d, esi
lea rcx, [rbp + 0x27]
call fcn.1400d6aa0
mov r9d, dword [rbp - 0x29]
lea eax, [rsi + 0x30]
shr r9d, 3
lea r8d, [rsi + 0x70]
and r9d, 0x3f
lea rdx, [0x14017aa10]
sub eax, r9d
lea rcx, [rbp - 0x39]
sub r8d, r9d
cmp r9d, 0x38
cmovb r8d, eax
call fcn.1400d6438
mov r8d, esi
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400d6438
mov esi, 0x10
lea rdx, [rbp - 0x39]
mov r8d, esi
mov rcx, rdi
call fcn.1400d6aa0
xor edx, edx
lea rcx, [rbp - 0x39]
lea r8d, [rsi + 0x48]
call sub.msvcrt.dll_memset
mov rdx, rdi
mov rcx, rbx
sub rdx, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub rsi, 1
jne 0x1400c1a39
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x1400c1ad6
test byte [rcx + 0x1c], 4
je 0x1400c1a99
cmp byte [rcx + 0x19], 5
jb 0x1400c1a99
mov eax, dword [rdi + 0xc]
mov edx, 0x1f5
mov rcx, qword [rcx + 0x10]
mov r9d, r14d
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.1400b2a2c
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1400c1ad6
test byte [rcx + 0x1c], 4
je 0x1400c1ad6
cmp byte [rcx + 0x19], 5
jb 0x1400c1ad6
mov eax, dword [rbx + 0xc]
mov edx, 0x1f6
mov rcx, qword [rcx + 0x10]
mov r9d, r14d
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.1400b2a2c
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14014b700
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400c1af8
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 [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x1400c1b65
test byte [rcx + 0x1c], 4
je 0x1400c1b65
cmp byte [rcx + 0x19], 5
jb 0x1400c1b65
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.1400b34a8
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x1400c1c11
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400c1bdc
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c1c55
test byte [rcx + 0x1c], 4
je 0x1400c1c55
cmp byte [rcx + 0x19], 5
jb 0x1400c1c55
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1f8
call fcn.140004b70
jmp 0x1400c1c55
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c1c0c
test byte [rcx + 0x1c], 4
je 0x1400c1c0c
cmp byte [rcx + 0x19], 2
jb 0x1400c1c0c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1f9
mov r9d, edi
call fcn.140004b9c
mov qword [rbx], rdi
jmp 0x1400c1c41
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c1c3e
test byte [rcx + 0x1c], 4
je 0x1400c1c3e
cmp byte [rcx + 0x19], 5
jb 0x1400c1c3e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1fa
call fcn.140004b70
mov rsi, rdi
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
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 0x1400c1fa8
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 [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x1400c2015
test byte [rcx + 0x1c], 4
je 0x1400c2015
cmp byte [rcx + 0x19], 5
jb 0x1400c2015
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.1400b34a8
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x1400c20c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400c208c
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c2105
test byte [rcx + 0x1c], 4
je 0x1400c2105
cmp byte [rcx + 0x19], 5
jb 0x1400c2105
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1fe
call fcn.140004b70
jmp 0x1400c2105
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c20bc
test byte [rcx + 0x1c], 4
je 0x1400c20bc
cmp byte [rcx + 0x19], 2
jb 0x1400c20bc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1ff
mov r9d, edi
call fcn.140004b9c
mov qword [rbx], rdi
jmp 0x1400c20f1
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400c20ee
test byte [rcx + 0x1c], 4
je 0x1400c20ee
cmp byte [rcx + 0x19], 5
jb 0x1400c20ee
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x200
call fcn.140004b70
mov rsi, rdi
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
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 0x1400d58b8
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor r9d, r9d
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop dword [rax + rax]
test eax, eax
jne 0x1400d58e1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetEndOfFile]
Function at 0x1400d6d10
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 [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x1400d6d69
test byte [rcx + 0x1c], 4
je 0x1400d6d69
cmp byte [rcx + 0x19], 4
jb 0x1400d6d69
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c7d8]
mov edx, 0xa
call fcn.140004b70
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 0x1400d6db7
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 [0x14017a048]
cmp rcx, r15
je 0x1400d6eeb
test byte [rcx + 0x1c], 4
je 0x1400d6e58
cmp byte [rcx + 0x19], 4
jb 0x1400d6e58
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r9d
mov r9d, r8d
lea r8, [0x14015c7d8]
call fcn.1400b29d0
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400d6eeb
test byte [rcx + 0x1c], 4
je 0x1400d6e93
cmp byte [rcx + 0x19], 4
jb 0x1400d6e93
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.1400d6bd4
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400d6eeb
test byte [rcx + 0x1c], 4
je 0x1400d6ec5
cmp byte [rcx + 0x19], 4
jb 0x1400d6ec5
movzx r9d, byte [rbx + 0x70]
lea r8, [0x14015c7d8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
call fcn.140004b9c
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400d6eeb
test byte [rcx + 0x1c], 4
je 0x1400d6eeb
cmp byte [rcx + 0x19], 4
jb 0x1400d6eeb
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c7d8]
mov edx, 0xe
call fcn.140004b70
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 0x1400edaac
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]
nop dword [rax + rax]
xor r14d, r14d
mov ebp, eax
test eax, eax
jne 0x1400edb00
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.14014c190
mov rcx, qword [rdi + 0x10]
mov r8d, ebp
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x1400edb52
xor r9d, r9d
lea edx, [rsi + 2]
xor r8d, r8d
mov ecx, 0x80070057
call qword [sym.imp.KERNEL32.dll_RaiseException]
test rbx, rbx
jne 0x1400edb65
mov rax, qword [rdi + 0x10]
mov word [rax], r14w
mov dword [rdi + 0x18], r14d
jmp 0x1400edb99
inc rsi
cmp word [rbx + rsi*2], r14w
jne 0x1400edb65
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.1400e6520
test eax, eax
jns 0x1400edb99
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 0x1400f0da8
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 0x1400f0de3
lea r8, str.pdwValue
mov edx, 0x46e
lea rcx, str.base_stor_blbcoresdk_smart_smartregistry.hpp
call fcn.1400876c8
mov ebx, 0x80004005
jmp 0x1400f0e41
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400f0df3
mov ebx, 0x8000ffff
jmp 0x1400f0e41
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]
nop dword [rax + rax]
test eax, eax
je 0x1400f0e34
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400f0e41
cmp dword [rsp + 0x68], 4
jne 0x1400f0ddc
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 0x1400fdf50
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.14008eb68
mov ebx, eax
test eax, eax
js 0x1400fdfca
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1400fdf9f
mov byte [rsi], 1
jmp 0x1400fdfc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
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 0x1400fe005
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400fe005
test byte [rcx + 0x1c], 1
je 0x1400fe005
cmp byte [rcx + 0x19], 2
jb 0x1400fe005
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140005ca0
cmp qword [rsp + 0x48], r14
je 0x1400fe01d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
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 0x1400fe03c
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]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1400fe06f
test al, 0x10
jne 0x1400fe0c8
mov byte [rdi], 1
jmp 0x1400fe0c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400fe0c8
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400fe0c8
test byte [rcx + 0x1c], 1
je 0x1400fe0c8
cmp byte [rcx + 0x19], 2
jb 0x1400fe0c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005ca0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400fe0e4
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 [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x1400fe133
test byte [rcx + 0x1c], 1
je 0x1400fe133
cmp byte [rcx + 0x19], 5
jb 0x1400fe133
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0xc
call fcn.140004b70
test rdi, rdi
jne 0x1400fe150
lea r8, str.pbIsReparsePoint___NULL
mov edx, 0xab
lea rcx, str.base_stor_blbengine_blbengutils_blbfsutils.cpp
call fcn.1400876c8
mov rcx, rsi
mov byte [rdi], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x1400fe1aa
bt eax, 0xa
jae 0x1400fe1fc
mov byte [rdi], 1
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400fe229
test byte [rcx + 0x1c], 1
je 0x1400fe203
cmp byte [rcx + 0x19], 4
jb 0x1400fe203
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xd]
mov r9, rsi
lea r8, [0x1401614b8]
call fcn.140005c30
jmp 0x1400fe1fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400fe1fc
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400fe229
test byte [rcx + 0x1c], 1
je 0x1400fe203
cmp byte [rcx + 0x19], 2
jb 0x1400fe203
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0xe
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140005ca0
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400fe229
test byte [rcx + 0x1c], 1
je 0x1400fe229
cmp byte [rcx + 0x19], 5
jb 0x1400fe229
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614b8]
mov edx, 0xf
call fcn.140004b70
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret