Function at 0x140317620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1060
call fcn.140398e10
sub rsp, rax
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rsi, r8
mov rdi, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14031765e
mov rdx, qword [r8]
mov rcx, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0x10
jb 0x14031766e
mov rcx, qword [rdi]
mov r14, qword [rdi + 0x10]
cmp r14, qword [r8 + 0x10]
jne 0x140317688
mov r8, r14
call fcn.14039baa0
test eax, eax
je 0x140317919
xor r15d, r15d
mov qword [rsp + 0x28], r15
movdqa xmm0, xmmword [0x140535b70]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
test r14, r14
je 0x1403176da
mov rax, rdi
cmp rbx, 0x10
jb 0x1403176b5
mov rax, qword [rdi]
mov rbp, rdi
jb 0x1403176bd
mov rbp, qword [rdi]
lea rbx, [r14 + rax]
call fcn.14031f1e0
mov r9, rax
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, rbp
call fcn.14031e520
nop
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140324c70
cmp dword [rax], 1
setbe bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140317734
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14031772f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14031795c
call fcn.140398020
test bl, bl
jne 0x140317919
mov qword [rsp + 0x28], r15
movdqa xmm0, xmmword [0x140535b70]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x140317790
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14031776b
mov rcx, qword [rdi]
mov rbp, rdi
jb 0x140317773
mov rbp, qword [rdi]
lea rbx, [rdx + rcx]
call fcn.14031f1e0
mov r9, rax
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, rbp
call fcn.14031e520
nop
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140323bb0
test rax, rax
sete bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1403177e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1403177df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140317956
call fcn.140398020
test bl, bl
jne 0x140317952
cmp qword [rdi + 0x18], 0x10
jb 0x1403177f6
mov rdi, qword [rdi]
lea rdx, [0x140518a7c]
mov rcx, rdi
call fcn.14031d3b0
mov rbx, rax
test rax, rax
je 0x140317919
cmp qword [rsi + 0x18], 0x10
jb 0x14031781b
mov rsi, qword [rsi]
lea rdx, [0x1404aa634]
mov rcx, rsi
call fcn.14031d3b0
mov rdi, rax
mov rcx, rbx
test rax, rax
je 0x140317914
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1403b5af4
mov rcx, rbx
call fcn.1403b65c8
mov ebp, eax
mov rcx, rdi
call fcn.1403b65c8
mov r14d, eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1403b5af4
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.14039b120
mov rcx, rbx
call fcn.1403b5b90
test eax, eax
jne 0x1403178e7
nop dword [rax]
nop dword [rax + rax]
mov r9, rbx
mov edx, 1
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.1403b5744
mov rsi, rax
test rax, rax
je 0x1403178e7
mov rcx, rbx
call fcn.1403b5bbc
test eax, eax
jne 0x1403178e7
mov r9, rdi
mov r8, rsi
lea edx, [rax + 1]
lea rcx, [rsp + 0x50]
call fcn.1403bcad8
mov rcx, rdi
call fcn.1403b5bbc
test eax, eax
jne 0x1403178e7
mov rcx, rbx
call fcn.1403b5b90
test eax, eax
je 0x140317890
mov rcx, rdi
call fcn.1403b65c8
lea ecx, [r14 + rbp]
cmp ecx, eax
jle 0x140317942
mov rcx, rdi
call fcn.1403bc754
mov ecx, eax
mov edx, r14d
call fcn.1403c1a34
mov rcx, rbx
call fcn.1403b5f10
mov rcx, rdi
call fcn.1403b5f10
xor al, al
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140398000
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call fcn.1403b5f10
mov rcx, rdi
call fcn.1403b5f10
mov al, 1
jmp 0x14031791b
call fcn.1403a7ee4
int3
call fcn.1403a7ee4
int3