joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0080
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.1400de550
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
jne 0x1400e00b4
mov ebx, 3
jmp 0x1400e0126
mov rsi, qword [rbx + 0x58]
mov rdi, qword [rbx + 0x50]
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x20], xmm0
cmp rdi, rsi
je 0x1400e00ea
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400f2540
test al, al
jne 0x1400e00ea
sub rdi, 0xffffffffffffff80
cmp rdi, rsi
jne 0x1400e00d0
cmp rdi, qword [rbx + 0x58]
jne 0x1400e00f7
mov ebx, 1
jmp 0x1400e0126
lea rcx, [rdi + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x1400e0105
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400e00f0
shr ebx, 3
and ebx, 2
jne 0x1400e0126
mov rdx, rdi
mov rcx, r14
call fcn.1400dddb0
nop
lea rcx, [rsp + 0x68]
call fcn.1400dda00
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 0x1400e9e50
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 [0x14070a990]
nop
test rax, rax
jne 0x1400e9e87
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400e9e70
cmp eax, 2
jne 0x1400e9ecb
mov dword [rsp + 0x20], eax
mov r9d, reloc.WS2_32.dll___WSAFDIsSet
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.1400fd530
nop
mov dword [rsp + 0x148], ebx
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov rcx, rax
call fcn.1400dbf30
nop
jmp 0x1400e9f71
mov rax, qword [0x14070a978]
test rax, rax
je 0x1400e9ee4
mov rcx, rdi
call rax
test al, al
jne 0x1400e9f8f
lock xadd qword [0x14070a9c0], rbx
lea rax, [rbx + 1]
cmp rax, 1
jle 0x1400e9f04
xor edx, edx
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x14070a970], eax
mov qword [0x14070a968], rdi
mov rcx, qword [0x1406fdea0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 2
mov r9d, SetErrorInfo
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.1400fd530
nop
mov dword [rsp + 0x148], 2
lea rdx, str.crash_server_did_not_respond__self_terminating
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x30]
call fcn.1400fd740
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 0x1400f0930
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400f1900
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 0x1400f1940
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x1400f199e
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.1400f0b40
test rax, rax
je 0x1400f199e
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.1400fd5b0
lea rcx, [rsp + 0x30]
call fcn.1400fd740
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret
Function at 0x1400f1740
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 0x1400f17c8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xf1
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::LoggingSeekFile_void____int64_int_
lea rcx, [rsp + 0x30]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x158], 4
lea rdx, [0x140427298]
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x30]
call fcn.1400fd990
xor al, al
add rsp, 0x140
pop rbx
ret
cmp qword [rsp + 0x160], 0
jne 0x1400f1835
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400f1840
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xfb
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingTruncateFile_void__
lea rcx, [rsp + 0x30]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x1404272b0]
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x30]
call fcn.1400fd990
xor al, al
add rsp, 0x140
pop rbx
ret
mov al, 1
add rsp, 0x140
pop rbx
ret

Function at 0x1400f1900
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400f1900
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 0x1400f1940
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x1400f199e
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.1400f0b40
test rax, rax
je 0x1400f199e
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.1400fd5b0
lea rcx, [rsp + 0x30]
call fcn.1400fd740
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret
Function at 0x1400f1ad0
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 0x1400f1bbb
mov dword [rsp + 0x168], r14d
cmp dword [rsp + 0x160], r14d
je 0x1400f1b32
mov rax, rbp
jmp 0x1400f1b4e
lea r8, str.bytes_read___static_cast_DWORD___1_
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.1400f0b40
test rax, rax
je 0x1400f1b80
mov r9d, 0x7e
mov qword [rsp + 0x20], rax
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::ReadFile_void__void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.1400fd5b0
lea rcx, [rsp + 0x30]
call fcn.1400fd740
cmp dword [rsp + 0x160], ebp
jne 0x1400f1be1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x1400f1be1
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 0x1400f1b23
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 0x1400f1bc9
Function at 0x1400f32b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x1c0
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400f32e0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400f33ea
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f32fc
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.1400feb60
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:3party_code_sentry_nativeexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsRegularFile_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 6
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400dbf30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f3387
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f3484
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f33e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f349f
call fcn.140133e68
jmp 0x1400f3484
test eax, 0x410
jne 0x1400f3484
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f3402
mov rcx, qword [rbx]
lea rdx, [rsp + 0x178]
call fcn.14017cb00
test eax, eax
jne 0x1400f341d
mov rax, qword [rsp + 0x190]
jmp 0x1400f3486
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xac
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.unsigned___int64___cdecl_crashpad::GetFileSize_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 1
lea rdx, str.stat
mov rcx, rax
call fcn.1400dbf30
cmp qword [rbx + 0x18], 8
jb 0x1400f346e
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400ddfa0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140134a90
add rsp, 0x1c0
pop rbx
ret
call fcn.1401462a8
int3
Function at 0x1400f34b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1406fe698]
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 0x1400f34e7
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400f35e8
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f3503
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.1400feb60
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:3party_code_sentry_nativeexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsDirectory_const_class_base::FilePath__bool_
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 3
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400dbf30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f358e
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f35f3
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f35df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f361d
call fcn.140133e68
xor al, al
jmp 0x1400f35fc
test dil, dil
jne 0x1400f35f7
bt eax, 0xa
jae 0x1400f35f7
xor al, al
jmp 0x1400f35fc
shr eax, 4
and al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140134a90
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
call fcn.1401462a8
int3
Function at 0x1400f3630
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400f3660
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400f3778
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f367c
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.1400feb60
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:3party_code_sentry_nativeexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsRegularFile_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 3
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400dbf30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f3707
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f375d
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f3783
call fcn.140133e68
xor al, al
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140134a90
add rsp, 0x180
pop rbx
ret
test eax, 0x410
jne 0x1400f375d
mov al, 1
jmp 0x1400f375f
call fcn.1401462a8
int3
Function at 0x1400f3d20
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400f3d50
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400f3e50
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f3d6b
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.1400feb60
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, Ordinal_50
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::LoggingRemoveDirectoryImpl_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 3
lea rdx, str.RemoveDirectory
mov rcx, rax
call fcn.1400dbf30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f3df6
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f3e4c
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3e47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f3e6b
call fcn.140133e68
xor al, al
jmp 0x1400f3e52
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140134a90
add rsp, 0x180
pop rbx
ret
call fcn.1401462a8
int3
Function at 0x1400f3e80
Capabilities:
Check if file exists
Delete file

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400f3eb0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f3ed4
and eax, 0x410
cmp eax, 0x410
jne 0x1400f3ed4
mov rcx, rbx
call fcn.1400f3d20
jmp 0x1400f3fe3
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f3ee1
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400f3fe1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400f3efc
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.1400feb60
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, __WSAFDIsSet
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingRemoveFile_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 3
lea rdx, str.DeleteFile
mov rcx, rax
call fcn.1400dbf30
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400f3f87
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400dc8b0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400f3fdd
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3fd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f3ffc
call fcn.140133e68
xor al, al
jmp 0x1400f3fe3
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140134a90
add rsp, 0x180
pop rbx
ret
call fcn.1401462a8
int3
Function at 0x1400f4e80
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x140
mov rbx, rcx
mov dword [rsp + 0x158], 0
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx edx, ax
shr dx, 8
cmp al, 6
jb 0x1400f4f54
jne 0x1400f4eb8
cmp dx, 1
jbe 0x1400f4f54
mov ecx, dword [0x14070b620]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x14070aa18], eax
jg 0x1400f4f68
xor edx, edx
mov r8d, 0x10000000
mov rcx, rbx
call qword [0x14070aa10]
test eax, eax
jne 0x1400f4f5d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, reloc.WLDAP32.dll_Ordinal_33
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwincritical_section_with_debug_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CrashpadInitializeCriticalSectionEx_struct__RTL_CRITICAL_SECTION__unsigned_long_unsigned_long_
lea rcx, [rsp + 0x30]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x140427d80]
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x30]
call fcn.1400fd990
xor al, al
add rsp, 0x140
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
add rsp, 0x140
pop rbx
ret
lea rcx, [0x14070aa18]
call fcn.140134534
cmp dword [0x14070aa18], 0xffffffff
jne 0x1400f4edf
mov r8b, 1
lea rdx, str.::InitializeCriticalSectionEx
lea rcx, [0x140424af0]
call fcn.1400f4fb0
mov qword [0x14070aa10], rax
lea rcx, [0x14070aa18]
call fcn.1401344d4
jmp 0x1400f4edf
Function at 0x1400f9e80
Capabilities:
Check os version
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
xor edi, edi
movzx esi, dl
mov rbx, rcx
test dl, dl
je 0x1400f9ecb
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1400f9ecb
xor ecx, ecx
mov qword [rsp + 0x40], Ordinal_30
mov dword [rsp + 0x54], edi
call fcn.1400f9f40
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x50], 1
cmp qword [rbx + 0x18], 8
jb 0x1400f9ed5
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov r9d, 2
mov edx, esi
mov dword [rsp + 0x30], 0
shl edx, 0x13
mov rcx, rbx
or edx, 3
mov dword [rsp + 0x28], 0x200
lea r8d, [r9 + 4]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400fd740
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
mov rax, qword [rcx]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.1400fe760
movzx edx, al
mov rcx, rdi
call fcn.1400fe620
mov rcx, rdi
call fcn.1400fe550
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400e4600
mov rax, qword [0x14070aaf8]
test rax, rax
je 0x1400fd835
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9, qword [rdi + 0xf0]
mov r8d, dword [rdi + 0xf8]
mov rdx, qword [rdi + 0xe8]
mov ecx, dword [rdi + 0xfc]
call rax
test al, al
je 0x1400fd835
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400fd80b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd806
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd988
call fcn.140133e68
mov rcx, rdi
call fcn.1400de280
nop
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140134a90
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
mov eax, dword [reloc.WS2_32.dll_accept]
test al, 4
je 0x1400fd884
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rbx, qword [rsp + 0x50]
mov ecx, 2
call fcn.1401757a8
mov r8, rbx
lea rdx, [0x14026ce78]
mov rcx, rax
call fcn.1400fe7d0
mov ecx, 2
call fcn.1401757a8
mov rcx, rax
call fcn.140176498
mov eax, dword [reloc.WS2_32.dll_accept]
test al, 2
je 0x1400fd935
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400feaa0
cmp qword [rax + 0x18], 8
jb 0x1400fd8d0
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x1400fd91a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd915
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd982
call fcn.140133e68
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], ax
cmp dword [rdi + 0xfc], 4
jne 0x1400fd941
int3
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400fd80b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd806
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd988
jmp 0x1400fd806
call fcn.1401462a8
int3
call fcn.1401462a8
int3