Function at 0x14014d7b0
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rdi, rcx
mov rcx, qword [0x14031d040]
xor rcx, rsp
mov qword [rsp + 0xb0], rcx
test r8, r8
je 0x14014d912
mov rax, rdx
test rdx, rdx
je 0x14014d8cc
mov r9, qword [rdi]
test r9, r9
je 0x14014d89a
mov rbx, r8
mov edx, 1
mov rcx, rax
call fcn.14021a59c
mov rsi, rax
cmp rax, rbx
jae 0x14014d914
mov rcx, qword [rdi]
test rcx, rcx
je 0x14014d934
call fcn.140219db4
test eax, eax
je 0x14014d914
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.Read_error_on_file__s
lea rcx, [rsp + 0x28]
call fcn.1400343a0
call fcn.140113640
test rax, rax
je 0x14014d97c
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x80]
mov rcx, rax
call fcn.1401137c0
test rax, rax
jne 0x14014d986
jmp 0x14014d97c
cmp qword [0x14031f9c0], 0
je 0x14014d912
lea rax, str.cant_read_from_closed_file
mov qword [rsp + 0x20], rax
lea rcx, str.....update_notifier_thirdpartywxWidgets_srccommon_ffile.cpp
lea r8, str.wxFFile::Read
lea r9, str._IsOpened___
mov edx, 0x7f
jmp 0x14014d8fc
cmp qword [0x14031f9c0], 0
je 0x14014d912
lea rax, str.invalid_parameter
mov qword [rsp + 0x20], rax
lea rcx, str.....update_notifier_thirdpartywxWidgets_srccommon_ffile.cpp
lea r8, str.wxFFile::Read
lea r9, str._pBuf_
mov edx, 0x7e
call fcn.1400d8690
cmp byte [0x140331ad8], 1
jne 0x14014d912
mov byte [0x140331ad8], 0
int3
xor esi, esi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp qword [0x14031f9c0], 0
je 0x14014d914
lea rax, str.wxFFile::Error__:_file_is_closed_
mov qword [rsp + 0x20], rax
lea rcx, str.....update_notifier_thirdpartywxWidgets_srccommon_ffile.cpp
lea r8, str.wxFFile::Error
lea r9, str._IsOpened___
mov edx, 0x125
call fcn.1400d8690
cmp byte [0x140331ad8], 1
jne 0x14014d914
mov byte [0x140331ad8], 0
int3
lea rcx, [rsp + 0x28]
call fcn.140113740
call fcn.1400ab720
mov rdi, rax
call fcn.1400ab720
mov rbx, rax
call fcn.1400ab720
mov r14, rax
call fcn.1400ab720
cmp r14, rax
je 0x14014d9d6
dec word [r14 + 0x10]
setne al
test r14, r14
sete cl
or cl, al
jne 0x14014d9d1
cmp byte [r14 + 0x12], 1
jne 0x14014d9c9
mov rcx, qword [r14]
call fcn.140071eb0
mov rcx, r14
call fcn.1401ef41c
call fcn.1400ab720
call fcn.1400ab720
cmp rbx, rax
je 0x14014da0c
dec word [rbx + 0x10]
setne al
test rbx, rbx
sete cl
or cl, al
jne 0x14014da07
cmp byte [rbx + 0x12], 1
jne 0x14014d9ff
mov rcx, qword [rbx]
call fcn.140071eb0
mov rcx, rbx
call fcn.1401ef41c
call fcn.1400ab720
call fcn.1400ab720
cmp rdi, rax
je 0x14014da42
dec word [rdi + 0x10]
setne al
test rdi, rdi
sete cl
or cl, al
jne 0x14014da3d
cmp byte [rdi + 0x12], 1
jne 0x14014da35
mov rcx, qword [rdi]
call fcn.140071eb0
mov rcx, rdi
call fcn.1401ef41c
call fcn.1400ab720
mov rcx, qword [rsp + 0x40]
call fcn.140071eb0
cmp byte [rsp + 0x3f], 0
jns 0x14014da5d
mov rcx, qword [rsp + 0x28]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x68]
call fcn.140071eb0
cmp byte [rsp + 0x67], 0
jns 0x14014da78
mov rcx, qword [rsp + 0x50]
call fcn.1401ef41c
mov rcx, qword [rsp + 0x98]
call fcn.140071eb0
cmp byte [rsp + 0x97], 0
jns 0x14014d914
mov rcx, qword [rsp + 0x80]
call fcn.1401ef41c
jmp 0x14014d914