Function at 0x14008acc0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebp, 0xffffffff
cmovae esi, ebp
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14008ada7
lea r15, [rsp + 0x34]
lea r12, [rsp + 0x38]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileType]
mov r14, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x38], ebp
mov eax, dword [rsp + 0x34]
cmp eax, ebp
jne 0x14008ad7c
mov rcx, r15
mov rdx, r12
lea r8, str.bytes_read___static_cast_DWORD___1_
call fcn.140017470
test rax, rax
je 0x14008ad78
mov r8d, 0x7d
mov rcx, r12
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
mov r9, rax
call fcn.140016280
mov rcx, r12
call fcn.140015290
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x14008adbf
mov rcx, rbx
call r13
cmp eax, 3
jne 0x14008adbb
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r15
call r14
test eax, eax
jne 0x14008ad35
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x14008adc1
mov eax, dword [rsp + 0x34]
mov esi, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400edc60
mov rax, rsi
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14008b400
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x148
mov rdi, rcx
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.14008b340
test rax, rax
jne 0x14008b491
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x14008b491
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x14008b48f
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 + 0x30]
mov r8d, 0xf3
mov r9d, 2
mov rcx, rsi
call fcn.1400170c0
lea rcx, [rsp + 0x40]
lea rdx, [0x1401700e6]
call fcn.140001700
mov rcx, rsi
call fcn.140017200
xor esi, esi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400edc60
mov eax, esi
add rsp, 0x148
pop rdi
pop rsi
ret

Function at 0x14008b550
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14008b581
mov rsi, qword [rsp + 0x28]
jmp 0x14008b5d8
mov ecx, 2
call fcn.140015cf0
mov rsi, 0xffffffffffffffff
test al, al
je 0x14008b5d8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rdi, [rsp + 0x30]
mov r8d, 0x102
mov r9d, 2
mov rcx, rdi
call fcn.1400170c0
lea rcx, [rsp + 0x40]
lea rdx, [0x1401700ff]
call fcn.140001700
mov rcx, rdi
call fcn.140017200
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400edc60
mov rax, rsi
add rsp, 0x148
pop rdi
pop rsi
ret