Function at 0x14000d070
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 0x14000d0c0
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 0x14000d363
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 0x14000d352
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.1400120fc
mov qword [rsp + 0x48], rax
mov r12, rax
test rax, rax
je 0x14000d331
mov edi, dword [r14 + 0x2c]
mov qword [rsp + 0x98], rsi
mov esi, r15d
test edi, edi
je 0x14000d1ae
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.14000fed0
inc esi
sub edi, ebx
jne 0x14000d180
xor r15d, r15d
mov ebx, dword [r12]
mov dword [rsp + 0xd0], ebx
cmp ebx, 2
jb 0x14000d317
mov edx, 8
mov qword [rsp + 0xd8], rbx
mov ecx, ebx
mov edi, ebx
call fcn.1400120fc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000d317
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 0x14000d2f1
mov r14, qword [rsp + 0x40]
mov ecx, r15d
mov r8, 0xffffffffffffffff
lea eax, [rcx + 1]
mov edi, r15d
mov r12d, dword [r12 + rax*4]
mov ecx, eax
mov dword [rsp + 0xc8], eax
test r12d, r12d
je 0x14000d28a
mov ebx, r15d
nop
mov ebp, edi
mov eax, 4
lea rcx, [rbp + 1]
mul rcx
mov rcx, qword [r14]
cmovo rax, r8
mov rdx, rax
call fcn.140019970
mov rdx, rax
test rax, rax
je 0x14000d2df
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 0x14000d230
mov ecx, dword [rsp + 0xc8]
mov ebx, dword [rsp + 0xd0]
mov r12, qword [rsp + 0x48]
add r14, 8
cmp ecx, ebx
jb 0x14000d213
cmp dword [r12 + 8], 0
mov r14, qword [rsp + 0x50]
je 0x14000d2e9
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.1400120fc
mov rdi, qword [rsp + 0xd8]
mov r15, rax
test rax, rax
je 0x14000d2f1
movups xmm0, xmmword [rbx + r14 + 0xc]
movups xmmword [rax], xmm0
jmp 0x14000d2f1
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 0x14000d303
call fcn.140018ae4
add rbx, 8
sub rdi, 1
jne 0x14000d2f6
mov rcx, qword [rsp + 0x40]
call fcn.140018ae4
mov rcx, r12
call fcn.140018ae4
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