Function at 0x140154c80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
test byte [0x1402c5bb0], 1
jne 0x140154f2a
lock bts qword [0x1402c5bb0], 0x1f
setb al
test al, al
je 0x140154ccf
test byte [0x1402c5bb0], 1
jne 0x140154f2a
xor edx, edx
lea rcx, [0x1402c5bb0]
call sym.SystemInformer.exe_PhfWaitForEvent
cmp qword [0x1402cdc50], 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 0x140154d39
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 0x140154d39
cmp dword [0x1402bff40], 0x3e
jae 0x140154f0d
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 0x140154f0d
mov qword [rsp + 0x30], rdi
mov rcx, r10
mov edi, 0x5a4d
mov qword [0x1402cdc50], rcx
cmp word [r10], di
jne 0x140154dae
mov edx, dword ds:[r10 + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154dae
cmp dword [rdx + r10], 0x4550
jne 0x140154dae
add rdx, 0x88
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x140154dae
cmp dword [rdx + 4], 0
je 0x140154dae
xor ebx, ebx
lea r8, [r10 + rax]
lea r9, str.CreateMRUListW
mov word [rsp + 0x20], bx
call fcn.14017e4c0
mov rcx, qword [0x1402cdc50]
jmp 0x140154db2
xor ebx, ebx
mov eax, ebx
mov qword [0x1402cdc78], rax
cmp word [rcx], di
jne 0x140154e08
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154e08
cmp dword [rdx + rcx], 0x4550
jne 0x140154e08
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154e08
cmp dword [rdx + 4], 0
je 0x140154e08
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.AddMRUStringW
call fcn.14017e4c0
mov rcx, qword [0x1402cdc50]
jmp 0x140154e0b
mov rax, rbx
mov qword [0x1402cdc98], rax
cmp word [rcx], di
jne 0x140154e6b
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154e6b
cmp dword [rdx + rcx], 0x4550
jne 0x140154e6b
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154e6b
cmp dword [rdx + 4], 0
je 0x140154e6b
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.EnumMRUListW
call fcn.14017e4c0
mov rcx, qword [0x1402cdc50]
mov rdx, rax
jmp 0x140154e6e
mov rdx, rbx
cmp word [rcx], di
mov rdi, qword [rsp + 0x30]
mov qword [0x1402cdba0], rdx
jne 0x140154edc
mov r8d, dword [rcx + 0x3c]
lea eax, [r8 - 1]
cmp eax, 0x7ffffffd
ja 0x140154edc
cmp dword [rcx + r8], 0x4550
lea rax, [rcx + r8]
jne 0x140154edc
mov r8d, dword [rax + 0x88]
test r8d, r8d
je 0x140154edc
cmp dword [rax + 0x8c], 0
je 0x140154edc
add r8, rcx
mov word [rsp + 0x20], bx
lea r9, str.FreeMRUList
lea rdx, [rax + 0x88]
call fcn.14017e4c0
mov rcx, qword [0x1402cdc50]
mov rdx, qword [0x1402cdba0]
jmp 0x140154edf
mov rax, rbx
cmp qword [0x1402cdc78], 0
mov qword [0x1402cdca0], rax
je 0x140154f05
cmp qword [0x1402cdc98], 0
je 0x140154f05
test rdx, rdx
je 0x140154f05
nop
test rax, rax
jne 0x140154f16
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140154f0f
xor ebx, ebx
mov qword [0x1402cdc50], rbx
lea rcx, [0x1402c5bb0]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
cmp qword [0x1402cdc50], 0
setne al
add rsp, 0x38
ret