joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004c2d0
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0xac
call fcn.140057780
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140065850
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0
call fcn.140069050
test al, al
je 0x14004c376
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.140069170
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsi]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140069100
lea rcx, [rsp + 0x50]
call fcn.1400658d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400fb950
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x14004c3d0
Capabilities:
Clear file content

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xb9
call fcn.140057780
lea rcx, [rsp + 0x50]
mov rdx, rbx
xor r8d, r8d
call fcn.140065850
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], 0
call fcn.140069050
test al, al
je 0x14004c47b
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.140069170
mov qword [rsp + 0x28], r14
mov rcx, qword [rsi]
xor ebx, ebx
lea r8, [rsp + 0x28]
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004c4de
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004c4de
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14004c4dc
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
jmp 0x14004c4de
xor ebx, ebx
lea rcx, [rsp + 0x30]
call fcn.140069100
lea rcx, [rsp + 0x50]
call fcn.1400658d0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400fb950
mov eax, ebx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14004c710
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 [0x140165040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x171
call fcn.140057780
lea rcx, [rsp + 0x60]
mov rdx, r14
xor r8d, r8d
call fcn.140065850
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 0x14004c90d
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
test ebx, 0x40000
je 0x14004c806
test ebx, 0x200000
jne 0x14004c98f
or r8d, 0x20000000
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 0x14004c888
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 0x14004c8f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14004c8d3
call fcn.1400577a0
mov rcx, qword [rsi]
call fcn.140049310
mov qword [rsi], 0
mov rax, r14
inc rax
cmp rax, 2
jb 0x14004c8e7
mov qword [rsi], r14
call fcn.1400577a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jae 0x14004c926
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004c660
mov dword [rsi + 0x24], eax
jmp 0x14004c964
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.140068440
jmp 0x14004c964
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x14004c945
test bl, 0xa
je 0x14004c954
mov byte [rsi + 0x28], 1
jmp 0x14004c954
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
test ebx, 0x200000
je 0x14004c964
mov rcx, rdi
call fcn.14004dfb0
lea rcx, [rsp + 0x60]
call fcn.1400658d0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400fb950
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x14004cab0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.DoDeleteFile
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x106
call fcn.140057780
lea rcx, [rsp + 0x60]
mov rdx, r14
xor r8d, r8d
call fcn.140065850
cmp byte [rsi + 0x17], 0
js 0x14004cb34
jne 0x14004cb52
jmp 0x14004ccc9
mov rax, qword [rsi + 8]
test rax, rax
je 0x14004ccc9
mov edi, 0xa1
cmp rax, 0x103
ja 0x14004cc97
mov rcx, rsi
mov rdx, r14
call fcn.1400586a0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14004cb70
mov rax, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
test rax, rax
je 0x14004cbf4
add rax, rax
xor edi, edi
nop word [rax + rax]
movzx ecx, word [r14 + rdi]
cmp ecx, 0x2a
je 0x14004cb9a
cmp ecx, 0x3f
je 0x14004cb9a
add rdi, 2
cmp rax, rdi
jne 0x14004cb80
jmp 0x14004cbf4
cmp rax, rdi
je 0x14004cbf4
lea rcx, [rsp + 0x40]
call fcn.140057a80
cmp rdi, 0xfffffffffffffffe
je 0x14004cbfe
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.1400586a0
lea r15, [rsp + 0x28]
mov rcx, rsi
mov rdx, r15
call fcn.1400583c0
mov rcx, r15
mov rdx, r14
mov r8d, ebx
call fcn.14004e4f0
mov edi, eax
mov rcx, r15
call fcn.140057a80
mov rcx, r14
call fcn.140057a80
jmp 0x14004ccd8
lea rcx, [rsp + 0x40]
call fcn.140057a80
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14004cc0a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004ccb9
mov edi, eax
test dil, 1
je 0x14004cc3c
mov edx, edi
and edx, 0xfffffffe
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14004cc32
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14004ccb9
test dil, 0x10
jne 0x14004cc5a
cmp byte [rsi + 0x17], 0
jns 0x14004cc4b
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004ccc9
jmp 0x14004ccb9
test bl, bl
je 0x14004cca3
lea rdx, [0x1401418a4]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14001ca0c
mov rcx, rsi
mov rdx, rdi
mov r8b, 1
call fcn.14004e4f0
mov edi, eax
cmp byte [rsp + 0x57], 0
jns 0x14004cc93
mov rcx, qword [rsp + 0x40]
call fcn.1400fa65c
test edi, edi
je 0x14004cca3
lea rcx, [rsp + 0x60]
call fcn.1400658d0
jmp 0x14004cce6
cmp byte [rsi + 0x17], 0
jns 0x14004ccac
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14004ccc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x14004ccd8
lea rcx, [rsp + 0x60]
call fcn.1400658d0
mov sil, 1
jmp 0x14004ccf0
lea rcx, [rsp + 0x60]
call fcn.1400658d0
test edi, edi
je 0x14004ccd3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400fb950
mov eax, esi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov dl, 1
jmp 0x14004cab0
Function at 0x14004cd30
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x1cc
call fcn.140057780
lea rcx, [rsp + 0x40]
mov rdx, rdi
xor r8d, r8d
call fcn.140065850
cmp byte [rsi + 0x17], 0
jns 0x14004cdb1
cmp qword [rsi + 8], 0x103
jbe 0x14004cdae
xor esi, esi
jmp 0x14004cdc8
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne sil
lea rcx, [rsp + 0x40]
call fcn.1400658d0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400fb950
mov eax, esi
add rsp, 0x88
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140057780
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140065850
cmp byte [rsi + 0x17], 0
jns 0x14004ce67
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.1400658d0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400fb950
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004cea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x214
call fcn.140057780
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
call fcn.140065850
cmp byte [rdi + 0x17], 0
jns 0x14004cf24
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004cfbc
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 0x14004cf9f
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14004cf94
call fcn.1400577a0
mov r14, rdi
jmp 0x14004cf97
xor r14d, r14d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004cfbc
call fcn.1400577a0
mov rcx, r14
call fcn.140049310
lea rcx, [rsp + 0x60]
call fcn.1400658d0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400fb950
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.140057780
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140065850
cmp byte [rsi + 0x17], 0
jns 0x14004d067
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.1400658d0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400fb950
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004d0b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14012e050
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14004d14f
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.140117318
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400579d0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140059960
mov rcx, rsi
mov rdx, r14
call fcn.140057af0
mov rcx, r14
call fcn.140057a80
mov rcx, rbx
call fcn.140057a80
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400fb950
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14004d180
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14012e050
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 0x14004d1f8
cmp word [rsp + 0x70], 0
je 0x14004d1f8
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.140117318
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400579d0
jmp 0x14004d267
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140057950
mov rcx, rdi
call fcn.14004d0b0
test al, al
je 0x14004d23b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400579b0
jmp 0x14004d25d
lea rax, [0x140141810]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400579d0
lea rcx, [rsp + 0x40]
call fcn.140057a80
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400fb950
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14004d740
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 [0x140165040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401763f0], 0
je 0x14004d778
xor esi, esi
jmp 0x14004d9e5
mov rsi, rcx
movaps xmm6, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r9d, 0x2b9
call fcn.140057780
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140065850
test rsi, rsi
je 0x14004da0e
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140057950
mov ecx, 0x65
mov rdx, rdi
call fcn.14004faa0
test al, al
je 0x14004d8e7
lea rax, str.SystemTemp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xa
lea rbx, [rsp + 0xb0]
lea r8, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140059760
mov rcx, rdi
mov rdx, rbx
call fcn.140057af0
mov rcx, rbx
call fcn.140057a80
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.140057780
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140065850
cmp byte [rsp + 0x47], 0
jns 0x14004d8b2
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400658d0
cmp edi, 0xffffffff
je 0x14004d8e7
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14004cea0
test al, al
jne 0x14004d9b2
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140057a80
mov qword [rsp + 0x40], r15
movaps xmmword [rsp + 0x30], xmm6
mov rcx, rdi
call fcn.140057950
mov ecx, 0x67
mov rdx, rdi
call fcn.14004faa0
test al, al
je 0x14004d9cf
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.140057780
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140065850
cmp byte [rsp + 0x47], 0
jns 0x14004d981
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400658d0
cmp edi, 0xffffffff
je 0x14004d9cf
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14004cea0
test al, al
je 0x14004d9cf
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140057a90
mov rcx, rdi
call fcn.140057a80
mov sil, 1
jmp 0x14004d9db
lea rcx, [rsp + 0x30]
call fcn.140057a80
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.1400658d0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400fb950
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x14004da20
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm6, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2f4
call fcn.140057780
lea rcx, [rsp + 0x40]
mov rdx, rbx
xor r8d, r8d
call fcn.140065850
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14004daa5
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004dada
mov bl, 1
test al, 0x10
jne 0x14004db7f
test rsi, rsi
je 0x14004dac8
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14004db7f
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
movaps xmmword [rsp + 0x20], xmm6
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.1400583c0
mov rcx, r14
mov rdx, rdi
call fcn.14004dbc0
test al, al
je 0x14004db28
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x14004db1e
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004db73
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14004da20
test al, al
je 0x14004db73
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x14004db75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x14004db65
mov rcx, rdi
call fcn.14004cff0
test al, al
jne 0x14004db75
test rsi, rsi
je 0x14004db1e
mov ecx, ebp
call fcn.14004c660
jmp 0x14004db1c
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.140057a80
lea rcx, [rsp + 0x40]
call fcn.1400658d0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400fb950
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14004e4f0
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 ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14012e050
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14004eac0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x14013ab10]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x30]
mov rcx, r14
mov rdx, rdi
call fcn.14004ed30
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14004e58a
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14004e6e2
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13d, r13d
jmp 0x14004e5bc
mov r13d, ebp
test rax, rax
je 0x14004e6e2
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.14012e050
mov rcx, r15
mov rdx, r14
call fcn.14004ece0
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x14004e61f
test bl, bl
jne 0x14004e607
mov rcx, r14
call fcn.14004ea50
test al, al
je 0x14004e603
mov rcx, r14
call fcn.14004ea50
xor ebp, ebp
test al, al
je 0x14004e670
jmp 0x14004e69e
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14004e616
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, r14
call fcn.14004ea50
test al, al
je 0x14004e670
xor ebp, ebp
test bl, bl
je 0x14004e69e
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.14004e4f0
mov ebp, eax
test eax, eax
jne 0x14004e69e
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14004e654
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14004e69e
jmp 0x14004e688
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14004e67f
mov rcx, qword [rsp + 0x30]
call r12
xor ebp, ebp
test eax, eax
jne 0x14004e69e
call qword [sym.imp.KERNEL32.dll_GetLastError]
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.1400189e0
mov rcx, r15
mov rdx, r14
call fcn.14004ed30
mov rcx, rdi
mov rdx, r14
call fcn.140057af0
mov rcx, r14
call fcn.140057a80
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14004e5b0
mov rax, qword [rsp + 0x38]
jmp 0x14004e5b0
lea rcx, [rsp + 0x30]
call fcn.140057a80
lea rcx, [rsp + 0x298]
call fcn.14004ec70
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400fb950
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret