joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400654d0
Capabilities:
Check if file exists

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 [0x14037e040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1402faf80]
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.1401250e0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14011a140
cmp byte [rdi + 0x17], 0
jns 0x140065552
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400655e5
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 0x1400655c8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x140065611
call fcn.140125100
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 0x1400655e5
call fcn.140125100
mov rcx, r14
call fcn.140113440
lea rcx, [rsp + 0x60]
call fcn.14011a1c0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x1400655c0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1402faf80]
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.1401250e0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14011a140
cmp byte [rdi + 0x17], 0
jns 0x140065692
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.14011a1c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14016cc60
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400656e0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a5660
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14006577f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14018deb4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140125dc0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140078c10
mov rcx, rsi
mov rdx, r14
call fcn.140077280
mov rcx, r14
call fcn.140125f00
mov rcx, rbx
call fcn.140125f00
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400657b0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401a5660
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 0x140065845
cmp word [rsp + 0x70], 0
je 0x140065845
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14018deb4
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140125dc0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14016cc60
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 [0x1402faf80]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140125d60
mov rcx, rdi
call fcn.1400656e0
test al, al
jne 0x140065897
lea rax, [0x1403157f6]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140125dc0
jmp 0x1400658a4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140077260
lea rcx, [rsp + 0x40]
call fcn.140125f00
jmp 0x140065827
Function at 0x140065d60
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 [0x14037e040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x140392294], 0
jne 0x140065f32
mov rsi, rcx
movaps xmm6, xmmword [0x1402faf80]
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.1401250e0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14011a140
test rsi, rsi
je 0x140065f36
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140125d60
mov ecx, 0x65
mov rdx, rdi
call fcn.140068490
test al, al
je 0x140065f39
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.140078ae0
mov rcx, rdi
mov rdx, rbx
call fcn.140077280
mov rcx, rbx
call fcn.140125f00
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.1401250e0
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14011a140
cmp byte [rsp + 0x47], 0
jns 0x140065eb3
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14011a1c0
cmp edi, 0xffffffff
je 0x140065f39
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400654d0
test al, al
je 0x140065f39
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140125f10
mov rcx, rdi
call fcn.140125f00
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.14011a1c0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14016cc60
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 0x140065f09
int3
lea rcx, [rsp + 0x30]
call fcn.140125f00
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140125d60
mov ecx, 0x67
mov rdx, rdi
call fcn.140068490
test al, al
je 0x140065ff6
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.1401250e0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14011a140
cmp byte [rsp + 0x47], 0
jns 0x140065fc1
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14011a1c0
cmp edi, 0xffffffff
je 0x140065ff6
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400654d0
test al, al
jne 0x140065ee4
lea rcx, [rsp + 0x30]
call fcn.140125f00
xor esi, esi
jmp 0x140065eff
Function at 0x140066010
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
movaps xmm6, xmmword [0x1402faf80]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0xa0]
mov rcx, r14
mov r9d, 0x2f7
call fcn.1401250e0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14011a140
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x140066098
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400660e4
mov bl, 1
test al, 0x10
je 0x140066281
lea rcx, [rsp + 0x40]
call fcn.14011a1c0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.140125f70
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x14006611a
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x140066232
sete dl
test rcx, rcx
setne r8b
or r8b, dl
je 0x140066232
movsx rdx, byte [rsp + 0x37]
test rdx, rdx
cmovs rdx, qword [rsp + 0x28]
cmovs r14, qword [rsp + 0x20]
test rdx, rdx
js 0x140066232
sete r8b
test r14, r14
setne r9b
or r9b, r8b
je 0x140066232
cmp rdx, rax
je 0x140066234
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140066010
test al, al
je 0x14006626c
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x1400661a6
lea rcx, [rsp + 0x20]
call fcn.140125f00
jmp 0x1400660b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x140066273
lea r14, [rsp + 0xa0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x80]
mov rcx, r15
mov r9d, 0x236
call fcn.1401250e0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14011a140
cmp byte [rdi + 0x17], 0
jns 0x14006620f
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, r14
call fcn.14011a1c0
cmp edi, 0xffffffff
je 0x140066273
and edi, 0x10
jne 0x140066197
jmp 0x140066273
ud2
test rax, rax
je 0x140066253
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x140066171
inc rdx
cmp rax, rdx
jne 0x14006623b
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x140066264
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x140066197
test rsi, rsi
je 0x140066264
mov ecx, ebp
call fcn.1400649b0
jmp 0x140066262
test rsi, rsi
je 0x14006628c
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400660b0
Function at 0x1400667e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402faf80]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1403158a4]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x403
call fcn.1401250e0
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14011a140
cmp byte [r14 + 0x17], 0
jns 0x140066866
mov r14, qword [r14]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, r14
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400668bd
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x140066952
call fcn.140125100
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x14006690d
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14006690d
lea r14, [rsp + 0x40]
mov dword [r14], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [r14]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, esi
mov ebp, 0xffffffff
cmove ebp, ecx
or ebp, edx
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140066924
call fcn.140125100
mov rcx, rbx
call fcn.140113440
lea rcx, [rsp + 0x60]
call fcn.14011a1c0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400668b5

Function at 0x140066960
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x1402faf80]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1403158ae]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x43c
call fcn.1401250e0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14011a140
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a5660
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x140066a54
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14018deb4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140125dc0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140078c10
mov rcx, rsi
mov rdx, r14
call fcn.140077280
mov rcx, r14
call fcn.140125f00
mov rcx, rbx
call fcn.140125f00
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14011a1c0
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140066a90
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1402faf80]
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, [0x1403158c3]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x44c
call fcn.1401250e0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14011a140
cmp byte [rdi + 0x17], 0
jns 0x140066b02
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.14011a1c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140066fe0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1401a5660
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400674d0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402faf80]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1400676c0
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14006707a
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14006714e
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1401a5660
mov rcx, r15
mov rdx, r14
call fcn.140067670
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x14006718b
mov rcx, r14
call fcn.1400673c0
test al, al
jne 0x1400671e0
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x1400670e8
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x1400671d9
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.140024880
mov rcx, r15
mov rdx, r14
call fcn.1400676c0
mov rcx, rdi
mov rdx, r14
call fcn.140077280
mov rcx, r14
call fcn.140125f00
movsx rax, byte [rsp + 0x57]
test rax, rax
jns 0x140067142
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x1400670a1
lea rcx, [rsp + 0x40]
call fcn.140125f00
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.140067600
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x1400671b3
cmp byte [rsp + 0x57], 0
js 0x1400671a0
lea rcx, [rsp + 0x40]
jmp 0x1400671a5
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400670c9
lea rcx, [rsp + 0x58]
call fcn.1400673c0
test al, al
jne 0x1400671c7
mov edx, dword [rsp + 0x58]
jmp 0x140067192
lea rcx, [rsp + 0x58]
call fcn.1400673c0
test al, al
je 0x1400670d9
xor ebp, ebp
jmp 0x140067105
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140067105
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140066fe0
mov ebp, eax
test eax, eax
jne 0x140067105
cmp byte [rsp + 0x57], 0
jns 0x14006721d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140067105
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140067105
Function at 0x1400697f0
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 [0x14037e040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x1400699a0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14018b594
movaps xmm6, xmmword [0x1402faf80]
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.1401250e0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14011a140
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.140181bdc
mov ecx, eax
call fcn.14018269c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400699a4
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 [0x14036e598]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14018b21c
test rax, rax
je 0x140069943
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x1400699af
add r15, r12
mov rcx, rbx
call fcn.14018aa84
test eax, eax
je 0x1400699b3
mov r12, r15
mov rcx, rbx
call fcn.14018aab0
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 [0x14036e598]
lea rcx, [rsp + 0x80]
call fcn.14011a1c0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14016cc60
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 0x140069975
mov r14d, 0xffff
jmp 0x1400698e1
xor ebx, ebx
jmp 0x140069953
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 [0x14036e598]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140069906
Function at 0x140073d80
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140073f40
mov eax, dword [rsi]
mov dword [0x1403809ac], eax
mov bl, 1
test al, 1
jne 0x140073dc7
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14016cc60
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1403923f0]
test rcx, rcx
je 0x140073df5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1403923f0], 0
cmp qword [0x1403923f8], 0
jne 0x140073df5
and byte [0x1403809ac], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140073e1e
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140073e0c
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140073e97
mov qword [0x1403923f0], rax
jmp 0x140073dae
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140073e2c
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140073ee6
lea rdi, [rsi + 8]
mov rcx, qword [0x1403923f8]
test rcx, rcx
jne 0x140073e67
mov ecx, 0x18
call fcn.14016b6ec
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1403923f8], rax
mov rdx, rdi
call fcn.140109c70
cmp dword [rsi + 0x24], 0
jne 0x140073e8b
mov rcx, qword [0x1403923f8]
cmp byte [rcx + 0x17], 0
jns 0x140073e85
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1401dc980
mov ebx, eax
jmp 0x140073dae
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x232
call fcn.1401250e0
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.1401dfc00
mov rcx, r14
call fcn.1401dfe10
mov rax, qword [rsi + 0x28]
jmp 0x140073e15
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x238
call fcn.1401250e0
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.1401dfc00
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.1401dc950
mov rcx, rbx
call fcn.1401dfe10
jmp 0x140073e35