Function at 0x140144e98
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor edi, edi
mov rbx, r9
and qword [rbp - 0x10], rdi
mov r12, r8
mov rsi, rdx
mov r15, rcx
lea r14d, [rdi + 0x5a]
test rdx, rdx
jne 0x140144ed3
xor eax, eax
jmp 0x140145168
test r12, r12
je 0x140145165
test rbx, rbx
je 0x140145165
mov r8d, 8
lea rdx, [0x14000a6b8]
mov rcx, rsi
call fcn.14017f660
test eax, eax
jne 0x14014505d
mov rax, qword [0x1401a9130]
cmp qword [rax + 0xb8], rdi
je 0x140145165
mov ecx, 0x20
call qword [fcn.1401787a4]
mov rdi, rax
test rax, rax
jne 0x140144f33
mov eax, 0x1b
jmp 0x140145168
mov rax, qword [0x1401a9130]
mov r9d, 0x20
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call qword [rax + 0xb8]
test eax, eax
jne 0x140145168
lea r9, [rbp - 8]
mov rcx, rdi
lea r8, [rbp + 0x38]
lea edx, [rax + 0x20]
call fcn.140160024
mov rcx, rdi
mov ebx, eax
call qword [fcn.140178790]
test ebx, ebx
je 0x140144f80
mov eax, ebx
jmp 0x140145168
mov r8, qword [rbp + 0x38]
lea rdx, [0x14000a6c8]
mov rcx, r15
call fcn.14014bb34
or r12, 0xffffffffffffffff
mov rbx, r12
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140144f9a
lea rcx, [rbx + 1]
call qword [fcn.1401787a4]
mov r15, rax
test rax, rax
jne 0x140144fc4
mov rcx, qword [rbp + 0x38]
call qword [fcn.140178790]
jmp 0x140144f29
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, r15
call fcn.140172530
mov rdi, r15
lea rdx, [0x14000a6e8]
mov rcx, rdi
call fcn.140173d8c
mov rbx, rax
test rax, rax
je 0x140144ff0
mov byte [rax], 0
lea rdx, [rdi + 8]
mov rax, r12
inc rax
cmp byte [rdx + rax], 0
jne 0x140144ff7
mov r8, qword [rbp - 8]
mov rdi, qword [rbp + 0x38]
cmp r8, rax
jne 0x140145019
mov rcx, rdi
call fcn.140172430
test eax, eax
je 0x140145058
test rbx, rbx
je 0x14014503c
lea rdx, [0x14000a6b8]
mov byte [rbx], 0x3b
mov rcx, rbx
call fcn.140173d8c
mov rdi, rax
test rax, rax
jne 0x140144fd6
mov rdi, qword [rbp + 0x38]
mov rcx, rdi
call qword [fcn.140178790]
and qword [rbp + 0x38], 0
mov rcx, r15
call qword [fcn.140178790]
jmp 0x140145165
xor r14d, r14d
jmp 0x14014503c
lea rdx, [0x140009d60]
mov rcx, rsi
call fcn.14015a4a4
mov r15, rax
test rax, rax
je 0x140145165
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.14017f13c
test eax, eax
jne 0x140145145
mov rcx, r15
call fcn.140185b2c
xor r8d, r8d
movsxd rsi, eax
xor edx, edx
mov rcx, r15
call fcn.14017f13c
test eax, eax
jne 0x140145145
cmp esi, 0x100000
ja 0x140145145
mov rcx, rsi
call fcn.14014d550
mov rsi, rax
cmp rbx, rax
ja 0x140145145
lea rcx, [rax + 1]
call qword [fcn.1401787a4]
mov rdi, rax
test rax, rax
je 0x140145145
mov r9, r15
mov r8d, 1
mov rdx, rsi
mov rcx, rax
call fcn.14017ea24
cmp eax, 1
jne 0x140145145
cmp rbx, rsi
jne 0x140145111
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.140172430
test eax, eax
jne 0x140145145
xor r14d, r14d
jmp 0x140145145
lea r8, [rbp + 0x38]
mov byte [rsi + rdi], 0
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.1401460b4
test eax, eax
jne 0x140145145
cmp rbx, qword [rbp + 0x38]
jne 0x140145145
mov rdx, qword [rbp - 0x10]
mov r8, rbx
mov rcx, r12
call fcn.140172430
neg eax
sbb ecx, ecx
and r14d, ecx
mov rcx, rdi
call qword [fcn.140178790]
mov rcx, qword [rbp - 0x10]
call qword [fcn.140178790]
and qword [rbp - 0x10], 0
mov rcx, r15
call fcn.14017f800
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret