Function at 0x14000ded0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x14008f010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r13, r9
mov rdi, r8
mov rsi, rdx
lea rcx, [0x14009a7b9]
call fcn.140069c34
mov rcx, rdi
call fcn.14000f060
mov byte [r13], 0
mov rcx, rsi
call fcn.140003080
mov rcx, rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov edx, 0x80000000
call fcn.140009b70
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000e4e8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov ebx, r12d
mov rcx, rsi
call fcn.140003830
cmp qword [rax + 0x10], rbx
je 0x14000dfd7
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
lea r8, [rbp - 0x48]
mov rcx, rsi
call fcn.140009ca0
test al, al
je 0x14000dfd7
mov ebx, dword [rbp - 0x2c]
shl rbx, 0x20
mov eax, dword [rbp - 0x28]
add rbx, rax
mov al, 1
jmp 0x14000dfd9
xor al, al
mov rsi, r12
test al, al
cmovne rsi, rbx
lea rax, [rsi - 1]
cmp rax, 0x4ffffe
ja 0x14000e07c
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140011560
mov dword [rbp - 0x68], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x68]
mov r8d, esi
mov rdx, qword [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rbp - 0x68]
cmp rdx, rsi
jae 0x14000e07c
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140011560
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x78]
cmp qword [rbp - 0x80], rax
jne 0x14000e096
xor bl, bl
jmp 0x14000e49c
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
lea rcx, [rbp - 0x48]
call fcn.14001d820
nop
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
sub r8, rdx
lea r9, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.14001db80
mov r15, qword [rbp - 0x60]
test al, al
je 0x14000e10a
mov rcx, qword [rbp - 0x58]
sub rcx, r15
movabs rax, 0x624dd2f1a9fbe77
mul rcx
mov rbx, rcx
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 9
imul rax, rbx, 0x3e8
sub rcx, rax
je 0x14000e116
mov byte [r13], 1
xor bl, bl
jmp 0x14000e452
test rbx, rbx
jne 0x14000e122
mov bl, 1
jmp 0x14000e452
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140010df0
imul r8, rbx, 0x3e8
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call fcn.140024c80
mov r10, r12
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
sub rcx, r8
movabs rsi, 0x20c49ba5e353f7cf
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000e1f9
mov r9, r12
nop word [rax + rax]
cmp dword [r8 + r9], 0x23ab45db
jne 0x14000e367
mov word [r8 + r9 + 0x282], r12w
mov word [r8 + r9 + 0x382], r12w
mov word [r8 + r9 + 0x3ca], r12w
inc r10
add r9, 0x3e8
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jb 0x14000e1a0
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi]
sar rax, 7
cmp rbx, rax
jbe 0x14000e243
movabs rax, 0x1ffffffffffffff
mov qword [rbp - 0x68], rax
call fcn.1400022d0
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.140005100
cmp rbx, qword [rax]
ja 0x14000e517
mov rdx, rbx
mov rcx, rdi
call fcn.14000fe90
lea rcx, [rbp - 0x20]
call fcn.140003280
nop
lea rcx, [rbp]
call fcn.140003280
nop
lea rcx, [rbp + 0x20]
call fcn.140003280
nop
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
mov dword [rbp + 0x58], r12d
mov byte [rbp + 0x5c], 0
mov rsi, r12
mov rcx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
sub rcx, r14
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000e3b7
movabs r15, 0x20c49ba5e353f7cf
lea rbx, [r14 + r12]
lea rcx, [rbx + 4]
call fcn.1400045d0
mov r8, rax
lea rdx, [rbx + 4]
lea rcx, [rbp - 0x20]
call fcn.140003a10
lea rbx, [r14 + r12]
lea rcx, [rbx + 0x284]
call fcn.1400045d0
mov r8, rax
lea rdx, [rbx + 0x284]
lea rcx, [rbp]
call fcn.140003a10
mov rax, qword [r14 + r12 + 0x3cc]
mov qword [rbp + 0x40], rax
mov rax, qword [r14 + r12 + 0x3d4]
mov qword [rbp + 0x48], rax
mov rax, qword [r14 + r12 + 0x3dc]
mov qword [rbp + 0x50], rax
lea rbx, [r12 + 0x384]
add rbx, r14
mov rcx, rbx
call fcn.1400045d0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140003a10
mov eax, dword [r14 + r12 + 0x3e4]
mov dword [rbp + 0x58], eax
mov byte [rbp + 0x5c], 0
mov rdx, qword [rdi + 8]
cmp qword [rdi + 0x10], rdx
je 0x14000e370
call fcn.1400022a0
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14000cc30
sub qword [rdi + 8], 0xffffffffffffff80
jmp 0x14000e37c
mov byte [r13], 1
xor bl, bl
jmp 0x14000e3e5
lea r8, [rbp - 0x20]
mov rcx, rdi
call fcn.1400113e0
inc rsi
add r12, 0x3e8
mov rcx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
sub rcx, r14
mov rax, r15
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x14000e2b0
mov r15, qword [rbp - 0x60]
xor r12d, r12d
mov byte [r13], 0
mov bl, 1
lea rcx, [rbp + 0x20]
call fcn.1400031f0
nop
lea rcx, [rbp]
call fcn.1400031f0
nop
lea rcx, [rbp - 0x20]
call fcn.1400031f0
movabs rsi, 0x20c49ba5e353f7cf
call fcn.140002300
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x14000e452
mov rcx, qword [rsp + 0x78]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14000e43c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e51d
mov rcx, r8
call fcn.140020df0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
call fcn.140002300
test r15, r15
je 0x14000e49c
mov rdx, qword [rbp - 0x50]
sub rdx, r15
mov rax, r15
cmp rdx, 0x1000
jb 0x14000e488
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e523
mov rcx, r15
call fcn.140020df0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
call fcn.140002300
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000e4e3
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e4d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e511
call fcn.140020df0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
movzx eax, bl
jmp 0x14000e4ea
xor al, al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140020d90
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14003070c
nop
call fcn.14000fcc0
nop
call fcn.14003070c
nop
call fcn.14003070c
int3