joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c350
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov esi, r8d
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [0x1401131b0]
movaps xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov r9d, r8d
or r9d, 0x10009
lea rax, [rsp + 0x60]
mov qword [rax], rbx
mov qword [rsp + 0x20], rax
mov r8d, 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002c43b
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x40]
mov qword [rcx], rdi
mov eax, esi
and eax, 0x300
mov dword [rcx + 8], eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx], rax
mov rdx, rbx
call fcn.14002c530
cmp byte [rbx + 4], 0
jne 0x14002c509
lea rdx, [0x140115888]
xor ebx, ebx
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x14002c459
test rdi, rdi
je 0x14002c416
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14002c512
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002c443
call fcn.140094250
int3
cmp eax, 2
cmovne ebx, eax
jmp 0x14002c416
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x200
call fcn.140092d3c
mov r14, rax
mov r8d, 0x200
mov rcx, rax
xor edx, edx
call fcn.1400d2610
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x60], 0x100
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov rcx, rdi
xor edx, edx
mov r8, r14
mov r9, rbx
call r15
test eax, eax
jne 0x14002c4d6
mov eax, dword [rsp + 0x60]
cmp rax, 0x100
jae 0x14002c521
cmp word [r14 + rax*2], 0
jne 0x14002c524
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, r14
mov r8d, esi
call fcn.14002c350
test eax, eax
je 0x14002c485
jmp 0x14002c4db
mov rdi, qword [rsp + 0x40]
lea rdx, [0x140115888]
mov rcx, rdi
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test r14, r14
je 0x14002c408
mov rcx, r14
call fcn.140092d44
jmp 0x14002c408
mov ebx, dword [rsp + 0x60]
jmp 0x14002c408
mov edx, 1
call fcn.14002c860
jmp 0x14002c424
int3
int3
Function at 0x14002c530
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x3c]
mov dword [r9], 0
mov rcx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SymbolicLinkValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x14002c5a0
mov byte [rsi], 0
xor eax, eax
mov byte [rsi + 4], al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002c596
call fcn.140094250
int3
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
test eax, eax
jne 0x14002c5ee
cmp dword [rsp + 0x3c], 6
jne 0x14002c577
mov rcx, qword [rdi]
call sub.ntdll.dll_NtDeleteKey
test eax, eax
je 0x14002c5f4
mov edi, eax
mov eax, dword [0x14014bf60]
mov ecx, dword [0x140148ee0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002c603
mov rax, qword [0x14014bf58]
test rax, rax
je 0x14002c5fc
mov ecx, edi
call qword [0x14012df88]
mov dword [rsi], eax
mov al, 1
jmp 0x14002c57c
mov dword [rsi], 0
jmp 0x14002c5f0
mov eax, 5
jmp 0x14002c5ee
lea rcx, [0x14014bf60]
call fcn.140092d5c
cmp dword [0x14014bf60], 0xffffffff
jne 0x14002c5da
lea rcx, [0x14011f964]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14014bf58], rax
lea rcx, [0x14014bf60]
call fcn.140092e10
jmp 0x14002c5da

Function at 0x14002c650
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 4
lea r9, [rsp + 0x44]
mov dword [r9], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c6c1
mov ecx, dword [rsp + 0x44]
add ecx, 0xfffffffd
mov eax, 0x3f4
cmp ecx, 1
ja 0x14002c6c1
cmp dword [rsp + 0x40], 4
jne 0x14002c6c1
mov eax, dword [rsp + 0x3c]
mov dword [rsi], eax
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002c6d8
call fcn.140094250
int3
add rsp, 0x50
pop rsi
ret
Function at 0x14002c6e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400941f0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400d2610
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c774
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14002c79b
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.14002b730
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002c78e
call fcn.140094250
int3
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp eax, 2
jne 0x14002c7e3
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d2610
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002c7ea
lea rdx, [rsp + 0x40]
jmp 0x14002c76a
mov eax, 0x3f4
jmp 0x14002c774
mov eax, 0xea
jmp 0x14002c774

