joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140106b00
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x140484a40]
lea r14, [rsp + 0x30]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1404a1a49]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1db
call fcn.140212f30
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140205200
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1402d9b60
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140106b9f
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140209bb0
mov rcx, r14
call fcn.1401e7e80
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1402d9b60
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140106bd6
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140209bb0
mov rcx, r14
call fcn.1401e7e80
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140106bf8
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140106c04
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x140106c5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140106200
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140106c37
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140106c40
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x140106c60
test eax, eax
jne 0x140106c60
jmp 0x140106c96
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.140205290
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140106c84
call fcn.14029bbb0
int3
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 0xfffffffc
jne 0x140106ca2
call fcn.14030db40
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x140106c60

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140484a40]
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.140212f30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140205200
cmp byte [rdi + 0x17], 0
jns 0x140106d22
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140205290
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140106d53
call fcn.14029bbb0
int3
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140106d60
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140484a40]
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.140212f30
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140205200
cmp byte [rdi + 0x17], 0
jns 0x140106de2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140106e75
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 0x140106e58
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x140106eab
call fcn.140212f50
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 0x140106e75
call fcn.140212f50
mov rcx, r14
call fcn.1401fded0
lea rcx, [rsp + 0x60]
call fcn.140205290
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140106e99
call fcn.14029bbb0
int3
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140106e50

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140484a40]
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.140212f30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140205200
cmp byte [rdi + 0x17], 0
jns 0x140106f22
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.140205290
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140106f5e
call fcn.14029bbb0
int3
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140106f70
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d9b60
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14010700f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402bdc14
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140213f20
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14011b360
mov rcx, rsi
mov rdx, r14
call fcn.140119a00
mov rcx, r14
call fcn.140214060
mov rcx, rbx
call fcn.140214060
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140107032
call fcn.14029bbb0
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140107040
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1402d9b60
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 0x1401070df
cmp word [rsp + 0x70], 0
je 0x1401070df
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1402bdc14
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140213f20
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1401070d1
call fcn.14029bbb0
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 [0x140484a40]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140213ec0
mov rcx, rdi
call fcn.140106f70
test al, al
jne 0x140107131
lea rax, [0x1404a1a56]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140213f20
jmp 0x14010713e
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1401199e0
lea rcx, [rsp + 0x40]
call fcn.140214060
jmp 0x1401070b7
Function at 0x140107600
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x14052b3ac], 0
jne 0x1401077dc
mov rsi, rcx
movaps xmm6, xmmword [0x140484a40]
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.140212f30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140205200
test rsi, rsi
je 0x1401077e0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140213ec0
mov ecx, 0x65
mov rdx, rdi
call fcn.140109ce0
test al, al
je 0x1401077e3
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.14011b220
mov rcx, rdi
mov rdx, rbx
call fcn.140119a00
mov rcx, rbx
call fcn.140214060
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.140212f30
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140205200
cmp byte [rsp + 0x47], 0
jns 0x140107753
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140205290
cmp edi, 0xffffffff
je 0x1401077e3
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140106d60
test al, al
je 0x1401077e3
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140214070
mov rcx, rdi
call fcn.140214060
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140205290
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1401077c3
call fcn.14029bbb0
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 0x1401077a9
int3
lea rcx, [rsp + 0x30]
call fcn.140214060
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140213ec0
mov ecx, 0x67
mov rdx, rdi
call fcn.140109ce0
test al, al
je 0x1401078a0
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.140212f30
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140205200
cmp byte [rsp + 0x47], 0
jns 0x14010786b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140205290
cmp edi, 0xffffffff
je 0x1401078a0
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140106d60
test al, al
jne 0x140107784
lea rcx, [rsp + 0x30]
call fcn.140214060
xor esi, esi
jmp 0x14010779f
Function at 0x1401080c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x140484a40]
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, [0x1404a1aef]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x403
call fcn.140212f30
xor edi, edi
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140205200
cmp byte [rbx + 0x17], 0
jns 0x14010813f
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x140108196
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp r14, 0xffffffffffffffff
je 0x140108233
call fcn.140212f50
mov rdi, r14
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r14, [rdi + 1]
cmp r14, 2
jb 0x14010823a
mov dword [rsp + 0x40], 0xaaaaaaaa
mov rbx, qword [rsi + 8]
mov rax, rbx
shr rax, 0x20
jne 0x14010823e
mov rdx, qword [rsi]
mov qword [rsp + 0x20], 0
lea rsi, [rsp + 0x40]
mov rcx, rdi
mov r8d, ebx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
cmp dword [rsi], ebx
sete sil
and sil, al
cmp r14, 2
jb 0x1401081fe
call fcn.140212f50
mov rcx, rdi
call fcn.1401fded0
lea rcx, [rsp + 0x60]
call fcn.140205290
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140108222
call fcn.14029bbb0
int3
mov eax, esi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor edi, edi
jmp 0x14010818e
xor esi, esi
jmp 0x1401081eb
int3
Function at 0x140108250
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x140484a40]
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, [0x1404a1af9]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x43d
call fcn.140212f30
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140205200
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d9b60
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 0x140108344
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402bdc14
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140213f20
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14011b360
mov rcx, rsi
mov rdx, r14
call fcn.140119a00
mov rcx, r14
call fcn.140214060
mov rcx, rbx
call fcn.140214060
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140205290
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140108371
call fcn.14029bbb0
int3
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140108380
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140484a40]
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, [0x1404a1b0e]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x44d
call fcn.140212f30
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140205200
cmp byte [rdi + 0x17], 0
jns 0x1401083f2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140205290
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140108422
call fcn.14029bbb0
int3
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401088d0
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, 0x568
mov byte [rsp + 0x2f], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1402d9b60
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140108db0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140484a40]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140108fa0
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x14010896a
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140108a3e
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1402d9b60
mov rcx, r15
mov rdx, r14
call fcn.140108f50
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140108acd
mov rcx, r14
call fcn.140108ca0
test al, al
jne 0x140108a8c
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1401089d8
mov rcx, qword [rsp + 0x30]
call rbx
test eax, eax
jne 0x140108a85
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.1400c2430
mov rcx, r15
mov rdx, r14
call fcn.140108fa0
mov rcx, rdi
mov rdx, r14
call fcn.140119a00
mov rcx, r14
call fcn.140214060
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x140108a32
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x140108991
lea rcx, [rsp + 0x30]
call fcn.140214060
lea rcx, [rsp + 0x298]
call fcn.140108ee0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140108a6f
call fcn.14029bbb0
int3
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x1401089f5
xor ebp, ebp
cmp byte [rsp + 0x2f], 0
je 0x1401089f5
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.1401088d0
test eax, eax
jne 0x140108b20
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140108aba
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401089f5
jmp 0x1401089e2
cmp byte [rsp + 0x2f], 0
je 0x140108af5
cmp byte [rsp + 0x47], 0
js 0x140108ae2
lea rcx, [rsp + 0x30]
jmp 0x140108ae7
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1401089b9
lea rcx, [rsp + 0x48]
call fcn.140108ca0
test al, al
jne 0x140108b09
mov edx, dword [rsp + 0x48]
jmp 0x140108ad4
lea rcx, [rsp + 0x48]
call fcn.140108ca0
test al, al
je 0x1401089c9
jmp 0x140108a85
mov ebp, eax
jmp 0x1401089f5
Function at 0x14010b280
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 [0x140516040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14010b43e
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1402ba8a4
movaps xmm6, xmmword [0x140484a40]
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.140212f30
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140205200
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.1402b0c10
mov ecx, eax
call fcn.1402b16cc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14010b442
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 [0x140505c38]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1402ba52c
test rax, rax
je 0x14010b3d7
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14010b44d
add r15, r12
mov rcx, rbx
call fcn.1402b9d00
test eax, eax
je 0x14010b451
mov r12, r15
mov rcx, rbx
call fcn.1402b9d2c
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 [0x140505c38]
lea rcx, [rsp + 0x80]
call fcn.140205290
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14010b423
call fcn.14029bbb0
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 0x14010b409
mov r14d, 0xffff
jmp 0x14010b371
xor ebx, ebx
jmp 0x14010b3e7
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 [0x140505c38]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14010b396
Function at 0x140116290
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140116460
mov eax, dword [rsi]
mov dword [0x1405189cc], eax
mov bl, 1
test al, 1
jne 0x1401162e1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1401162d5
call fcn.14029bbb0
int3
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x14052b568]
test rcx, rcx
je 0x14011630f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14052b568], 0
cmp qword [0x14052b570], 0
jne 0x14011630f
and byte [0x1405189cc], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140116338
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140116326
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x1401163b1
mov qword [0x14052b568], rax
jmp 0x1401162be
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140116346
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140116400
lea rdi, [rsi + 8]
mov rcx, qword [0x14052b570]
test rcx, rcx
jne 0x140116381
mov ecx, 0x18
call fcn.14029a62c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14052b570], rax
mov rdx, rdi
call fcn.1401f4250
cmp dword [rsi + 0x24], 0
jne 0x1401163a5
mov rcx, qword [0x14052b570]
cmp byte [rcx + 0x17], 0
jns 0x14011639f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140313420
mov ebx, eax
jmp 0x1401162be
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x232
call fcn.140212f30
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.1403167e0
mov rcx, r14
call fcn.1403169f0
mov rax, qword [rsi + 0x28]
jmp 0x14011632f
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x238
call fcn.140212f30
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.1403167e0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.1403133f0
mov rcx, rbx
call fcn.1403169f0
jmp 0x14011634f