Function at 0x1400087f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15, r8
mov rax, rdx
mov qword [rbp - 0x39], rdx
mov r12, rcx
mov qword [rbp - 0x61], rcx
xor esi, esi
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8d, esi
mov qword [rbp - 0x61], rsi
mov qword [rbp + 7], rsi
mov dword [rbp - 0x69], esi
mov rdx, qword [rdx]
mov rax, qword [rax + 8]
sub rax, rdx
sar rax, 3
mov r14, qword [rbp - 1]
test rax, rax
je 0x140008a85
mov r13d, esi
mov edi, 0x5a4d
nop
mov rbx, qword [rdx + r13]
mov rcx, qword [r15 + 0x10]
cmp rbx, rcx
jbe 0x140008b06
mov rax, qword [r15 + 0x18]
shl rax, 0xc
add rax, rcx
cmp rbx, rax
jae 0x140008b06
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x59], xmm6
mov qword [rbp - 0x49], rax
and rbx, 0xfffffffffffff000
jmp 0x1400088b5
mov edi, 0x5a4d
sub rbx, 0x1000
mov rcx, qword [r15 + 0x10]
cmp rbx, rcx
jb 0x1400089c9
mov rax, qword [r15 + 0x18]
shl rax, 0xc
add rax, rcx
cmp rbx, rax
ja 0x1400089c9
mov rcx, qword [0x14003be80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 2
lea r9, [rbp - 0x19]
mov r8, rbx
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x140008906
mov word [rbp - 0x19], si
jmp 0x1400088b5
cmp word [rbp - 0x19], di
jne 0x1400088b5
mov rcx, qword [0x14003be80]
mov rax, qword [rcx]
lea r8, [rbx + 0x3c]
mov qword [rsp + 0x20], 4
lea r9, [rbp - 0x11]
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x140008937
mov eax, esi
mov dword [rbp - 0x11], eax
jmp 0x14000893a
mov eax, dword [rbp - 0x11]
mov edi, eax
add rdi, rbx
mov rcx, qword [0x14003be80]
mov rax, qword [rcx]
mov qword [rsp + 0x20], 2
lea r9, [rbp - 0x15]
mov r8, rdi
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x14000896b
mov word [rbp - 0x15], si
jmp 0x1400088b0
mov eax, 0x4550
cmp word [rbp - 0x15], ax
jne 0x1400088b0
mov rsi, rbx
sub rsi, qword [r15 + 0x10]
add rsi, qword [r15 + 8]
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x59], rbx
mov rcx, qword [0x14003be80]
mov rax, qword [rcx]
lea r8, [rdi + 0x50]
mov qword [rsp + 0x20], 4
lea r9, [rbp - 0xd]
xor edx, edx
call qword [rax + 8]
test eax, eax
jne 0x1400089bd
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x49], eax
movups xmm6, xmmword [rbp - 0x59]
jmp 0x1400089dc
mov eax, dword [rbp - 0xd]
mov dword [rbp - 0x49], eax
movups xmm6, xmmword [rbp - 0x59]
jmp 0x1400089dc
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rsi, xmm0
movq rbx, xmm6
movups xmmword [rbp - 0x31], xmm6
movsd xmm0, qword [rbp - 0x49]
movsd qword [rbp - 0x21], xmm0
test rbx, rbx
je 0x140008ade
mov rax, qword [rbp - 9]
cmp rax, r14
je 0x140008a0f
nop dword [rax]
cmp qword [rax + 8], rsi
je 0x140008a4a
add rax, 0x18
cmp rax, r14
jne 0x140008a00
mov r8, qword [rbp - 0x61]
cmp r14, r8
je 0x140008a2c
movups xmmword [r14], xmm6
movsd qword [r14 + 0x10], xmm0
add r14, 0x18
mov qword [rbp - 1], r14
jmp 0x140008a4e
lea r8, [rbp - 0x31]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.140008e20
mov r8, qword [rbp + 7]
mov qword [rbp - 0x61], r8
mov r14, qword [rbp - 1]
jmp 0x140008a4e
mov r8, qword [rbp - 0x61]
mov r9d, dword [rbp - 0x69]
inc r9d
mov dword [rbp - 0x69], r9d
add r13, 8
mov r10, qword [rbp - 0x39]
mov rdx, qword [r10]
mov rcx, qword [r10 + 8]
sub rcx, rdx
sar rcx, 3
movsxd rax, r9d
cmp rax, rcx
mov esi, 0
mov edi, 0x5a4d
jb 0x140008870
mov qword [rbp + 7], rsi
mov qword [rbp - 1], rsi
mov rax, qword [rbp - 9]
mov qword [rbp - 9], rsi
mov qword [r12], rax
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r8
lea rcx, [rbp - 9]
call fcn.140008da0
mov rax, r12
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14000ee00
mov rbx, qword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str._drvscan__should_not_happen__2______n
call fcn.1400012c0
mov qword [r12], 0
mov qword [r12 + 8], 0
mov qword [r12 + 0x10], 0
jmp 0x140008aa3
lea rcx, str._drvscan__should_not_happen__1______n
call fcn.1400012c0
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rsi
jmp 0x140008aa3