Function at 0x140006300
Capabilities:
Read file via mapping

Disassembly:
push rdi
push r15
sub rsp, 0xa8
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x70], rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140006350
xor eax, eax
add rsp, 0xa8
pop r15
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0xc0], rbx
mov rcx, rax
mov dword [rsp + 0x20], r15d
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x68], rax
mov rbx, rax
test rax, rax
je 0x140006603
xor r9d, r9d
mov qword [rsp + 0x80], r14
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
je 0x1400065f2
mov ecx, dword [rax + 0x2c]
mov edx, 1
mov qword [rsp + 0xa0], rbp
mov ebp, dword [rax + 0x34]
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x88], r13
mov r13d, dword [rax + 0x20]
imul rbp, r13
add rbp, rax
call fcn.140008418
mov qword [rsp + 0x48], rax
mov r12, rax
test rax, rax
je 0x1400065d1
mov edi, dword [r14 + 0x2c]
mov qword [rsp + 0x98], rsi
mov esi, r15d
test edi, edi
je 0x14000643e
mov r15d, r13d
mov ecx, esi
cmp edi, r13d
mov ebx, r13d
cmovb ebx, edi
mov r8d, ebx
mov edx, dword [rbp + rcx*4]
imul rdx, r15
imul rcx, r15
add rdx, r14
add rcx, r12
call fcn.140007c90
inc esi
sub edi, ebx
jne 0x140006410
xor r15d, r15d
mov ebx, dword [r12]
mov dword [rsp + 0xc8], ebx
cmp ebx, 2
jb 0x1400065b7
mov edx, 8
mov qword [rsp + 0xd8], rbx
mov ecx, ebx
mov edi, ebx
call fcn.140008418
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400065b7
lea ecx, [rbx + 1]
mov esi, r15d
lea rax, [r12 + rcx*4]
mov qword [rsp + 0x58], rax
mov eax, dword [r14 + 0x2c]
shr eax, 2
cmp ecx, eax
jae 0x140006591
mov r14, qword [rsp + 0x40]
mov eax, r15d
mov r8, 0xffffffffffffffff
nop dword [rax]
nop word [rax + rax]
inc eax
mov edi, r15d
mov dword [rsp + 0xd0], eax
mov r12d, dword [r12 + rax*4]
test r12d, r12d
je 0x140006523
mov ebx, r15d
nop dword [rax + rax]
mov ebp, edi
mov eax, 4
lea rcx, [rbp + 1]
mul rcx
mov rcx, qword [r14]
cmovo rax, r8
mov rdx, rax
call fcn.14000d9d8
mov rdx, rax
test rax, rax
je 0x14000657f
mov rcx, qword [rsp + 0x58]
inc edi
mov qword [r14], rax
add ebx, r13d
mov eax, esi
mov r8, 0xffffffffffffffff
inc esi
mov ecx, dword [rcx + rax*4]
mov dword [rdx + rbp*4], ecx
cmp ebx, r12d
jb 0x1400064d0
mov ebx, dword [rsp + 0xc8]
mov eax, dword [rsp + 0xd0]
add r14, 8
mov r12, qword [rsp + 0x48]
cmp eax, ebx
jb 0x1400064b0
cmp dword [r12 + 8], 0
mov r14, qword [rsp + 0x50]
je 0x140006589
mov rax, qword [rsp + 0x40]
mov edx, 0x10
mov rax, qword [rax + 8]
lea ecx, [rdx - 0xf]
mov ebx, dword [rax]
imul rbx, r13
call fcn.140008418
mov rdi, qword [rsp + 0xd8]
mov r15, rax
test rax, rax
je 0x140006591
movups xmm0, xmmword [rbx + r14 + 0xc]
movups xmmword [rax], xmm0
jmp 0x140006591
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400065a3
call fcn.14000bcb0
add rbx, 8
sub rdi, 1
jne 0x140006596
mov rcx, qword [rsp + 0x40]
call fcn.14000bcb0
mov rcx, r12
call fcn.14000bcb0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0xc0]
mov rax, r15
add rsp, 0xa8
pop r15
pop rdi
ret