Function at 0x14005ad10
Capabilities:
Read file via mapping

Disassembly:
mov rcx, rdx
xor edx, edx
jmp 0x14005ad20
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov r12, qword [0x1400f74a8]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebx, 0xc000000d
test r8d, r8d
jne 0x14005b14f
mov ebp, dword [rsp + 0x170]
cmp ebp, 0x4000
ja 0x14005b14f
mov rsi, r9
mov r15, rdx
mov r14, rcx
test rcx, rcx
je 0x14005ad83
cmp word [r14], 0
je 0x14005b14f
call fcn.140067be0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140070b70
mov ebx, 0xc0000022
test al, al
je 0x14005b14f
call fcn.140067d00
test rax, rax
je 0x14005b14f
mov rdi, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x90]
mov rdx, rax
call fcn.140022db0
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14005ae29
mov eax, ebp
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14005ae51
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 2
jae 0x14005ae5b
mov ebx, 0xc000000d
jmp 0x14005b107
mov ebx, 0xc000000d
jmp 0x14005b10d
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x68], 0
test r14, r14
je 0x14005aec1
movzx r15d, word [r14]
test r15, r15
je 0x14005af0c
mov rbx, qword [r14 + 8]
mov r14, r15
shr r14, 1
cmp r15w, 0x16
jae 0x14005af16
lea eax, [r14 + r14]
mov byte [rsp + 0xa0], al
lea rax, [rsp + 0xa2]
mov rcx, rax
cmp r15w, 2
jae 0x14005af49
jmp 0x14005afc6
mov qword [rsp + 0x68], r15
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xf0], 0
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.14006bc60
jmp 0x14005b068
mov ebx, 0xc000000d
jmp 0x14005b0fa
mov r13, r14
or r13, 7
lea rcx, [r13 + 2]
add rcx, r13
call fcn.1400c70b0
mov qword [rsp + 0xb0], rax
add r13, 2
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r14
dec r14
movabs r8, 0x7fffffffffffffff
and r8, r14
cmp r8, 0xf
jb 0x14005afa6
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x20
jb 0x14005afa6
inc r8
mov r9, r8
and r9, 0xfffffffffffffff0
lea rcx, [rax + r9*2]
lea rdx, [rbx + r9*2]
xor r10d, r10d
movups xmm0, xmmword [rbx + r10*2]
movups xmm1, xmmword [rbx + r10*2 + 0x10]
movups xmmword [rax + r10*2], xmm0
movups xmmword [rax + r10*2 + 0x10], xmm1
add r10, 0x10
cmp r9, r10
jne 0x14005af80
cmp r8, r9
jne 0x14005afac
jmp 0x14005afc6
mov rcx, rax
mov rdx, rbx
and r15d, 0xfffffffe
add rbx, r15
movzx eax, word [rdx]
mov word [rcx], ax
add rdx, 2
add rcx, 2
cmp rdx, rbx
jne 0x14005afb3
mov word [rcx], 0
mov rbx, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rbx
movzx eax, byte [rsp + 0xa0]
mov byte [rsp + 0x70], al
mov rax, qword [rsp + 0xa1]
mov qword [rsp + 0x71], rax
mov eax, dword [rsp + 0xa9]
mov dword [rsp + 0x79], eax
movzx eax, word [rsp + 0xad]
mov word [rsp + 0x7d], ax
movzx eax, byte [rsp + 0xaf]
mov byte [rsp + 0x7f], al
movzx r14d, byte [rsp + 0x70]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xf0], 0
lea rcx, [rsp + 0x58]
mov rdx, rdi
call fcn.14006bc60
test r14b, 1
jne 0x14005b06d
lea rbx, [rsp + 0x72]
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], ebp
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x68]
mov edx, 0x1b
call fcn.14005c7a0
mov ebx, 0xc0000022
test eax, eax
jne 0x14005b0e6
mov ebx, dword [rsp + 0xa8]
test ebx, ebx
jne 0x14005b0e6
mov rdx, qword [rsp + 0x98]
mov r8d, ebp
mov rcx, rsi
call sub.ntdll.dll_memcpy
xor ebx, ebx
test byte [rsp + 0x70], 1
je 0x14005b0fa
mov rcx, qword [rsp + 0x80]
call fcn.1400c7190
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14005b10d
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rsi, qword [rsp + 0x90]
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14005b14f
mov rdi, qword [rsp + 0x148]
call fcn.140022b40
lea rdx, [rsp + 0x90]
mov rcx, rsi
mov r8, rdi
mov r9, rax
call fcn.140044ce0
mov rcx, qword [rsp + 0x90]
call fcn.140044c70
mov rax, qword [rsp + 0x100]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x14005b179
mov eax, ebx
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400c8850
int3