joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e660
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1401cd260]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x1401dd6ef]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1d6
call fcn.1400ea6a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400dfba0
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14010cff0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14005e710
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.1400e3820
mov rcx, r14
call fcn.1400b5a80
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.14010cff0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14005e747
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.1400e3820
mov rcx, r14
call fcn.1400b5a80
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14005e769
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14005e775
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 0x14005e7fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005de90
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14005e7a8
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14005e7b1
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 0x14005e7cc
test eax, eax
je 0x14005e800
lea rcx, [rsp + 0x450]
call fcn.1400dfe10
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14010aeb0
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x14005e7cc
cmp ebp, 0xfffffffc
jne 0x14005e80c
call fcn.14017ad00
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14005e7cc

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1401cd260]
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, 0x209
call fcn.1400ea6a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400dfba0
cmp byte [rdi + 0x17], 0
jns 0x14005e8a0
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400dfe10
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005e8e0
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 ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x1401cd260]
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, 0x212
call fcn.1400ea6a0
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400dfba0
cmp byte [rdi + 0x17], 0
jns 0x14005e970
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005ea03
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 0x14005e9e6
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14005ea2f
call fcn.1400ea6c0
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 0x14005ea03
call fcn.1400ea6c0
mov rcx, r14
call fcn.1400dc150
lea rcx, [rsp + 0x60]
call fcn.1400dfe10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14005e9de

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1401cd260]
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, 0x231
call fcn.1400ea6a0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400dfba0
cmp byte [rdi + 0x17], 0
jns 0x14005eac0
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.1400dfe10
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14010aeb0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005eb00
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14010cff0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14005eb9f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14012f334
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400eaf30
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140069940
mov rcx, rsi
mov rdx, r14
call fcn.1400eb100
mov rcx, r14
call fcn.1400eb080
mov rcx, rbx
call fcn.1400eb080
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14005ebd0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14010cff0
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 0x14005ec7e
cmp word [rsp + 0x70], 0
je 0x14005ec7e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14012f334
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400eaf30
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14010aeb0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400eaf10
lea rcx, [rsp + 0x40]
call fcn.1400eb080
jmp 0x14005ec47
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401cd260]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400d5e10
mov rcx, rdi
call fcn.14005eb00
test al, al
jne 0x14005ec65
lea rax, [0x1401dd718]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400eaf30
jmp 0x14005ec72
Function at 0x14005f180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x1401cd260]
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 + 0xc0]
mov rcx, rbx
mov r9d, 0x2b3
call fcn.1400ea6a0
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400dfba0
test rsi, rsi
je 0x14005f41a
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400d5e10
mov ecx, 0x65
mov rdx, rdi
call fcn.1400606e0
test al, al
je 0x14005f2e7
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.140069840
mov rcx, rdi
mov rdx, rbx
call fcn.1400eb100
mov rcx, rbx
call fcn.1400eb080
mov qword [rbx + 0x40], r15
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 + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.1400ea6a0
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400dfba0
cmp byte [rsp + 0x47], 0
jns 0x14005f2cb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400dfe10
cmp edi, 0xffffffff
jne 0x14005f3af
lea rcx, [rsp + 0x30]
call fcn.1400eb080
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400d5e10
mov ecx, 0x67
mov rdx, rdi
call fcn.1400606e0
test al, al
je 0x14005f3a1
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r15
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 + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.1400ea6a0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400dfba0
cmp byte [rsp + 0x47], 0
jns 0x14005f370
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400dfe10
cmp edi, 0xffffffff
je 0x14005f3a1
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14005e8e0
test al, al
jne 0x14005f3cc
lea rcx, [rsp + 0x30]
call fcn.1400eb080
xor esi, esi
jmp 0x14005f3e7
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14005e8e0
test al, al
je 0x14005f2e7
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400eb090
mov rcx, rdi
call fcn.1400eb080
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.1400dfe10
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14010aeb0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x140060110
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 ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14010cff0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400789a0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401cd260]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140078bb0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400601a6
and eax, 0x7f
jmp 0x1400601ab
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14006027f
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.14010cff0
mov rcx, r15
mov rdx, r14
call fcn.140078b60
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400602c3
mov rcx, r14
call fcn.140078990
test al, al
jne 0x140060310
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140060212
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400602bc
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140024d50
mov rcx, r15
mov rdx, r14
call fcn.140078bb0
mov rcx, rdi
mov rdx, r14
call fcn.1400eb100
mov rcx, r14
call fcn.1400eb080
movzx eax, byte [rsp + 0x47]
test al, al
js 0x14006026e
and eax, 0x7f
jmp 0x140060273
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x1400601cb
lea rcx, [rsp + 0x30]
call fcn.1400eb080
lea rcx, [rsp + 0x298]
call fcn.140078af0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x140060233
test bl, bl
je 0x1400602e8
cmp byte [rsp + 0x47], 0
js 0x1400602d5
lea rcx, [rsp + 0x30]
jmp 0x1400602da
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400601f3
lea rcx, [rsp + 0x48]
call fcn.140078990
test al, al
jne 0x1400602fc
mov edx, dword [rsp + 0x48]
jmp 0x1400602c7
lea rcx, [rsp + 0x48]
call fcn.140078990
test al, al
je 0x140060203
jmp 0x1400602bc
xor ebp, ebp
test bl, bl
je 0x140060233
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140060110
mov ebp, eax
test eax, eax
jne 0x140060233
cmp byte [rsp + 0x47], 0
jns 0x14006034a
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
test eax, eax
jne 0x140060233
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140060233
Function at 0x140061790
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 [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140061959
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1401281c8
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x1401cd260]
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.1400ea6a0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400dfba0
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.14011ccd8
mov ecx, eax
call fcn.14011d4ec
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14006194e
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 [0x14022e008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140127e50
test rax, rax
je 0x1400618f1
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14006195d
add r15, r12
mov rcx, rbx
call fcn.140127114
test eax, eax
je 0x140061961
mov r12, r15
mov rcx, rbx
call fcn.140127140
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 [0x14022e008]
lea rcx, [rsp + 0x80]
call fcn.1400dfe10
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, 0xffff
jmp 0x14006188f
xor ebx, ebx
jmp 0x140061923
xor ebx, ebx
jmp 0x140061901
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 [0x14022e008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x1400618b4
Function at 0x140066550
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140066610
mov eax, dword [rsi]
mov dword [0x14020d050], eax
test al, 1
jne 0x140066571
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x14021b960]
test rcx, rcx
jne 0x14006658b
mov rcx, qword [0x14021b938]
test rcx, rcx
je 0x1400665af
jmp 0x1400665d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14021b960], 0
mov rcx, qword [0x14021b938]
test rcx, rcx
jne 0x1400665d1
and byte [0x14020d050], 0xfe
mov ecx, 0x18
call fcn.140109878
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14021b938], rax
mov rdx, qword [rsi + 8]
call fcn.140067220
cmp dword [rsi + 0x14], 0
jne 0x1400665f6
mov rcx, qword [0x14021b938]
cmp byte [rcx + 0x17], 0
jns 0x1400665f0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.14017c960
Function at 0x14006a470
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 [0x1401fd028]
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.1400e1370
cmp byte [rdi + 0x17], 0
jns 0x14006a4b7
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 0x14006a4d8
mov rcx, qword [rsp + 0x68]
call fcn.1401098c8
test rsi, rsi
je 0x14006a57f
test edi, edi
je 0x14006a57f
mov ecx, edi
add rcx, rcx
call fcn.14010990c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.1400e1370
cmp byte [r14 + 0x17], 0
jns 0x14006a51b
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 0x14006a53b
mov rcx, qword [rsp + 0x68]
call fcn.1401098c8
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14006a5ad
mov rcx, rbx
call fcn.14012f334
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.1400e1890
cmp byte [rsi + 0x17], 0
js 0x14006a5a3
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140109914
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.1401098c8
jmp 0x14006a566
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.1401491d0
int3
Function at 0x14006aca0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14021ba18]
test rdi, rdi
jne 0x14006ad53
mov ecx, 0x50
call fcn.140109878
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140109878
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14006ad75
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 [0x14021ba18], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14006ada1
mov rcx, rax
call fcn.14012f334
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14006add0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010aeb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401491d0
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.1401491d0
int3
Function at 0x14006add0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14005d250
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14006af64
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401de018]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14006af9b
lea rdx, [0x1401de068]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006af89
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x14022e008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14006af91
test r12d, r12d
js 0x14006b006
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140109878
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14006afae
mov rdx, qword [r14 + r15]
call fcn.140146ce0
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14006aed2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14006a890
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14006af26
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14006af64
cmp r15, rbx
je 0x14006af5c
add r15, 0xffffffffffffffe8
jmp 0x14006af4a
mov rcx, qword [r15]
call fcn.1401098c8
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14006af5c
test r15, r15
je 0x14006afda
cmp byte [r15 + 0x17], 0
jns 0x14006af3e
jmp 0x14006af36
mov rcx, rbx
call fcn.1401098c8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14010aeb0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14006ae84
xor r15d, r15d
xor ebx, ebx
jmp 0x14006aeff
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14006ae81
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401491d0
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1401491d0
lea rcx, [rsp + 0x30]
call fcn.140146a50
int3
Function at 0x14006fb70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14006fb8a
test r8d, r8d
jne 0x14006fb83
call fcn.140082150
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.14006f320