joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061db0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x14015cb80]
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.1400341a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14003ab40
test esi, esi
js 0x140061ec1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.14003e3d0
test al, al
jne 0x140061ee0
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 0x140061ecd
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x140061ec8
lea rcx, [rsp + 0x30]
call fcn.14003e460
lea rcx, [rsp + 0x50]
call fcn.14003bc70
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140061e94
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140061e8a
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14010be60
jmp 0x140061e5a

Function at 0x140061f00
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x14015cb80]
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.1400341a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14003ab40
test esi, esi
js 0x14006200a
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.14003e3d0
test al, al
jne 0x140062011
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.14003e460
lea rcx, [rsp + 0x50]
call fcn.14003bc70
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140061fdd
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14010be60
jmp 0x140061fa2
Function at 0x140062030
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x14015cb80]
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.1400341a0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003ab40
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.14003e3d0
test al, al
jne 0x140062110
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.14003e460
lea rcx, [rsp + 0x50]
call fcn.14003bc70
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a3c70
mov rax, rsi
add rsp, 0xa8
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.14010be60
jmp 0x1400620bd

Function at 0x140062130
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x40], r15
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0xbf
call fcn.1400341a0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14003ab40
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.14003e3d0
test al, al
jne 0x14006225c
lea r8, [rsp + 0x28]
mov qword [r8], r15
mov rcx, qword [rsi]
xor ebx, ebx
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140062223
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 0x140062223
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140062258
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
lea rcx, [rsp + 0x30]
call fcn.14003e460
lea rcx, [rsp + 0x50]
call fcn.14003bc70
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140062223
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.14010be60
jmp 0x1400621c6
Function at 0x1400628c0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edx, 1
jmp 0x1400625d0

