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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
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, 0x212
call fcn.14013d790
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401329b0
cmp byte [rdi + 0x17], 0
jns 0x1400687b0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140068843
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 0x140068826
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14006886f
call fcn.14013d7b0
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 0x140068843
call fcn.14013d7b0
mov rcx, r14
call fcn.14012a160
lea rcx, [rsp + 0x60]
call fcn.140132bf0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14006881e

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
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, 0x231
call fcn.14013d790
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401329b0
cmp byte [rdi + 0x17], 0
jns 0x140068900
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.140132bf0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14018f840
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140068940
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140191990
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400689df
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401b3d34
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14013e130
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400796d0
mov rcx, rsi
mov rdx, r14
call fcn.14013e300
mov rcx, r14
call fcn.14013e2f0
mov rcx, rbx
call fcn.14013e2f0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140068a10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140191990
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 0x140068abe
cmp word [rsp + 0x70], 0
je 0x140068abe
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401b3d34
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14013e130
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14013e110
lea rcx, [rsp + 0x40]
call fcn.14013e2f0
jmp 0x140068a87
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14013e000
mov rcx, rdi
call fcn.140068940
test al, al
jne 0x140068aa5
lea rax, [0x140307726]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14013e130
jmp 0x140068ab2
Function at 0x140068f70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x1402fa4a0]
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 + 0xc0]
mov rcx, rbx
mov r9d, 0x2b3
call fcn.14013d790
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401329b0
test rsi, rsi
je 0x14006920a
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14013e000
mov ecx, 0x65
mov rdx, rdi
call fcn.14006b760
test al, al
je 0x1400690d7
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400795c0
mov rcx, rdi
mov rdx, rbx
call fcn.14013e300
mov rcx, rbx
call fcn.14013e2f0
mov qword [rbx + 0x40], r15
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 + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.14013d790
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1401329b0
cmp byte [rsp + 0x47], 0
jns 0x1400690bb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140132bf0
cmp edi, 0xffffffff
jne 0x14006919f
lea rcx, [rsp + 0x30]
call fcn.14013e2f0
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14013e000
mov ecx, 0x67
mov rdx, rdi
call fcn.14006b760
test al, al
je 0x140069191
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r15
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 + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.14013d790
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1401329b0
cmp byte [rsp + 0x47], 0
jns 0x140069160
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140132bf0
cmp edi, 0xffffffff
je 0x140069191
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140068720
test al, al
jne 0x1400691bc
lea rcx, [rsp + 0x30]
call fcn.14013e2f0
xor esi, esi
jmp 0x1400691d7
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140068720
test al, al
je 0x1400690d7
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140078650
mov rcx, rdi
call fcn.14013e2f0
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.140132bf0
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x140069970
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1403077d0]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3e3
call fcn.14013d790
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1401329b0
cmp byte [r14 + 0x17], 0
jns 0x140069a04
mov r14, qword [r14]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, r14
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x140069a5b
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x140069af0
call fcn.14013d7b0
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x140069aab
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140069aab
lea r14, [rsp + 0x40]
mov dword [r14], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [r14]
xor edx, edx
cmp eax, 1
sbb edx, edx
cmp ecx, esi
mov ebp, 0xffffffff
cmove ebp, ecx
or ebp, edx
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140069ac2
call fcn.14013d7b0
mov rcx, rbx
call fcn.14012a160
lea rcx, [rsp + 0x60]
call fcn.140132bf0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14018f840
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140069a53
Function at 0x140069b00
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1403077da]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x41c
call fcn.14013d790
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401329b0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140191990
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 0x140069bff
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401b3d34
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14013e130
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400796d0
mov rcx, rsi
mov rdx, r14
call fcn.14013e300
mov rcx, r14
call fcn.14013e2f0
mov rcx, rbx
call fcn.14013e2f0
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.140132bf0
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140069c40
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1403077ef]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x42c
call fcn.14013d790
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401329b0
cmp byte [rdi + 0x17], 0
jns 0x140069cc0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140132bf0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006a240
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.140191990
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14006a840
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14006aa50
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14006a2d6
and eax, 0x7f
jmp 0x14006a2db
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14006a3af
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.140191990
mov rcx, r15
mov rdx, r14
call fcn.14006aa00
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14006a3f3
mov rcx, r14
call fcn.14006a750
test al, al
jne 0x14006a440
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14006a342
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006a3ec
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.140024d50
mov rcx, r15
mov rdx, r14
call fcn.14006aa50
mov rcx, rdi
mov rdx, r14
call fcn.14013e300
mov rcx, r14
call fcn.14013e2f0
movzx eax, byte [rsp + 0x47]
test al, al
js 0x14006a39e
and eax, 0x7f
jmp 0x14006a3a3
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x14006a2fb
lea rcx, [rsp + 0x30]
call fcn.14013e2f0
lea rcx, [rsp + 0x298]
call fcn.14006a990
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14018f840
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 0x14006a363
test bl, bl
je 0x14006a418
cmp byte [rsp + 0x47], 0
js 0x14006a405
lea rcx, [rsp + 0x30]
jmp 0x14006a40a
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14006a323
lea rcx, [rsp + 0x48]
call fcn.14006a750
test al, al
jne 0x14006a42c
mov edx, dword [rsp + 0x48]
jmp 0x14006a3f7
lea rcx, [rsp + 0x48]
call fcn.14006a750
test al, al
je 0x14006a333
jmp 0x14006a3ec
xor ebp, ebp
test bl, bl
je 0x14006a363
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14006a240
mov ebp, eax
test eax, eax
jne 0x14006a363
cmp byte [rsp + 0x47], 0
jns 0x14006a47a
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
test eax, eax
jne 0x14006a363
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14006a363
Function at 0x14006b300
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x38]
mov rcx, r14
mov r9d, 0x4d
call fcn.14013d790
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.1401329b0
mov dword [rsp + 0x34], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x14006b392
mov rbx, qword [rbx]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14006b503
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14018dfc4
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
mov rcx, rdi
add rcx, rax
je 0x14006b522
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14006b3bd
mov edx, dword [rsp + 0x34]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14006b50c
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14006b50c
mov r14, qword [rsp + 0x38]
test r14, r14
je 0x14006b50c
mov ecx, 0x38
call fcn.14018dfc4
mov rbx, rax
movzx r12d, word [r14]
movzx ebp, word [r14 + 2]
lea rax, fcn.14006b5f0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x14037b9c8]
jne 0x14006b478
mov rcx, rdi
call fcn.14011e9f0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x38]
mov qword [r8], 0
lea r9, [rsp + 0x5c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x140307a62]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14006b54e
mov rdi, qword [rsp + 0x38]
and r14, rdi
cmp r14, qword [0x14037b9c8]
jne 0x14006b4cd
mov rcx, rdi
call fcn.14011e9f0
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x60]
call fcn.140132bf0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x14006b4d4
mov qword [rsi], 0
test rdi, rdi
je 0x14006b4d4
mov rcx, rdi
call fcn.14018e000
jmp 0x14006b4d4
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401cd590
int3
Function at 0x14006ca10
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14006cbd9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1401af76c
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x1402fa4a0]
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, 0x48
call fcn.14013d790
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401329b0
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.1401a5798
mov ecx, eax
call fcn.1401a625c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14006cbce
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 [0x1403a9008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1401af4ec
test rax, rax
je 0x14006cb71
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14006cbdd
add r15, r12
mov rcx, rbx
call fcn.1401aed20
test eax, eax
je 0x14006cbe1
mov r12, r15
mov rcx, rbx
call fcn.1401aed4c
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 [0x1403a9008]
lea rcx, [rsp + 0x80]
call fcn.140132bf0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, 0xffff
jmp 0x14006cb0f
xor ebx, ebx
jmp 0x14006cba3
xor ebx, ebx
jmp 0x14006cb81
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 [0x1403a9008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14006cb34
Function at 0x140076320
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400763e0
mov eax, dword [rsi]
mov dword [0x14036f8a4], eax
test al, 1
jne 0x140076341
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x140383550]
test rcx, rcx
jne 0x14007635b
mov rcx, qword [0x140383528]
test rcx, rcx
je 0x14007637f
jmp 0x1400763a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140383550], 0
mov rcx, qword [0x140383528]
test rcx, rcx
jne 0x1400763a1
and byte [0x14036f8a4], 0xfe
mov ecx, 0x18
call fcn.14018dfc4
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140383528], rax
mov rdx, qword [rsi + 8]
call fcn.140077120
cmp dword [rsi + 0x14], 0
jne 0x1400763c6
mov rcx, qword [0x140383528]
cmp byte [rcx + 0x17], 0
jns 0x1400763c0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401fedd0
Function at 0x140079d60
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140079d8f
call fcn.14013d7b0
cmp qword [rsi], r14
je 0x140079dbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140079dfa
cmp r15, 2
jb 0x140079db6
mov qword [rsi], r14
call fcn.14013d7b0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.14013e000
lea rcx, [rsi + 0x20]
call fcn.14014fbd0
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x28], 0
mov byte [rsi + 0x29], bl
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140079e10
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14013d7b0
mov rcx, qword [rsi]
call fcn.14012a160
mov qword [rsi], 0
jmp 0x140079da8
call fcn.14013d7b0
mov rcx, qword [rdi]
call fcn.14012a160
mov qword [rdi], 0
jmp 0x140079dea

Function at 0x14007a4a0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140383608]
test rdi, rdi
jne 0x14007a553
mov ecx, 0x50
call fcn.14018dfc4
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14018dfc4
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14007a578
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140383608], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14007a575
mov rcx, rax
call fcn.1401b3d34
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14007a5b0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401cd590
int3