joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140102040
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1403e37a1]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1cc
call fcn.140206ec0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140255cd0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1401020f0
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1401feb10
mov rcx, r14
call fcn.1401d30e0
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140255cd0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140102127
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1401feb10
mov rcx, r14
call fcn.1401d30e0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140102149
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140102155
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 0x1401021db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140101730
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140102188
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140102191
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 0x1401021ac
test eax, eax
je 0x1401021e0
lea rcx, [rsp + 0x450]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140253b80
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x1401021ac
cmp ebp, 0xfffffffc
jne 0x1401021ec
call fcn.1402d0d00
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x1401021ac

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
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, 0x1ff
call fcn.140206ec0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fc090
cmp byte [rdi + 0x17], 0
jns 0x140102280
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1401fc2c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401022c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
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, 0x227
call fcn.140206ec0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fc090
cmp byte [rdi + 0x17], 0
jns 0x140102340
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.1401fc2c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140253b80
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140102380
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140255cd0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14010241f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14027c724
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1402077c0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140114470
mov rcx, rsi
mov rdx, r14
call fcn.140207960
mov rcx, r14
call fcn.140207950
mov rcx, rbx
call fcn.140207950
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140102450
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140255cd0
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 0x1401024e5
cmp word [rsp + 0x70], 0
je 0x1401024e5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14027c724
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1402077c0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140253b80
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140207690
mov rcx, rdi
call fcn.140102380
test al, al
je 0x140102525
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1402077a0
jmp 0x140102544
lea rax, [0x1403e37ae]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1402077c0
lea rcx, [rsp + 0x40]
call fcn.140207950
jmp 0x1401024c7
Function at 0x1401030e0
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x60]
mov qword [r15 + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x1403e3824]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3c0
call fcn.140206ec0
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1401fc090
cmp byte [r14 + 0x17], 0
jns 0x140103174
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 0x1401031cb
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x140103260
call fcn.140206ee0
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x14010321b
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14010321b
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 0x140103232
call fcn.140206ee0
mov rcx, rbx
call fcn.1401f3750
lea rcx, [rsp + 0x60]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140253b80
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 0x1401031c3
Function at 0x140103270
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x1403e382e]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x3f9
call fcn.140206ec0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fc090
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140255cd0
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 0x14010336f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14027c724
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1402077c0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140114470
mov rcx, rsi
mov rdx, r14
call fcn.140207960
mov rcx, r14
call fcn.140207950
mov rcx, rbx
call fcn.140207950
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1401033b0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x1403e3843]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x409
call fcn.140206ec0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1401fc090
cmp byte [rdi + 0x17], 0
jns 0x140103430
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.1401fc2c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140103800
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.140255cd0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140103cc0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140103e80
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140103896
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1401038d8
lea rcx, [rsp + 0x30]
call fcn.140207950
lea rcx, [rsp + 0x298]
call fcn.140103dc0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140253b80
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.140255cd0
mov rcx, r15
mov rdx, r14
call fcn.140103e30
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1401039f0
mov rcx, r14
call fcn.140103bd0
test al, al
jne 0x14010399f
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140103932
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x140103a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
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.1400aa190
mov rcx, r15
mov rdx, r14
call fcn.140103e80
mov rcx, rdi
mov rdx, r14
call fcn.140207960
mov rcx, r14
call fcn.140207950
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14010398e
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x14010389b
jmp 0x1401038ef
xor ebp, ebp
test bl, bl
je 0x140103953
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140103800
test eax, eax
jne 0x140103a42
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1401039ca
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140103953
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140103953
test bl, bl
je 0x140103a05
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x140103a2c
mov rcx, qword [rsp + 0x30]
jmp 0x140103a31
lea rcx, [rsp + 0x48]
call fcn.140103bd0
test al, al
je 0x140103a3c
lea rcx, [rsp + 0x48]
call fcn.140103bd0
test al, al
je 0x140103923
xor ebp, ebp
jmp 0x140103953
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140103917
mov edx, dword [rsp + 0x48]
jmp 0x1401039f4
mov ebp, eax
jmp 0x140103953
Function at 0x1401047d0
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 rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx ebp, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call r15
mov word [rsp + 0x3e], ax
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140255cd0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140104a70
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401048d6
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1401048d6
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x1401048d6
dec r8d
mov rcx, rsi
call fcn.1401f9280
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140255cd0
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.140104a70
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140104957
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140104957
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1401048a2
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140255cd0
mov qword [rsp + 0x30], rbx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140104a70
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401049db
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1401049db
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1401048a2
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140255cd0
movzx eax, word [rsp + 0x3e]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.140104a70
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140104a60
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140104a60
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1401048a2
xor esi, esi
jmp 0x1401048b0
Function at 0x140105d50
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140105f0e
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.140275040
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x1403d47c0]
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.140206ec0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401fc090
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.140269ad8
mov ecx, eax
call fcn.14026a59c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140105f12
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 [case.0x1402ceef0.0]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140274dc0
test rax, rax
je 0x140105eb1
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x140105f1d
add r15, r12
mov rcx, rbx
call fcn.140274314
test eax, eax
je 0x140105f21
mov r12, r15
mov rcx, rbx
call fcn.140274340
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 [case.0x1402ceef0.0]
lea rcx, [rsp + 0x80]
call fcn.1401fc2c0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140105ee3
mov r14d, 0xffff
jmp 0x140105e4f
xor ebx, ebx
jmp 0x140105ec1
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 [case.0x1402ceef0.0]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140105e74
Function at 0x140110cb0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140110d70
mov eax, dword [rsi]
mov dword [0x14044c21c], eax
test al, 1
jne 0x140110cd1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x14045fec0]
test rcx, rcx
jne 0x140110ceb
mov rcx, qword [0x14045fe98]
test rcx, rcx
je 0x140110d0f
jmp 0x140110d31
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14045fec0], 0
mov rcx, qword [0x14045fe98]
test rcx, rcx
jne 0x140110d31
and byte [0x14044c21c], 0xfe
mov ecx, 0x18
call fcn.140252388
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14045fe98], rax
mov rdx, qword [rsi + 8]
call fcn.1401119a0
cmp dword [rsi + 0x14], 0
jne 0x140110d56
mov rcx, qword [0x14045fe98]
cmp byte [rcx + 0x17], 0
jns 0x140110d50
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1402d6b90
Function at 0x140114ad0
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 0x140114aff
call fcn.140206ee0
cmp qword [rsi], r14
je 0x140114b2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140114b6a
cmp r15, 2
jb 0x140114b26
mov qword [rsi], r14
call fcn.140206ee0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.140207690
lea rcx, [rsi + 0x20]
call fcn.1402184c0
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 0x140114b80
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140206ee0
mov rcx, qword [rsi]
call fcn.1401f3750
mov qword [rsi], 0
jmp 0x140114b18
call fcn.140206ee0
mov rcx, qword [rdi]
call fcn.1401f3750
mov qword [rdi], 0
jmp 0x140114b5a

Function at 0x140114ba0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1401f8ad0
mov qword [rsi], 0
test rax, rax
je 0x140114bf3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140114c27
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140114beb
mov qword [rsi], rbx
call fcn.140206ee0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1402076b0
lea rcx, [rsi + 0x20]
call fcn.1402184c0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140206ee0
mov rcx, qword [rsi]
call fcn.1401f3750
mov qword [rsi], 0
jmp 0x140114bd9
Function at 0x1401152a0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14045ff78]
test rdi, rdi
jne 0x140115353
mov ecx, 0x50
call fcn.140252388
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140252388
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140115375
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 [0x14045ff78], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1401153a1
mov rcx, rax
call fcn.14027c724
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1401153b0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
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.1402984b0
int3