Function at 0x140152520
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
test byte [0x1402c0ad0], 1
jne 0x1401527ca
lock bts qword [0x1402c0ad0], 0x1f
jae 0x140152568
test byte [0x1402c0ad0], 1
jne 0x1401527ca
xor edx, edx
lea rcx, [0x1402c0ad0]
call sym.SystemInformer.exe_QifWaitForEvent
cmp qword [0x1402c81f0], 0
setne al
add rsp, 0x38
ret
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 0x800
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r10, rax
test rax, rax
jne 0x1401525d9
xor edx, edx
lea rcx, str.comctl32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r10, rax
test rax, rax
jne 0x1401525d9
cmp dword [0x1402baf40], 0x3e
jae 0x1401527ad
xor r8d, r8d
lea rcx, str.comctl32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r10, rax
test rax, rax
je 0x1401527ad
mov qword [rsp + 0x30], rdi
mov rcx, r10
mov edi, 0x5a4d
mov qword [0x1402c81f0], rcx
cmp word [r10], di
jne 0x14015264e
mov edx, dword ds:[r10 + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14015264e
cmp dword [rdx + r10], 0x4550
jne 0x14015264e
add rdx, 0x88
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x14015264e
cmp dword [rdx + 4], 0
je 0x14015264e
xor ebx, ebx
lea r8, [r10 + rax]
lea r9, str.CreateMRUListW
mov word [rsp + 0x20], bx
call fcn.140177a80
mov rcx, qword [0x1402c81f0]
jmp 0x140152652
xor ebx, ebx
mov eax, ebx
mov qword [0x1402c8218], rax
cmp word [rcx], di
jne 0x1401526a8
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401526a8
cmp dword [rdx + rcx], 0x4550
jne 0x1401526a8
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401526a8
cmp dword [rdx + 4], 0
je 0x1401526a8
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.AddMRUStringW
call fcn.140177a80
mov rcx, qword [0x1402c81f0]
jmp 0x1401526ab
mov rax, rbx
mov qword [0x1402c8238], rax
cmp word [rcx], di
jne 0x14015270b
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14015270b
cmp dword [rdx + rcx], 0x4550
jne 0x14015270b
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14015270b
cmp dword [rdx + 4], 0
je 0x14015270b
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.EnumMRUListW
call fcn.140177a80
mov rcx, qword [0x1402c81f0]
mov rdx, rax
jmp 0x14015270e
mov rdx, rbx
cmp word [rcx], di
mov rdi, qword [rsp + 0x30]
mov qword [0x1402c8140], rdx
jne 0x14015277c
mov r8d, dword [rcx + 0x3c]
lea eax, [r8 - 1]
cmp eax, 0x7ffffffd
ja 0x14015277c
cmp dword [rcx + r8], 0x4550
lea rax, [rcx + r8]
jne 0x14015277c
mov r8d, dword [rax + 0x88]
test r8d, r8d
je 0x14015277c
cmp dword [rax + 0x8c], 0
je 0x14015277c
add r8, rcx
mov word [rsp + 0x20], bx
lea r9, str.FreeMRUList
lea rdx, [rax + 0x88]
call fcn.140177a80
mov rcx, qword [0x1402c81f0]
mov rdx, qword [0x1402c8140]
jmp 0x14015277f
mov rax, rbx
cmp qword [0x1402c8218], 0
mov qword [0x1402c8240], rax
je 0x1401527a5
cmp qword [0x1402c8238], 0
je 0x1401527a5
test rdx, rdx
je 0x1401527a5
nop
test rax, rax
jne 0x1401527b6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1401527af
xor ebx, ebx
mov qword [0x1402c81f0], rbx
lea rcx, [0x1402c0ad0]
nop dword [rax]
call sym.SystemInformer.exe_QifSetEvent
mov rbx, qword [rsp + 0x40]
cmp qword [0x1402c81f0], 0
setne al
add rsp, 0x38
ret