Function at 0x140009570
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x1400bc0f8]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov r15, qword [rbp + 0x5e8]
mov rsi, r8
mov r12, rdx
lea r8, [rbp + 0x70]
mov r14, rcx
lea rdx, str._virtual______
mov rcx, r9
mov rdi, r9
call fcn.1400150b0
mov rbx, 0xffffffffffffffff
cmp eax, 1
jne 0x1400095f4
mov r9, qword [r15]
lea rax, [rbp + 0x70]
lea r8, [0x140088628]
mov qword [rsp + 0x20], rax
mov edx, 0x100
lea rcx, [rsp + 0x70]
call fcn.140003a00
jmp 0x1400096c9
lea r8, [rbp + 0x70]
mov rcx, rdi
lea rdx, str._abspath______
call fcn.1400150b0
cmp eax, 1
jne 0x14000961b
mov edx, 0x100
lea rcx, [rsp + 0x70]
jmp 0x1400096b9
lea r8, [rbp + 0x70]
mov rcx, rdi
lea rdx, str._file______
call fcn.1400150b0
cmp eax, 1
je 0x140009662
lea r8, [rbp + 0x70]
mov rcx, rdi
lea rdx, str._______
call fcn.1400150b0
cmp eax, 1
je 0x140009662
mov r8, rdi
lea rdx, str.Bad_SSI_include:___s_
mov rcx, r14
call fcn.140010ae0
jmp 0x14000983f
mov r9, rsi
lea r8, [0x1400882e8]
mov edx, 0x100
lea rcx, [rsp + 0x70]
call fcn.140003a00
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.14004ce68
test rax, rax
je 0x140009693
mov byte [rax + 1], 0
lea rcx, [rsp + 0x70]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400096a0
mov edx, 0x100
lea rcx, [rsp + 0x70]
sub rdx, rax
add rcx, rax
lea r9, [rbp + 0x70]
lea r8, [0x1400882e8]
call fcn.140003a00
mov r8d, 0x100
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x70]
call fcn.140015110
mov r8d, 0xa
lea rdx, [rsp + 0x50]
lea rcx, [0x1400883a4]
call fcn.140015110
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x370]
call fcn.14005302c
mov rdi, rax
test rax, rax
jne 0x140009738
call fcn.140052050
mov ecx, dword [rax]
call fcn.140062270
mov r9, rax
lea r8, [rsp + 0x70]
lea rdx, str.SSI_include_error:_mg_fopen__s_:__s
mov rcx, r14
call fcn.140010ae0
jmp 0x14000983f
mov rcx, rdi
call fcn.14005391c
xor r8d, r8d
movsxd rcx, eax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [r15 + 0x30]
lea rdx, [rsp + 0x70]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x140009760
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x40], rcx
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140009780
movsxd rax, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
call fcn.14000e6a0
mov r9, rdi
test rax, rax
je 0x1400097cb
mov eax, dword [rbp + 0x5e0]
lea r8, [rsp + 0x70]
inc eax
mov qword [rsp + 0x28], r15
mov rdx, r12
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.140012b90
jmp 0x140009837
mov edx, 1
lea rcx, [rbp + 0x170]
mov r8d, 0x200
call fcn.140054018
mov rbx, rax
test rax, rax
je 0x140009837
nop word [rax + rax]
call fcn.140013da0
cvttsd2si rcx, xmm0
movsxd r9, ebx
lea r8, [rbp + 0x170]
mov qword [r14 + 0x78], rcx
lea rcx, [r14 + 0x60]
mov rdx, qword [r14 + 0x68]
call fcn.140006960
mov r9, rdi
lea rcx, [rbp + 0x170]
mov edx, 1
mov r8d, 0x200
call fcn.140054018
mov rbx, rax
test rax, rax
jne 0x1400097f0
mov rcx, rdi
call fcn.1400531cc
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14003fb10
add rsp, 0x680
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret