Function at 0x140001320
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14007f048]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov ebx, r8d
mov r14, rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov r8d, edx
lea rdx, [0x14006dc4c]
lea rcx, [rbp - 0x30]
call fcn.1400073b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400013a0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.140007620
nop
mov r8d, ebx
lea rdx, [0x14006dc4c]
lea rcx, [rbp - 0x30]
call fcn.1400073b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400013f0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140007620
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 0x16
jb 0x140001719
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], SafeArrayUnaccessData
lea r9, [0x14006dc58]
lea rcx, [rbp - 0x58]
call fcn.140008590
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x58]
call fcn.140007250
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
cmp qword [rax], 0
je 0x1400014d6
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
cmp qword [rax + 8], 0
je 0x140001515
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
mov qword [rax + 8], r15
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rbx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
mov rdi, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x20000
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi], rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
cmp qword [rax], 0
je 0x1400015ad
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
mov qword [rsp + 0x20], 0x20000
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
mov qword [rax + 8], rbx
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140006ad0
cmp qword [rax + 8], 0
setne bl
mov byte [r14 + 0x20], bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140001609
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001604
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000171f
call fcn.14003a850
movdqa xmm0, xmmword [0x1400746f0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14000165d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001658
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001725
call fcn.14003a850
movdqa xmm0, xmmword [0x1400746f0]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400016b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000172b
call fcn.14003a850
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400016ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001713
call fcn.14003a850
movzx eax, bl
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14003a830
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14004147c
nop
call fcn.1400012c0
nop
call fcn.14004147c
nop
call fcn.14004147c
nop
call fcn.14004147c
int3