Function at 0x140154a80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
test byte [0x1402c5b90], 1
jne 0x140154d2a
lock bts qword [0x1402c5b90], 0x1f
setb al
test al, al
je 0x140154acf
test byte [0x1402c5b90], 1
jne 0x140154d2a
xor edx, edx
lea rcx, [0x1402c5b90]
call sym.SystemInformer.exe_PhfWaitForEvent
cmp qword [0x1402cdc30], 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 0x140154b39
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 0x140154b39
cmp dword [0x1402bff40], 0x3e
jae 0x140154d0d
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 0x140154d0d
mov qword [rsp + 0x30], rdi
mov rcx, r10
mov edi, 0x5a4d
mov qword [0x1402cdc30], rcx
cmp word [r10], di
jne 0x140154bae
mov edx, dword ds:[r10 + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154bae
cmp dword [rdx + r10], 0x4550
jne 0x140154bae
add rdx, 0x88
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x140154bae
cmp dword [rdx + 4], 0
je 0x140154bae
xor ebx, ebx
lea r8, [r10 + rax]
lea r9, str.CreateMRUListW
mov word [rsp + 0x20], bx
call fcn.14017dc40
mov rcx, qword [0x1402cdc30]
jmp 0x140154bb2
xor ebx, ebx
mov eax, ebx
mov qword [0x1402cdc58], rax
cmp word [rcx], di
jne 0x140154c08
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154c08
cmp dword [rdx + rcx], 0x4550
jne 0x140154c08
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154c08
cmp dword [rdx + 4], 0
je 0x140154c08
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.AddMRUStringW
call fcn.14017dc40
mov rcx, qword [0x1402cdc30]
jmp 0x140154c0b
mov rax, rbx
mov qword [0x1402cdc78], rax
cmp word [rcx], di
jne 0x140154c6b
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154c6b
cmp dword [rdx + rcx], 0x4550
jne 0x140154c6b
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154c6b
cmp dword [rdx + 4], 0
je 0x140154c6b
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.EnumMRUListW
call fcn.14017dc40
mov rcx, qword [0x1402cdc30]
mov rdx, rax
jmp 0x140154c6e
mov rdx, rbx
cmp word [rcx], di
mov rdi, qword [rsp + 0x30]
mov qword [0x1402cdb80], rdx
jne 0x140154cdc
mov r8d, dword [rcx + 0x3c]
lea eax, [r8 - 1]
cmp eax, 0x7ffffffd
ja 0x140154cdc
cmp dword [rcx + r8], 0x4550
lea rax, [rcx + r8]
jne 0x140154cdc
mov r8d, dword [rax + 0x88]
test r8d, r8d
je 0x140154cdc
cmp dword [rax + 0x8c], 0
je 0x140154cdc
add r8, rcx
mov word [rsp + 0x20], bx
lea r9, str.FreeMRUList
lea rdx, [rax + 0x88]
call fcn.14017dc40
mov rcx, qword [0x1402cdc30]
mov rdx, qword [0x1402cdb80]
jmp 0x140154cdf
mov rax, rbx
cmp qword [0x1402cdc58], 0
mov qword [0x1402cdc80], rax
je 0x140154d05
cmp qword [0x1402cdc78], 0
je 0x140154d05
test rdx, rdx
je 0x140154d05
nop
test rax, rax
jne 0x140154d16
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140154d0f
xor ebx, ebx
mov qword [0x1402cdc30], rbx
lea rcx, [0x1402c5b90]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
cmp qword [0x1402cdc30], 0
setne al
add rsp, 0x38
ret