Function at 0x14002dac0
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x1401131b0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, [0x14011fa24]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xaf
call fcn.14007f4c0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140083950
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.1400856d0
test al, al
jne 0x14002dba6
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140085750
lea rcx, [rsp + 0x50]
call fcn.1400839e0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002db96
call fcn.140094250
int3
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.1400f66e0
jmp 0x14002db49
Function at 0x14002dcd0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401131b0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, [0x14011fa24]
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x174
call fcn.14007f4c0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140083950
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov r8d, 2
cmove r8d, edx
test bl, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x14002df45
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov r8d, ebx
rol r8d, 0x1a
and r8d, 0x80000100
or r8d, ecx
bt ebx, 0x12
jb 0x14002df1a
mov edx, ebx
shr edx, 4
and edx, 0x10000
or edx, r8d
mov ecx, ebx
shr ecx, 8
and ecx, 3
mov r8d, ebx
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r15d, ebx
and r15d, 0x400
mov ecx, r15d
shl ecx, 0x14
mov r9d, ebx
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, ebx
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r10d, ebx
shl r10d, 0xd
and r10d, 0x4000000
or r10d, ecx
mov r9d, ebx
shl r9d, 8
and r9d, 0xa000000
or r9d, r10d
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14002de33
mov rcx, qword [rdi]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp qword [rsi], rax
je 0x14002de8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002df2c
mov rax, r14
inc rax
cmp rax, 2
jb 0x14002de82
mov qword [rsi], r14
call fcn.14007f4e0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x14002deed
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x14002deff
test bl, 0xa
je 0x14002deb3
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x14002df10
lea rcx, [rsp + 0x60]
call fcn.1400839e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002dedd
call fcn.140094250
int3
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002dbc0
mov dword [rsi + 0x24], eax
jmp 0x14002deb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x14002deb3
mov rcx, rdi
call fcn.14002f430
jmp 0x14002deb9
bt ebx, 0x15
jb 0x14002df61
or r8d, 0x20000000
jmp 0x14002ddb1
call fcn.14007f4e0
mov rcx, qword [rsi]
call fcn.140076f10
mov qword [rsi], 0
jmp 0x14002de6e
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.1400f0da0
jmp 0x14002deb9
int3
Function at 0x14002e070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401131b0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20e
call fcn.14007f4c0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140083950
cmp byte [rdi + 0x17], 0
jns 0x14002e0e2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400839e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002e113
call fcn.140094250
int3
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002e120
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401131b0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x217
call fcn.14007f4c0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140083950
cmp byte [rdi + 0x17], 0
jns 0x14002e1a2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002e235
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14002e218
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14002e26b
call fcn.14007f4e0
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14002e235
call fcn.14007f4e0
mov rcx, r14
call fcn.140076f10
lea rcx, [rsp + 0x60]
call fcn.1400839e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002e259
call fcn.140094250
int3
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14002e210
Function at 0x14002e270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401131b0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x236
call fcn.14007f4c0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140083950
cmp byte [rdi + 0x17], 0
jns 0x14002e2e2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.1400839e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002e31e
call fcn.140094250
int3
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002e330
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400d2610
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002e3cf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400b3c98
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14007f640
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140036220
mov rcx, rsi
mov rdx, r14
call fcn.140034e60
mov rcx, r14
call fcn.14007f780
mov rcx, rbx
call fcn.14007f780
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002e3f2
call fcn.140094250
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14002e400
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d2610
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002e49f
cmp word [rsp + 0x70], 0
je 0x14002e49f
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400b3c98
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14007f640
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002e491
call fcn.140094250
int3
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401131b0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14007f5e0
mov rcx, rdi
call fcn.14002e330
test al, al
jne 0x14002e4f1
lea rax, [0x14011fb02]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14007f640
jmp 0x14002e4fe
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140034e40
lea rcx, [rsp + 0x40]
call fcn.14007f780
jmp 0x14002e477
Function at 0x14002e510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x14014bf84], 0
jne 0x14002e6ec
mov rsi, rcx
movaps xmm6, xmmword [0x1401131b0]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x2bc
call fcn.14007f4c0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140083950
test rsi, rsi
je 0x14002e6f0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14007f5e0
mov ecx, 0x65
mov rdx, rdi
call fcn.140043ac0
test al, al
je 0x14002e6f3
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400360e0
mov rcx, rdi
mov rdx, rbx
call fcn.140034e60
mov rcx, rbx
call fcn.14007f780
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20e
call fcn.14007f4c0
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140083950
cmp byte [rsp + 0x47], 0
jns 0x14002e663
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400839e0
cmp edi, 0xffffffff
je 0x14002e6f3
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002e120
test al, al
je 0x14002e6f3
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14007f790
mov rcx, rdi
call fcn.14007f780
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400839e0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002e6d3
call fcn.140094250
int3
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x14002e6b9
int3
lea rcx, [rsp + 0x30]
call fcn.14007f780
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14007f5e0
mov ecx, 0x67
mov rdx, rdi
call fcn.140043ac0
test al, al
je 0x14002e7b0
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20e
call fcn.14007f4c0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140083950
cmp byte [rsp + 0x47], 0
jns 0x14002e77b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400839e0
cmp edi, 0xffffffff
je 0x14002e7b0
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14002e120
test al, al
jne 0x14002e694
lea rcx, [rsp + 0x30]
call fcn.14007f780
xor esi, esi
jmp 0x14002e6af
Function at 0x14002f730
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002f8ee
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400b0f40
movaps xmm6, xmmword [0x1401131b0]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x51
call fcn.14007f4c0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140083950
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.1400a92fc
mov ecx, eax
call fcn.1400a9a9c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002f8f2
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x14012df88]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400b0bc8
test rax, rax
je 0x14002f887
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002f8fd
add r15, r12
mov rcx, rbx
call fcn.1400b0430
test eax, eax
je 0x14002f901
mov r12, r15
mov rcx, rbx
call fcn.1400b045c
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x14012df88]
lea rcx, [rsp + 0x80]
call fcn.1400839e0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
cmp rcx, qword [0x14013a040]
je 0x14002f8d3
call fcn.140094250
int3
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14002f8b9
mov r14d, 0xffff
jmp 0x14002f821
xor ebx, ebx
jmp 0x14002f897
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x14012df88]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002f846