Function at 0x14010f710
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
movzx r12d, dl
mov dword [0x140213ccc], 1
mov r15, rcx
xor eax, eax
mov r13d, 5
lock cmpxchg qword [0x140213dc0], r13
je 0x14010f75a
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov r14, qword [0x1402178b0]
lea rax, str.EnableThemeSupport
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x38], 0x24
mov rax, qword [r14 + 0x10]
call qword [case.0x140101f48.0]
mov ecx, dword [r14 + 0x18]
xor edi, edi
btr eax, 0x1f
dec ecx
mov ebp, eax
mov rax, qword [r14 + 0x20]
and rcx, rbp
mov edx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x14010f7e3
nop word [rax + rax]
mov ebx, dword [r14]
add ebx, 8
imul ebx, edx
add rbx, qword [r14 + 0x30]
cmp dword [rbx], ebp
jne 0x14010f7db
mov rax, qword [r14 + 8]
lea rsi, [rbx + 8]
mov rcx, rsi
lea rdx, [rsp + 0x30]
call qword [case.0x140101f48.0]
test al, al
jne 0x14010f818
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x14010f7b0
mov ebx, dword [rsp + 0xd0]
mov rsi, rdi
mov rax, r13
lock cmpxchg qword [0x140213dc0], rdi
je 0x14010f807
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test rsi, rsi
jne 0x14010f827
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test rsi, rsi
je 0x14010f7e3
cmp dword [rsi], 1
jne 0x14010f7e3
mov ebx, dword [rsi + 0x28]
jmp 0x14010f7ed
test ebx, ebx
setne byte [0x1402130ee]
xor eax, eax
lock cmpxchg qword [0x140213dc0], r13
je 0x14010f849
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov r14, qword [0x1402178b0]
lea rax, str.TreeListBorderEnable
mov qword ds:[rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], 0x28
mov rax, qword [r14 + 0x10]
call qword [case.0x140101f48.0]
mov ecx, dword ds:[r14 + 0x18]
btr eax, 0x1f
mov ebp, eax
dec ecx
mov rax, qword [r14 + 0x20]
and rcx, rbp
mov edx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x14010f8d6
nop word [rax + rax]
mov ebx, dword ds:[r14]
add ebx, 8
imul ebx, edx
add rbx, qword [r14 + 0x30]
cmp dword [rbx], ebp
jne 0x14010f8ce
mov rax, qword [r14 + 8]
lea rsi, [rbx + 8]
mov rcx, rsi
lea rdx, [rsp + 0x60]
call qword [case.0x140101f48.0]
test al, al
jne 0x14010f90b
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x14010f8a0
mov ebx, dword [rsp + 0xd0]
mov rsi, rdi
mov rax, r13
lock cmpxchg qword [0x140213dc0], rdi
je 0x14010f8fa
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test rsi, rsi
jne 0x14010f91f
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
nop dword [rax + rax]
test rsi, rsi
je 0x14010f8d6
cmp dword [rsi], 1
jne 0x14010f8d6
mov ebx, dword [rsi + 0x28]
jmp 0x14010f8e0
test ebx, ebx
setne byte [0x14020ad0c]
test r12b, r12b
je 0x14010fb15
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x6a
jb 0x14010fb15
test byte [0x1402106a0], 1
nop dword [rax]
jne 0x14010fb15
lock bts qword [0x1402106a0], 0x1f
jb 0x14010fafa
lea rcx, str.dwmapi.dll
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, 0x5a4d
test rax, rax
je 0x14010f9e3
cmp word [rax], si
jne 0x14010f9d9
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0xffffffe
ja 0x14010f9d9
cmp dword [rdx + rax], 0x4550
jne 0x14010f9d9
lea r8, ds:[rax + 0x88]
add r8, rdx
mov ecx, dword [r8]
test ecx, ecx
je 0x14010f9d9
cmp dword [r8 + 4], edi
je 0x14010f9d9
lea r9, [rax + rcx]
mov word [rsp + 0x28], di
lea rcx, str.DwmSetWindowAttribute
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140104bd0
jmp 0x14010f9dc
mov rax, rdi
mov qword [0x1402178b8], rax
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x6c
nop word [rax + rax]
jb 0x14010faec
lea rcx, str.uxtheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14010fac1
nop
cmp word [rax], si
jne 0x14010fab8
mov eax, dword [rax + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0xffffffe
ja 0x14010fa69
cmp dword ds:[rax + rbx], 0x4550
jne 0x14010fa69
lea r8, [rax + 0x88]
add r8, rbx
mov eax, dword [r8]
test eax, eax
je 0x14010fa69
cmp dword [r8 + 4], edi
je 0x14010fa69
lea r9, [rbx + rax]
mov rcx, rbx
mov eax, 0x85
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rdi
call fcn.140104bd0
cmp word [rbx], si
jne 0x14010fab8
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x14010fab8
cmp dword [rcx + rbx], 0x4550
jne 0x14010fab8
lea r8, ds:[rbx + 0x88]
add r8, rcx
mov eax, dword [r8]
test eax, eax
je 0x14010fab8
cmp dword [r8 + 4], edi
je 0x14010fab8
lea r9, [rbx + rax]
mov rcx, rbx
mov eax, 0x87
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rdi
call fcn.140104bd0
mov rdi, rax
mov qword [0x140213d00], rdi
jmp 0x14010fac8
mov rdi, qword [0x140213d00]
test rdi, rdi
je 0x14010faec
mov eax, dword [0x140213ccc]
test eax, eax
je 0x14010fae1
cmp eax, 1
jne 0x14010faec
lea ecx, [rax + 1]
jmp 0x14010fae3
xor ecx, ecx
mov rax, rdi
call qword [case.0x140101f48.0]
lea rcx, [0x1402106a0]
call sym.ProcessHacker.exe_PhfSetEvent
jmp 0x14010fb15
test byte [0x1402106a0], 1
jne 0x14010fb15
xor edx, edx
lea rcx, [0x1402106a0]
call sym.ProcessHacker.exe_PhfWaitForEvent
mov rcx, r15
call fcn.14010ff90
mov eax, dword [0x140213ccc]
test eax, eax
je 0x14010fb33
cmp eax, 1
jne 0x14010fb5e
mov ecx, 0x2b2b2b
jmp 0x14010fb38
mov ecx, 0xffffff
mov rbx, qword [0x140213ce8]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x140213ce8], rax
nop dword [rax]
test rbx, rbx
je 0x14010fb5e
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
test r12b, r12b
je 0x14010fbc9
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
lea rbx, [0x140112030]
cmp rax, rbx
je 0x14010fba6
mov r8, rax
mov edx, 0x7fff
mov rcx, r15
call sym.ProcessHacker.exe_PhSetWindowContext
mov r8, rbx
mov edx, 0xfffffffc
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
xor r8d, r8d
lea rdx, [0x140110160]
mov rcx, r15
call qword [sym.imp.USER32.dll_EnumChildWindows]
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14010fbd6
mov edx, 6
call qword [sym.imp.UxTheme.dll_EnableThemeDialogTexture]
mov rbx, qword [rsp + 0xc0]
lea r11, [rsp + 0x90]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret