joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400deb37
Capabilities:
Check os version
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400debb1
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
mov edi, 0x80003
cmp eax, 6
jb 0x1400debb6
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.1400dec13
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400debb8
mov edi, 3
xor ebx, ebx
test byte [rsi], 1
je 0x1400debc3
mov rsi, qword [rsi + 0x10]
jmp 0x1400debc7
add rsi, 2
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140132550
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400defd8
Capabilities:
Check os version

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x178], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1400df0b5
and eax, 0xfeff
cmp eax, 6
je 0x1400df0b5
mov eax, dword [0x1401ba300]
mov ecx, dword [0x1401b7730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400df0dd
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401ba2f8]
mov esi, eax
test eax, eax
jne 0x1400df0ae
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400df0ae
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x21
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x40]
lea rdx, str.InitializeCriticalSectionEx
mov r8d, 0x1b
call fcn.140001e21
mov rcx, rdi
call fcn.14002eda0
test esi, esi
setne bl
jmp 0x1400df0c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140132550
mov eax, ebx
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401ba300]
call fcn.140132300
cmp dword [0x1401ba300], 0xffffffff
jne 0x1400df041
lea rcx, [0x14016bf08]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.1400df2cc
mov qword [0x1401ba2f8], rax
lea rcx, [0x1401ba300]
call fcn.140132398
jmp 0x1400df041
Function at 0x1400dfe86
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401ba310]
mov ecx, dword [0x1401b7730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e00ff
mov rax, qword [0x1401ba308]
test rax, rax
je 0x1400dff6d
lea rdx, [rsp + 0x184]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
je 0x1400dff17
cmp dword [rsp + 0x184], 0
setne byte [rsi + 0x81]
je 0x1400dff74
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400dffa9
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400dff6d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x40]
lea rdx, [0x140173f0e]
mov r8d, 0xe
call fcn.140001e21
mov rcx, rbx
call fcn.14002eda0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.1400e0146
test al, al
je 0x1400dffdf
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400e0028
call fcn.1400e0377
jmp 0x1400e002d
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e00e0
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400e00d3
call fcn.1400e09a0
test al, al
je 0x1400e0093
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400df314
mov sil, 1
test al, al
jne 0x1400e00e2
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e00e0
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400e00d3
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e00e0
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.140001e21
mov rcx, rsi
call fcn.14002e260
xor esi, esi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401ba310]
call fcn.140132300
cmp dword [0x1401ba310], 0xffffffff
jne 0x1400dfed1
lea rcx, [0x14016bf08]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400df2cc
mov qword [0x1401ba308], rax
lea rcx, [0x1401ba310]
call fcn.140132398
jmp 0x1400dfed1
Function at 0x1400e2eea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400e2f1c
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e2f43
mov edi, eax
bt eax, 0xa
jae 0x1400e2f38
test bpl, bpl
je 0x1400e3005
and edi, 0x10
shr edi, 4
jmp 0x1400e3007
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e3005
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x81
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x30]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.14003a3d0
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400e2fda
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
jmp 0x1400e2fe2
shr r8, 1
lea rdx, [rsp + 0x41]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x40], 1
je 0x1400e2ffb
mov rcx, qword [rsp + 0x50]
call fcn.1401321e4
lea rcx, [rsp + 0x58]
call fcn.14002eda0
xor edi, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140132550
mov eax, edi
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400e3025
Capabilities:
Create directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b8
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea r14, [rcx + 2]
test byte [rcx], 1
mov rcx, r14
je 0x1400e3059
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400e31fb
test bl, bl
je 0x1400e3125
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400e3125
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1400e2eea
test al, al
jne 0x1400e31fb
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e31f9
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5c
mov r9d, 2
call fcn.14002dda0
movzx eax, byte [rsi]
mov rcx, rax
shr rcx, 1
test al, 1
cmovne r14, qword [rsi + 0x10]
lea rdi, [rsp + 0x50]
lea rdx, [rsp + 0x188]
mov qword [rdx], r14
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x198]
mov rcx, rsi
call fcn.14003a3d0
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400e321a
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
jmp 0x1400e3225
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e31f9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x61
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne r14, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x30]
mov qword [rdx], r14
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x198]
mov rcx, rsi
call fcn.14003a3d0
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400e31c5
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
jmp 0x1400e31d0
shr r8, 1
lea rdx, [rsp + 0x199]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x198], 1
je 0x1400e31ef
mov rcx, qword [rsp + 0x1a8]
call fcn.1401321e4
lea rcx, [rsp + 0x40]
call fcn.14002eda0
xor edi, edi
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140132550
mov eax, edi
add rsp, 0x1b8
pop rbx
pop rdi
pop rsi
pop r14
ret
shr r8, 1
lea rdx, [rsp + 0x199]
mov rcx, rdi
call fcn.140001e21
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.140001e21
test byte [rsp + 0x198], 1
je 0x1400e3259
mov rcx, qword [rsp + 0x1a8]
call fcn.1401321e4
lea rcx, [rsp + 0x40]
call fcn.14002e260
jmp 0x1400e31f9
Function at 0x1400e3265
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400e3294
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e32be
test eax, 0x410
sete bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140132550
mov eax, ebx
jmp 0x1400e3392
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e3380
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x74
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14003a3d0
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400e3355
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400e335d
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1400e3376
mov rcx, qword [rsp + 0x48]
call fcn.1401321e4
lea rcx, [rsp + 0x50]
call fcn.14002eda0
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140132550
xor eax, eax
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400e339d
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400e33cc
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e3405
and eax, 0x410
cmp eax, 0x410
jne 0x1400e3405
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140132550
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.1400e3503
test byte [rsi], 1
mov rcx, rbx
je 0x1400e3411
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1400e34e6
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e34e4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14003a3d0
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400e34b9
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400e34c1
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1400e34da
mov rcx, qword [rsp + 0x48]
call fcn.1401321e4
lea rcx, [rsp + 0x50]
call fcn.14002eda0
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140132550
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400e3503
Capabilities:
Delete directory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a8
mov rdi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400e3534
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400e3606
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e3606
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x2f
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140001e21
movzx edx, byte [rdi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rdi + 0x10]
mov r14, rax
lea rdx, [rsp + 0x30]
mov qword [rdx], rbx
cmovne rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14003a3d0
movzx r8d, byte [rdi]
test r8b, 1
je 0x1400e35db
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
jmp 0x1400e35e3
shr r8, 1
lea rdx, [rsp + 0x41]
mov rcx, r14
call fcn.140001e21
test byte [rsp + 0x40], 1
je 0x1400e35fc
mov rcx, qword [rsp + 0x50]
call fcn.1401321e4
lea rcx, [rsp + 0x58]
call fcn.14002eda0
test esi, esi
setne bl
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140132550
mov eax, ebx
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400e44e8
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0xffffffff
cmp r8, rax
mov ebx, 0xffffffff
cmovb ebx, r8d
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e45f4
lea r14, str.bytes_read___static_cast_DWORD___1_
lea r15, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileType]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
lea rbp, [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x3c]
mov rcx, r15
mov r8d, 0xffffffff
mov r9, r14
call fcn.1400e449a
cmp qword [rsp + 0x30], 0
je 0x1400e45b7
mov rcx, rbp
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
mov r8d, 0x7e
mov r9, r15
call fcn.140025a30
mov rcx, rbp
call fcn.140025a00
mov rcx, rbp
call fcn.140025a10
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x1400e460c
mov rcx, rdi
call r13
cmp eax, 3
jne 0x1400e4608
mov dword [rsp + 0x3c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
lea r9, [rsp + 0x3c]
call r12
test eax, eax
jne 0x1400e4563
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400e460e
mov eax, dword [rsp + 0x3c]
mov esi, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140132550
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400e4c95
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400e4bc4
test rax, rax
jne 0x1400e4d2c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x1400e4d2c
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400e4d2a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xf4
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x38]
lea rdx, [0x14017eed3]
mov r8d, 0xc
call fcn.140001e21
mov rcx, rsi
call fcn.14002eda0
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret

