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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x14031c8e1]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1d6
call fcn.14014d840
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140df0
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14019dab0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14006f760
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140145420
mov rcx, r14
call fcn.140123e70
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14019dab0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14006f797
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140145420
mov rcx, r14
call fcn.140123e70
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14006f7b9
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14006f7c5
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14006f84b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006ede0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14006f7f8
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14006f801
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x14006f81c
test eax, eax
je 0x14006f850
lea rcx, [rsp + 0x450]
call fcn.140141060
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14019b960
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x14006f81c
cmp ebp, 0xfffffffc
jne 0x14006f85c
call fcn.140211bc0
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14006f81c

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x209
call fcn.14014d840
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140140df0
cmp byte [rdi + 0x17], 0
jns 0x14006f8f0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140141060
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14019b960
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006f930
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
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.14014d840
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140df0
cmp byte [rdi + 0x17], 0
jns 0x14006f9c0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fa53
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 0x14006fa36
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14006fa7f
call fcn.14014d860
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 0x14006fa53
call fcn.14014d860
mov rcx, r14
call fcn.140137f20
lea rcx, [rsp + 0x60]
call fcn.140141060
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14019b960
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14006fa2e

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
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.14014d840
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140140df0
cmp byte [rdi + 0x17], 0
jns 0x14006fb10
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.140141060
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14019b960
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006fb50
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14019dab0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14006fbef
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401c0c44
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14014e1b0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140080010
mov rcx, rsi
mov rdx, r14
call fcn.14014e380
mov rcx, r14
call fcn.14014e300
mov rcx, rbx
call fcn.14014e300
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14019b960
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14006fc20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14019dab0
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 0x14006fcce
cmp word [rsp + 0x70], 0
je 0x14006fcce
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401c0c44
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14014e1b0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14019b960
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14014e190
lea rcx, [rsp + 0x40]
call fcn.14014e300
jmp 0x14006fc97
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14014e080
mov rcx, rdi
call fcn.14006fb50
test al, al
jne 0x14006fcb5
lea rax, [0x14031c90a]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14014e1b0
jmp 0x14006fcc2
Function at 0x1400701d0
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x14030e560]
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.14014d840
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140140df0
test rsi, rsi
je 0x14007046a
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14014e080
mov ecx, 0x65
mov rdx, rdi
call fcn.140072ac0
test al, al
je 0x140070337
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.14007fe20
mov rcx, rdi
mov rdx, rbx
call fcn.14014e380
mov rcx, rbx
call fcn.14014e300
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.14014d840
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140140df0
cmp byte [rsp + 0x47], 0
jns 0x14007031b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140141060
cmp edi, 0xffffffff
jne 0x1400703ff
lea rcx, [rsp + 0x30]
call fcn.14014e300
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14014e080
mov ecx, 0x67
mov rdx, rdi
call fcn.140072ac0
test al, al
je 0x1400703f1
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.14014d840
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140140df0
cmp byte [rsp + 0x47], 0
jns 0x1400703c0
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140141060
cmp edi, 0xffffffff
je 0x1400703f1
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14006f930
test al, al
jne 0x14007041c
lea rcx, [rsp + 0x30]
call fcn.14014e300
xor esi, esi
jmp 0x140070437
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14006f930
test al, al
je 0x140070337
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14014e310
mov rcx, rdi
call fcn.14014e300
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.140141060
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14019b960
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 0x140070bf0
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x14031c9b4]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3e3
call fcn.14014d840
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140140df0
cmp byte [r14 + 0x17], 0
jns 0x140070c84
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 0x140070cdb
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x140070d70
call fcn.14014d860
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x140070d2b
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140070d2b
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 0x140070d42
call fcn.14014d860
mov rcx, rbx
call fcn.140137f20
lea rcx, [rsp + 0x60]
call fcn.140141060
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14019b960
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 0x140070cd3
Function at 0x140070d80
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14031c9be]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x41c
call fcn.14014d840
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140140df0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14019dab0
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 0x140070e7f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401c0c44
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14014e1b0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140080010
mov rcx, rsi
mov rdx, r14
call fcn.14014e380
mov rcx, r14
call fcn.14014e300
mov rcx, rbx
call fcn.14014e300
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.140141060
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14019b960
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140070ec0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x14031c9d3]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x42c
call fcn.14014d840
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140140df0
cmp byte [rdi + 0x17], 0
jns 0x140070f40
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140141060
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14019b960
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140071520
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14019dab0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140071a30
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14030e560]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140071c40
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400715b6
and eax, 0x7f
jmp 0x1400715bb
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14007168f
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.14019dab0
mov rcx, r15
mov rdx, r14
call fcn.140071bf0
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400716d3
mov rcx, r14
call fcn.140071940
test al, al
jne 0x140071720
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140071622
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400716cc
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.140071c40
mov rcx, rdi
mov rdx, r14
call fcn.14014e380
mov rcx, r14
call fcn.14014e300
movzx eax, byte [rsp + 0x47]
test al, al
js 0x14007167e
and eax, 0x7f
jmp 0x140071683
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x1400715db
lea rcx, [rsp + 0x30]
call fcn.14014e300
lea rcx, [rsp + 0x298]
call fcn.140071b80
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14019b960
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 0x140071643
test bl, bl
je 0x1400716f8
cmp byte [rsp + 0x47], 0
js 0x1400716e5
lea rcx, [rsp + 0x30]
jmp 0x1400716ea
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140071603
lea rcx, [rsp + 0x48]
call fcn.140071940
test al, al
jne 0x14007170c
mov edx, dword [rsp + 0x48]
jmp 0x1400716d7
lea rcx, [rsp + 0x48]
call fcn.140071940
test al, al
je 0x140071613
jmp 0x1400716cc
xor ebp, ebp
test bl, bl
je 0x140071643
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140071520
mov ebp, eax
test eax, eax
jne 0x140071643
cmp byte [rsp + 0x47], 0
jns 0x14007175a
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 0x140071643
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140071643
Function at 0x140072650
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140381038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x14030e560]
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.14014d840
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.140140df0
mov dword [rsp + 0x34], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x1400726e4
mov rbx, qword [rbx]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140072858
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14019a06c
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
mov rcx, rdi
add rcx, rax
je 0x1400728ab
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14007270f
mov edx, dword [rsp + 0x34]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14007286b
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 0x14007286b
mov r13, qword [rsp + 0x38]
test r13, r13
je 0x14007286b
mov ecx, 0x38
call fcn.14019a06c
mov rbx, rax
movzx r12d, word [r13]
movzx ebp, word [r13 + 2]
lea rax, str.p__a_
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 [0x140381f08]
jne 0x1400727cb
mov rcx, rdi
call fcn.14012d0d0
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, [0x14031cc42]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400728d7
mov rdi, qword [rsp + 0x38]
and r14, rdi
cmp r14, qword [0x140381f08]
jne 0x140072820
mov rcx, rdi
call fcn.14012d0d0
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x60]
call fcn.140141060
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14019b960
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
jmp 0x140072827
mov rcx, rdi
call fcn.14019a0bc
jmp 0x140072827
mov qword [rsi], 0
test rdi, rdi
je 0x140072827
dec r15
cmp r15, r14
jae 0x140072861
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1401dac90
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401dac90
int3
Function at 0x140073e40
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 [0x140381038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140074009
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1401bbeec
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x14030e560]
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.14014d840
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140df0
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.1401b18d0
mov ecx, eax
call fcn.1401b238c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140073ffe
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 [0x1403be008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1401bbb74
test rax, rax
je 0x140073fa1
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14007400d
add r15, r12
mov rcx, rbx
call fcn.1401bb100
test eax, eax
je 0x140074011
mov r12, r15
mov rcx, rbx
call fcn.1401bb12c
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 [0x1403be008]
lea rcx, [rsp + 0x80]
call fcn.140141060
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14019b960
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 0x140073f3f
xor ebx, ebx
jmp 0x140073fd3
xor ebx, ebx
jmp 0x140073fb1
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 [0x1403be008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140073f64