Function at 0x1401551e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
test byte [0x1402c6af0], 1
jne 0x14015548a
lock bts qword [0x1402c6af0], 0x1f
setb al
test al, al
je 0x14015522f
test byte [0x1402c6af0], 1
jne 0x14015548a
xor edx, edx
lea rcx, [0x1402c6af0]
call sym.SystemInformer.exe_PhfWaitForEvent
cmp qword [0x1402ceb80], 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 0x140155299
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 0x140155299
cmp dword [0x1402c0f40], 0x3e
jae 0x14015546d
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 0x14015546d
mov qword [rsp + 0x30], rdi
mov rcx, r10
mov edi, 0x5a4d
mov qword [0x1402ceb80], rcx
cmp word [r10], di
jne 0x14015530e
mov edx, dword ds:[r10 + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14015530e
cmp dword [rdx + r10], 0x4550
jne 0x14015530e
add rdx, 0x88
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x14015530e
cmp dword [rdx + 4], 0
je 0x14015530e
xor ebx, ebx
lea r8, [r10 + rax]
lea r9, str.CreateMRUListW
mov word [rsp + 0x20], bx
call fcn.14017f180
mov rcx, qword [0x1402ceb80]
jmp 0x140155312
xor ebx, ebx
mov eax, ebx
mov qword [0x1402ceba8], rax
cmp word [rcx], di
jne 0x140155368
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140155368
cmp dword [rdx + rcx], 0x4550
jne 0x140155368
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140155368
cmp dword [rdx + 4], 0
je 0x140155368
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.AddMRUStringW
call fcn.14017f180
mov rcx, qword [0x1402ceb80]
jmp 0x14015536b
mov rax, rbx
mov qword [0x1402cebc8], rax
cmp word [rcx], di
jne 0x1401553cb
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401553cb
cmp dword [rdx + rcx], 0x4550
jne 0x1401553cb
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401553cb
cmp dword [rdx + 4], 0
je 0x1401553cb
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.EnumMRUListW
call fcn.14017f180
mov rcx, qword [0x1402ceb80]
mov rdx, rax
jmp 0x1401553ce
mov rdx, rbx
cmp word [rcx], di
mov rdi, qword [rsp + 0x30]
mov qword [0x1402cead0], rdx
jne 0x14015543c
mov r8d, dword [rcx + 0x3c]
lea eax, [r8 - 1]
cmp eax, 0x7ffffffd
ja 0x14015543c
cmp dword [rcx + r8], 0x4550
lea rax, [rcx + r8]
jne 0x14015543c
mov r8d, dword [rax + 0x88]
test r8d, r8d
je 0x14015543c
cmp dword [rax + 0x8c], 0
je 0x14015543c
add r8, rcx
mov word [rsp + 0x20], bx
lea r9, str.FreeMRUList
lea rdx, [rax + 0x88]
call fcn.14017f180
mov rcx, qword [0x1402ceb80]
mov rdx, qword [0x1402cead0]
jmp 0x14015543f
mov rax, rbx
cmp qword [0x1402ceba8], 0
mov qword [0x1402cebd0], rax
je 0x140155465
cmp qword [0x1402cebc8], 0
je 0x140155465
test rdx, rdx
je 0x140155465
nop
test rax, rax
jne 0x140155476
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14015546f
xor ebx, ebx
mov qword [0x1402ceb80], rbx
lea rcx, [0x1402c6af0]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
cmp qword [0x1402ceb80], 0
setne al
add rsp, 0x38
ret