Function at 0x1400ee9b0
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400eea50]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1400eea3b
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea r9, str.platform_thread_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.140025ac0
mov rcx, rsi
call fcn.140025a00
lea rdx, [0x140179dbe]
mov r8d, 0xc
mov rcx, rax
call fcn.140001e21
mov rcx, rsi
call fcn.140025a10
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140132550
nop
add rsp, 0x40
pop rsi
ret

Function at 0x1400f2722
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
cmp ecx, 3
jne 0x1400f2780
mov edi, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa0]
test byte [r8], 1
je 0x1400f2797
mov r8, qword [r8 + 0x10]
jmp 0x1400f279b
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140132550
mov eax, 5
jmp 0x1400f283a
add r8, 2
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, eax
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x1400f2815
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x40]
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [r15]
jmp 0x1400f281c
mov rbx, 0xffffffffffffffff
mov qword [r14], rbx
xor eax, eax
cmp rbx, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400f2c4a
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13d, ecx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [r13 - 5]
mov ebp, 5
cmp eax, 1
ja 0x1400f2e10
mov rbx, r8
mov r15, rdx
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0x50], 0x68
test byte [r9], 1
je 0x1400f2cdb
mov r9, qword [r9 + 0x10]
jmp 0x1400f2cdf
add r9, 2
mov rcx, r9
call fcn.1401482b4
mov r14, rax
movzx eax, byte [rbp]
test al, 1
je 0x1400f2cfc
mov rax, qword [rbp + 8]
mov rbp, qword [rbp + 0x10]
jmp 0x1400f2d03
add rbp, 2
shr rax, 1
mov rsi, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
test byte [rbx], 1
je 0x1400f2d1d
mov rbx, qword [rbx + 0x10]
jmp 0x1400f2d21
add rbx, 2
mov r15, qword [r15]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x1400f2e03
cmp r13d, 6
mov r12d, 0x1fffff
mov edi, 0x101c01
cmove edi, r12d
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400f2df9
cmp r13d, 6
mov ebx, 0x100c43
cmove ebx, r12d
mov rdi, qword [rsi + 8]
add rsi, 8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rdi
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
jmp 0x1400f2e03
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400f2e10
mov rcx, r14
call fcn.140042f50
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140132550
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400f2e36
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400f2ece
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]