joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041090
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x5f
call fcn.140059c00
lea rcx, [rsp + 0x50]
mov rdx, r14
xor r8d, r8d
call fcn.140048050
test esi, esi
js 0x140041188
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x30], 0
call fcn.14007be70
test al, al
je 0x140041152
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14007bf30
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004118f
mov esi, dword [rsp + 0x2c]
test esi, esi
jns 0x1400411a0
int3
mov esi, 0xffffffff
jmp 0x1400411aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
lea rcx, [rsp + 0x30]
call fcn.14007bf00
lea rcx, [rsp + 0x50]
call fcn.1400480b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140148650
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400411e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.140059c00
lea rcx, [rsp + 0x60]
mov rdx, r15
xor r8d, r8d
call fcn.140048050
mov ebp, 0xffffffff
test r14, r14
js 0x1400412fd
test esi, esi
js 0x1400412fd
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x30], 0
call fcn.14007be70
test al, al
je 0x1400412b5
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14007bf30
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x2c]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.14007bf00
lea rcx, [rsp + 0x60]
call fcn.1400480b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140148650
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140041340
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x97
call fcn.140059c00
lea rcx, [rsp + 0x50]
mov rdx, r14
xor r8d, r8d
call fcn.140048050
test esi, esi
js 0x14004143e
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x30], 0
call fcn.14007be70
test al, al
je 0x140041402
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14007bf30
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.14007bf00
jmp 0x140041443
mov esi, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1400480b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140148650
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140041480
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rbx
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0xac
call fcn.140059c00
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140048050
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x30], 0
call fcn.14007be70
test al, al
je 0x140041536
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.14007bf30
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsi]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14007bf00
lea rcx, [rsp + 0x50]
call fcn.1400480b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400419b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140041a0c
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 0x1400419ea
call fcn.140059c20
mov rcx, qword [rdi]
call fcn.140038f70
mov qword [rdi], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400419fc
mov qword [rdi], rsi
call fcn.140059c20
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 0x140041de0
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x498], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x480], xmm0
movaps xmmword [rsp + 0x470], xmm0
movaps xmmword [rsp + 0x460], xmm0
movaps xmmword [rsp + 0x450], xmm0
lea rdx, [0x14018dbc7]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x240]
mov rcx, r14
mov r9d, 0x1d6
call fcn.140059c00
lea rcx, [rsp + 0x450]
mov rdx, r14
xor r8d, r8d
call fcn.140048050
lea r15, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.14014b870
lea r14, [rdi + 2]
test byte [rdi], 1
mov rdx, r14
je 0x140041ea4
mov rdx, qword [rdi + 0x10]
mov r8d, 0x104
mov rcx, r15
call fcn.14004b470
mov rcx, r15
call fcn.140002ab0
lea r12, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r12
mov dl, 0xaa
call fcn.14014b870
lea r15, [rbx + 2]
test byte [rbx], 1
mov rdx, r15
je 0x140041edf
mov rdx, qword [rbx + 0x10]
mov r8d, 0x104
mov rcx, r12
call fcn.14004b470
mov rcx, r12
call fcn.140002ab0
test byte [rdi], 1
mov rdx, r14
je 0x140041f01
mov rdx, qword [rdi + 0x10]
test byte [rbx], 1
mov rcx, r15
je 0x140041f0d
mov rcx, qword [rbx + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov r12b, 1
test eax, eax
jne 0x140041f78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400415b0
mov ebp, eax
test byte [rbx], 1
je 0x140041f43
mov r15, qword [rbx + 0x10]
test byte [rdi], 1
je 0x140041f4c
mov r14, qword [rdi + 0x10]
mov rcx, r14
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne r12b
test rsi, rsi
je 0x140041f78
test eax, eax
jne 0x140041f78
cmp ebp, 0xfffffffc
jne 0x140041f73
call fcn.140041590
mov ebp, eax
mov dword [rsi], ebp
xor r12d, r12d
lea rcx, [rsp + 0x450]
call fcn.1400480b0
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.140148650
mov eax, r12d
add rsp, 0x4a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], 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.140059c00
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140048050
test byte [rsi], 1
je 0x14004203b
mov rsi, qword [rsi + 0x10]
jmp 0x14004203f
add rsi, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.1400480b0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140148650
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140042080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x212
call fcn.140059c00
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
call fcn.140048050
test byte [rdi], 1
je 0x140042118
mov rdi, qword [rdi + 0x10]
jmp 0x14004211c
add rdi, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400421b4
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 0x140042197
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14004218c
call fcn.140059c20
mov r14, rdi
jmp 0x14004218f
xor r14d, r14d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400421b4
call fcn.140059c20
mov rcx, r14
call fcn.140038f70
lea rcx, [rsp + 0x60]
call fcn.1400480b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140148650
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400421e0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14014b870
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14004227f
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.14016dfe4
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14005b380
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14005dd40
mov rcx, rsi
mov rdx, r14
call fcn.14005b460
mov rcx, r14
call fcn.14005b430
mov rcx, rbx
call fcn.14005b430
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140148650
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400422b0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14014b870
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 0x140042328
cmp word [rsp + 0x70], 0
je 0x140042328
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.14016dfe4
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14005b380
jmp 0x140042397
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140045130
mov rcx, rdi
call fcn.1400421e0
test al, al
je 0x14004236b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005b360
jmp 0x14004238d
lea rax, [0x14018dbe0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14005b380
lea rcx, [rsp + 0x40]
call fcn.14005b430
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140148650
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x140043640
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 [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.14014b870
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14007bf80
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14007c1c0
movzx eax, byte [rsp + 0x30]
test al, 1
je 0x1400436e6
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1400436f1
jmp 0x14004384d
shr eax, 1
test rax, rax
je 0x14004384d
lea r13, [rsp + 0x32]
lea rdi, [rsp + 0x48]
lea r14, [rsp + 0x298]
lea r15, [rsp + 0x30]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x140043730
mov rax, qword [rsp + 0x38]
mov esi, ebp
test rax, rax
je 0x14004384d
mov r8d, 0x250
mov rcx, rdi
mov dl, 0xaa
call fcn.14014b870
mov rcx, r14
mov rdx, rdi
call fcn.14007c120
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x140043793
test bl, bl
jne 0x14004377b
mov rcx, rdi
call fcn.14007bf70
test al, al
je 0x140043777
mov rcx, rdi
call fcn.14007bf70
xor ebp, ebp
test al, al
je 0x1400437e0
jmp 0x14004380e
mov edx, dword [rsp + 0x48]
test byte [rsp + 0x30], 1
mov rcx, r13
je 0x14004378a
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call fcn.14007bf70
test al, al
je 0x1400437e0
xor ebp, ebp
test bl, bl
je 0x14004380e
mov rcx, r15
mov rdx, qword [rsp + 0x28]
mov r8b, 1
call fcn.140043640
mov ebp, eax
test eax, eax
jne 0x14004380e
test byte [rsp + 0x30], 1
mov rcx, r13
je 0x1400437ca
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14004380e
jmp 0x1400437f8
test byte [rsp + 0x30], 1
mov rcx, r13
je 0x1400437ef
mov rcx, qword [rsp + 0x40]
call r12
xor ebp, ebp
test eax, eax
jne 0x14004380e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test esi, esi
cmovne ebp, esi
mov rcx, rdi
call fcn.140002ab0
mov rcx, r14
mov rdx, rdi
call fcn.14007c1c0
mov rcx, r15
mov rdx, rdi
call fcn.14005b460
mov rcx, rdi
call fcn.14005b430
movzx eax, byte [rsp + 0x30]
test al, 1
jne 0x140043720
shr eax, 1
jmp 0x140043725
lea rcx, [rsp + 0x30]
call fcn.14005b430
lea rcx, [rsp + 0x298]
call fcn.14007c0b0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140148650
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400568f0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400569b0
mov eax, dword [rsi]
mov dword [0x1401c6b40], eax
test al, 1
jne 0x140056911
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401ca420]
test rcx, rcx
je 0x140056943
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401ca420], 0
mov rcx, qword [0x1401ca3f8]
test rcx, rcx
jne 0x140056971
and byte [0x1401c6b40], 0xfe
jmp 0x14005694f
mov rcx, qword [0x1401ca3f8]
test rcx, rcx
jne 0x140056971
mov ecx, 0x18
call fcn.140148228
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401ca3f8], rax
mov rdx, qword [rsi + 8]
call fcn.14002f042
cmp dword [rsi + 0x14], 0
jne 0x14005699c
mov rcx, qword [0x1401ca3f8]
test byte [rcx], 1
je 0x140056992
mov rcx, qword [rcx + 0x10]
jmp 0x140056996
add rcx, 2
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.140056b00
Function at 0x14005e940
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140040ca0
mov qword [rsi], 0
test rax, rax
je 0x14005e9a7
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14005e98d
call fcn.140059c20
mov rcx, qword [rsi]
call fcn.140038f70
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14005e99f
mov qword [rsi], rbx
call fcn.140059c20
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14005b350
lea rcx, [rsi + 0x20]
call fcn.14007be90
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
movzx eax, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
movzx eax, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x14005fe30
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401ca4d8]
test rdi, rdi
jne 0x14005ff03
mov ecx, pe_nt_image_headers64
call fcn.140148228
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140148228
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14005ff25
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x40], 0
mov rax, rsi
add rax, 0x50
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x60], 1
mov dword [rsi + 0x68], 0
mov qword [rsi + 0x70], 0
mov qword [0x1401ca4d8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14005ff51
mov rcx, rax
call fcn.14016dfe4
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14005ff80
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140148650
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.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140005c64
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.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.140005c64
int3
Function at 0x14005ff80
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 3
call fcn.14003b370
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400600e0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x14018f0f4]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14006001e
lea rdx, [0x14018f144]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140060031
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401de008]
jmp 0x14006002c
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
jmp 0x140060033
xor ebx, ebx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x30], xmm0
movsxd rax, dword [rsp + 0x4c]
lea r8, [rbx + rax*8]
lea r14, [rsp + 0x30]
mov rcx, r14
mov rdx, rbx
call fcn.140061ee0
mov rcx, rsi
mov rdx, r14
call fcn.14005f610
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14006008f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x1400600e0
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
cmp rdi, rsi
je 0x1400600d6
add rdi, 0xffffffffffffffe8
jmp 0x1400600bc
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x1400600d1
test rdi, rdi
je 0x1400600f8
test byte [rdi], 1
je 0x1400600b0
mov rcx, qword [rdi + 0x10]
call fcn.140148278
jmp 0x1400600b0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
call fcn.140148278
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140148650
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
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.E:_nw82_sdk_win64_node_webkit_srcoutst_nw...._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.140005c64
int3