joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023f30
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x140023f60
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140023f73
mov al, 1
jmp 0x140024085
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002407d
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140023f91
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x265
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CreateDirectoryIfNecessary_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 3
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14002401c
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140024079
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024074
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024074
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
jmp 0x140024085
mov rcx, rbx
call fcn.1400242f0
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x180
pop rbx
ret
Function at 0x140024550
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, edx
mov rsi, qword [rcx + 0x58]
mov rbx, qword [rcx + 0x50]
cmp rbx, rsi
je 0x1400245cb
cmp dword [rbx + 0x78], ebp
jne 0x1400245c2
cmp qword [rbx + 0x28], 8
lea rcx, [rbx + 0x10]
jb 0x140024589
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400245c2
test al, 0x10
jne 0x1400245c2
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x1400245b4
mov rdx, rbx
mov rcx, rax
call fcn.140022940
add qword [rdi + 8], 0x78
jmp 0x1400245c2
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.140021e20
sub rbx, 0xffffffffffffff80
cmp rbx, rsi
jne 0x140024576
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
movups xmm0, xmmword [rdx]
mov rdi, qword [rcx + 0x58]
mov r14, r9
mov rbx, qword [rcx + 0x50]
mov ebp, r8d
movaps xmmword [rsp + 0x20], xmm0
mov rsi, rcx
cmp rbx, rdi
je 0x14002464a
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140035400
test al, al
jne 0x14002464a
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x140024630
cmp rbx, qword [rsi + 0x58]
jne 0x140024657
mov eax, 1
jmp 0x1400246a3
mov eax, dword [rbx + 0x78]
cmp eax, ebp
jne 0x140024687
cmp qword [rbx + 0x28], 8
lea rcx, [rbx + 0x10]
jb 0x14002466c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
mov edx, 1
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
cmove ecx, edx
jmp 0x140024696
mov ecx, 1
mov edx, 4
cmp eax, ecx
cmove ecx, edx
test ecx, ecx
jne 0x1400246a1
mov byte [rsi + 0x48], 1
mov qword [r14], rbx
mov eax, ecx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140024eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbp, rdx
lea rdx, [rsp + 0x68]
call fcn.1400233a0
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
jne 0x140024ee4
mov ebx, 3
jmp 0x140024f56
mov rsi, qword [rbx + 0x58]
mov rdi, qword [rbx + 0x50]
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x20], xmm0
cmp rdi, rsi
je 0x140024f1a
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140035400
test al, al
jne 0x140024f1a
sub rdi, 0xffffffffffffff80
cmp rdi, rsi
jne 0x140024f00
cmp rdi, qword [rbx + 0x58]
jne 0x140024f27
mov ebx, 1
jmp 0x140024f56
lea rcx, [rdi + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140024f35
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140024f20
shr ebx, 3
and ebx, 2
jne 0x140024f56
mov rdx, rdi
mov rcx, r14
call fcn.1400230b0
nop
lea rcx, [rsp + 0x68]
call fcn.140022d40
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14002ce10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rdi, rcx
mov dword [rsp + 0x148], 0
mov ebx, 1
mov rax, qword [0x140060bb0]
nop
test rax, rax
jne 0x14002ce47
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002ce30
cmp eax, 2
jne 0x14002ce8b
mov dword [rsp + 0x20], eax
mov r9d, 0x90
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.1400406b0
nop
mov dword [rsp + 0x148], ebx
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov rcx, rax
call fcn.1400012c0
nop
jmp 0x14002cf31
mov rax, qword [0x140060b98]
test rax, rax
je 0x14002cea4
mov rcx, rdi
call rax
test al, al
jne 0x14002cf4f
lock xadd qword [0x140060be0], rbx
lea rax, [rbx + 1]
cmp rax, 1
jle 0x14002cec4
xor edx, edx
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140060b90], eax
mov qword [0x140060b88], rdi
mov rcx, qword [0x140060198]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 2
mov r9d, 0xc0
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.1400406b0
nop
mov dword [rsp + 0x148], 2
lea rdx, str.crash_server_did_not_respond__self_terminating
mov rcx, rax
call fcn.1400012c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400408c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xffff7001
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret

