Function at 0x140001400
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14008b048]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov ebx, r8d
mov rsi, rcx
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, [0x1400751dc]
lea rcx, [rbp - 0x30]
call fcn.1400044c0
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140001480
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.1400040a0
nop
mov r8d, ebx
lea rdx, [0x1400751dc]
lea rcx, [rbp - 0x30]
call fcn.1400044c0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400014d0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.1400040a0
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x68]
sub rax, rcx
cmp rax, 0x16
jb 0x1400017e8
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, [0x1400751e8]
lea rcx, [rbp - 0x58]
call fcn.140005400
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.140005680
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
cmp qword [rax], 0
je 0x1400015b4
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
cmp qword [rax + 8], 0
je 0x1400015f3
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
mov qword [rax + 8], r14
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
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 rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
mov qword [rax], rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
cmp qword [rax], 0
je 0x14000168b
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
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, [rsi + 8]
call fcn.140003b60
mov qword [rax + 8], rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.140003b60
cmp qword [rax + 8], 0
setne bl
mov byte [rsi + 0x20], bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400016e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017ee
call fcn.14003a990
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14000173a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001735
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017f4
call fcn.14003a990
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r14w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140001789
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017fa
call fcn.14003a990
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400017c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017e2
call fcn.14003a990
movzx eax, bl
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14003a970
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400412d4
nop
call fcn.140001330
nop
call fcn.1400412d4
nop
call fcn.1400412d4
nop
call fcn.1400412d4
int3