joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e890
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x14016dd90]
mov qword [rcx], rax
add rcx, 8
call fcn.140035e00
lea rcx, [rsi + 0x10]
call fcn.140035e00
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.140035e00
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
mov dword [rsi + 0xb0], ebx
movups xmmword [rsi + 0xb8], xmm6
movups xmmword [rsi + 0xc8], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd8], ebp
mov dword [rsi + 0xe0], ebx
movups xmmword [rsi + 0xe8], xmm6
movups xmmword [rsi + 0xf8], xmm6
mov dword [rsi + 0x108], ebp
movups xmmword [rsi + 0x110], xmm6
movups xmmword [rsi + 0x120], xmm6
mov dword [rsi + 0x130], ebp
movups xmmword [rsi + 0x138], xmm6
movups xmmword [rsi + 0x148], xmm6
mov dword [rsi + 0x158], ebp
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], ebp
mov qword [rsi + 0x1a0], rbx
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], ebx
mov eax, dword [0x14017c03c]
mov dword [rsi + 0x1a8], eax
lea rcx, [rsi + 0x1b0]
call fcn.1400714d0
movups xmmword [rsi + 0x2e8], xmm6
movups xmmword [rsi + 0x2f8], xmm6
mov dword [rsi + 0x308], ebp
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x330], xmm6
mov byte [rsi + 0x340], bl
mov dword [rsi + 0x344], edi
mov byte [rsi + 0x348], bl
movups xmmword [rsi + 0x350], xmm6
mov qword [rsi + 0x360], rbx
call fcn.140056750
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
mov rcx, rsi
call fcn.14005ea80
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14005ea6b
call fcn.140060c30
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140099030
mov qword [0x1401ade70], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x14018d070]
jmp 0x14005ea39
Function at 0x140061730
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401aded8]
mov ecx, dword [0x1401aace0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14006179f
lea rcx, [0x1401aded8]
call fcn.14009cc60
cmp dword [0x1401aded8], 0xffffffff
jne 0x14006179f
xorps xmm0, xmm0
movups xmmword [0x1401adec8], xmm0
movups xmmword [0x1401adeb8], xmm0
movups xmmword [0x1401adea8], xmm0
lea rcx, [0x1401adea8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401aded8]
add rsp, 0x28
jmp fcn.14009ccf8
nop
add rsp, 0x28
ret

Function at 0x140062c00
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov rdi, qword [rsp + 0xd0]
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x5f]
mov byte [rbx], 0xaa
mov r13, qword [rcx]
lea rdx, str.ReadValue
lea r8, str....._basewin_registry.cc
lea rbp, [rsp + 0x38]
mov rcx, rbp
mov r9d, 0x1a6
call fcn.140040ab0
mov rcx, rbx
mov rdx, rbp
mov r8, r13
mov r9d, 1
call fcn.1400570a0
mov rcx, qword [r12]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, rbx
call fcn.140056750
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009e1b0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140062cc0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1038
call fcn.14009e150
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r14, [rsp + 0x830]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400a02f0
lea rax, [rsp + 0x2c]
mov dword [rax], 1
lea r9, [rsp + 0x28]
mov dword [r9], 0x800
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.140062c00
test eax, eax
jne 0x140062d6d
mov eax, dword [rsp + 0x2c]
cmp eax, 1
jne 0x140062d71
lea rdx, [rsp + 0x830]
mov rcx, rsi
call fcn.14005da5e
xor edi, edi
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14009e1b0
mov eax, edi
add rsp, 0x1038
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140062d4e
mov edi, 0x3f4
cmp eax, 2
jne 0x140062d4e
lea rdi, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a02f0
lea rcx, [rsp + 0x830]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x28], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x140062d4e
lea rdx, [rsp + 0x30]
jmp 0x140062d44
Function at 0x140062dd0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r9d
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov edi, dword [rsp + 0xd0]
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x5f]
mov byte [rbx], 0xaa
mov r12, qword [rcx]
lea rdx, str.WriteValue
lea r8, str....._basewin_registry.cc
lea r13, [rsp + 0x38]
mov rcx, r13
mov r9d, 0x1e3
call fcn.140040ab0
mov rcx, rbx
mov rdx, r13
mov r8, r12
mov r9d, 0x20006
call fcn.1400570a0
mov rcx, qword [r15]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r14
mov rdx, rsi
xor r8d, r8d
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, rbx
call fcn.140056750
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009e1b0
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140063980
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14016b5d0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.140040ab0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140044f80
mov rcx, rsi
call fcn.140036490
test al, al
je 0x140063a90
lea rbx, [rsi + 0x40]
mov rcx, rsi
call fcn.140062510
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rbx
mov rdx, rax
call fcn.140027432
mov rcx, qword [rsi + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140063a90
mov qword [rsp + 0x20], 0
xor edi, edi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140063a90
lea rdx, [0x14016d830]
lea rcx, [rsp + 0x30]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.14006fe7a
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.140044fe0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009e1b0
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140063da0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14016b5d0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x65
call fcn.140040ab0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140044f80
test esi, esi
js 0x140063ea5
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400485a0
test al, al
jne 0x140063eb1
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140063ecd
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x140063eac
lea rcx, [rsp + 0x30]
call fcn.140048630
lea rcx, [rsp + 0x50]
call fcn.140044fe0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009e1b0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140063e7a
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140131900
jmp 0x140063e40
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140063e70

Function at 0x140063ee0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14016b5d0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x9d
call fcn.140040ab0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140044f80
test esi, esi
js 0x140063fe6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400485a0
test al, al
jne 0x140063fed
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.140048630
lea rcx, [rsp + 0x50]
call fcn.140044fe0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009e1b0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140063fbb
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140131900
jmp 0x140063f80
Function at 0x140064010
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x14016b5d0]
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, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xb2
call fcn.140040ab0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140044f80
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.1400485a0
test al, al
jne 0x1400640ec
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.140048630
lea rcx, [rsp + 0x50]
call fcn.140044fe0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14009e1b0
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.140131900
jmp 0x140064099
Function at 0x140064510
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edx, 1
jmp fcn.140064220

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x14016b5d0]
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.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2d7
call fcn.140040ab0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140044f80
call fcn.1400803c0
test al, al
jne 0x1400645e1
cmp byte [rsi + 0x17], 0
jns 0x1400645a3
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call fcn.140044fe0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009e1b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x40], 0xaaaaaaaa
cmp byte [rsi + 0x17], 0
jns 0x1400645fc
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.140131b50
test eax, eax
jmp 0x1400645af

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14016b5d0]
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, 0x306
call fcn.140040ab0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140044f80
cmp byte [rdi + 0x17], 0
jns 0x140064682
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.140044fe0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009e1b0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400646d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a02f0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14006476f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400bb194
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140040d70
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14006bd20
mov rcx, rsi
mov rdx, r14
call fcn.140040f10
mov rcx, r14
call fcn.140040ea0
mov rcx, rbx
call fcn.140040ea0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14009e1b0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400647a0
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 [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm6, xmmword [0x14016b5d0]
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 + 0x20]
mov rcx, r14
mov r9d, 0x3c7
call fcn.140040ab0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140044f80
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x140064823
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006486d
mov bl, 1
test al, 0x10
je 0x140064916
lea rcx, [rsp + 0x40]
call fcn.140044fe0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009e1b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
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.14006b480
movzx eax, byte [rdi + 0x17]
mov rcx, rdi
test al, al
jns 0x1400648a1
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x14006498b
je 0x1400648b5
test rcx, rcx
je 0x14006499e
movzx edx, byte [rsp + 0x37]
test dl, dl
cmovs rdx, qword [rsp + 0x28]
cmovs r14, qword [rsp + 0x20]
test rdx, rdx
js 0x14006498b
je 0x1400648dc
test r14, r14
je 0x14006499e
cmp rdx, rax
je 0x140064933
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1400647a0
test al, al
je 0x140064984
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14006495f
lea rcx, [rsp + 0x20]
call fcn.140040ea0
jmp 0x14006483b
test rsi, rsi
je 0x140064921
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14006483b
test rax, rax
je 0x14006494e
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x1400648e1
inc rdx
cmp rax, rdx
jne 0x14006493a
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
jne 0x14006497a
jmp 0x14006497c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
je 0x1400649b1
test rsi, rsi
je 0x14006497c
mov ecx, ebp
call fcn.140064110
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x140064907
lea rcx, [0x14016ec29]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400e350c
lea rcx, [0x14016ec29]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400e350c
mov rcx, rdi
call fcn.140064610
test al, al
jne 0x140064907
jmp 0x14006496e
Function at 0x140064b60
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x14016b5d0]
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, [0x14017823f]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x527
call fcn.140040ab0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140044f80
cmp byte [rdi + 0x17], 0
jns 0x140064bd2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140044fe0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009e1b0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140064c10
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 esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14019b038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400a02f0
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.140064ee0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14016b5d0]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.140099e90
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140064ca6
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140064ce8
lea rcx, [rsp + 0x30]
call fcn.140040ea0
lea rcx, [rsp + 0x298]
call fcn.140065030
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14009e1b0
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400a02f0
mov rcx, r15
mov rdx, r14
call fcn.1400650a0
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x140064d61
test sil, 1
jne 0x140064d49
mov rcx, r14
call fcn.14009c760
test al, al
je 0x140064d45
mov rcx, r14
call fcn.14009c760
xor ebp, ebp
test al, al
je 0x140064d6d
jmp 0x140064daf
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140064d58
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, r14
call fcn.14009c760
test al, al
jne 0x140064da7
test sil, 2
jne 0x140064dfb
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140064d86
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
jne 0x140064daf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
jmp 0x140064daf
xor ebp, ebp
test sil, 1
jne 0x140064e22
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140056750
mov rcx, r15
mov rdx, r14
call fcn.140099e90
mov rcx, rbx
mov rdx, r14
call fcn.140040f10
mov rcx, r14
call fcn.140040ea0
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x140064dea
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140064cab
jmp 0x140064cff
call fcn.140035840
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
mov rcx, rbx
call fcn.1401104c0
xor ebp, ebp
test al, al
je 0x140064d8f
jmp 0x140064daf
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.140064c10
mov ebp, eax
test eax, eax
jne 0x140064daf
cmp byte [rsp + 0x47], 0
js 0x140064e48
lea rcx, [rsp + 0x30]
jmp 0x140064e4d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140064daf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140064daf