Function at 0x1400017c1
Capabilities:
Read file on windows

Disassembly:
jmp 0x140011ff0
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14011bbd8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
test rdx, rdx
je 0x14001242d
test r8, r8
je 0x14001242d
cmp qword [rcx + 0x18], 0x10
jb 0x140012041
mov rcx, qword [rcx]
lea rdx, [rbp - 0x11]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
cmp eax, 0xffffffff
jne 0x140012140
mov qword [rbp - 0x31], r12
movdqa xmm0, xmmword [0x1400a6610]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], r12b
lea rcx, [rbp - 0x31]
call fcn.1400014ab
mov ebx, eax
mov dword [rsp + 0x20], 0x65
lea r9, str.F:develconandata_breakpad0.1___build270dc4a2f77a5fc63ad24b950295fddb3a32f993_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rcx, [rbp - 0x41]
call fcn.140001d0c
nop
mov dword [rbp - 0x49], 2
lea rdx, str.Could_not_open
mov rcx, qword [rax]
call fcn.140001249
mov rdx, rdi
mov rcx, rax
call fcn.1400024be
mov rcx, rax
lea rdx, str.__error
call fcn.140001249
mov rcx, rax
mov edx, ebx
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, [0x1400a6778]
call fcn.140001249
mov rcx, rax
lea rdx, [rbp - 0x31]
call fcn.1400024be
nop
lea rcx, [rbp - 0x41]
call fcn.1400013cf
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140012473
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400122f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400122f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsxd rbx, dword [rbp + 3]
lea eax, [rbx + 1]
movsxd rcx, eax
mov qword [r14], rcx
call fcn.140001a05
mov qword [rsi], rax
lea r9, str.F:develconandata_breakpad0.1___build270dc4a2f77a5fc63ad24b950295fddb3a32f993_breakpad_srcprocessor_source_line_resolver_base.cc
lea rcx, [rbp - 0x41]
test rax, rax
jne 0x1400121a5
mov dword [rsp + 0x20], 0x72
lea r8d, [rax + 1]
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001d0c
nop
mov dword [rbp - 0x49], 4
lea rdx, str.Could_not_allocate_memory_for
mov rcx, qword [rax]
call fcn.140001249
mov rdx, rdi
mov rcx, rax
call fcn.1400024be
nop
jmp 0x14001246a
mov dword [rsp + 0x20], 0x76
xor r8d, r8d
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
call fcn.140001d0c
nop
mov dword [rbp - 0x49], 8
lea rdx, str.Opening
mov rcx, qword [rax]
call fcn.140001249
mov rdx, rdi
mov rcx, rax
call fcn.1400024be
nop
lea rcx, [rbp - 0x41]
call fcn.1400013cf
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400121f5
mov rcx, qword [rdi]
lea rdx, [0x1400a68bc]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
jne 0x140012303
mov qword [rbp - 0x31], r12
movdqa xmm0, xmmword [0x1400a6610]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], al
lea rcx, [rbp - 0x31]
call fcn.1400014ab
mov ebx, eax
mov dword [rsp + 0x20], 0x7c
lea r9, str.F:develconandata_breakpad0.1___build270dc4a2f77a5fc63ad24b950295fddb3a32f993_breakpad_srcprocessor_source_line_resolver_base.cc
lea r8d, [r14 + 1]
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rcx, [rbp - 0x41]
call fcn.140001d0c
nop
mov dword [rbp - 0x49], 0x10
lea rdx, str.Could_not_open
mov rcx, qword [rax]
call fcn.140001249
mov rdx, rdi
mov rcx, rax
call fcn.1400024be
mov rcx, rax
lea rdx, str.__error
call fcn.140001249
mov rcx, rax
mov edx, ebx
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, [0x1400a6778]
call fcn.140001249
mov rcx, rax
lea rdx, [rbp - 0x31]
call fcn.1400024be
nop
lea rcx, [rbp - 0x41]
call fcn.1400013cf
mov rcx, qword [rsi]
call fcn.140001b1d
mov qword [rsi], r12
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140012473
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400122f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400122f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002356
jmp 0x140012473
mov qword [rbp - 0x39], r14
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, ebx
je 0x140012416
mov qword [rbp - 0x31], r12
movdqa xmm0, xmmword [0x1400a6610]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
lea rcx, [rbp - 0x31]
call fcn.1400014ab
mov ebx, eax
mov dword [rsp + 0x20], 0x8c
lea r9, str.F:develconandata_breakpad0.1___build270dc4a2f77a5fc63ad24b950295fddb3a32f993_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rcx, [rbp - 0x41]
call fcn.140001d0c
nop
mov dword [rbp - 0x49], 0x20
lea rdx, str.Could_not_slurp
mov rcx, qword [rax]
call fcn.140001249
mov rdx, rdi
mov rcx, rax
call fcn.1400024be
mov rcx, rax
lea rdx, str.__error
call fcn.140001249
mov rcx, rax
mov edx, ebx
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, [0x1400a6778]
call fcn.140001249
mov rcx, rax
lea rdx, [rbp - 0x31]
call fcn.1400024be
nop
lea rcx, [rbp - 0x41]
call fcn.1400013cf
mov rcx, qword [rsi]
call fcn.140001b1d
mov qword [rsi], r12
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140012412
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001240d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001240d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002356
xor bl, bl
jmp 0x14001241f
mov rax, qword [rsi]
mov byte [rbx + rax], 0
mov bl, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movzx eax, bl
jmp 0x140012475
mov dword [rsp + 0x20], 0x5c
lea r9, str.F:develconandata_breakpad0.1___build270dc4a2f77a5fc63ad24b950295fddb3a32f993_breakpad_srcprocessor_source_line_resolver_base.cc
mov r8d, 1
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rcx, [rbp - 0x41]
call fcn.140001d0c
nop
mov dword [rbp - 0x49], 1
lea rdx, str.Could_not_Read_file_into_Null_memory_pointer
mov rcx, qword [rax]
call fcn.140001249
nop
lea rcx, [rbp - 0x41]
call fcn.1400013cf
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140001b36
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret