joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003f60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x180007008]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, rdx
xor r10d, r10d
xor edx, edx
mov r15, rcx
xor r14d, r14d
movzx edi, byte [r10 + r15]
test dil, dil
je 0x180003fbd
cmp r10d, 0x40
je 0x180003fbd
mov byte [rsp + rdx + 8], dil
inc r10d
inc edx
cmp edx, 0x10
jne 0x180004141
jmp 0x18000409c
mov eax, edx
lea r8, [rsp + 8]
add r8, rax
mov ecx, 0x10
sub ecx, edx
xor eax, eax
mov rdi, r8
rep stosb byte [rdi], al
mov byte [r8], 0x80
cmp edx, 0xc
jb 0x18000408d
movups xmm0, xmmword [rsp + 8]
mov qword [rsp], r9
xor ebp, ebp
mov r8d, dword [rsp + 4]
mov edx, r9d
movups xmmword [rsp + 0x18], xmm0
mov r11d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov esi, dword [rsp + 0x1c]
mov edi, dword [rsp + 0x18]
nop dword [rax + rax]
ror edx, 8
lea ecx, [rbp + 2]
add edx, r8d
ror esi, 8
xor edx, edi
rol r8d, 3
xor r8d, edx
ror ebx, 8
add esi, edi
ror edx, 8
add edx, r8d
rol edi, 3
rol r8d, 3
lea eax, [rcx - 1]
xor esi, ebp
ror r11d, 8
xor edi, esi
add ebp, 3
xor edx, edi
add ebx, edi
xor r8d, edx
rol edi, 3
ror edx, 8
xor ebx, eax
xor edi, ebx
add edx, r8d
add r11d, edi
rol r8d, 3
xor edx, edi
xor r11d, ecx
rol edi, 3
xor r8d, edx
xor edi, r11d
cmp ebp, 0x1b
jb 0x180004010
mov dword [rsp], edx
lea rdi, [rsp + 8]
mov dword [rsp + 4], r8d
mov ecx, 0x10
xor r9, qword [rsp]
xor eax, eax
rep stosb byte [rdi], al
lea eax, [r10*8]
inc r14d
mov dword [rsp + 0x14], eax
movups xmm0, xmmword [rsp + 8]
mov qword [rsp], r9
xor ebp, ebp
mov r8d, dword [rsp + 4]
mov edx, r9d
movups xmmword [rsp + 0x18], xmm0
mov r11d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov esi, dword [rsp + 0x1c]
mov edi, dword [rsp + 0x18]
nop word [rax + rax]
ror edx, 8
lea ecx, [rbp + 2]
add edx, r8d
ror esi, 8
xor edx, edi
rol r8d, 3
xor r8d, edx
ror ebx, 8
add esi, edi
ror edx, 8
add edx, r8d
rol edi, 3
rol r8d, 3
lea eax, [rcx - 1]
xor esi, ebp
ror r11d, 8
xor edi, esi
add ebp, 3
xor edx, edi
add ebx, edi
xor r8d, edx
rol edi, 3
ror edx, 8
xor ebx, eax
xor edi, ebx
add edx, r8d
add r11d, edi
rol r8d, 3
xor edx, edi
xor r11d, ecx
rol edi, 3
xor r8d, edx
xor edi, r11d
cmp ebp, 0x1b
jb 0x1800040d0
mov dword [rsp], edx
mov dword [rsp + 4], r8d
xor r9, qword [rsp]
xor edx, edx
test r14d, r14d
je 0x180003f95
mov rax, r9
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180001010
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400212c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14002131d
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1401149e8]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.140061000
lea rdx, [0x1401321f8]
mov rcx, rbx
call fcn.140061c20
mov r14, rax
mov rcx, qword [rbp - 0x20]
lea rax, [0x140132020]
cmp rcx, rax
je 0x140021369
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140021369
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401149e8]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1400fc100]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1401149e8]
movzx eax, byte [rbx + 0x17]
mov rdx, rax
test al, al
jns 0x1400213ac
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x14002141c
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x1400213fe
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401149e8]
cmp eax, 0xffffffff
jne 0x1400213da
xor edi, edi
movzx eax, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, rbx
mov r8, rax
test al, al
jns 0x1400213f3
mov r8, qword [rbp - 0x18]
mov rdx, rcx
add rdx, r8
inc r14
cmp r14, rdx
je 0x14002141c
test rdi, rdi
je 0x1400213d8
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x1400213c0
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x1400213da
mov qword [rsi], rdi
test al, al
jns 0x14002130d
call fcn.140085b34
jmp 0x14002130d

