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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140178510]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x64
call fcn.14004aca0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14004ee00
test esi, esi
js 0x14006e385
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140052310
test al, al
jne 0x14006e391
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006e3ad
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14006e38c
lea rcx, [rsp + 0x30]
call fcn.1400523a0
lea rcx, [rsp + 0x50]
call fcn.14004ee60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14006e35a
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14013e990
jmp 0x14006e320
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14006e350

Function at 0x14006e3c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140178510]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x9c
call fcn.14004aca0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14004ee00
test esi, esi
js 0x14006e4c6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140052310
test al, al
jne 0x14006e4cd
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.1400523a0
lea rcx, [rsp + 0x50]
call fcn.14004ee60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14006e49b
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14013e990
jmp 0x14006e460
Function at 0x14006e4f0
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
movaps xmm0, xmmword [0x140178510]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xb1
call fcn.14004aca0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004ee00
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.140052310
test al, al
jne 0x14006e5cc
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.1400523a0
lea rcx, [rsp + 0x50]
call fcn.14004ee60
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a7ab0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.14013e990
jmp 0x14006e579
Function at 0x14006ea00
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edx, 1
jmp fcn.14006e700

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm6, xmmword [0x140178510]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2d8
call fcn.14004aca0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004ee00
call fcn.14008a830
test al, al
jne 0x14006ead1
cmp byte [rsi + 0x17], 0
jns 0x14006ea93
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call fcn.14004ee60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x40], 0xaaaaaaaa
cmp byte [rsi + 0x17], 0
jns 0x14006eaec
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.14013ebe0
test eax, eax
jmp 0x14006ea9f

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140178510]
lea rsi, [rsp + 0x40]
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, 0x307
call fcn.14004aca0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14004ee00
cmp byte [rdi + 0x17], 0
jns 0x14006eb72
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.14004ee60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006ebc0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400dd020
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14006ec5f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400c3ec4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14004af10
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140076130
mov rcx, rsi
mov rdx, r14
call fcn.14004b0d0
mov rcx, r14
call fcn.14004b060
mov rcx, rbx
call fcn.14004b060
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14006ec90
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm6, xmmword [0x140178510]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x3c8
call fcn.14004aca0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14004ee00
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x14006ed13
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006ed5d
mov bl, 1
test al, 0x10
je 0x14006ee0a
lea rcx, [rsp + 0x40]
call fcn.14004ee60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x20]
mov qword [r14 + 0x10], rax
movaps xmmword [r14], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.140075870
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x14006ed93
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
js 0x14006ee7f
je 0x14006eda7
test rcx, rcx
je 0x14006ee92
movsx rdx, byte [rsp + 0x37]
test rdx, rdx
cmovs rdx, qword [rsp + 0x28]
cmovs r14, qword [rsp + 0x20]
test rdx, rdx
js 0x14006ee7f
je 0x14006edd0
test r14, r14
je 0x14006ee92
cmp rdx, rax
je 0x14006ee27
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14006ec90
test al, al
je 0x14006ee78
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x14006ee53
lea rcx, [rsp + 0x20]
call fcn.14004b060
jmp 0x14006ed2b
test rsi, rsi
je 0x14006ee15
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14006ed2b
test rax, rax
je 0x14006ee42
xor edx, edx
movzx r8d, word [r14 + rdx*2]
cmp r8w, word [rcx + rdx*2]
jne 0x14006edd5
inc rdx
cmp rax, rdx
jne 0x14006ee2e
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
jne 0x14006ee6e
jmp 0x14006ee70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
je 0x14006eea5
test rsi, rsi
je 0x14006ee70
mov ecx, ebp
call fcn.14006e5f0
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14006edfb
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400ef50b
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400ef50b
mov rcx, rdi
call fcn.14006eb00
test al, al
jne 0x14006edfb
jmp 0x14006ee62
Function at 0x14006f050
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x140178510]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x14018497f]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x528
call fcn.14004aca0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14004ee00
cmp byte [rdi + 0x17], 0
jns 0x14006f0c2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.14004ee60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006f100
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400dd020
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.14006f3d0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140178510]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.1400a3b10
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14006f198
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006f1da
lea rcx, [rsp + 0x30]
call fcn.14004b060
lea rcx, [rsp + 0x298]
call fcn.14006f520
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400a7ab0
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.1400dd020
mov rcx, r15
mov rdx, r14
call fcn.14006f590
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x14006f253
test sil, 1
jne 0x14006f23b
mov rcx, r14
call fcn.1400a61d0
test al, al
je 0x14006f237
mov rcx, r14
call fcn.1400a61d0
xor ebp, ebp
test al, al
je 0x14006f25f
jmp 0x14006f2a1
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x14006f24a
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, r14
call fcn.1400a61d0
test al, al
jne 0x14006f299
test sil, 2
jne 0x14006f2ef
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x14006f278
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
jne 0x14006f2a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
jmp 0x14006f2a1
xor ebp, ebp
test sil, 1
jne 0x14006f316
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.14006b7f0
mov rcx, r15
mov rdx, r14
call fcn.1400a3b10
mov rcx, rbx
mov rdx, r14
call fcn.14004b0d0
mov rcx, r14
call fcn.14004b060
movsx rax, byte [rsp + 0x47]
test rax, rax
jns 0x14006f2de
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x14006f19d
jmp 0x14006f1f1
call fcn.140041d80
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
mov rcx, rbx
call fcn.14011c670
xor ebp, ebp
test al, al
je 0x14006f281
jmp 0x14006f2a1
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.14006f100
mov ebp, eax
test eax, eax
jne 0x14006f2a1
cmp byte [rsp + 0x47], 0
js 0x14006f33c
lea rcx, [rsp + 0x30]
jmp 0x14006f341
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14006f2a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14006f2a1
Function at 0x140072e00
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140072fc0
mov eax, dword [rsi]
mov dword [0x1401ae70c], eax
mov bl, 1
test al, 1
jne 0x140072e47
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1401be0c0]
test rcx, rcx
je 0x140072e75
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401be0c0], 0
cmp qword [0x1401be0c8], 0
jne 0x140072e75
and byte [0x1401ae70c], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140072e9e
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140072e8c
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140072f17
mov qword [0x1401be0c0], rax
jmp 0x140072e2e
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140072eac
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140072f66
lea rdi, [rsi + 8]
mov rcx, qword [0x1401be0c8]
test rcx, rcx
jne 0x140072ee7
mov ecx, 0x18
call fcn.1400a6590
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401be0c8], rax
mov rdx, rdi
call fcn.140030ddc
cmp dword [rsi + 0x24], 0
jne 0x140072f0b
mov rcx, qword [0x1401be0c8]
cmp byte [rcx + 0x17], 0
jns 0x140072f05
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400e35b0
mov ebx, eax
jmp 0x140072e2e
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x238
call fcn.14004aca0
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.140120ac0
mov rcx, r14
call fcn.140120cd0
mov rax, qword [rsi + 0x28]
jmp 0x140072e95
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x23e
call fcn.14004aca0
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.140120ac0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.14011f1f0
mov rcx, rbx
call fcn.140120cd0
jmp 0x140072eb5
Function at 0x140076d90
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14006dab0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140076ea7
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140076eca
lea rdx, [0x140185226]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140076ec3
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x14019aa20]
mov rbx, rax
movsxd r9, dword [rsp + 0x3c]
lea r8, [rbx + r9*8]
xorps xmm6, xmm6
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
mov rcx, r14
mov rdx, rbx
call fcn.140078860
mov rcx, rsi
mov rdx, r14
call fcn.1400e41a0
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140076e88
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140076ea7
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.140029f22
mov rcx, qword [rsi]
call fcn.1400a65cc
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a7ab0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x140076e3b
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140076e38
Function at 0x140079821
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400dd020
xor ebx, ebx
lea r14, str.PROGRAMFILES
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r14]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call r15
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14007989c
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.14007979e
test al, al
jne 0x1400798c9
add rbx, 8
cmp rbx, 0x18
jne 0x140079869
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x1400798a8

Function at 0x140079bca
Capabilities:
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400dd020
mov word [rsi], 0
mov rcx, rsi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140178510]
movaps xmmword [rdi], xmm0
mov rcx, rsi
call fcn.1400c3ec4
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.14003f40e
lea rdx, str.usp10.dll
mov r8d, 0xa
mov rcx, rdi
call fcn.14003f5ee
cmp byte [rax + 0x17], 0
jns 0x140079c5f
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [rsp + 0x37], 0
jns 0x140079c7b
mov rcx, qword [rsp + 0x20]
call fcn.1400a65cc
cmp esi, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a7ab0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret

Function at 0x14007faf0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14007fb4f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x14007fb0b
cmp rdx, r9
jb 0x14007fb5e
ja 0x14007fb82
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14007fb60
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14007fb56
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14007fb85
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14007fb56
Function at 0x1400818c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x1400819c3
mov rsi, rcx
mov rcx, qword [rdx]
xor r8d, r8d
xor r9d, r9d
or r9, qword [rcx + r8*8]
inc r8
cmp rax, r8
jne 0x1400818df
test r9, r9
je 0x1400819c3
test eax, eax
jle 0x140081a03
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x140081a03
cmp dword [rdx + 0x10], 0
jne 0x140081a61
cmp eax, 0x401
jae 0x140081a23
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.14007f600
test rax, rax
je 0x140081a84
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x1400819fb
mov rcx, qword [rdi]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x140081959
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x140081940
jmp 0x1400819e8
mov dword [rsi + 0x20], eax
mov rax, qword [rdi]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x140081979
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14014a0d0
jmp 0x1400819ba
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14008195c
jne 0x14008195c
jmp 0x1400819ef
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400819e1
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x140081a2c
test r8, r8
je 0x14008191d
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1400819e1
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1400819e1
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400819e1