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

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x14020b470]
mov qword [rcx], rax
add rcx, 8
call fcn.14007eed0
lea rcx, [rsi + 0x10]
call fcn.14007eed0
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.14007eed0
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
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
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [0x140218718]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.1400ccdb0
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.1400c0440
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.1400c0440
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.1400c0440
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], 0x3f800000
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.140015bf0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.14007e900
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14007ea40
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.14007e6a0
mov rcx, rsi
call fcn.140071590
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14007153a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.1400cae10
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.1400caf80
mov qword [0x14026b4b0], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401ca2e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140079760
Capabilities:
Get file version info

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x4d
call fcn.140060640
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rbx + 0x17], 0
jns 0x1400797b9
mov rbx, qword [rbx]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400798ab
mov ebp, eax
mov esi, eax
mov rcx, rsi
call fcn.1401c9f10
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.1401cd0e0
mov edx, dword [rsp + 0x24]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14007989a
mov qword [rsp + 0x28], 0
lea rdx, str.VarFileInfoTranslation
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x64]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14007989a
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14007989a
mov rbp, rdi
add rbp, rsi
mov ecx, 0x38
call fcn.1401c9f10
mov rsi, rax
mov eax, dword [rbx]
lea rcx, [0x14020b5d0]
mov qword [rsi], rcx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rbp
mov qword [rsi + 0x20], rdi
mov dword [rsi + 0x28], eax
mov qword [rsp + 0x28], 0
lea rdx, [0x14020b7e2]
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x64]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400798d7
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x30], rax
mov qword [r14], rsi
jmp 0x1400798b2
mov qword [r14], 0
mov rcx, rdi
call fcn.1401c9f6c
jmp 0x1400798b2
mov qword [r14], 0
lea rcx, [rsp + 0x48]
call fcn.14006fe00
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401ca2e0
mov rax, r14
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140079ac0
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov qword [rsp + 0x38], r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx esi, word [rcx + 0x28]
movzx r14d, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov ebp, eax
movzx ebx, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov r15d, eax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140079d00
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140079b7c
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140079b7c
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140079cb9
movzx eax, bp
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140079d00
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140079be6
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140079be6
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140079cb9
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140079d00
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140079c4e
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140079c4e
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140079cb9
movzx eax, r15w
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140079d00
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140079cf0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140079cf0
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x140079cf0
add r8d, 0xffffffff
mov rcx, qword [rsp + 0x38]
call fcn.14003b9bc
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x140079cca
Function at 0x14007a380
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x187
call fcn.140060640
lea rcx, [rsp + 0x48]
mov rdx, rdi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsi + 0x17], 0
jns 0x14007a3e0
cmp qword [rsi + 8], 0x103
jbe 0x14007a3dd
xor esi, esi
jmp 0x14007a3f7
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne sil
lea rcx, [rsp + 0x48]
call fcn.14006fe00
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x14007a420
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x14020b84d]
lea r8, str..._.._base_files_file_util_win.cc
lea rbp, [rsp + 0x30]
mov rcx, rbp
mov r9d, 0x193
call fcn.140060640
lea rcx, [rsp + 0x50]
mov rdx, rbp
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14007a47f
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14007a48b
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov bpl, 1
test eax, eax
jne 0x14007a4f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007cd10
mov r14d, eax
cmp byte [rdi + 0x17], 0
jns 0x14007a4b1
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14007a4ba
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14007a4f9
test rsi, rsi
je 0x14007a4f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007cd10
cmp eax, 0xfffffffc
cmovne r14d, eax
mov dword [rsi], r14d
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.14006fe00
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14007ab40
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ba
call fcn.140060640
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsi + 0x17], 0
jns 0x14007ab96
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.14006fe00
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007abd0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1cc
call fcn.140060640
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsi + 0x17], 0
jns 0x14007ac26
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.14006fe00
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007ac60
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x60]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x14007aca0
xor esi, esi
jmp 0x14007ad05
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x60], 0
je 0x14007acbe
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14007acb0
jmp 0x14007acc0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14005ba50
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.14005e1a0
mov rcx, rsi
mov rdx, rbx
call fcn.14005bad0
mov rcx, rbx
call fcn.14005baa0
mov rcx, rdi
call fcn.14005baa0
mov sil, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007ad30
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdi, [rsp + 0x60]
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 0x14007ada0
cmp word [rsp + 0x60], 0
je 0x14007ada0
mov qword [rsp + 0x50], rdi
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x14007ad80
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14005ba50
jmp 0x14007adf4
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.14003d8a0
mov rcx, rdi
call fcn.14007ac60
test al, al
je 0x14007adc8
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14005ba30
jmp 0x14007adea
lea rax, [0x14020b876]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 3
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14005ba50
lea rcx, [rsp + 0x38]
call fcn.14005baa0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401ca2e0
mov rax, rsi
add rsp, 0x278
pop rdi
pop rsi
ret
Function at 0x14007b7c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov r9d, 0x265
call fcn.140060640
lea rcx, [rsp + 0x38]
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14007b826
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007b85d
mov bl, 1
test al, 0x10
jne 0x14007b992
test r12, r12
je 0x14007b84b
mov dword [r12], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14007b992
lea rbp, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbp
call fcn.14005c570
movzx ecx, byte [rsp + 0x37]
mov rax, rcx
test cl, cl
jns 0x14007b87e
mov rax, qword [rsp + 0x28]
movzx esi, byte [rdi + 0x17]
mov rdx, rsi
test sil, sil
jns 0x14007b88e
mov rdx, qword [rdi + 8]
cmp rax, rdx
jne 0x14007b8db
test rax, rax
je 0x14007b8c4
test cl, cl
jns 0x14007b8a1
mov rbp, qword [rsp + 0x20]
mov rcx, rdi
test sil, sil
jns 0x14007b8ac
mov rcx, qword [rdi]
xor edx, edx
nop
movzx esi, word [rbp + rdx*2]
cmp si, word [rcx + rdx*2]
jne 0x14007b8db
add rdx, 1
cmp rax, rdx
jne 0x14007b8b0
test r12, r12
je 0x14007b8d1
mov dword [r12], 0xfffffffc
mov ecx, 2
jmp 0x14007b980
lea rcx, [rsp + 0x20]
mov rdx, r12
call fcn.14007b7c0
test al, al
je 0x14007b986
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x14007b988
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x14007b96e
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea r15, [rsp + 0x50]
mov rcx, r15
mov r9d, 0x1cc
call fcn.140060640
lea r14, [rsp + 0x70]
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rdi + 0x17], 0
jns 0x14007b951
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, r14
call fcn.14006fe00
cmp edi, 0xffffffff
je 0x14007b96e
and edi, 0x10
jne 0x14007b988
test r12, r12
je 0x14007b97e
mov ecx, ebp
call fcn.14007cd10
mov dword [r12], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.14005baa0
lea rcx, [rsp + 0x38]
call fcn.14006fe00
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14007bac0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rdx, [0x14020b90a]
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r9d, 0x33d
call fcn.140060640
lea rcx, [rsp + 0x68]
mov rdx, rdi
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rbx + 0x17], 0
jns 0x14007bb21
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov rcx, rbx
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.14000c806
mov rcx, qword [rsp + 0x48]
mov ebx, 0xffffffff
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14007bbac
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
cmp dword [rsp + 0x44], esi
mov ebx, 0xffffffff
cmove ebx, esi
or ebx, ecx
mov rcx, qword [rsp + 0x48]
add rcx, 1
cmp rcx, 2
jb 0x14007bbe8
call fcn.140060660
mov r8, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x48]
mov r9, rax
call fcn.1400818c0
mov rcx, qword [rsp + 0x48]
call fcn.140081850
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x68]
call fcn.14006fe00
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14007bc20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdx, [0x14020b914]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov r9d, 0x370
call fcn.140060640
lea rcx, [rsp + 0x68]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
mov word [rsp + 0x80], 0
lea rbx, [rsp + 0x80]
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x14007bd18
mov qword [rsp + 0x28], rbx
cmp word [rsp + 0x80], 0
je 0x14007bcd1
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp word [rsp + rax*2 + 0x82], 0
lea rax, [rax + 1]
jne 0x14007bcc0
jmp 0x14007bcd3
xor eax, eax
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005ba50
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.14005e1a0
mov rcx, rsi
mov rdx, rbx
call fcn.14005bad0
mov rcx, rbx
call fcn.14005baa0
mov rcx, rdi
call fcn.14005baa0
mov dil, 1
lea rcx, [rsp + 0x68]
call fcn.14006fe00
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, edi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007bd40
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, [0x14020b929]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x380
call fcn.140060640
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsi + 0x17], 0
jns 0x14007bd96
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rdi
call fcn.14006fe00
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007bde0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xaf
call fcn.140060640
lea rcx, [rsp + 0x50]
xor ebp, ebp
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
mov rcx, rdi
call fcn.14005e240
test al, al
jne 0x14007befd
mov rcx, rsi
call fcn.14005e240
test al, al
je 0x14007be58
xor ebp, ebp
jmp 0x14007befd
cmp byte [rdi + 0x17], 0
jns 0x14007be68
cmp qword [rdi + 8], 0x103
ja 0x14007be51
cmp byte [rsi + 0x17], 0
jns 0x14007be78
cmp qword [rsi + 8], 0x103
ja 0x14007be51
lea rdx, str.DoCopyFile
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xbc
call fcn.140060640
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.1400cfc10
cmp byte [rsi + 0x17], 0
jns 0x14007beaf
mov rsi, qword [rsi]
movzx r8d, r14b
cmp byte [rdi + 0x17], 0
jns 0x14007bebc
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14007bef1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007bef1
mov bpl, 1
test al, 1
je 0x14007bef3
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14007bef3
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.1400cfee0
lea rcx, [rsp + 0x50]
call fcn.14006fe00
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14007bf30
Capabilities:
Check if file exists
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14005e240
test al, al
jne 0x14005eb01
mov rcx, rsi
call fcn.14005e240
test al, al
je 0x14005eb0a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x14007bf30
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x80
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3e1
call fcn.140060640
lea rcx, [rsp + 0x28]
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
mov al, byte [rsi + 0x17]
test al, al
jns 0x14007bf98
cmp qword [rsi + 8], 0x103
ja 0x14007c0ae
cmp byte [rdi + 0x17], 0
js 0x14007bfa3
mov rdx, rdi
jmp 0x14007bfb4
cmp qword [rdi + 8], 0x103
ja 0x14007c0ae
mov rdx, qword [rdi]
mov rcx, rsi
test al, al
jns 0x14007bfbe
mov rcx, qword [rsi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bpl, 1
test eax, eax
jne 0x14007c0b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x1cc
call fcn.140060640
lea rbp, [rsp + 0x60]
mov rcx, rbp
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14007c01e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, rbp
call fcn.14006fe00
cmp ebx, 0xffffffff
je 0x14007c0a5
and ebx, 0x10
je 0x14007c0a5
lea rdx, str.CopyAndDeleteDirectory
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x404
call fcn.140060640
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.14006fcd0
mov rcx, rsi
mov rdx, rdi
mov r8b, 1
xor r9d, r9d
call fcn.14007a530
test al, al
je 0x14007c09b
mov bpl, 1
mov rcx, rsi
mov dl, 1
call fcn.140079f60
test al, al
je 0x14007c09b
lea rcx, [rsp + 0x60]
call fcn.14006fe00
jmp 0x14007c0b0
lea rcx, [rsp + 0x60]
call fcn.14006fe00
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.14006fe00
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, ebp
add rsp, 0x80
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret