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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1403922c8], 0
jne 0x140067e51
mov rsi, rcx
movaps xmm6, xmmword [0x1402fd120]
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.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r9d, 0x2b9
call fcn.14014c870
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140140de0
test rsi, rsi
je 0x140067e55
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14014d260
mov ecx, 0x65
mov rdx, rdi
call fcn.14006a440
test al, al
je 0x140067d1f
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.140079910
mov rcx, rdi
mov rdx, rbx
call fcn.1400780a0
mov rcx, rbx
call fcn.14014d430
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 + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.14014c870
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140140de0
cmp byte [rsp + 0x47], 0
jns 0x140067d03
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140140e60
cmp edi, 0xffffffff
jne 0x140067de6
lea rcx, [rsp + 0x30]
call fcn.14014d430
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14014d260
mov ecx, 0x67
mov rdx, rdi
call fcn.14006a440
test al, al
je 0x140067dd8
lea rbx, [rsp + 0xb0]
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 + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.14014c870
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140140de0
cmp byte [rsp + 0x47], 0
jns 0x140067da7
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.140140e60
cmp edi, 0xffffffff
je 0x140067dd8
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140067310
test al, al
jne 0x140067e03
lea rcx, [rsp + 0x30]
call fcn.14014d430
xor esi, esi
jmp 0x140067e1e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140067310
test al, al
je 0x140067d1f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14014d440
mov rcx, rdi
call fcn.14014d430
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140140e60
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401a2070
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x140067e28
int3
Function at 0x140068630
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 [0x14037e038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402fd120]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x140318418]
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3ee
call fcn.14014c870
xor ebx, ebx
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140140de0
cmp byte [r14 + 0x17], 0
jns 0x1400686b6
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 0x14006870d
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x1400687a2
call fcn.14014c890
mov rbx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebp, 0xffffffff
test esi, esi
js 0x14006875d
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14006875d
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 0x140068774
call fcn.14014c890
mov rcx, rbx
call fcn.140139570
lea rcx, [rsp + 0x60]
call fcn.140140e60
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401a2070
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 0x140068705

Function at 0x1400687b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x1402fd120]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x140318422]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x427
call fcn.14014c870
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140140de0
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a41c0
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 0x1400688a4
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401c3e64
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14014d2e0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140079b00
mov rcx, rsi
mov rdx, r14
call fcn.1400780a0
mov rcx, r14
call fcn.14014d430
mov rcx, rbx
call fcn.14014d430
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.140140e60
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400688e0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1402fd120]
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, [0x140318437]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x437
call fcn.14014c870
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140140de0
cmp byte [rdi + 0x17], 0
jns 0x140068952
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140140e60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140068ea0
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, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1401a41c0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400693c0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1402fd120]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.1400695d0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140068f38
and eax, 0x7f
jmp 0x140068f3d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140069014
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1401a41c0
mov rcx, r15
mov rdx, r14
call fcn.140069580
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x140069051
mov rcx, r14
call fcn.1400692d0
test al, al
jne 0x1400690a6
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140068fab
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14006909f
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.140024cf0
mov rcx, r15
mov rdx, r14
call fcn.1400695d0
mov rcx, rdi
mov rdx, r14
call fcn.1400780a0
mov rcx, r14
call fcn.14014d430
movzx eax, byte [rsp + 0x57]
test al, al
js 0x140069003
and eax, 0x7f
jmp 0x140069008
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x140068f64
lea rcx, [rsp + 0x40]
call fcn.14014d430
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.140069510
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x140069079
cmp byte [rsp + 0x57], 0
js 0x140069066
lea rcx, [rsp + 0x40]
jmp 0x14006906b
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140068f8c
lea rcx, [rsp + 0x58]
call fcn.1400692d0
test al, al
jne 0x14006908d
mov edx, dword [rsp + 0x58]
jmp 0x140069058
lea rcx, [rsp + 0x58]
call fcn.1400692d0
test al, al
je 0x140068f9c
xor ebp, ebp
jmp 0x140068fc8
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140068fc8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140068ea0
mov ebp, eax
test eax, eax
jne 0x140068fc8
cmp byte [rsp + 0x57], 0
jns 0x1400690e3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140068fc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140068fc8
Function at 0x140069fd0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1402fd120]
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.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4d
call fcn.14014c870
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.140140de0
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x14006a056
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14006a082
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.1401a088c
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
jmp 0x14006a1c6
mov qword [rsi], 0
jmp 0x14006a195
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14006a20a
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14006a20a
mov r13, qword [rsp + 0x30]
test r13, r13
je 0x14006a20a
mov ecx, 0x38
call fcn.1401a088c
mov rbx, rax
movzx r12d, word [r13]
movzx ebp, word [r13 + 2]
lea rax, fcn.14006a2f0
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 [0x140380a48]
jne 0x14006a136
mov rcx, rdi
call fcn.140153a20
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1403186b2]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14006a24e
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x140380a48]
jne 0x14006a18e
mov rcx, rdi
call fcn.140153a20
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x50]
call fcn.140140e60
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401a2070
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
add rcx, rax
je 0x14006a1de
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14006a1c6
jmp 0x14006a08e
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, 0x28
call fcn.1401de150
mov qword [rsi], 0
test rdi, rdi
je 0x14006a195
dec r15
cmp r15, r14
jae 0x14006a251
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, 0x44
call fcn.1401de150
int3
mov rcx, rdi
call fcn.1401a08c8
jmp 0x14006a195
Function at 0x14006b7c0
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 [0x14037e038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14006b970
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1401c17d4
movaps xmm6, xmmword [0x1402fd120]
lea r14, [rsp + 0x80]
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.14014c870
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
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.1401b7dec
mov ecx, eax
call fcn.1401b88ac
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14006b974
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 + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1401c145c
test rax, rax
je 0x14006b913
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14006b97f
add r15, r12
mov rcx, rbx
call fcn.1401c0cc4
test eax, eax
je 0x14006b983
mov r12, r15
mov rcx, rbx
call fcn.1401c0cf0
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.140140e60
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401a2070
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 0x14006b945
mov r14d, 0xffff
jmp 0x14006b8b1
xor ebx, ebx
jmp 0x14006b923
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 0x14006b8d6
Function at 0x140075b30
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
call fcn.140075c20
mov eax, dword [rsi]
mov dword [0x14038095c], eax
test al, 1
jne 0x140075b51
mov al, 1
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x140392450]
test rcx, rcx
jne 0x140075b6b
mov rcx, qword [0x140392428]
test rcx, rcx
je 0x140075b8f
jmp 0x140075bb1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140392450], 0
mov rcx, qword [0x140392428]
test rcx, rcx
jne 0x140075bb1
and byte [0x14038095c], 0xfe
mov ecx, 0x18
call fcn.1401a088c
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140392428], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140075be6
call fcn.14004b040
cmp dword [rsi + 0x14], 0
jne 0x140075bdb
mov rcx, qword [0x140392428]
cmp byte [rcx + 0x17], 0
jns 0x140075bd5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x30
pop rsi
jmp fcn.14020e7e0
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xa51
call fcn.1401de150
int3
Function at 0x14007a3b0
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 0x14007a3df
call fcn.14014c890
cmp qword [rsi], r14
je 0x14007a40e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007a44a
cmp r15, 2
jb 0x14007a406
mov qword [rsi], r14
call fcn.14014c890
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.14014d260
lea rcx, [rsi + 0x20]
call fcn.14015bea0
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 0x14007a460
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14014c890
mov rcx, qword [rsi]
call fcn.140139570
mov qword [rsi], 0
jmp 0x14007a3f8
call fcn.14014c890
mov rcx, qword [rdi]
call fcn.140139570
mov qword [rdi], 0
jmp 0x14007a43a

Function at 0x14007ad20
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140392508]
test rdi, rdi
jne 0x14007add3
mov ecx, 0x50
call fcn.1401a088c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1401a088c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14007adf5
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 [0x140392508], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14007ae21
mov rcx, rax
call fcn.1401c3e64
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14007ae50
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401a2070
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_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401de150
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1401de150
int3
Function at 0x14007ae50
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140062270
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14007afe0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140319068]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14007b079
lea rdx, [0x1403190b8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007b05d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1403be008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14007b06f
test r12d, r12d
js 0x14007b065
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1401a088c
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14007b005
mov rdx, qword [r14 + r15]
call fcn.1401da860
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14007af52
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14007a950
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14007afa6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14007afe0
cmp r15, rbx
je 0x14007afd8
add r15, 0xffffffffffffffe8
jmp 0x14007afca
mov rcx, qword [r15]
call fcn.1401a08c8
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14007afd8
test r15, r15
je 0x14007b031
cmp byte [r15 + 0x17], 0
jns 0x14007afbe
jmp 0x14007afb6
mov rcx, rbx
call fcn.1401a08c8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401a2070
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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, 0x28
call fcn.1401de150
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, 0x44
call fcn.1401de150
xor r14d, r14d
jmp 0x14007af04
lea rcx, [rsp + 0x30]
call fcn.1401da9f0
xor r15d, r15d
xor ebx, ebx
jmp 0x14007af7f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14007af01