Function at 0x14011d0b0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movapd xmmword [rsp + 0xc0], xmm6
mov esi, r9d
mov r12, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r13, 0xfffffffc00000000
movapd xmm0, xmmword [0x1401ee3a0]
movapd xmmword [rsp + 0x80], xmm0
movapd xmmword [rsp + 0x70], xmm0
movapd xmmword [rsp + 0x60], xmm0
movapd xmmword [rsp + 0x50], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea rcx, [rsp + 0x30]
mov r9d, 0x42
call fcn.1400ba440
mov eax, dword [0x140228d28]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r15, qword [rax + 0x180]
mov rax, r15
and rax, r13
cmp rax, qword [0x140219dc8]
je 0x14011d537
mov qword [rsp + 0x50], r15
mov eax, dword [0x140228d28]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rdi, [rax + 0x188]
mov r15, qword [rdi]
mov rax, r15
and rax, r13
cmp rax, qword [0x140219dc8]
je 0x14011daee
lea rax, [rsp + 0x50]
mov qword [rax + 8], r15
mov qword [rax + 0x10], rdi
mov rcx, qword [rdi]
mov qword [rdi], rax
mov qword [rax + 0x18], rcx
mov rax, qword [rax + 8]
test rax, rax
jne 0x14011d544
xor ecx, ecx
mov byte [rsp + 0x70], cl
xor edx, edx
mov byte [rsp + 0x78], dl
mov byte [rsp + 0x88], dl
mov r8d, dword [0x140228d28]
mov r9, qword gs:[0x58]
mov r8, qword [r9 + r8*8]
cmp byte [r8 + 0x1a0], dl
je 0x14011d500
test cl, cl
jne 0x14011d5d5
test rax, rax
jne 0x14011d2db
lea r15, [rsp + 0x78]
cmp byte [r15 + 0x10], 0
jne 0x14011db03
test r15, r15
je 0x14011db25
mov rax, qword [fcn.1400c93d0]
mov rcx, r15
call qword [0x140243008]
mov rdi, qword [rsp + 0x78]
mov eax, dword [0x140231d38]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011d67e
lea rcx, [0x140231d30]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011d66c
mov eax, dword [0x140231d58]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011d6b3
cmp qword [0x140231d50], 0
jne 0x14011d54c
mov qword [rsp + 0x80], 0
lea rcx, [0x140231d30]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r15, qword [rsp + 0x80]
test r15, r15
je 0x14011d2d3
mov rax, qword [r15 + 0x1f0]
cmp qword [rsp + 0x78], rax
jl 0x14011db18
mov byte [rsp + 0x88], 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14011d2f4
cmp qword [rsp + 0x58], 0
jne 0x14011d2f4
xor edx, edx
call fcn.140127150
mov ebp, 0xffffffff
test r14, r14
js 0x14011d34f
test esi, esi
js 0x14011d34f
xorpd xmm0, xmm0
lea rax, [rsp + 0x90]
movapd xmmword [rax + 0x10], xmm0
movapd xmmword [rax], xmm0
mov qword [rax + 0x10], r14
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011d73f
mov ebp, dword [rsp + 0x30]
test ebp, ebp
js 0x14011dafb
call fcn.14012c320
mov ebx, dword [rax]
call fcn.14012c320
mov dword [rax], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x14011d402
cmp qword [rsp + 0x58], 0
jne 0x14011d402
cmp byte [r14 + 0x19], 0
je 0x14011d402
mov rdi, qword [r14 + 0x28]
add rdi, 0x28
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011d61c
mov qword [r14 + 0x20], 0
cmp byte [r14 + 0x3b], 0
jne 0x14011d3f2
cmp byte [r14 + 0x39], 0
mov rax, qword [r14 + 0x28]
jne 0x14011d5ed
dec dword [rax + 0x140]
cmp byte [r14 + 0x19], 0
je 0x14011db62
cmp byte [r14 + 0x18], 0
jne 0x14011d3f2
cmp byte [r14 + 0x3a], 0
mov rcx, qword [r14 + 0x28]
jne 0x14011db51
dec dword [rcx + 0x144]
mov word [r14 + 0x39], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.14012c320
mov dword [rax], ebx
cmp byte [rsp + 0x88], 0
je 0x14011d487
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x14011d487
mov rax, qword [fcn.1400c93d0]
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [0x140243008]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsi]
xor eax, eax
cmp rsi, r14
setns al
movabs r12, 0x7fffffffffffffff
add rax, r12
mov r15, rsi
sub r15, r14
cmovo r15, rax
cmp r15, 0xf4240
jge 0x14011d755
mov rsi, qword [rsp + 0x80]
test rsi, rsi
je 0x14011d487
lock dec dword [rsi]
je 0x14011db8e
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14011d499
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
and rax, r13
cmp rax, qword [0x140219dc8]
je 0x14011dae4
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x50]
and r13, rcx
cmp r13, qword [0x140219dc8]
je 0x14011d4f9
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14012ec00
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400ace30
jmp 0x14011d4cb
mov eax, dword [0x140233938]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011d6e8
cmp byte [0x140233934], 0
jne 0x14011d2db
jmp 0x14011d731
mov rcx, r15
call fcn.1400acce0
jmp 0x14011d162
mov cl, byte [rax + 0x20]
jmp 0x14011d1bd
mov qword [rsp + 0x28], r12
mov eax, dword [0x140231d48]
mov ecx, dword [0x140228d28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14011d637
mov r12, qword [0x140231d40]
mov rbp, rdi
test r12, r12
je 0x14011d8b3
mov eax, 0x3938700
add rax, qword [r12 + 0x1f0]
movabs rbp, 0x7fffffffffffffff
cmovno rbp, rax
cmp rbp, rdi
jle 0x14011d8b3
mov qword [rsp + 0x80], r12
mov eax, 1
lock xadd dword [r12], eax
cmp eax, 0x7fffffff
mov r12, qword [rsp + 0x28]
jne 0x14011d2a7
jmp 0x14011db22
test rax, rax
je 0x14011d2db
cmp byte [rax + 0x38], 0
je 0x14011d2db
jmp 0x14011dc29
mov rcx, qword [rax + 0x40]
mov rdx, qword [rax + 0x120]
dec rdx
mov qword [rax + 0x120], rdx
cmp rcx, qword [rax + 0x48]
je 0x14011d611
cmp qword [rax + 0x130], rdx
jae 0x14011d62a
mov word [rax + 0x78], 0
jmp 0x14011d3cb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14011d3a7
movzx ecx, word [rcx + 0x10]
mov word [rax + 0x78], cx
jmp 0x14011d3cb
lea rcx, [0x140231d48]
call fcn.14012c340
cmp dword [0x140231d48], 0xffffffff
jne 0x14011d576
mov qword [0x140231d40], 0
lea rcx, [0x140231d48]
call fcn.14012c3a8
jmp 0x14011d576
lea rcx, [0x140231d30]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14011d268
lea rcx, [0x140231d38]
call fcn.14012c340
cmp dword [0x140231d38], 0xffffffff
jne 0x14011d253
mov qword [0x140231d30], 0
lea rcx, [0x140231d38]
call fcn.14012c3a8
jmp 0x14011d253
lea rcx, [0x140231d58]
call fcn.14012c340
cmp dword [0x140231d58], 0xffffffff
jne 0x14011d28d
mov qword [0x140231d50], 0
lea rcx, [0x140231d58]
call fcn.14012c3a8
jmp 0x14011d28d
lea rcx, [0x140233938]
call fcn.14012c340
cmp dword [0x140233938], 0xffffffff
jne 0x14011d525
mov rcx, qword [0x140231be8]
test rcx, rcx
je 0x14011d719
lea rdx, str.enable_background_thread_pool
call fcn.1401114c0
mov byte [0x140233934], 1
lea rcx, [0x140233938]
call fcn.14012c3a8
jmp 0x14011d525
mov cl, byte [rsp + 0x70]
mov rax, qword [rsp + 0x58]
jmp 0x14011d1ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x14011d34f
mov eax, 0x3938700
add rax, qword [rbx + 0x1f0]
cmovo rax, r12
cmp rax, rsi
jle 0x14011dbd5
mov rax, qword [rbx + 0x1f0]
xor edx, edx
cmp r14, rax
setns dl
add rdx, r12
mov rcx, r14
sub rcx, rax
movabs r12, 0x8000000000000001
cmovo rcx, rdx
lea rdx, [rcx + r12]
cmp rdx, 2
jb 0x14011dba3
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x1401f7d68]
call fcn.1401664e0
movsd xmm6, qword [0x1401e2300]
ucomisd xmm6, xmm0
jb 0x14011da81
maxsd xmm0, qword [0x1401e2318]
cvttsd2si edi, xmm0
add r12, r15
cmp r12, 2
jb 0x14011dbbc
xorps xmm0, xmm0
cvtsi2sd xmm0, r15
divsd xmm0, qword [0x1401f7d68]
call fcn.140166590
ucomisd xmm6, xmm0
jb 0x14011dab2
maxsd xmm0, qword [0x1401e2318]
cvttsd2si r14d, xmm0
mov r12, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
add r14d, edi
cmp r14d, 0x3c
mov r15d, 0x3c
cmovl r15d, r14d
lea rsi, [rbx + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011d861
cmp edi, r15d
jge 0x14011d84c
movsxd rax, edi
movsxd rcx, r15d
inc qword [rbx + rax*8 + 0x10]
inc rax
cmp rcx, rax
jne 0x14011d83f
mov rcx, rsi
call r12
cmp r14d, 0x3d
jl 0x14011d471
jmp 0x14011da98
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14011d834
cmp byte [r12 + 0x200], 0
jne 0x14011d940
test r15, r15
je 0x14011d895
mov eax, 1
lock xadd dword [r15], eax
cmp eax, 0x7fffffff
je 0x14011dc5d
mov rbp, qword [r12 + 0x1f8]
mov qword [r12 + 0x1f8], r15
test rbp, rbp
je 0x14011d940
jmp 0x14011dc60
xor eax, eax
cmp rdi, rbp
setns al
movabs rcx, 0x7fffffffffffffff
add rax, rcx
mov rcx, rdi
sub rcx, rbp
cmovo rcx, rax
cmp rcx, 0x989680
jge 0x14011dc18
mov ecx, 0x208
call fcn.14012c264
mov r15, rax
mov dword [rax], 0
lea rcx, [rax + 8]
mov r8d, 0x1e8
xor edx, edx
call fcn.140130d40
mov qword [r15 + 0x1f0], rbp
mov qword [r15 + 0x1f8], 0
mov byte [r15 + 0x200], 0
test r15, r15
je 0x14011d937
mov eax, 1
lock xadd dword [r15], eax
cmp eax, 0x7fffffff
je 0x14011dc12
test r12, r12
jne 0x14011d86c
test r15, r15
je 0x14011d95a
mov eax, 1
lock xadd dword [r15], eax
cmp eax, 0x7fffffff
je 0x14011dc15
mov r12, qword [0x140231d40]
mov qword [0x140231d40], r15
test r12, r12
jne 0x14011da61
lea rcx, [0x140231d30]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [r15 + 0x1f0]
xor edx, edx
cmp rdi, rax
setns dl
movabs r8, 0x7fffffffffffffff
add rdx, r8
mov rcx, rdi
sub rcx, rax
movabs r10, 0x8000000000000001
cmovo rcx, rdx
lea rdx, [rcx + r10]
cmp rdx, 2
jb 0x14011dacb
mov edi, 0x3938700
xor eax, eax
cmp rdi, rcx
setns al
add rax, r8
sub rdi, rcx
cmovo rdi, rax
mov ecx, 0x28
call fcn.14012c264
mov r12, rax
mov dword [rax], 1
lea rax, [0x140169c80]
mov qword [r12 + 8], rax
lea rax, [0x140169ea0]
mov qword [r12 + 0x10], rax
lea rax, [0x140193680]
mov qword [r12 + 0x18], rax
lea rdx, str.MonitorNextJankWindowIfNecessary
lea r8, str....._base_threading_scoped_blocking_call_internal.cc
lea rbp, [rsp + 0x90]
mov rcx, rbp
mov r9d, 0xca
call fcn.1400ba440
lea r9, [rsp + 0xb0]
mov qword [r9], r12
mov qword [rsp + 0x20], rdi
lea r8, [0x1401f9aca]
xor ecx, ecx
mov rdx, rbp
call fcn.14000eed0
mov qword [rsp + 0x80], r15
mov r12, qword [rsp + 0x28]
jmp 0x14011d2bc
lock dec dword [r12]
jne 0x14011d971
mov rcx, r12
call fcn.14000c9e0
mov rcx, r12
call fcn.14012c25c
jmp 0x14011d971
xor eax, eax
ucomisd xmm0, qword [0x1401e2318]
mov edi, 0x7fffffff
cmovb edi, eax
jmp 0x14011d7d2
mov rbx, qword [rbx + 0x1f8]
sub r14d, r15d
xor edi, edi
test rbx, rbx
jne 0x14011d812
jmp 0x14011d471
xor eax, eax
ucomisd xmm0, qword [0x1401e2318]
mov r14d, 0x7fffffff
cmovb r14d, eax
jmp 0x14011d80b
mov r9, r10
xor ecx, ecx
cmp rax, rdi
setg cl
not rcx
mov rdi, r10
add rdi, rcx
jmp 0x14011d9d3
call fcn.1400ace30
jmp 0x14011d4b1
mov rcx, r15
call fcn.1400acce0
jmp 0x14011d197
int3
mov rcx, r15
call fcn.14019a930
mov byte [rsp + 0x88], 0
jmp 0x14011d210
mov qword [rsp + 0x78], rax
jmp 0x14011d2d3
int3
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140167880
dec qword [rcx + 0x128]
call fcn.1401a4290
jmp 0x14011d3f2
lea rax, str.optional_operator_called_on_a_disengaged_value
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcincludeoptional
lea r9, str.this__has_value__
mov r8d, 0x3fd
call fcn.140167880
mov rcx, rsi
call fcn.14000c9e0
mov rcx, rsi
call fcn.14012c25c
jmp 0x14011d487
xor ecx, ecx
cmp rax, r14
setg cl
lea rax, [0x1401f7d50]
movsd xmm0, qword [rax + rcx*8]
jmp 0x14011d7a7
xor eax, eax
cmp rsi, r14
setl al
lea rcx, [0x1401f7d50]
movsd xmm0, qword [rcx + rax*8]
jmp 0x14011d7e7
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov rdx, rsi
call fcn.1400565a0
mov rdi, qword [rdi]
test rdi, rdi
je 0x14011d76e
lock dec dword [rdi]
jne 0x14011d76e
mov rcx, rdi
call fcn.14000c9e0
mov rcx, rdi
call fcn.14012c25c
jmp 0x14011d76e
int3
int3
mov byte [r12 + 0x200], 1
mov rbp, rdi
jmp 0x14011d8df
mov r15, qword [rax + 0x30]
mov qword [rax + 0x30], 0
test r15, r15
je 0x14011d2db
lock dec dword [r15]
jne 0x14011d2db
mov rcx, r15
call fcn.14000c9e0
mov rcx, r15
call fcn.14012c25c
jmp 0x14011d2db
int3
lock dec dword [rbp]
jne 0x14011d940
mov rcx, rbp
call fcn.14000c9e0
mov rcx, rbp
call fcn.14012c25c
jmp 0x14011d940