Function at 0x14009ed20
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1401114a8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r13d, r13d
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14009f1f5
test r8, r8
je 0x14009f1f5
cmp qword [rcx + 0x18], 0x10
jb 0x14009ed69
mov rcx, qword [rcx]
mov qword [rsp + 0xe8], r12
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x98], r14
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
cmp eax, 0xffffffff
jne 0x14009ee8c
xorps xmm0, xmm0
mov qword [rbp - 0x21], r13
movups xmmword [rbp - 0x31], xmm0
lea rcx, [rbp - 0x31]
mov byte [rbp - 0x31], r13b
mov qword [rbp - 0x19], 0xf
call fcn.1400c3090
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea r9, str.C:UsersAdminDocuments_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov dword [rsp + 0x20], 0x65
lea rcx, [rbp - 0x39]
mov edi, eax
call fcn.1400c2e50
lea rdx, str.Could_not_open
mov rcx, qword [rax]
call fcn.140009610
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14009edef
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000a0e0
lea rdx, str.__error
mov rcx, rax
call fcn.140009610
mov rcx, rax
mov edx, edi
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400e18c0]
call fcn.140009610
cmp qword [rbp - 0x19], 0x10
lea rdx, [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
cmovae rdx, qword [rbp - 0x31]
call fcn.14000a0e0
lea rcx, [rbp - 0x39]
call fcn.1400c3070
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14009f078
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f073
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f073
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsxd r14, dword [rbp + 3]
lea eax, [r14 + 1]
movsxd rcx, eax
mov qword [rsi], rcx
call fcn.1400d4a80
mov qword [rdi], rax
lea r9, str.C:UsersAdminDocuments_breakpad_srcprocessor_source_line_resolver_base.cc
lea rcx, [rbp - 0x39]
test rax, rax
jne 0x14009ef02
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea r8d, [rax + 1]
mov dword [rsp + 0x20], 0x72
call fcn.1400c2e50
lea rdx, str.Could_not_allocate_memory_for
mov rcx, qword [rax]
call fcn.140009610
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14009eee6
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000a0e0
lea rcx, [rbp - 0x39]
call fcn.1400c3070
xor al, al
jmp 0x14009f1cb
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
xor r8d, r8d
mov dword [rsp + 0x20], 0x76
call fcn.1400c2e50
lea rdx, str.Opening
mov rcx, qword [rax]
call fcn.140009610
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14009ef35
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea r12, [rbx + 0x10]
mov rcx, rax
call fcn.14000a0e0
lea rcx, [rbp - 0x39]
call fcn.1400c3070
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x14009ef5b
mov rcx, qword [rbx]
lea rdx, [0x1400f427c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x14009f07f
xorps xmm0, xmm0
mov qword [rbp - 0x21], r13
movups xmmword [rbp - 0x31], xmm0
lea rcx, [rbp - 0x31]
mov byte [rbp - 0x31], r13b
mov qword [rbp - 0x19], 0xf
call fcn.1400c3090
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea r9, str.C:UsersAdminDocuments_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov dword [rsp + 0x20], 0x7c
lea rcx, [rbp - 0x39]
mov esi, eax
call fcn.1400c2e50
lea rdx, str.Could_not_open
mov rcx, qword [rax]
call fcn.140009610
cmp qword [rbx + 0x18], 0x10
jb 0x14009efd4
mov rbx, qword [rbx]
mov r8, qword [r12]
mov rdx, rbx
mov rcx, rax
call fcn.14000a0e0
lea rdx, str.__error
mov rcx, rax
call fcn.140009610
mov rcx, rax
mov edx, esi
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400e18c0]
call fcn.140009610
cmp qword [rbp - 0x19], 0x10
lea rdx, [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
cmovae rdx, qword [rbp - 0x31]
call fcn.14000a0e0
lea rcx, [rbp - 0x39]
call fcn.1400c3070
mov rcx, qword [rdi]
call fcn.1400d4a4c
mov rdx, qword [rbp - 0x19]
mov qword [rdi], r13
cmp rdx, 0x10
jb 0x14009f078
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f073
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f073
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
xor al, al
jmp 0x14009f1cb
mov rcx, qword [rdi]
mov r9, rsi
mov r8, r14
mov qword [rsp + 0x90], r15
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, r14d
je 0x14009f1ae
xorps xmm0, xmm0
mov qword [rbp - 0x21], r13
movups xmmword [rbp - 0x31], xmm0
lea rcx, [rbp - 0x31]
mov byte [rbp - 0x31], r13b
mov qword [rbp - 0x19], 0xf
call fcn.1400c3090
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea r9, str.C:UsersAdminDocuments_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov dword [rsp + 0x20], 0x8c
lea rcx, [rbp - 0x39]
mov r14d, eax
call fcn.1400c2e50
lea rdx, str.Could_not_slurp
mov rcx, qword [rax]
call fcn.140009610
cmp qword [rbx + 0x18], 0x10
jb 0x14009f105
mov rbx, qword [rbx]
mov r8, qword [r12]
mov rdx, rbx
mov rcx, rax
call fcn.14000a0e0
lea rdx, str.__error
mov rcx, rax
call fcn.140009610
mov rcx, rax
mov edx, r14d
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400e18c0]
call fcn.140009610
cmp qword [rbp - 0x19], 0x10
lea rdx, [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
cmovae rdx, qword [rbp - 0x31]
call fcn.14000a0e0
lea rcx, [rbp - 0x39]
call fcn.1400c3070
mov rcx, qword [rdi]
call fcn.1400d4a4c
mov rdx, qword [rbp - 0x19]
mov qword [rdi], r13
cmp rdx, 0x10
jb 0x14009f1aa
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f1a5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f1a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
xor bl, bl
jmp 0x14009f1b7
mov rax, qword [rdi]
mov bl, 1
mov byte [r14 + rax], r13b
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r15, qword [rsp + 0x90]
movzx eax, bl
mov r12, qword [rsp + 0xe8]
mov r14, qword [rsp + 0x98]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400d4b20
add rsp, 0xa0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea r9, str.C:UsersAdminDocuments_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov dword [rsp + 0x20], 0x5c
lea rcx, [rbp - 0x39]
call fcn.1400c2e50
lea rdx, str.Could_not_Read_file_into_Null_memory_pointer
mov rcx, qword [rax]
call fcn.140009610
lea rcx, [rbp - 0x39]
call fcn.1400c3070
xor al, al
jmp 0x14009f1db