joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007cd20
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, SafeArrayCopy
call fcn.140124db0
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x1401e1748]
jne 0x14007cd8d
mov rcx, r15
call fcn.1400f1be0
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14007d1d0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14007ce01
test r14, r14
je 0x14007cdf6
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007cdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14007ce4b
cmp ebp, 0x5af
je 0x14007ce20
cmp ebp, 0x27b
jne 0x14007ce55
mov rcx, rbx
call fcn.140186aa0
test rsi, rsi
je 0x14007cdd0
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1401e1748]
jne 0x14007ce41
call fcn.1400f1d40
mov rcx, rsi
call fcn.140124dec
jmp 0x14007cdd0
cmp ebp, 8
je 0x14007ce20
cmp ebp, 0xe
je 0x14007ce20
mov eax, dword [0x1401f4850]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007cf02
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.14008a640
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14007ce9b
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14007cedc
je 0x14007ceb1
test rbx, rbx
je 0x14007ceef
mov rcx, qword [0x1401f4848]
lea rdx, [rsp + 0x50]
call fcn.14009c560
cmp byte [rsp + 0x4f], 0
jns 0x14007ce28
mov rcx, qword [rsp + 0x38]
call fcn.140124dec
jmp 0x14007ce28
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_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.140160550
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140160550
lea rcx, [0x1401f4850]
call fcn.140124f10
cmp dword [0x1401f4850], 0xffffffff
jne 0x14007ce7a
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14009c530
mov qword [0x1401f4848], rax
lea rcx, [0x1401f4850]
call fcn.140124fa8
jmp 0x14007ce7a
Function at 0x140081fb0
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x1401af9e0]
lea r14, [rsp + 0x30]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1401c8b19]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1d8
call fcn.1400ed530
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e1a50
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401288f0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14008204f
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1400e7630
mov rcx, r14
call fcn.1400cb300
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401288f0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140082086
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1400e7630
mov rcx, r14
call fcn.1400cb300
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400820a8
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400820b4
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 0x14008210d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400818b0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x1400820e7
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x1400820f0
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 0x140082110
test eax, eax
jne 0x140082110
jmp 0x14008213c
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140125960
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 0xfffffffc
jne 0x140082148
call fcn.14017deb0
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x140082110

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401af9e0]
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.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.1400ed530
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e1a50
cmp byte [rdi + 0x17], 0
jns 0x1400821c2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400e1ad0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140082200
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401af9e0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x214
call fcn.1400ed530
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e1a50
cmp byte [rdi + 0x17], 0
jns 0x140082282
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140082315
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400822f8
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x140082341
call fcn.1400ed550
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140082315
call fcn.1400ed550
mov rcx, r14
call fcn.1400d9c80
lea rcx, [rsp + 0x60]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x1400822f0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401af9e0]
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, 0x233
call fcn.1400ed530
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e1a50
cmp byte [rdi + 0x17], 0
jns 0x1400823c2
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.1400e1ad0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140125960
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140082410
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401288f0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400824af
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401476a4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400edf20
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140094370
mov rcx, rsi
mov rdx, r14
call fcn.1400ee0c0
mov rcx, r14
call fcn.1400ee050
mov rcx, rbx
call fcn.1400ee050
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400824e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401288f0
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 0x140082575
cmp word [rsp + 0x70], 0
je 0x140082575
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401476a4
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400edf20
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140125960
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 [0x1401af9e0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400edea0
mov rcx, rdi
call fcn.140082410
test al, al
jne 0x1400825c7
lea rax, [0x1401becc6]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400edf20
jmp 0x1400825d4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400edf00
lea rcx, [rsp + 0x40]
call fcn.1400ee050
jmp 0x140082557
Function at 0x1400825f0
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401f4870], 0
jne 0x140082891
mov rsi, rcx
movaps xmm6, xmmword [0x1401af9e0]
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.1400ed530
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e1a50
test rsi, rsi
je 0x140082895
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400edea0
mov ecx, 0x65
mov rdx, rdi
call fcn.1400842f0
test al, al
je 0x14008275f
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.140094200
mov rcx, rdi
mov rdx, rbx
call fcn.1400ee0c0
mov rcx, rbx
call fcn.1400ee050
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.1400ed530
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400e1a50
cmp byte [rsp + 0x47], 0
jns 0x140082743
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400e1ad0
cmp edi, 0xffffffff
jne 0x140082826
lea rcx, [rsp + 0x30]
call fcn.1400ee050
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400edea0
mov ecx, 0x67
mov rdx, rdi
call fcn.1400842f0
test al, al
je 0x140082818
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.1400ed530
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400e1a50
cmp byte [rsp + 0x47], 0
jns 0x1400827e7
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400e1ad0
cmp edi, 0xffffffff
je 0x140082818
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140082200
test al, al
jne 0x140082843
lea rcx, [rsp + 0x30]
call fcn.1400ee050
xor esi, esi
jmp 0x14008285e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140082200
test al, al
je 0x14008275f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400ee060
mov rcx, rdi
call fcn.1400ee050
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140125960
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 0x140082868
int3
Function at 0x140083440
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 [0x1401df038]
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.1401288f0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400837a0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401af9e0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140083960
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400834d8
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400835aa
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.1401288f0
mov rcx, r15
mov rdx, r14
call fcn.140083910
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x1400835e7
mov rcx, r14
call fcn.1400836b0
test al, al
jne 0x14008363c
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140083546
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x140083635
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.1400248b0
mov rcx, r15
mov rdx, r14
call fcn.140083960
mov rcx, rdi
mov rdx, r14
call fcn.1400ee0c0
mov rcx, r14
call fcn.1400ee050
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14008359e
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x1400834ff
lea rcx, [rsp + 0x40]
call fcn.1400ee050
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.1400838a0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140125960
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 0x14008360f
cmp byte [rsp + 0x57], 0
js 0x1400835fc
lea rcx, [rsp + 0x40]
jmp 0x140083601
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140083527
lea rcx, [rsp + 0x58]
call fcn.1400836b0
test al, al
jne 0x140083623
mov edx, dword [rsp + 0x58]
jmp 0x1400835ee
lea rcx, [rsp + 0x58]
call fcn.1400836b0
test al, al
je 0x140083537
xor ebp, ebp
jmp 0x140083563
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140083563
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140083440
mov ebp, eax
test eax, eax
jne 0x140083563
cmp byte [rsp + 0x57], 0
jns 0x140083679
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 0x140083563
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140083563
Function at 0x140085000
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 [0x1401df038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x1400851b0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14014506c
movaps xmm6, xmmword [0x1401af9e0]
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, VarR8FromUI1
call fcn.1400ed530
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e1a50
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.14013c63c
mov ecx, eax
call fcn.14013c69c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400851b4
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 [0x1401d0260]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140144cf4
test rax, rax
je 0x140085153
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x1400851bf
add r15, r12
mov rcx, rbx
call fcn.1401444e0
test eax, eax
je 0x1400851c3
mov r12, r15
mov rcx, rbx
call fcn.14014450c
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 [0x1401d0260]
lea rcx, [rsp + 0x80]
call fcn.1400e1ad0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140125960
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 0x140085185
mov r14d, 0xffff
jmp 0x1400850f1
xor ebx, ebx
jmp 0x140085163
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 [0x1401d0260]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140085116
Function at 0x1400909e0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140090ab0
mov eax, dword [rsi]
mov dword [0x1401e1738], eax
test al, 1
jne 0x140090a01
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401f4a20]
test rcx, rcx
jne 0x140090a1b
mov rcx, qword [0x1401f49f8]
test rcx, rcx
je 0x140090a3f
jmp 0x140090a61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401f4a20], 0
mov rcx, qword [0x1401f49f8]
test rcx, rcx
jne 0x140090a61
and byte [0x1401e1738], 0xfe
mov ecx, SafeArrayCopy
call fcn.140124db0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401f49f8], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140090a96
call fcn.1400780e0
cmp dword [rsi + 0x14], 0
jne 0x140090a8b
mov rcx, qword [0x1401f49f8]
cmp byte [rcx + 0x17], 0
jns 0x140090a85
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1401816f0
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string:2719:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.140160550
int3
Function at 0x1400956a0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.1400e4a90
cmp byte [rdi + 0x17], 0
jns 0x1400956e1
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x140095702
mov rcx, qword [rsp + 0x58]
call fcn.140124dec
test rsi, rsi
je 0x1400957a9
test edi, edi
je 0x1400957a9
mov ecx, edi
add rcx, rcx
call fcn.140124e2c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.1400e4a90
cmp byte [r14 + 0x17], 0
jns 0x140095745
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x140095765
mov rcx, qword [rsp + 0x58]
call fcn.140124dec
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400957c7
mov rcx, rbx
call fcn.1401476a4
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1400e4ac0
cmp byte [rsi + 0x17], 0
js 0x1400957da
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140124e34
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140160550
mov rcx, qword [rsi]
call fcn.140124dec
jmp 0x140095790
Function at 0x140095d40
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401f4af0]
test rdi, rdi
jne 0x140095df3
mov ecx, 0x50
call fcn.140124db0
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, SafeArrayCopy
call fcn.140124db0
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140095e15
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 [0x1401f4af0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140095e28
mov rcx, rax
call fcn.1401476a4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140095e40
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140125960
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140160550
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140160550
int3