Function at 0x140001390
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 [0x140088048]
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, [0x140072e1c]
lea rcx, [rbp - 0x30]
call fcn.140004640
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 0x140001410
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.140004730
nop
mov r8d, ebx
lea rdx, [0x140072e1c]
lea rcx, [rbp - 0x30]
call fcn.140004640
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 0x140001460
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140004730
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 0x16
jb 0x140001789
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], SafeArrayGetElement
lea r9, [0x140072e28]
lea rcx, [rbp - 0x58]
call fcn.1400050b0
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.140005370
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.140003e30
cmp qword [rax], 0
je 0x140001546
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140003e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140003e30
cmp qword [rax + 8], 0
je 0x140001585
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140003e30
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140003e30
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.140003e30
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.140003e30
cmp qword [rax], 0
je 0x14000161d
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140003e30
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.140003e30
mov qword [rax + 8], rbx
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 8]
call fcn.140003e30
cmp qword [rax + 8], 0
setne bl
mov byte [r14 + 0x20], bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140001679
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000178f
call fcn.140040920
movdqa xmm0, xmmword [0x14007d940]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400016cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001795
call fcn.140040920
movdqa xmm0, xmmword [0x14007d940]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140001721
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000171b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000179b
call fcn.140040920
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14000175d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001783
call fcn.140040920
movzx eax, bl
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140040900
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14004727c
nop
call fcn.1400012c0
nop
call fcn.14004727c
nop
call fcn.14004727c
nop
call fcn.14004727c
int3