joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400657f0
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xb2
call fcn.14003af60
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400406c0
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.140042d70
test al, al
jne 0x1400658d0
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140042e00
lea rcx, [rsp + 0x50]
call fcn.140040900
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a5d70
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.140119af0
jmp 0x14006587d

Function at 0x1400658f0
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x40], r15
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0xbf
call fcn.14003af60
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400406c0
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.140042d70
test al, al
jne 0x140065a1c
lea r8, [rsp + 0x28]
mov qword [r8], r15
mov rcx, qword [rsi]
xor ebx, ebx
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400659e3
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400659e3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140065a18
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.140042e00
lea rcx, [rsp + 0x50]
call fcn.140040900
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400659e3
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.140119af0
jmp 0x140065986
Function at 0x140066090
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edx, 1
jmp 0x140065d90

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], rax
movaps xmm6, xmmword [0x140163e40]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2ba
call fcn.14003af60
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400406c0
call fcn.140073680
test al, al
jne 0x14006616f
cmp byte [rsi + 0x17], 0
jns 0x140066131
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call fcn.140040900
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x40], 0xaaaaaaaa
cmp byte [rsi + 0x17], 0
jns 0x14006618a
mov rsi, qword [rsi]
lea r8, [rsp + 0x20]
mov rcx, rsi
xor edx, edx
call fcn.140119d40
test eax, eax
jmp 0x14006613d

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x140163e40]
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, 0x2ca
call fcn.14003af60
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400406c0
cmp byte [rdi + 0x17], 0
jns 0x140066230
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14006626a
lea rcx, [rsp + 0x60]
call fcn.140040900
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test al, 0x10
cmove esi, ebx
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rsi, [rsp + 0x40]
mov qword [rsi], rbx
mov rcx, rsi
mov rdx, rax
call fcn.140036b60
mov rax, qword [rsi]
inc rax
test rax, 0xfffffffffffffffe
setne bpl
cmp rax, 2
jb 0x14006623e
call fcn.14003af80
mov rcx, qword [rsp + 0x40]
call fcn.140036b30
jmp 0x14006623e
Function at 0x1400662f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x140163e40]
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, 0x2e9
call fcn.14003af60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400406c0
cmp byte [rdi + 0x17], 0
jns 0x140066370
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.140040900
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a5d70
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400663b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a7ec0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14006644f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400c83b4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14003b220
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140069d50
mov rcx, rsi
mov rdx, r14
call fcn.14003b470
mov rcx, r14
call fcn.14003b370
mov rcx, rbx
call fcn.14003b370
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140066480
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a7ec0
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 0x14006652e
cmp word [rsp + 0x70], 0
je 0x14006652e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400c83b4
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14003b220
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400a5d70
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003b200
lea rcx, [rsp + 0x40]
call fcn.14003b370
jmp 0x1400664f7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14003b0f0
mov rcx, rdi
call fcn.1400663b0
test al, al
jne 0x140066515
lea rax, [0x14016d536]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14003b220
jmp 0x140066522
Function at 0x140066580
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x60]
mov qword [rbx + 0x40], r15
movaps xmm6, xmmword [0x140163e40]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x3a1
call fcn.14003af60
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400406c0
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x140066613
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006665f
mov bl, 1
test al, 0x10
je 0x140066720
lea rcx, [rsp + 0x60]
call fcn.140040900
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rdi
mov rdx, r14
call fcn.14003c490
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140066687
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
jmp 0x14006668e
and r8d, 0x7f
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400fb3ec
movzx r8d, byte [rsp + 0x37]
test r8b, r8b
js 0x1400666a9
and r8d, 0x7f
jmp 0x1400666b3
mov r8, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, r14
call fcn.1400fb3ec
mov rax, qword [r15 + 8]
cmp rax, qword [rsp + 0x58]
je 0x14006673d
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.140066580
test al, al
je 0x140066780
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x140066703
lea rcx, [rsp + 0x20]
call fcn.14003b370
jmp 0x14006662b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x140066787
mov rcx, rdi
call fcn.1400662f0
test al, al
jne 0x1400666f4
jmp 0x140066787
test rsi, rsi
je 0x14006672b
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14006662b
test rax, rax
je 0x140066767
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
xor r8d, r8d
movzx r9d, word [rcx + r8*2]
cmp r9w, word [rdx + r8*2]
jne 0x1400666ce
inc r8
cmp rax, r8
jne 0x14006674f
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x140066778
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400666f4
test rsi, rsi
je 0x140066778
mov ecx, ebp
call fcn.140065b70
jmp 0x140066776
Function at 0x140066900
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x40], rax
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14016d5b6]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x4ee
call fcn.14003af60
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400406c0
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a7ec0
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 0x1400669ff
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400c83b4
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14003b220
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140069d50
mov rcx, rsi
mov rdx, r14
call fcn.14003b470
mov rcx, r14
call fcn.14003b370
mov rcx, rbx
call fcn.14003b370
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x270]
call fcn.140040900
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
add rsp, 0x2c8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140066a40
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x14016d5cb]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x4fe
call fcn.14003af60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400406c0
cmp byte [rdi + 0x17], 0
jns 0x140066ac0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140040900
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140066b00
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400a7ec0
mov qword [rsp + 0x20], rdi
xor ebp, ebp
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 3
call fcn.1400672b0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rbx], xmm0
mov rcx, r14
mov rdx, rbx
call fcn.1400a1d40
movzx eax, byte [rbx + 0x17]
test al, al
js 0x140066b96
and eax, 0x7f
jmp 0x140066b9b
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140066bdd
lea rcx, [rsp + 0x30]
call fcn.14003b370
lea rcx, [rsp + 0x298]
call fcn.140067400
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r12d, r12d
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400a7ec0
mov rcx, r15
mov rdx, r14
call fcn.140067470
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140066d13
mov rcx, r14
call fcn.140067230
test al, al
jne 0x140066c9f
test sil, 2
jne 0x140066cea
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x140066c41
mov rcx, qword [rsp + 0x30]
call r13
xor ebp, ebp
test eax, eax
je 0x140066cd2
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140057c70
mov rcx, r15
mov rdx, r14
call fcn.1400a1d40
mov rcx, rbx
mov rdx, r14
call fcn.14003b470
mov rcx, r14
call fcn.14003b370
movzx eax, byte [rsp + 0x47]
test al, al
js 0x140066c89
and eax, 0x7f
jmp 0x140066c8e
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140066ba0
jmp 0x140066bf4
xor ebp, ebp
test sil, 1
je 0x140066c4e
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rdi
mov r8d, esi
call fcn.140066b00
mov ebp, eax
test eax, eax
jne 0x140066c4e
cmp byte [rsp + 0x47], 0
jns 0x140066d6a
jmp 0x140066d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140066c4e
call fcn.140042030
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
lea rcx, [rsp + 0x30]
call fcn.140112ba0
xor ebp, ebp
test al, al
jne 0x140066c4e
jmp 0x140066cd2
test sil, 1
jne 0x140066d2b
lea rcx, [rsp + 0x48]
call fcn.140067230
test al, al
jne 0x140066d4c
mov edx, dword [rsp + 0x48]
cmp byte [rsp + 0x47], 0
js 0x140066d39
lea rcx, [rsp + 0x30]
jmp 0x140066d3e
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140066c1c
lea rcx, [rsp + 0x48]
call fcn.140067230
test al, al
je 0x140066c28
jmp 0x140066d7f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
jmp 0x140066c46
xor ebp, ebp
jmp 0x140066c4e
Function at 0x1400689a0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140068a60
mov eax, dword [rsi]
mov dword [0x14019e098], eax
test al, 1
jne 0x1400689c1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401aaa78]
test rcx, rcx
jne 0x1400689db
mov rcx, qword [0x1401aaa50]
test rcx, rcx
je 0x1400689ff
jmp 0x140068a21
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401aaa78], 0
mov rcx, qword [0x1401aaa50]
test rcx, rcx
jne 0x140068a21
and byte [0x14019e098], 0xfe
mov ecx, 0x18
call fcn.1400a4810
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401aaa50], rax
mov rdx, qword [rsi + 8]
call fcn.140069100
cmp dword [rsi + 0x14], 0
jne 0x140068a46
mov rcx, qword [0x1401aaa50]
cmp byte [rcx + 0x17], 0
jns 0x140068a40
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400ddbd0
Function at 0x14006aeb0
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14006f9c0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14006afb5
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14006afd5
lea rdx, [0x14016da5a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006afd1
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401bc008]
mov rbx, rax
movsxd r9, dword [rsp + 0x3c]
lea r8, [rbx + r9*8]
xorps xmm6, xmm6
lea r14, [rsp + 0x20]
movaps xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
mov rcx, r14
mov rdx, rbx
call fcn.14006cf40
mov rcx, rsi
mov rdx, r14
call fcn.14006a980
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14006afa8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x50]
mov qword [rcx], r14
call fcn.14003d900
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5d70
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x14006af5b
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14006af58

