Function at 0x140004128
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14000f028]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, rcx
mov qword [rsp + 0x20], 0x10
xor r9d, r9d
xor r8d, r8d
lea esi, [r9 + 4]
mov edx, esi
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
je 0x14000438c
movups xmm6, xmmword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
movd dword [rdi + 0x10], xmm6
movdqa xmm0, xmm6
psrldq xmm0, 0xc
movd r13d, xmm0
movdqa xmm1, xmm6
psrldq xmm1, 8
movd ebx, xmm1
lea ecx, [rbx*2 + 8]
add ecx, r13d
add ecx, ecx
psrldq xmm6, 4
movd eax, xmm6
sub eax, ecx
mov dword [rdi + 0x14], eax
test r13d, r13d
je 0x14000438c
test ebx, ebx
je 0x14000438c
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 2]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi], rax
test rax, rax
je 0x14000438c
lea rcx, [rax + 0x10]
mov qword [rdi], rcx
mov r12d, ebx
mov eax, esi
mul r12
mov rbx, rax
mov rsi, 0xffffffffffffffff
cmovo rbx, rsi
mov rcx, rbx
call fcn.140006b1c
mov r15, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x11], r15
lea rbx, [r12*4]
mov r9, rbx
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, r15
call fcn.140003b28
add qword [rdi], rbx
lea ecx, [r13 + 1]
lea eax, [rsi + 3]
mul rcx
mov rbx, rax
cmovo rbx, rsi
mov rcx, rbx
call fcn.140006b1c
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 9], r14
mov ebx, r13d
add rbx, rbx
mov r9, rbx
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, r14
call fcn.140003b28
add qword [rdi], rbx
xor r13d, r13d
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
inc rsi
cmp word [r14 + rsi*2], r13w
jne 0x1400042b7
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 1]
call fcn.140001234
nop
mov ecx, 0x18
call fcn.140006ae0
mov rbx, rax
mov qword [rbp - 0x39], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov esi, r13d
mov rdi, r13
test r12, r12
je 0x14000435a
mov r8d, dword [r15 + rdi*4]
movsxd rcx, esi
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r13w
mov rax, qword [rbp + 0xf]
cmp rax, rcx
jb 0x1400043c0
sub rax, rcx
cmp rax, r8
cmovb r8, rax
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rax, qword [rbp - 1]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x31]
call fcn.140001234
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.140004d04
add esi, dword [r15 + rdi*4]
inc rdi
cmp rdi, r12
jb 0x1400042f8
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140004376
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
call fcn.140001354
nop
mov rcx, r14
call fcn.1400066c4
nop
mov rcx, r15
call fcn.1400066c4
mov rax, rbx
jmp 0x14000438e
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400066a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001fa8
nop
int3