Function at 0x1400018a0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14000d038]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, r8
mov qword [rbp - 0x40], r8
mov r14, rdx
mov qword [rbp - 0x38], r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor r13d, r13d
mov qword [rbp - 0x20], r13
mov ecx, 7
mov qword [rbp - 0x18], rcx
mov word [rbp - 0x30], r13w
mov esi, r13d
mov rdx, qword [rdx]
mov rax, qword [r14 + 8]
sub rax, rdx
sar rax, 3
test rax, rax
je 0x1400019e4
lea r12d, [r13 + 0x2c]
nop dword [rax]
mov r9, qword [rdx + rsi*8]
test r9, r9
je 0x14000197f
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r9 + rbx*2], 0
jne 0x140001920
mov r15, qword [rbp - 0x20]
mov rax, rcx
sub rax, r15
cmp rbx, rax
ja 0x14000196a
lea rax, [r15 + rbx]
mov qword [rbp - 0x20], rax
lea rdi, [rbp - 0x30]
cmp rcx, 8
cmovae rdi, qword [rbp - 0x30]
lea rcx, [rdi + r15*2]
lea r8, [rbx + rbx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rbx]
mov word [rdi + rax*2], r13w
jmp 0x14000197b
mov qword [rsp + 0x20], rbx
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140005e60
mov rcx, qword [rbp - 0x18]
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
dec rax
cmp rsi, rax
jae 0x1400019c6
mov rdx, qword [rbp - 0x20]
cmp rdx, rcx
jae 0x1400019b6
lea rax, [rdx + 1]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp rcx, 8
cmovae rax, qword [rbp - 0x30]
mov dword [rax + rdx*2], r12d
jmp 0x1400019c2
mov r9d, r12d
lea rcx, [rbp - 0x30]
call fcn.140005b70
mov rcx, qword [rbp - 0x18]
inc rsi
mov rdx, qword [r14]
mov rax, qword [r14 + 8]
sub rax, rdx
sar rax, 3
cmp rsi, rax
jb 0x140001910
mov r12, qword [rbp - 0x40]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400019f3
mov rdx, qword [r12]
mov eax, dword [rbp - 0x20]
add eax, eax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
add r8, r8
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140001a8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400075f0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rdx, qword [r12 + 0x18]
cmp rdx, 8
jb 0x140001adb
lea rdx, [rdx*2 + 2]
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140001ad6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001b14
mov rcx, r8
call fcn.1400075f0
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], 7
mov word [r12], r13w
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400075d0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3