Function at 0x14015ba60
Capabilities:
Parse pe header

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0xf8
mov r12, rcx
mov rbp, rdx
lea rdx, [0x14023ec90]
mov r15, r9
mov r10, rdx
mov rcx, rdx
and r10, 0xfffffffffffffff1
mov r13, r8
xorps xmm1, xmm1
and ecx, 0xf
je 0x14015bab3
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r10]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14015baaf
mov r10d, ecx
shr r10, 1
jmp 0x14015baf4
add r10, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r10]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14015bae6
nop dword [rax]
nop dword [rax + rax]
add r10, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [r10]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14015bad0
sub r10, rdx
mov eax, ecx
sar r10, 1
shr rax, 1
add r10, rax
lea rax, [r10 + r10]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x130], rdi
call fcn.14017e120
test rax, rax
je 0x14015bdb6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015bb70
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x14015bb70
cmp dword [rdx + rax], 0x4550
jne 0x14015bb70
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x14015bb70
cmp dword [rdx + 4], 0
je 0x14015bb70
lea r8, [rax + rcx]
xor edi, edi
mov rcx, rax
mov word [rsp + 0x20], di
lea r9, str.RtlGetFunctionTableListHead
call fcn.14017e4c0
jmp 0x14015bb74
xor edi, edi
mov eax, edi
test rax, rax
je 0x14015bdb6
mov qword [rsp + 0xf0], r14
call qword [case.0x14013d84a.0]
mov r9d, 0x10
mov qword [rsp + 0x20], rdi
mov rdx, rax
lea r8, [rsp + 0x48]
mov rcx, r12
mov r14, rax
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
lfence
test eax, eax
js 0x14015bc3a
mov qword [rsp + 0x120], rbx
mov ebx, edi
mov qword [rsp + 0x128], rsi
mov rsi, qword [rsp + 0x48]
cmp rsi, r14
je 0x14015bc25
cmp ebx, 0x800
jae 0x14015bc25
mov r9d, 0x88
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x60]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
test eax, eax
js 0x14015bdae
nop dword [rax]
cmp rbp, qword [rsp + 0x80]
jb 0x14015bc14
cmp rbp, qword [rsp + 0x88]
jb 0x14015bc59
mov rsi, qword ds:[rsp + 0x60]
inc ebx
cmp rsi, r14
jne 0x14015bbd1
mov eax, 0xc0000225
mov rsi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x120]
mov r14, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0x130]
add rsp, 0xf8
pop r15
pop r13
pop r12
pop rbp
ret
mov r14, qword [rsp + 0x140]
test r14, r14
je 0x14015bd26
cmp qword [rsp + 0xa8], 0
je 0x14015bd0b
lfence
mov ebp, dword [rsp + 0x148]
mov edx, 0xff
mov r8d, ebp
mov rcx, r14
call fcn.14020ab40
mov rdx, qword [rsp + 0xa8]
lea rax, [rsp + 0x40]
mov r9d, ebp
mov qword [rsp + 0x20], rax
mov r8, r14
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x14015bccf
cmp eax, 0x8000000d
jne 0x14015bdae
shr ebp, 1
je 0x14015bce4
mov eax, edi
cmp word [r14 + rax*2], 0
je 0x14015bcee
inc edi
cmp edi, ebp
jb 0x14015bcd3
mov eax, 0x80000005
jmp 0x14015bc2a
mov rax, qword [rsp + 0x150]
test rax, rax
je 0x14015bd26
add di, di
mov qword [rax + 8], r14
mov word [rax], di
mov word [rax + 2], di
jmp 0x14015bd26
mov rax, qword [rsp + 0x150]
mov word [r14], di
test rax, rax
je 0x14015bd26
mov qword [rax + 8], rdi
mov dword [rax], 0
test r13, r13
je 0x14015bd2f
mov qword [r13], rsi
test r15, r15
je 0x14015bda7
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r15 + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x90]
movups xmmword [r15 + 0x20], xmm0
movups xmm0, xmmword [rsp + 0xa0]
movups xmmword [r15 + 0x30], xmm1
movups xmm1, xmmword [rsp + 0xb0]
movups xmmword [r15 + 0x40], xmm0
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [r15 + 0x50], xmm1
movups xmm1, xmmword [rsp + 0xd0]
movups xmmword [r15 + 0x60], xmm0
movsd xmm0, qword [rsp + 0xe0]
movups xmmword [r15 + 0x70], xmm1
movsd qword [r15 + 0x80], xmm0
xor eax, eax
jmp 0x14015bc2a
lfence
jmp 0x14015bc2a
mov eax, 0xc000007a
jmp 0x14015bc42