Function at 0x140153f40
Capabilities:
Parse pe header

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0xf8
mov r12, rcx
mov rbp, rdx
lea rdx, [0x1402379c0]
mov r15, r9
mov r10, rdx
mov rcx, rdx
and r10, 0xfffffffffffffff1
mov r13, r8
xorps xmm1, xmm1
and ecx, 0xf
je 0x140153f93
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r10]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140153f8f
mov r10d, ecx
shr r10, 1
jmp 0x140153fd4
add r10, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [r10]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140153fc6
nop dword [rax]
nop dword [rax + rax]
add r10, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [r10]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140153fb0
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.140174480
test rax, rax
je 0x140154296
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140154050
mov edx, dword [rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0x7ffffffd
ja 0x140154050
cmp dword [rdx + rax], 0x4550
jne 0x140154050
add rdx, 0x88
add rdx, rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x140154050
cmp dword [rdx + 4], 0
je 0x140154050
lea r8, [rax + rcx]
xor edi, edi
mov rcx, rax
mov word [rsp + 0x20], di
lea r9, str.RtlGetFunctionTableListHead
call fcn.140174840
jmp 0x140154054
xor edi, edi
mov eax, edi
test rax, rax
je 0x140154296
mov qword [rsp + 0xf0], r14
call qword [str.PB__]
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 0x14015411a
mov qword [rsp + 0x120], rbx
mov ebx, edi
mov qword [rsp + 0x128], rsi
mov rsi, qword [rsp + 0x48]
cmp rsi, r14
je 0x140154105
cmp ebx, 0x800
jae 0x140154105
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 0x14015428e
nop dword [rax]
cmp rbp, qword [rsp + 0x80]
jb 0x1401540f4
cmp rbp, qword [rsp + 0x88]
jb 0x140154139
mov rsi, qword ds:[rsp + 0x60]
inc ebx
cmp rsi, r14
jne 0x1401540b1
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 0x140154206
cmp qword [rsp + 0xa8], 0
je 0x1401541eb
lfence
mov ebp, dword [rsp + 0x148]
mov edx, 0xff
mov r8d, ebp
mov rcx, r14
call fcn.1401dff50
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 0x1401541af
cmp eax, 0x8000000d
jne 0x14015428e
shr ebp, 1
je 0x1401541c4
mov eax, edi
cmp word [r14 + rax*2], 0
je 0x1401541ce
inc edi
cmp edi, ebp
jb 0x1401541b3
mov eax, 0x80000005
jmp 0x14015410a
mov rax, qword [rsp + 0x150]
test rax, rax
je 0x140154206
add di, di
mov qword [rax + 8], r14
mov word [rax], di
mov word [rax + 2], di
jmp 0x140154206
mov rax, qword [rsp + 0x150]
mov word [r14], di
test rax, rax
je 0x140154206
mov qword [rax + 8], rdi
mov dword [rax], 0
test r13, r13
je 0x14015420f
mov qword [r13], rsi
test r15, r15
je 0x140154287
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 0x14015410a
lfence
jmp 0x14015410a
mov eax, 0xc000007a
jmp 0x140154122