Function at 0x14001fd80
Capabilities:
Read file via mapping

Disassembly:
mov rcx, rdx
xor edx, edx
jmp 0x14001fd90
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov ebp, 0xc000000d
test r8d, r8d
jne 0x14001fe00
mov r14d, dword [rsp + 0x170]
cmp r14d, 0x4000
ja 0x14001fe00
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001fde8
cmp word [rdi], 0
je 0x14001fe00
call fcn.14002e550
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ebp, 0xc0000022
cmp dword [rax], 2
jge 0x14001fe2a
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140036e40
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140028610
test al, al
je 0x14001fe00
mov r15, qword [0x140041e98]
test r15, r15
je 0x14001fe00
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.140006b50
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14001feac
mov eax, r14d
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
mov ebp, 0xc000000d
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14001feda
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001fecb
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0x60]
call fcn.140006be0
jmp 0x14001fe00
cmp qword [rsp + 0x68], 0
je 0x14001febb
movaps xmm6, xmmword [0x140038140]
movups xmmword [rsp + 0xe0], xmm6
mov word [rsp + 0xd0], 0
mov qword [rsp + 0x58], 0
test rdi, rdi
je 0x14001ff90
movzx r8d, word [rdi]
mov ebp, 0xc000000d
test r8, r8
je 0x14002004e
mov rdx, qword [rdi + 8]
and r8d, 0xfffffffe
add r8, rdx
lea rdi, [rsp + 0x70]
lea r9, [rsp + 0x48]
mov rcx, rdi
call fcn.140006df0
lea rcx, [rsp + 0xd0]
call fcn.140001520
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0x80], xmm6
mov word [rsp + 0x70], 0
mov rcx, rdi
call fcn.140001520
mov rcx, qword [rsp + 0x60]
cmp qword [rsp + 0xe8], 7
seta al
jmp 0x14001ff97
mov qword [rsp + 0x58], rbx
xor eax, eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x48], r15
add r15, qword [r15 + 0x10]
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x38], rcx
test al, al
je 0x14001fff1
mov rax, qword [rsp + 0xd0]
jmp 0x14001fff9
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x38]
call fcn.140021190
mov ebp, 0xc0000022
test eax, eax
jne 0x14002004e
mov ebp, dword [rsp + 0x78]
test ebp, ebp
jne 0x14002004e
mov rdx, qword [rsp + 0x68]
mov r8d, r14d
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
lea rcx, [rsp + 0xd0]
call fcn.140001520
jmp 0x14001febb