Function at 0x14006e07f
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a7ec0
xor ebx, ebx
lea r14, str.PROGRAMFILES
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r14]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call r15
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14006e0fa
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.14006e00b
test al, al
jne 0x14006e127
add rbx, 8
cmp rbx, 0x18
jne 0x14006e0c7
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400a5d70
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x14006e106
Function at 0x14006e413
Capabilities:
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1400a7ec0
mov word [rsi], 0
mov rcx, rsi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140163e40]
movaps xmmword [rdi], xmm0
mov rcx, rsi
call fcn.1400c83b4
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.140035f3c
lea rdx, str.usp10.dll
mov r8d, 0xa
mov rcx, rdi
call fcn.14003610e
cmp byte [rax + 0x17], 0
jns 0x14006e4a8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [rsp + 0x37], 0
jns 0x14006e4c4
mov rcx, qword [rsp + 0x20]
call fcn.1400a484c
cmp esi, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a5d70
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400702b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140165bb0]
mov qword [rcx], rax
add rcx, 8
call fcn.1400433b0
lea rcx, [rsi + 0x10]
call fcn.1400433b0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1400433b0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1401763c4]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140079650
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140057c70
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov rcx, rsi
call fcn.1400704a0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140070485
call fcn.140078e50
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400a0cb0
mov qword [0x1401aaee0], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401bc008]
jmp 0x140070453