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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401879f0]
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.DoInitialize
lea r8, [0x140199ba4]
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x171
call fcn.1400b5720
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ac3f0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
test bl, 2
mov edx, 1
cmove edx, eax
test bl, 4
mov ecx, 4
cmovne edx, ecx
test bl, 8
mov r8d, 2
cmove r8d, edx
test bl, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x14003f3dc
mov edx, ebx
and edx, 0x40
shl edx, 0x18
test bl, bl
cmovns ecx, edx
mov r8d, ebx
rol r8d, 0x1a
and r8d, 0x80000100
or r8d, ecx
bt ebx, 0x12
jb 0x14003f3b1
mov edx, ebx
shr edx, 4
and edx, 0x10000
or edx, r8d
mov ecx, ebx
shr ecx, 8
and ecx, 3
mov r8d, ebx
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r15d, ebx
and r15d, 0x400
mov ecx, r15d
shl ecx, 0x14
mov r9d, ebx
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, ebx
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r10d, ebx
shl r10d, 0xd
and r10d, 0x4000000
or r10d, ecx
mov r9d, ebx
shl r9d, 8
and r9d, 0xa000000
or r9d, r10d
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14003f2d3
mov rcx, qword [rdi]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x30], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp qword [rsi], rax
je 0x14003f32d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003f3c3
mov rax, r14
inc rax
cmp rax, 2
jb 0x14003f322
mov qword [rsi], r14
call fcn.1400b5740
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
inc r14
cmp r14, 2
jb 0x14003f384
shr r15d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r15b
test bl, 4
jne 0x14003f396
test bl, 0xa
je 0x14003f353
mov byte [rsi + 0x28], 1
bt ebx, 0x15
jb 0x14003f3a7
lea rcx, [rsp + 0x60]
call fcn.1400ac470
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400de090
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003f060
mov dword [rsi + 0x24], eax
jmp 0x14003f359
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x14003f353
mov rcx, rdi
call fcn.140040d60
jmp 0x14003f359
bt ebx, 0x15
jb 0x14003f3f8
or r8d, 0x20000000
jmp 0x14003f251
call fcn.1400b5740
mov rcx, qword [rsi]
call fcn.1400a9180
mov qword [rsi], 0
jmp 0x14003f30e
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
call fcn.140133350
jmp 0x14003f359
int3
Function at 0x14003f400
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14003f448
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14003f451
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14003f438
mov qword [rdi], rsi
call fcn.1400b5740
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b5740
mov rcx, qword [rdi]
call fcn.1400a9180
mov qword [rdi], 0
jmp 0x14003f426
Function at 0x14003f820
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x1401879f0]
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, [0x140199d0b]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1d8
call fcn.1400b5720
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ac3f0
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400e01d0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14003f8bf
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1400afbb0
mov rcx, r14
call fcn.14009a9d0
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400e01d0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14003f8f6
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1400afbb0
mov rcx, r14
call fcn.14009a9d0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14003f918
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14003f924
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 0x14003f97d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003f060
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14003f957
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14003f960
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 0x14003f980
test eax, eax
jne 0x14003f980
jmp 0x14003f9ac
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1400ac470
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400de090
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 0xfffffffc
jne 0x14003f9b8
call fcn.14012f6b0
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14003f980

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401879f0]
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.1400b5720
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ac3f0
cmp byte [rdi + 0x17], 0
jns 0x14003fa32
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400ac470
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400de090
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003fa70
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1401879f0]
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.1400b5720
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ac3f0
cmp byte [rdi + 0x17], 0
jns 0x14003faf2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003fb85
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 0x14003fb68
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14003fbb1
call fcn.1400b5740
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 0x14003fb85
call fcn.1400b5740
mov rcx, r14
call fcn.1400a9180
lea rcx, [rsp + 0x60]
call fcn.1400ac470
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400de090
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14003fb60

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1401879f0]
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.1400b5720
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ac3f0
cmp byte [rdi + 0x17], 0
jns 0x14003fc32
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.1400ac470
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400de090
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003fc80
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400e01d0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14003fd1f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400fbc84
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400b60b0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14004bbe0
mov rcx, rsi
mov rdx, r14
call fcn.14004a030
mov rcx, r14
call fcn.1400b6200
mov rcx, rbx
call fcn.1400b6200
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400de090
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14003fd50
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e01d0
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 0x14003fde5
cmp word [rsp + 0x70], 0
je 0x14003fde5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400fbc84
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400b60b0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400de090
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 [0x1401879f0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400b6030
mov rcx, rdi
call fcn.14003fc80
test al, al
jne 0x14003fe37
lea rax, [0x140199d34]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400b60b0
jmp 0x14003fe44
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b6090
lea rcx, [rsp + 0x40]
call fcn.1400b6200
jmp 0x14003fdc7
Function at 0x140040310
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x1401ce58c], 0
jne 0x1400405b1
mov rsi, rcx
movaps xmm6, xmmword [0x1401879f0]
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.1400b5720
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400ac3f0
test rsi, rsi
je 0x1400405b5
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400b6030
mov ecx, 0x65
mov rdx, rdi
call fcn.140041850
test al, al
je 0x14004047f
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.14004b9f0
mov rcx, rdi
mov rdx, rbx
call fcn.14004a030
mov rcx, rbx
call fcn.1400b6200
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.1400b5720
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ac3f0
cmp byte [rsp + 0x47], 0
jns 0x140040463
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400ac470
cmp edi, 0xffffffff
jne 0x140040546
lea rcx, [rsp + 0x30]
call fcn.1400b6200
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400b6030
mov ecx, 0x67
mov rdx, rdi
call fcn.140041850
test al, al
je 0x140040538
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.1400b5720
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ac3f0
cmp byte [rsp + 0x47], 0
jns 0x140040507
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400ac470
cmp edi, 0xffffffff
je 0x140040538
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14003fa70
test al, al
jne 0x140040563
lea rcx, [rsp + 0x30]
call fcn.1400b6200
xor esi, esi
jmp 0x14004057e
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14003fa70
test al, al
je 0x14004047f
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400b6210
mov rcx, rdi
call fcn.1400b6200
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400ac470
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400de090
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 0x140040588
int3
Function at 0x140041270
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 [0x1401b9028]
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.1400e01d0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14005b1a0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401879f0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14005b3b0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140041308
and eax, 0x7f
jmp 0x14004130d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400413e4
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.1400e01d0
mov rcx, r15
mov rdx, r14
call fcn.14005b360
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x140041421
mov rcx, r14
call fcn.14005b190
test al, al
jne 0x140041476
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x14004137b
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14004146f
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.14005b3b0
mov rcx, rdi
mov rdx, r14
call fcn.14004a030
mov rcx, r14
call fcn.1400b6200
movzx eax, byte [rsp + 0x57]
test al, al
js 0x1400413d3
and eax, 0x7f
jmp 0x1400413d8
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x140041334
lea rcx, [rsp + 0x40]
call fcn.1400b6200
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14005b2f0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400de090
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 0x140041449
cmp byte [rsp + 0x57], 0
js 0x140041436
lea rcx, [rsp + 0x40]
jmp 0x14004143b
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14004135c
lea rcx, [rsp + 0x58]
call fcn.14005b190
test al, al
jne 0x14004145d
mov edx, dword [rsp + 0x58]
jmp 0x140041428
lea rcx, [rsp + 0x58]
call fcn.14005b190
test al, al
je 0x14004136c
xor ebp, ebp
jmp 0x140041398
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140041398
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140041270
mov ebp, eax
test eax, eax
jne 0x140041398
cmp byte [rsp + 0x57], 0
jns 0x1400414b3
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 0x140041398
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140041398
Function at 0x140042840
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 [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x1400429f0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400f92cc
movaps xmm6, xmmword [0x1401879f0]
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.1400b5720
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ac3f0
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.1400efcc4
mov ecx, eax
call fcn.1400f04cc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400429f4
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 [0x1401ea008]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400f8f54
test rax, rax
je 0x140042993
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x1400429ff
add r15, r12
mov rcx, rbx
call fcn.1400f8740
test eax, eax
je 0x140042a03
mov r12, r15
mov rcx, rbx
call fcn.1400f876c
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 [0x1401ea008]
lea rcx, [rsp + 0x80]
call fcn.1400ac470
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400de090
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 0x1400429c5
mov r14d, 0xffff
jmp 0x140042931
xor ebx, ebx
jmp 0x1400429a3
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 [0x1401ea008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140042956
Function at 0x140047ef0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
call fcn.140047fe0
mov eax, dword [rsi]
mov dword [0x1401bb570], eax
test al, 1
jne 0x140047f11
mov al, 1
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x1401ce6c8]
test rcx, rcx
jne 0x140047f2b
mov rcx, qword [0x1401ce6a0]
test rcx, rcx
je 0x140047f4f
jmp 0x140047f71
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401ce6c8], 0
mov rcx, qword [0x1401ce6a0]
test rcx, rcx
jne 0x140047f71
and byte [0x1401bb570], 0xfe
mov ecx, 0x18
call fcn.1400dcb68
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401ce6a0], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140047fa6
call fcn.14003b6e0
cmp dword [rsi + 0x14], 0
jne 0x140047f9b
mov rcx, qword [0x1401ce6a0]
cmp byte [rcx + 0x17], 0
jns 0x140047f95
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x30
pop rsi
jmp fcn.1401310f0
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.140115c90
int3
Function at 0x14004c7f0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1401b9028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x68]
mov rcx, rdi
call fcn.1400adf30
cmp byte [rdi + 0x17], 0
jns 0x14004c837
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x7f], 0
jns 0x14004c858
mov rcx, qword [rsp + 0x68]
call fcn.1400dcba4
test rsi, rsi
je 0x14004c8ff
test edi, edi
je 0x14004c8ff
mov ecx, edi
add rcx, rcx
call fcn.1400dcbdc
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.1400adf30
cmp byte [r14 + 0x17], 0
jns 0x14004c89b
mov r14, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x7f], 0
jns 0x14004c8bb
mov rcx, qword [rsp + 0x68]
call fcn.1400dcba4
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14004c92d
mov rcx, rbx
call fcn.1400fbc84
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.1400adf60
cmp byte [rsi + 0x17], 0
js 0x14004c923
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400dcbe4
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400de090
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.1400dcba4
jmp 0x14004c8e6
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.140115c90
int3