Function at 0x140098dd0
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 [0x1400fe4a8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r13d, r13d
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400992a5
test r8, r8
je 0x1400992a5
cmp qword [rcx + 0x18], 0x10
jb 0x140098e19
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 0x140098f3c
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.1400bd140
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.1400bcf00
lea rdx, str.Could_not_open
mov rcx, qword [rax]
call fcn.140008bc0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x140098e9f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140009690
lea rdx, str.__error
mov rcx, rax
call fcn.140008bc0
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, [0x1400d6aa0]
call fcn.140008bc0
cmp qword [rbp - 0x19], 0x10
lea rdx, [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
cmovae rdx, qword [rbp - 0x31]
call fcn.140009690
lea rcx, [rbp - 0x39]
call fcn.1400bd120
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140099128
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099123
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099123
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.1400ceb30
mov qword [rdi], rax
lea r9, str.C:UsersAdminDocuments_breakpad_srcprocessor_source_line_resolver_base.cc
lea rcx, [rbp - 0x39]
test rax, rax
jne 0x140098fb2
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.1400bcf00
lea rdx, str.Could_not_allocate_memory_for
mov rcx, qword [rax]
call fcn.140008bc0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x140098f96
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140009690
lea rcx, [rbp - 0x39]
call fcn.1400bd120
xor al, al
jmp 0x14009927b
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.1400bcf00
lea rdx, str.Opening
mov rcx, qword [rax]
call fcn.140008bc0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x140098fe5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea r12, [rbx + 0x10]
mov rcx, rax
call fcn.140009690
lea rcx, [rbp - 0x39]
call fcn.1400bd120
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x14009900b
mov rcx, qword [rbx]
lea rdx, [0x1400e307c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x14009912f
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.1400bd140
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.1400bcf00
lea rdx, str.Could_not_open
mov rcx, qword [rax]
call fcn.140008bc0
cmp qword [rbx + 0x18], 0x10
jb 0x140099084
mov rbx, qword [rbx]
mov r8, qword [r12]
mov rdx, rbx
mov rcx, rax
call fcn.140009690
lea rdx, str.__error
mov rcx, rax
call fcn.140008bc0
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, [0x1400d6aa0]
call fcn.140008bc0
cmp qword [rbp - 0x19], 0x10
lea rdx, [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
cmovae rdx, qword [rbp - 0x31]
call fcn.140009690
lea rcx, [rbp - 0x39]
call fcn.1400bd120
mov rcx, qword [rdi]
call fcn.1400ceafc
mov rdx, qword [rbp - 0x19]
mov qword [rdi], r13
cmp rdx, 0x10
jb 0x140099128
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099123
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099123
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ceafc
xor al, al
jmp 0x14009927b
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 0x14009925e
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.1400bd140
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.1400bcf00
lea rdx, str.Could_not_slurp
mov rcx, qword [rax]
call fcn.140008bc0
cmp qword [rbx + 0x18], 0x10
jb 0x1400991b5
mov rbx, qword [rbx]
mov r8, qword [r12]
mov rdx, rbx
mov rcx, rax
call fcn.140009690
lea rdx, str.__error
mov rcx, rax
call fcn.140008bc0
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, [0x1400d6aa0]
call fcn.140008bc0
cmp qword [rbp - 0x19], 0x10
lea rdx, [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
cmovae rdx, qword [rbp - 0x31]
call fcn.140009690
lea rcx, [rbp - 0x39]
call fcn.1400bd120
mov rcx, qword [rdi]
call fcn.1400ceafc
mov rdx, qword [rbp - 0x19]
mov qword [rdi], r13
cmp rdx, 0x10
jb 0x14009925a
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099255
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099255
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ceafc
xor bl, bl
jmp 0x140099267
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.1400cebd0
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.1400bcf00
lea rdx, str.Could_not_Read_file_into_Null_memory_pointer
mov rcx, qword [rax]
call fcn.140008bc0
lea rcx, [rbp - 0x39]
call fcn.1400bd120
xor al, al
jmp 0x14009928b