Function at 0x140001b20
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, 0x80
mov rax, qword [0x14000d038]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov rdi, rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], r8
xor r12d, r12d
mov dword [rbp - 0x50], r12d
cmp qword [r8 + 0x18], 8
jb 0x140001b67
mov r8, qword [r8]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x140001ba3
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140005910
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov dword [rbp - 0x50], 1
mov rsi, qword [rbp - 0x20]
nop word [rax + rax]
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x30]
test rsi, rsi
je 0x140001d2c
mov rax, rsi
mov rbx, rcx
cmp word [rbx], 0x2c
je 0x140001c77
add rbx, 2
sub rax, 1
jne 0x140001c00
test rsi, rsi
je 0x140001d2c
lea rcx, [rsi + 1]
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140007704
mov rbx, rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rax, qword [rbp - 0x20]
mov word [rbx + rax*2], r12w
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140001d1c
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x140001d28
test rbx, rbx
je 0x140001c10
sub rbx, rcx
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x140001c10
lea r14, [rbx + 1]
mov eax, 2
mul r14
cmovo rax, r13
mov rcx, rax
call fcn.140007704
mov rsi, rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rsi + rbx*2], r12w
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140001cda
mov qword [rdx], rsi
add qword [rdi + 8], 8
jmp 0x140001ce6
lea r8, [rbp - 0x48]
mov rcx, rdi
call fcn.140006510
mov rsi, qword [rbp - 0x20]
cmp rsi, r14
cmovb r14, rsi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
sub rsi, r14
lea r8, [rsi*2 + 2]
lea rdx, [rcx + r14*2]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x20], rsi
jmp 0x140001be0
lea r8, [rbp - 0x48]
mov rcx, rdi
call fcn.140006510
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140001d6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d66
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], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x140001db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140001db2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001df1
mov rcx, r8
call fcn.1400075f0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 7
mov word [r15], r12w
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400075d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
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