Function at 0x140006a70
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, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x140057040]
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 0x140006cd5
mov r13d, esi
mov edi, 0x5a4d
nop
mov rbx, qword [rdx + r13]
mov rcx, qword [r15 + 0x10]
cmp rbx, rcx
jbe 0x140006d56
mov rax, qword [r15 + 0x18]
shl rax, 0xc
add rax, rcx
cmp rbx, rax
jae 0x140006d56
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x59], xmm6
mov qword [rbp - 0x49], rax
and rbx, 0xfffffffffffff000
jmp 0x140006b35
mov edi, 0x5a4d
sub rbx, 0x1000
mov rcx, qword [r15 + 0x10]
cmp rbx, rcx
jb 0x140006c1d
mov rax, qword [r15 + 0x18]
shl rax, 0xc
add rax, rcx
cmp rbx, rax
ja 0x140006c1d
mov r9d, 2
lea r8, [rbp - 0x19]
mov rdx, rbx
xor ecx, ecx
call fcn.140002d90
test eax, eax
jne 0x140006b7b
mov word [rbp - 0x19], si
jmp 0x140006b35
cmp word [rbp - 0x19], di
jne 0x140006b35
lea rdx, [rbx + 0x3c]
mov r9d, 4
lea r8, [rbp - 0x11]
xor ecx, ecx
call fcn.140002d90
test eax, eax
jne 0x140006ba1
mov eax, esi
mov dword [rbp - 0x11], eax
jmp 0x140006ba4
mov eax, dword [rbp - 0x11]
mov edi, eax
add rdi, rbx
mov r9d, 2
lea r8, [rbp - 0x15]
mov rdx, rdi
xor ecx, ecx
call fcn.140002d90
test eax, eax
jne 0x140006bca
mov word [rbp - 0x15], si
jmp 0x140006b30
mov eax, 0x4550
cmp word [rbp - 0x15], ax
jne 0x140006b30
mov rsi, rbx
sub rsi, qword [r15 + 0x10]
add rsi, qword [r15 + 8]
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x59], rbx
lea rdx, [rdi + 0x50]
mov r9d, 4
lea r8, [rbp - 0xd]
xor ecx, ecx
call fcn.140002d90
test eax, eax
jne 0x140006c11
mov dword [rbp - 0xd], eax
mov dword [rbp - 0x49], eax
movups xmm6, xmmword [rbp - 0x59]
jmp 0x140006c30
mov eax, dword [rbp - 0xd]
mov dword [rbp - 0x49], eax
movups xmm6, xmmword [rbp - 0x59]
jmp 0x140006c30
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 0x140006d2e
mov rax, qword [rbp - 9]
cmp rax, r14
je 0x140006c5f
cmp qword [rax + 8], rsi
je 0x140006c9a
add rax, 0x18
cmp rax, r14
jne 0x140006c50
mov r8, qword [rbp - 0x61]
cmp r14, r8
je 0x140006c7c
movups xmmword [r14], xmm6
movsd qword [r14 + 0x10], xmm0
add r14, 0x18
mov qword [rbp - 1], r14
jmp 0x140006c9e
lea r8, [rbp - 0x31]
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.140006fd0
mov r8, qword [rbp + 7]
mov qword [rbp - 0x61], r8
mov r14, qword [rbp - 1]
jmp 0x140006c9e
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 0x140006af0
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.140006f50
mov rax, r12
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14001a6e0
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
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.140001350
mov qword [r12], 0
mov qword [r12 + 8], 0
mov qword [r12 + 0x10], 0
jmp 0x140006cf3
lea rcx, str._drvscan__should_not_happen__1______n
call fcn.140001350
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rsi
jmp 0x140006cf3