Function at 0x1400628d0
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 [0x140188028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], rax
movaps xmm6, xmmword [0x14015cb80]
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, 0x2aa
call fcn.1400341a0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003ab40
call fcn.14006f110
test al, al
jne 0x14006299f
cmp byte [rsi + 0x17], 0
jns 0x140062961
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.14003bc70
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a3c70
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 0x1400629ba
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.14010c0e0
test eax, eax
jmp 0x14006296d

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14015cb80]
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, 0x2ba
call fcn.1400341a0
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14003ab40
cmp byte [rdi + 0x17], 0
jns 0x140062a60
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140062a9a
lea rcx, [rsp + 0x60]
call fcn.14003bc70
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test al, 0x10
cmove esi, ebx
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rsi, [rsp + 0x40]
mov qword [rsi], rbx
mov rcx, rsi
mov rdx, rax
call fcn.14002fda0
mov rax, qword [rsi]
inc rax
test rax, 0xfffffffffffffffe
setne bpl
cmp rax, 2
jb 0x140062a6e
call fcn.1400341c0
mov rcx, qword [rsp + 0x40]
call fcn.14002fd10
jmp 0x140062a6e
Function at 0x140062b20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14015cb80]
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, 0x2d9
call fcn.1400341a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14003ab40
cmp byte [rdi + 0x17], 0
jns 0x140062ba0
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.14003bc70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a3c70
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140062be0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a5dc0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140062c7f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400c5964
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140034460
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140065cf0
mov rcx, rsi
mov rdx, r14
call fcn.140034720
mov rcx, r14
call fcn.140034620
mov rcx, rbx
call fcn.140034620
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140062cb0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a5dc0
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 0x140062d5e
cmp word [rsp + 0x70], 0
je 0x140062d5e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400c5964
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140034460
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400a3c70
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140034440
lea rcx, [rsp + 0x40]
call fcn.140034620
jmp 0x140062d27
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140034330
mov rcx, rdi
call fcn.140062be0
test al, al
jne 0x140062d45
lea rax, [0x1401644c2]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140034460
jmp 0x140062d52
Function at 0x140062db0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x40], r15
movaps xmm6, xmmword [0x14015cb80]
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, 0x391
call fcn.1400341a0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14003ab40
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x140062e43
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140062e8f
mov bl, 1
test al, 0x10
je 0x140062f50
lea rcx, [rsp + 0x60]
call fcn.14003bc70
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.14009f5f0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x140062eb7
and r8d, 0x7f
mov rdx, rdi
jmp 0x140062ebe
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
lea rcx, [rsp + 0x50]
call fcn.1401037a4
movzx r8d, byte [rsp + 0x37]
test r8b, r8b
js 0x140062ed9
and r8d, 0x7f
jmp 0x140062ee3
mov r8, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, r14
call fcn.1401037a4
mov rax, qword [r15 + 8]
cmp rax, qword [rsp + 0x58]
je 0x140062f6d
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140062db0
test al, al
je 0x140062fb0
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x140062f33
lea rcx, [rsp + 0x20]
call fcn.140034620
jmp 0x140062e5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x140062fb7
mov rcx, rdi
call fcn.140062b20
test al, al
jne 0x140062f24
jmp 0x140062fb7
test rsi, rsi
je 0x140062f5b
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x140062e5b
test rax, rax
je 0x140062f97
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
xor r8d, r8d
movzx r9d, word [rcx + r8*2]
cmp r9w, word [rdx + r8*2]
jne 0x140062efe
inc r8
cmp rax, r8
jne 0x140062f7f
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x140062fa8
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x140062f24
test rsi, rsi
je 0x140062fa8
mov ecx, ebp
call fcn.1400623b0
jmp 0x140062fa6
Function at 0x140063130
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x140164538]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x4de
call fcn.1400341a0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003ab40
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a5dc0
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 0x14006322f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400c5964
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140034460
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140065cf0
mov rcx, rsi
mov rdx, r14
call fcn.140034720
mov rcx, r14
call fcn.140034620
mov rcx, rbx
call fcn.140034620
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.14003bc70
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140063270
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x14016454d]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x4ee
call fcn.1400341a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14003ab40
cmp byte [rdi + 0x17], 0
jns 0x1400632f0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.14003bc70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140063330
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 [0x140188028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400a5dc0
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.140063870
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.1400a05d0
movzx eax, byte [rbx + 0x17]
test al, al
js 0x1400633c6
and eax, 0x7f
jmp 0x1400633cb
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006340d
lea rcx, [rsp + 0x30]
call fcn.140034620
lea rcx, [rsp + 0x298]
call fcn.1400639c0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400a3c70
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r12d, r12d
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400a5dc0
mov rcx, r15
mov rdx, r14
call fcn.140063a30
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140063543
mov rcx, r14
call fcn.1400637f0
test al, al
jne 0x1400634cf
test sil, 2
jne 0x14006351a
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140063471
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
je 0x140063502
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.1400592d0
mov rcx, r15
mov rdx, r14
call fcn.1400a05d0
mov rcx, rbx
mov rdx, r14
call fcn.140034720
mov rcx, r14
call fcn.140034620
movzx eax, byte [rsp + 0x47]
test al, al
js 0x1400634b9
and eax, 0x7f
jmp 0x1400634be
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x1400633d0
jmp 0x140063424
xor ebp, ebp
test sil, 1
je 0x14006347e
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rdi
mov r8d, esi
call fcn.140063330
mov ebp, eax
test eax, eax
jne 0x14006347e
cmp byte [rsp + 0x47], 0
jns 0x14006359a
jmp 0x140063590
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14006347e
call fcn.14003d830
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
lea rcx, [rsp + 0x30]
call fcn.140104c80
xor ebp, ebp
test al, al
jne 0x14006347e
jmp 0x140063502
test sil, 1
jne 0x14006355b
lea rcx, [rsp + 0x48]
call fcn.1400637f0
test al, al
jne 0x14006357c
mov edx, dword [rsp + 0x48]
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
js 0x14006356c
lea rcx, [rsp + 0x30]
jmp 0x140063571
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14006344c
lea rcx, [rsp + 0x48]
call fcn.1400637f0
test al, al
je 0x140063458
jmp 0x1400635af
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
jmp 0x140063476
xor ebp, ebp
jmp 0x14006347e
Function at 0x140064cb0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140064d70
mov eax, dword [rsi]
mov dword [0x14018a038], eax
test al, 1
jne 0x140064cd1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x14019abc0]
test rcx, rcx
jne 0x140064ceb
mov rcx, qword [0x14019ab98]
test rcx, rcx
je 0x140064d0f
jmp 0x140064d31
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019abc0], 0
mov rcx, qword [0x14019ab98]
test rcx, rcx
jne 0x140064d31
and byte [0x14018a038], 0xfe
mov ecx, 0x18
call fcn.1400a27b0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14019ab98], rax
mov rdx, qword [rsi + 8]
call fcn.140065010
cmp dword [rsi + 0x14], 0
jne 0x140064d56
mov rcx, qword [0x14019ab98]
cmp byte [rcx + 0x17], 0
jns 0x140064d50
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400d9e40
Function at 0x1400667e0
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14006b490
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400668ed
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14006690c
lea rdx, [0x140164aca]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140066905
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401b0008]
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x14015cb80]
movaps xmmword [r14], xmm0
movsxd rax, dword [rsp + 0x3c]
lea r8, [rbx + rax*8]
mov rcx, r14
mov rdx, rbx
call fcn.140067810
mov rcx, rsi
mov rdx, r14
call fcn.1400662c0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400668e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x58]
mov qword [rcx], r14
call fcn.140034d60
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a3c70
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x140066886
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140066883

Function at 0x140069279
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a5dc0
xor ebx, ebx
lea r14, str.PROGRAMFILES
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r14]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call r15
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400692f4
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.140069205
test al, al
jne 0x140069321
add rbx, 8
cmp rbx, 0x18
jne 0x1400692c1
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a3c70
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x140069300