Function at 0x140004f20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r13, rdx
cmp qword [rcx + 0x18], 7
jbe 0x140004f50
mov rcx, qword [rcx]
lea rdx, [0x140024d70]
call fcn.140012458
mov rbx, rax
test rax, rax
jne 0x140004f89
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006840
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov ecx, 0x3027
call fcn.14000652c
test rax, rax
je 0x1400052ae
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov qword [rsp + 0x20], rsi
lea r12, [rsi + 0x3000]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
xor edx, edx
mov r8d, 0x3000
mov rcx, rsi
call fcn.1400220a0
mov r9, rbx
mov edx, 1
mov r8d, 0x2fff
mov rcx, rsi
call fcn.140012880
mov rcx, rbx
call fcn.140012588
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140005010
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x1400052b4
cmp rbx, 0xf
ja 0x140005069
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 0xf
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140021880
mov byte [rsp + rbx + 0x38], 0
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
jmp 0x140005101
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x1400050a2
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000652c
test rax, rax
je 0x1400052a2
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400050df
mov rbp, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, 0x1000
jb 0x1400050cd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400052a8
jmp 0x140005083
test rcx, rcx
je 0x1400050dc
call fcn.14000652c
mov r14, rax
jmp 0x1400050df
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140021880
mov byte [r14 + rbx], 0
lea rdi, [rsp + 0x38]
cmp rbp, 0xf
cmova rdi, r14
cmp rbx, 5
jb 0x14000518d
lea r15, [rbx + rdi]
lea r8, [r15 - 4]
sub r8, rdi
mov edx, 0x45
mov rcx, rdi
call fcn.140021f00
mov r9, rax
test rax, rax
je 0x14000518d
lea rdx, str.ERROR
nop dword [rax + rax]
xor ecx, ecx
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000515a
cmp rcx, 5
jne 0x140005142
xor eax, eax
jmp 0x14000515f
sbb eax, eax
or eax, 1
test eax, eax
je 0x140005295
inc r9
lea r8, [r15 - 4]
sub r8, r9
mov edx, 0x45
mov rcx, r9
call fcn.140021f00
mov r9, rax
test rax, rax
lea rdx, str.ERROR
jne 0x140005140
mov r9, 0xffffffffffffffff
cmp r9, 0xffffffffffffffff
setne al
mov byte [r13], al
lea rdi, [rsp + 0x38]
cmp rbp, 0xf
cmova rdi, r14
cmp rbx, 0x21
jb 0x14000521c
lea r15, [rbx + rdi]
lea r8, [r15 - 0x20]
sub r8, rdi
mov edx, 0x49
mov rcx, rdi
call fcn.140021f00
mov rbx, rax
test rax, rax
je 0x14000521c
nop dword [rax]
nop word [rax + rax]
mov r8d, 0x21
lea rdx, str.Initialization_Sequence_Completed
mov rcx, rbx
call fcn.140021fa0
test eax, eax
je 0x14000529d
inc rbx
lea r8, [r15 - 0x20]
sub r8, rbx
mov edx, 0x49
mov rcx, rbx
call fcn.140021f00
mov rbx, rax
test rax, rax
jne 0x1400051e0
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
setne bl
cmp rbp, 0xf
jbe 0x14000525e
lea rdx, [rbp + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140005255
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052a2
mov rcx, r14
call fcn.140006568
nop
sub r12, rsi
cmp r12, 0x1000
jb 0x140005282
add r12, 0x27
mov r8, qword [rsi - 8]
sub rsi, r8
lea rcx, [rsi - 8]
cmp rcx, 0x1f
ja 0x1400052ae
mov rsi, r8
mov rdx, r12
mov rcx, rsi
call fcn.140006568
movzx eax, bl
jmp 0x140004f64
sub r9, rdi
jmp 0x140005194
sub rbx, rdi
jmp 0x140005223
call fcn.14000d0dc
int3
call fcn.140002e50
nop
call fcn.14000d0dc
nop
call fcn.140002e90
int3