Function at 0x7ff7c00cf710
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 [0x7ff7c01d3ccc], 1
mov r15, rcx
xor eax, eax
mov r13d, 5
lock cmpxchg qword [0x7ff7c01d3dc0], r13
je 0x7ff7c00cf75a
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov r14, qword [0x7ff7c01d78b0]
lea rax, [0x7ff7c017aab8]
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.0x7ff7c00c1f48.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 0x7ff7c00cf7e3
nop word [rax + rax]
mov ebx, dword [r14]
add ebx, 8
imul ebx, edx
add rbx, qword [r14 + 0x30]
cmp dword [rbx], ebp
jne 0x7ff7c00cf7db
mov rax, qword [r14 + 8]
lea rsi, [rbx + 8]
mov rcx, rsi
lea rdx, [rsp + 0x30]
call qword [case.0x7ff7c00c1f48.0]
test al, al
jne 0x7ff7c00cf818
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x7ff7c00cf7b0
mov ebx, dword [rsp + 0xd0]
mov rsi, rdi
mov rax, r13
lock cmpxchg qword [0x7ff7c01d3dc0], rdi
je 0x7ff7c00cf807
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test rsi, rsi
jne 0x7ff7c00cf827
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test rsi, rsi
je 0x7ff7c00cf7e3
cmp dword [rsi], 1
jne 0x7ff7c00cf7e3
mov ebx, dword [rsi + 0x28]
jmp 0x7ff7c00cf7ed
test ebx, ebx
setne byte [0x7ff7c01d30ee]
xor eax, eax
lock cmpxchg qword [0x7ff7c01d3dc0], r13
je 0x7ff7c00cf849
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov r14, qword [0x7ff7c01d78b0]
lea rax, [0x7ff7c017a380]
mov qword ds:[rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], 0x28
mov rax, qword [r14 + 0x10]
call qword [case.0x7ff7c00c1f48.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 0x7ff7c00cf8d6
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 0x7ff7c00cf8ce
mov rax, qword [r14 + 8]
lea rsi, [rbx + 8]
mov rcx, rsi
lea rdx, [rsp + 0x60]
call qword [case.0x7ff7c00c1f48.0]
test al, al
jne 0x7ff7c00cf90b
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x7ff7c00cf8a0
mov ebx, dword [rsp + 0xd0]
mov rsi, rdi
mov rax, r13
lock cmpxchg qword [0x7ff7c01d3dc0], rdi
je 0x7ff7c00cf8fa
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test rsi, rsi
jne 0x7ff7c00cf91f
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
nop dword [rax + rax]
test rsi, rsi
je 0x7ff7c00cf8d6
cmp dword [rsi], 1
jne 0x7ff7c00cf8d6
mov ebx, dword [rsi + 0x28]
jmp 0x7ff7c00cf8e0
test ebx, ebx
setne byte [0x7ff7c01cad0c]
test r12b, r12b
je 0x7ff7c00cfb15
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x6a
jb 0x7ff7c00cfb15
test byte [0x7ff7c01d06a0], 1
nop dword [rax]
jne 0x7ff7c00cfb15
lock bts qword [0x7ff7c01d06a0], 0x1f
jb 0x7ff7c00cfafa
lea rcx, [0x7ff7c0188878]
nop dword [rax]
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, 0x5a4d
test rax, rax
je 0x7ff7c00cf9e3
cmp word [rax], si
jne 0x7ff7c00cf9d9
mov edx, dword ds:[rax + 0x3c]
lea ecx, [rdx - 1]
cmp ecx, 0xffffffe
ja 0x7ff7c00cf9d9
cmp dword [rdx + rax], 0x4550
jne 0x7ff7c00cf9d9
lea r8, ds:[rax + 0x88]
add r8, rdx
mov ecx, dword [r8]
test ecx, ecx
je 0x7ff7c00cf9d9
cmp dword [r8 + 4], edi
je 0x7ff7c00cf9d9
lea r9, [rax + rcx]
mov word [rsp + 0x28], di
lea rcx, [0x7ff7c0188890]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.7ff7c00c4bd0
jmp 0x7ff7c00cf9dc
mov rax, rdi
mov qword [0x7ff7c01d78b8], rax
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x6c
nop word [rax + rax]
jb 0x7ff7c00cfaec
lea rcx, [0x7ff7c01888a8]
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x7ff7c00cfac1
nop
cmp word [rax], si
jne 0x7ff7c00cfab8
mov eax, dword [rax + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0xffffffe
ja 0x7ff7c00cfa69
cmp dword ds:[rax + rbx], 0x4550
jne 0x7ff7c00cfa69
lea r8, [rax + 0x88]
add r8, rbx
mov eax, dword [r8]
test eax, eax
je 0x7ff7c00cfa69
cmp dword [r8 + 4], edi
je 0x7ff7c00cfa69
lea r9, [rbx + rax]
mov rcx, rbx
mov eax, 0x85
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rdi
call fcn.7ff7c00c4bd0
cmp word [rbx], si
jne 0x7ff7c00cfab8
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0xffffffe
ja 0x7ff7c00cfab8
cmp dword [rcx + rbx], 0x4550
jne 0x7ff7c00cfab8
lea r8, ds:[rbx + 0x88]
add r8, rcx
mov eax, dword [r8]
test eax, eax
je 0x7ff7c00cfab8
cmp dword [r8 + 4], edi
je 0x7ff7c00cfab8
lea r9, [rbx + rax]
mov rcx, rbx
mov eax, 0x87
mov word [rsp + 0x28], ax
mov qword [rsp + 0x20], rdi
call fcn.7ff7c00c4bd0
mov rdi, rax
mov qword [0x7ff7c01d3d00], rdi
jmp 0x7ff7c00cfac8
mov rdi, qword [0x7ff7c01d3d00]
test rdi, rdi
je 0x7ff7c00cfaec
mov eax, dword [0x7ff7c01d3ccc]
test eax, eax
je 0x7ff7c00cfae1
cmp eax, 1
jne 0x7ff7c00cfaec
lea ecx, [rax + 1]
jmp 0x7ff7c00cfae3
xor ecx, ecx
mov rax, rdi
call qword [case.0x7ff7c00c1f48.0]
lea rcx, [0x7ff7c01d06a0]
call sym.ProcessHacker.exe_PhfSetEvent
jmp 0x7ff7c00cfb15
test byte [0x7ff7c01d06a0], 1
jne 0x7ff7c00cfb15
xor edx, edx
lea rcx, [0x7ff7c01d06a0]
call sym.ProcessHacker.exe_PhfWaitForEvent
mov rcx, r15
call fcn.7ff7c00cff90
mov eax, dword [0x7ff7c01d3ccc]
test eax, eax
je 0x7ff7c00cfb33
cmp eax, 1
jne 0x7ff7c00cfb5e
mov ecx, 0x2b2b2b
jmp 0x7ff7c00cfb38
mov ecx, 0xffffff
mov rbx, qword [0x7ff7c01d3ce8]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x7ff7c01d3ce8], rax
nop dword [rax]
test rbx, rbx
je 0x7ff7c00cfb5e
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
test r12b, r12b
je 0x7ff7c00cfbc9
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
lea rbx, [0x7ff7c00d2030]
cmp rax, rbx
je 0x7ff7c00cfba6
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, [0x7ff7c00d0160]
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 0x7ff7c00cfbd6
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