Function at 0x140027b20
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140027b7c
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
jb 0x140027b5a
call fcn.14006dcf0
mov rcx, qword [rdi]
call fcn.14006f520
mov qword [rdi], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140027b6c
mov qword [rdi], rsi
call fcn.14006dcf0
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
Function at 0x140027ed0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x140027f16
mov r14, r12
test r14, r14
je 0x140028018
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x140027f78
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x140027f64
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140088ac0
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x140027ef2
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14002803e
lea rcx, [r13*8]
call fcn.140085af8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x140027fde
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x140028018
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x140027fc6
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x140027ffe
add r12, 0xfffffffffffffff8
jne 0x140027ff1
jmp 0x14002802b
test r15, r15
je 0x140027ef2
mov rcx, r15
call fcn.140085b34
mov r14, qword [rsi + 0x10]
jmp 0x140027ef2
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400bcb80
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400bcb80
call fcn.1400bc4b0
int3
Function at 0x140028450
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 [0x140121038]
xor rax, rsp
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [0x1400fc100]
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, [0x140100cc6]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x280]
mov rcx, r15
mov r9d, 0x1d8
call fcn.14006dcd0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14006dd00
lea r14, [rsp + 0x280]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140089170
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400284ef
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140070440
mov rcx, r14
call fcn.140059920
lea r14, [rsp + 0x70]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140089170
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140028526
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140070440
mov rcx, r14
call fcn.140059920
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140028548
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140028554
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 0x1400285ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140039fc0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140028587
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140028590
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 0x1400285b0
test eax, eax
jne 0x1400285b0
jmp 0x1400285dc
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.14006dd80
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140087020
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 0xfffffffc
jne 0x1400285e8
call fcn.1400d7d60
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x1400285b0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400fc100]
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.14006dcd0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14006dd00
cmp byte [rdi + 0x17], 0
jns 0x140028662
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.14006dd80
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140087020
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400286a0
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 [0x140121038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1400fc100]
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.14006dcd0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14006dd00
cmp byte [rdi + 0x17], 0
jns 0x140028722
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400287b5
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 0x140028798
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x1400287e1
call fcn.14006dcf0
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 0x1400287b5
call fcn.14006dcf0
mov rcx, r14
call fcn.14006f520
lea rcx, [rsp + 0x60]
call fcn.14006dd80
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140087020
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140028790

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400fc100]
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.14006dcd0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14006dd00
cmp byte [rdi + 0x17], 0
jns 0x140028862
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.14006dd80
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140087020
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400288b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140089170
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002894f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400a58f8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140069c30
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002d6c0
mov rcx, rsi
mov rdx, r14
call fcn.140069dd0
mov rcx, r14
call fcn.140069d60
mov rcx, rbx
call fcn.140069d60
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140087020
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140028980
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140089170
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 0x140028a15
cmp word [rsp + 0x70], 0
je 0x140028a15
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400a58f8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140069c30
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140087020
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 [0x1400fc100]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140069bb0
mov rcx, rdi
call fcn.1400288b0
test al, al
jne 0x140028a67
lea rax, [0x140100cee]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140069c30
jmp 0x140028a74
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140069c10
lea rcx, [rsp + 0x40]
call fcn.140069d60
jmp 0x1400289f7
Function at 0x140028e70
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 [0x140121038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x140132d44], 0
jne 0x140029111
mov rsi, rcx
movaps xmm6, xmmword [0x1400fc100]
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.14006dcd0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14006dd00
test rsi, rsi
je 0x140029115
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140069bb0
mov ecx, 0x65
mov rdx, rdi
call fcn.14002a1a0
test al, al
je 0x140028fdf
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.14002d550
mov rcx, rdi
mov rdx, rbx
call fcn.140069dd0
mov rcx, rbx
call fcn.140069d60
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.14006dcd0
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14006dd00
cmp byte [rsp + 0x47], 0
jns 0x140028fc3
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14006dd80
cmp edi, 0xffffffff
jne 0x1400290a6
lea rcx, [rsp + 0x30]
call fcn.140069d60
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140069bb0
mov ecx, 0x67
mov rdx, rdi
call fcn.14002a1a0
test al, al
je 0x140029098
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.14006dcd0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14006dd00
cmp byte [rsp + 0x47], 0
jns 0x140029067
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.14006dd80
cmp edi, 0xffffffff
je 0x140029098
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400286a0
test al, al
jne 0x1400290c3
lea rcx, [rsp + 0x30]
call fcn.140069d60
xor esi, esi
jmp 0x1400290de
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400286a0
test al, al
je 0x140028fdf
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.140069d70
mov rcx, rdi
call fcn.140069d60
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.14006dd80
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140087020
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 0x1400290e8
int3
Function at 0x140029b20
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 [0x140121038]
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.140089170
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003cd70
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400fc100]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003cf30
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140029bb8
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140029c8a
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.140089170
mov rcx, r15
mov rdx, r14
call fcn.14003cee0
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x140029cc7
mov rcx, r14
call fcn.14003cd40
test al, al
jne 0x140029d1c
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140029c26
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x140029d15
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.1400185e0
mov rcx, r15
mov rdx, r14
call fcn.14003cf30
mov rcx, rdi
mov rdx, r14
call fcn.140069dd0
mov rcx, r14
call fcn.140069d60
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x140029c7e
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x140029bdf
lea rcx, [rsp + 0x40]
call fcn.140069d60
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14003ce70
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140087020
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 0x140029cef
cmp byte [rsp + 0x57], 0
js 0x140029cdc
lea rcx, [rsp + 0x40]
jmp 0x140029ce1
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140029c07
lea rcx, [rsp + 0x58]
call fcn.14003cd40
test al, al
jne 0x140029d03
mov edx, dword [rsp + 0x58]
jmp 0x140029cce
lea rcx, [rsp + 0x58]
call fcn.14003cd40
test al, al
je 0x140029c17
xor ebp, ebp
jmp 0x140029c43
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x140029c43
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140029b20
mov ebp, eax
test eax, eax
jne 0x140029c43
cmp byte [rsp + 0x57], 0
jns 0x140029d59
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 0x140029c43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140029c43
Function at 0x140029e80
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 [0x140121038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x1400fc100]
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.14006dcd0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.14006dd00
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x140029f06
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140029f32
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.140085af8
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
jmp 0x14002a076
mov qword [rsi], 0
jmp 0x14002a045
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14002a0a1
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 0x14002a0a1
mov r13, qword [rsp + 0x30]
test r13, r13
je 0x14002a0a1
mov ecx, 0x38
call fcn.140085af8
mov rbx, rax
movzx r12d, word [r13]
movzx ebp, word [r13 + 2]
lea rax, fcn.14002a170
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 [0x140123bc8]
jne 0x140029fe6
mov rcx, rdi
call fcn.140071b10
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, [0x140101034]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002a0c8
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x140123bc8]
jne 0x14002a03e
mov rcx, rdi
call fcn.140071b10
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x50]
call fcn.14006dd80
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140087020
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 0x14002a08e
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14002a076
jmp 0x140029f3e
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400bcb80
mov qword [rsi], 0
test rdi, rdi
je 0x14002a045
dec r15
cmp r15, r14
jae 0x14002a0cb
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400bcb80
int3
mov rcx, rdi
call fcn.140085b34
jmp 0x14002a045