Function at 0x140033850
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400347c0
push rbx
sub rsp, 0x130
mov ebx, 0xffffffff
cmp r8, rbx
cmova r8d, ebx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140034800
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14003485e
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.140033ac0
test rax, rax
je 0x14003485e
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.140040730
lea rcx, [rsp + 0x30]
call fcn.1400408c0
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret
Function at 0x140034600
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x140
mov rbx, rcx
mov dword [rax + 0x10], 0
xor r9d, r9d
lea r8, [rax + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140034688
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xf1
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::LoggingSeekFile_void____int64_int_
lea rcx, [rsp + 0x30]
call fcn.140040840
nop
mov dword [rsp + 0x158], 4
lea rdx, [0x14004ecd8]
mov rcx, rax
call fcn.1400012c0
nop
lea rcx, [rsp + 0x30]
call fcn.140040b50
xor al, al
add rsp, 0x140
pop rbx
ret
cmp qword [rsp + 0x160], 0
jne 0x1400346f5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140034700
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xfb
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingTruncateFile_void__
lea rcx, [rsp + 0x30]
call fcn.140040840
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x14004ecf0]
mov rcx, rax
call fcn.1400012c0
nop
lea rcx, [rsp + 0x30]
call fcn.140040b50
xor al, al
add rsp, 0x140
pop rbx
ret
mov al, 1
add rsp, 0x140
pop rbx
ret

Function at 0x1400347c0
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400347c0
push rbx
sub rsp, 0x130
mov ebx, 0xffffffff
cmp r8, rbx
cmova r8d, ebx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140034800
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14003485e
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.140033ac0
test rax, rax
je 0x14003485e
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.140040730
lea rcx, [rsp + 0x30]
call fcn.1400408c0
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret
Function at 0x140034990
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r14d, 0xffffffff
lea r9, [rsp + 0x160]
cmp r8, r14
cmova edi, r14d
xor ebp, ebp
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140034a7b
mov dword [rsp + 0x168], r14d
cmp dword [rsp + 0x160], r14d
je 0x1400349f2
mov rax, rbp
jmp 0x140034a0e
lea r8, str.bytes_read___static_cast_DWORD___1_
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.140033ac0
test rax, rax
je 0x140034a40
mov r9d, 0x7e
mov qword [rsp + 0x20], rax
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::ReadFile_void__void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.140040730
lea rcx, [rsp + 0x30]
call fcn.1400408c0
cmp dword [rsp + 0x160], ebp
jne 0x140034aa1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x140034aa1
lea r9, [rsp + 0x160]
mov qword [rsp + 0x20], rbp
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400349e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x6d
neg eax
sbb rax, rax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x160]
jmp 0x140034a89
Function at 0x140036170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x1c0
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400361a0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400362ad
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400361bc
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 2
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x75
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsRegularFile_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 6
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140036247
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140036349
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400362a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400362a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
jmp 0x140036349
test eax, 0x410
jne 0x140036349
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400362c5
mov rcx, qword [rbx]
lea rdx, [rsp + 0x178]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64]
test eax, eax
jne 0x1400362e1
mov rax, qword [rsp + 0x190]
jmp 0x14003634b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xac
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.unsigned___int64___cdecl_crashpad::GetFileSize_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 1
lea rdx, str.stat
mov rcx, rax
call fcn.1400012c0
cmp qword [rbx + 0x18], 8
jb 0x140036332
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x1c0
pop rbx
ret
Function at 0x140036370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
movzx edi, dl
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400363a7
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400364af
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400363c3
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x82
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsDirectory_const_class_base::FilePath__bool_
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 3
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14003644e
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400364ba
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400364a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400364a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
jmp 0x1400364c3
test dil, dil
jne 0x1400364be
bt eax, 0xa
jae 0x1400364be
xor al, al
jmp 0x1400364c3
shr eax, 4
and al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x1400364f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x140036520
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14003663f
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003653c
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x75
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsRegularFile_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 3
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400365c7
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140036624
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003661f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003661f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x180
pop rbx
ret
test eax, 0x410
jne 0x140036624
mov al, 1
jmp 0x140036626
Function at 0x140036be0
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x140036c10
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140036d17
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140036c2b
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x30
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::LoggingRemoveDirectoryImpl_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 3
lea rdx, str.RemoveDirectory
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140036cb6
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140036d13
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036d0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036d0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
jmp 0x140036d19
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x180
pop rbx
ret
Function at 0x140036d40
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400601c8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x140036d70
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140036d94
and eax, 0x410
cmp eax, 0x410
jne 0x140036d94
mov rcx, rbx
call fcn.140036be0
jmp 0x140036eaa
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140036da1
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140036ea8
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140036dbc
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.1400418f0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x95
lea r8, str.D:p.bornovalovconan_sentry_crashpad0.5.0___buildd140711d95cc16a85766a8fc3a551dfafe84cf63_source_subfolderexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingRemoveFile_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140040840
nop
mov dword [rsp + 0x30], 3
lea rdx, str.DeleteFile
mov rcx, rax
call fcn.1400012c0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140036e47
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400222a0
nop
lea rcx, [rsp + 0x50]
call fcn.140040b50
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140036ea4
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036e9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036e9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043654
xor al, al
jmp 0x140036eaa
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140043bb0
add rsp, 0x180
pop rbx
ret