Function at 0x7ff7bfff2030
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r8, rcx
mov r12d, r9d
call fcn.7ff7c00cc870
test eax, eax
js 0x7ff7bfff20b7
call sym.ProcessHacker.exe_PhGetApplicationDirectory
nop dword [rax]
test rax, rax
je 0x7ff7bfff20b7
movzx ecx, word [rax]
lea rbx, [rax - 0x10]
mov word [rsp + 0x78], cx
movzx ecx, word [rax]
add cx, 2
mov word [rsp + 0x7a], cx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x80], rcx
cmp qword [rax], 0xfffe
jbe 0x7ff7bfff20c1
mov rdi, 0xffffffffffffffff
lock xadd dword [rbx + 8], edi
cmp edi, 1
jne 0x7ff7bfff20b7
mov rcx, rbx
call fcn.7ff7c00c6290
mov eax, 1
jmp 0x7ff7bfff309c
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlSetCurrentDirectory_U]
mov rdi, 0xffffffffffffffff
test eax, eax
js 0x7ff7bfff20a5
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x7ff7bfff20eb
mov rcx, rbx
call fcn.7ff7c00c6290
xor r13d, r13d
lea r8, [rsp + 0x44]
mov rcx, rdi
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 4]
lea edx, [r13 + 0xc]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x7ff7bfff2136
mov eax, dword ds:[rsp + 0x44]
lea r9d, [r13 + 4]
and eax, 0xffff7ffc
lea r8, [rsp + 0x38]
lea edx, [r13 + 0xc]
mov dword [rsp + 0x44], eax
mov rcx, rdi
mov dword [rsp + 0x38], eax
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
lea rcx, [0x7ff7bfff3830]
call qword [sym.imp.ntdll.dll_RtlSetUnhandledExceptionFilter]
mov dword [rbp + 0x120], 1
lea rax, [0x7ff7c01795e0]
mov qword [rbp + 0x138], rax
lea r8, [rbp + 0x2b0]
mov qword [rbp + 0x130], 0x12
mov r9d, 0x66
mov dword [rbp + 0x140], 8
mov rax, qword gs:[0x30]
lea edx, [r9 - 0x64]
mov ecx, dword [rax + 0x40]
lea rax, [rsp + 0x70]
mov dword [rbp + 0x150], ecx
lea rcx, [rbp + 0x120]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhFormatToBuffer
nop dword [rax]
test al, al
je 0x7ff7bfff20b7
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffffe
mov word [rbp - 0x78], cx
lea eax, [rcx + 2]
mov word [rbp - 0x76], ax
lea rax, [rbp + 0x2b0]
mov qword [rbp - 0x70], rax
cmp rcx, 0xfffe
ja 0x7ff7bfff20b7
mov dword ds:[rbp + 0xe8], 0x30
call fcn.7ff7c00c3a40
mov qword [rbp + 0xf0], rax
lea r8, [rbp + 0xe8]
lea rax, [rbp - 0x78]
mov dword [rbp + 0x100], 0x40
xorps xmm0, xmm0
mov qword [rbp + 0xf8], rax
mov r9b, 1
lea rcx, [rbp + 0xe0]
mov edx, 1
movdqu xmmword [rbp + 0x108], xmm0
call qword [sym.imp.ntdll.dll_NtCreateMutant]
test eax, eax
js 0x7ff7bfff20b7
call fcn.7ff7bfff3ae0
test al, al
je 0x7ff7bfff20b7
nop dword [rax]
call fcn.7ff7bfff5b50
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
jne 0x7ff7bfff228e
cmp byte [0x7ff7c01d30ef], r13b
je 0x7ff7bfff234e
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, rdi
call fcn.7ff7c00e3650
nop
test eax, eax
js 0x7ff7bfff234e
mov dword [rbp + 0x240], 9
mov edx, r13d
mov eax, edx
inc edx
lea rcx, [rax + rax*2]
mov dword [rbp + rcx*4 + 0x24c], 2
mov dword [rbp + rcx*4 + 0x248], r13d
cmp edx, dword [rbp + 0x240]
jb 0x7ff7bfff22a5
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0x240]
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], r13
mov dword [rbp + 0x244], 0x14
mov dword [rbp + 0x250], 0xe
mov dword [rbp + 0x25c], 0x21
mov dword [rbp + 0x268], 0xa
mov dword [rbp + 0x274], 0xd
mov dword [rbp + 0x280], 0x11
mov dword [rbp + 0x28c], 0x12
mov dword [rbp + 0x298], 0x13
mov dword [rbp + 0x2a4], 9
call qword [sym.imp.ntdll.dll_NtAdjustPrivilegesToken]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x7ff7bfff20b7
mov rcx, qword [0x7ff7c01d89a0]
test rcx, rcx
je 0x7ff7bfff237e
nop
call fcn.7ff7c008ab40
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
test byte [0x7ff7c01d8960], 8
je 0x7ff7bfff23a9
cmp qword [0x7ff7c01d8980], r13
nop
je 0x7ff7bfff23a9
cmp qword [0x7ff7c01d8990], r13
je 0x7ff7bfff23a9
call fcn.7ff7bffd2890
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
mov rdx, qword [0x7ff7c01d3b40]
mov ecx, 0x48
mov qword [rsp + 0x460], rsi
mov qword [rsp + 0x468], r14
mov qword [rsp + 0x470], r15
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x7ff7c01d3cd0]
mov rbx, rax
mov edx, 4
mov r8d, 0x400
mov dword [rax], 0x30
lea rax, [0x7ff7c00e4af0]
mov qword [rbx + 8], rax
lea rax, [0x7ff7c00e4ba0]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x100
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rbx + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rbx + 0x20], rax
call fcn.7ff7c0123170
mov eax, dword [rbx + 0x18]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
imul r8d, eax, 0x38
mov dword [rbx + 0x28], eax
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rdx, qword [0x7ff7c01d3b60]
mov ecx, 0x10
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x38], r13d
mov dword [rbx + 0x3c], 0xffffffff
mov dword [rbx + 0x40], r13d
mov qword [0x7ff7c01d78b0], rbx
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov rbx, rax
mov dword [rax], r13d
lea r8d, [rdx + 0x1c]
mov dword [rax + 4], 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov qword [rbx + 8], rax
mov qword [0x7ff7c01d78a8], rbx
call fcn.7ff7c008ff00
call sym.ProcessHacker.exe_PhUpdateCachedSettings
nop
call fcn.7ff7bfff4d10
lea rax, [0x7ff7c01794f0]
mov qword [rsp + 0x48], 0x28
mov qword [rsp + 0x50], rax
mov ecx, 5
xor eax, eax
lock cmpxchg qword [0x7ff7c01d3dc0], rcx
je 0x7ff7bfff24e8
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x7ff7c01d78b0]
lea rcx, [rbp + 0x160]
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsi + 0x10]
movups xmmword [rbp + 0x168], xmm0
call qword [case.0x7ff7c00c1f48.0]
mov ecx, dword [rsi + 0x18]
btr eax, 0x1f
mov r15d, eax
dec ecx
mov rax, qword [rsi + 0x20]
and rcx, r15
mov edx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x7ff7bfff2565
nop word [rax + rax]
mov ebx, dword [rsi]
add ebx, 8
imul ebx, edx
add rbx, qword [rsi + 0x30]
cmp dword [rbx], r15d
jne 0x7ff7bfff255d
mov rax, qword [rsi + 8]
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp + 0x160]
call qword [case.0x7ff7c00c1f48.0]
test al, al
jne 0x7ff7bfff259b
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x7ff7bfff2530
mov ebx, dword [rsp + 0x40]
mov r14, r13
mov esi, 5
mov eax, esi
lock cmpxchg qword [0x7ff7c01d3dc0], r13
je 0x7ff7bfff258a
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x7ff7bfff25ac
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x7ff7bfff2565
cmp dword [r14], 1
jne 0x7ff7bfff2565
mov ebx, dword [r14 + 0x28]
jmp 0x7ff7bfff256c
nop dword [rax]
test ebx, ebx
je 0x7ff7bfff25d7
test dword [0x7ff7c01d8960], 0xb08
jne 0x7ff7bfff25d7
call fcn.7ff7c00c3a40
mov rcx, rax
lea rdx, [0x7ff7bfff34f0]
xor r8d, r8d
call sym.ProcessHacker.exe_PhEnumDirectoryObjects
lea rax, [0x7ff7c0179520]
mov qword [rsp + 0x48], 0x24
mov qword [rsp + 0x50], rax
xor eax, eax
lock cmpxchg qword [0x7ff7c01d3dc0], rsi
je 0x7ff7bfff2605
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x7ff7c01d78b0]
lea rcx, [rbp + 0x190]
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsi + 0x10]
movups xmmword [rbp + 0x198], xmm0
call qword [case.0x7ff7c00c1f48.0]
mov ecx, dword [rsi + 0x18]
btr eax, 0x1f
mov r15d, eax
dec ecx
mov rax, qword [rsi + 0x20]
and rcx, r15
mov edx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x7ff7bfff2685
nop dword [rax]
nop dword [rax + rax]
mov ebx, dword [rsi]
add ebx, 8
imul ebx, edx
add rbx, qword [rsi + 0x30]
cmp dword [rbx], r15d
jne 0x7ff7bfff267d
mov rax, qword [rsi + 8]
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp + 0x190]
call qword [case.0x7ff7c00c1f48.0]
test al, al
jne 0x7ff7bfff26bb
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x7ff7bfff2650
mov ebx, dword [rsp + 0x40]
mov r14, r13
mov esi, 5
mov eax, esi
lock cmpxchg qword [0x7ff7c01d3dc0], r13
je 0x7ff7bfff26aa
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x7ff7bfff26cc
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x7ff7bfff2685
cmp dword [r14], 1
jne 0x7ff7bfff2685
mov ebx, dword [r14 + 0x28]
jmp 0x7ff7bfff268c
nop dword [rax]
test ebx, ebx
je 0x7ff7bfff2717
test dword [0x7ff7c01d8960], 0xb08
jne 0x7ff7bfff2717
lea rcx, [rbp + 0x1f0]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
jne 0x7ff7bfff2717
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
call fcn.7ff7bffcfc60
test eax, eax
js 0x7ff7bfff2717
call fcn.7ff7bfff3810
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
lea rax, [0x7ff7c0179578]
mov qword [rsp + 0x48], 0x12
mov qword [rsp + 0x50], rax
xor eax, eax
lock cmpxchg qword [0x7ff7c01d3dc0], rsi
je 0x7ff7bfff2745
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x7ff7c01d78b0]
lea rcx, [rbp + 0x1c0]
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsi + 0x10]
movups xmmword [rbp + 0x1c8], xmm0
call qword [case.0x7ff7c00c1f48.0]
mov ecx, dword [rsi + 0x18]
btr eax, 0x1f
mov r15d, eax
dec ecx
mov rax, qword [rsi + 0x20]
and rcx, r15
mov edx, dword [rax + rcx*4]
cmp edx, 0xffffffff
je 0x7ff7bfff27c5
nop dword [rax]
nop dword [rax + rax]
mov ebx, dword [rsi]
add ebx, 8
imul ebx, edx
add rbx, qword [rsi + 0x30]
cmp dword [rbx], r15d
jne 0x7ff7bfff27bd
mov rax, qword [rsi + 8]
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp + 0x1c0]
call qword [case.0x7ff7c00c1f48.0]
test al, al
jne 0x7ff7bfff27f9
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x7ff7bfff2790
mov ebx, dword [rsp + 0x40]
mov r14, r13
mov eax, 5
lock cmpxchg qword [0x7ff7c01d3dc0], r13
je 0x7ff7bfff27e8
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x7ff7bfff280a
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x7ff7bfff27c5
cmp dword [r14], 1
jne 0x7ff7bfff27c5
mov ebx, dword [r14 + 0x28]
jmp 0x7ff7bfff27cc
test ebx, ebx
je 0x7ff7bfff281c
test byte [0x7ff7c01d8960], 0x18
jne 0x7ff7bfff281c
call fcn.7ff7bfff4150
mov ecx, dword [0x7ff7c01d69f0]
mov dword [0x7ff7c01d3fc0], r13d
mov qword [0x7ff7c01d41c8], r13
mov qword [0x7ff7c01d41d0], r13
call qword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, dword [0x7ff7c01d69f0]
lea rdx, [0x7ff7c01d3fc0]
mov qword [0x7ff7c01d41d8], rax
call qword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
jne 0x7ff7bfff2867
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
call fcn.7ff7c005f820
nop dword [rax]
test al, al
je 0x7ff7bfff2994
mov rdx, qword [0x7ff7c01d3b00]
mov ecx, 0x40
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, 1
mov word [rax], r13w
lock xadd dword [0x7ff7c01d3acc], ecx
movzx edx, cl
lea rcx, [0x7ff7c009c600]
mov qword [rax + 8], rcx
lea rcx, [0x7ff7c0186670]
mov qword [rax + 0x10], rcx
lea rcx, [0x7ff7c01d78c0]
mov byte [rax + 2], dl
mov qword [rcx + rdx*8], rax
mov ecx, 0x48
mov rdx, qword [0x7ff7c01d3b40]
mov dword [rax + 4], r13d
mov qword [0x7ff7c01d3ad0], rax
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x7ff7c01d3cd0]
mov rbx, rax
mov edx, 4
mov r8d, 0x100
mov dword [rax], 8
lea rax, [0x7ff7c009c6e0]
mov qword [rbx + 8], rax
lea rax, [0x7ff7c009c6f0]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x40
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword ds:[rbx + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rbx + 0x20], rax
call fcn.7ff7c0123170
mov eax, dword ds:[rbx + 0x18]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
mov dword [rbx + 0x28], eax
shl eax, 4
mov r8d, eax
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
lea rcx, [0x7ff7c01d5bb0]
mov dword [rbx + 0x38], r13d
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x3c], 0xffffffff
mov dword [rbx + 0x40], r13d
mov qword [0x7ff7c01d3ad8], rbx
call qword [sym.imp.kernel32.dll_InitializeSListHead_1]
call fcn.7ff7c00216a0
test al, al
je 0x7ff7bfff2994
lea rax, [sym.ProcessHacker.exe_PhGetClientIdName]
xchg qword [0x7ff7c01d08f8], rax
call fcn.7ff7c0057ff0
lea rcx, ds:[rsp + 0x60]
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x64], 0xc42f
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rdx, qword [0x7ff7c01d3b40]
lea rax, [0x7ff7c01d2e40]
mov qword [0x7ff7c01d2e48], rax
mov ecx, 0x48
mov qword [0x7ff7c01d2e40], rax
lea rax, [0x7ff7c01d2e60]
mov qword [0x7ff7c01d2e68], rax
mov qword [0x7ff7c01d2e60], rax
lea rax, [0x7ff7c01d2e80]
mov qword [0x7ff7c01d2e88], rax
mov qword [0x7ff7c01d2e80], rax
lea rax, [0x7ff7c01d2ea0]
mov qword [0x7ff7c01d2ea8], rax
mov qword [0x7ff7c01d2ea0], rax
lea rax, [0x7ff7c01d2ec0]
mov qword [0x7ff7c01d2ec8], rax
mov qword [0x7ff7c01d2ec0], rax
lea rax, [0x7ff7c01d2ee0]
mov qword [0x7ff7c01d2ee8], rax
mov qword [0x7ff7c01d2ee0], rax
lea rax, [0x7ff7c01d2f00]
mov qword [0x7ff7c01d2f08], rax
mov qword [0x7ff7c01d2f00], rax
lea rax, [0x7ff7c01d2f20]
mov qword [0x7ff7c01d2f28], rax
mov qword [0x7ff7c01d2f20], rax
lea rax, [0x7ff7c01d2f40]
mov qword [0x7ff7c01d2f48], rax
mov qword [0x7ff7c01d2f40], rax
lea rax, [0x7ff7c01d2f60]
mov qword [0x7ff7c01d2f68], rax
mov qword [0x7ff7c01d2f60], rax
lea rax, [0x7ff7c01d2f80]
mov qword [0x7ff7c01d2f88], rax
mov qword [0x7ff7c01d2f80], rax
lea rax, [0x7ff7c01d2fa0]
mov qword [0x7ff7c01d2fa8], rax
mov qword [0x7ff7c01d2fa0], rax
lea rax, [0x7ff7c01d2fc0]
mov qword [0x7ff7c01d2fc8], rax
mov qword [0x7ff7c01d2fc0], rax
lea rax, [0x7ff7c01d2fe0]
mov qword [0x7ff7c01d2fe8], rax
mov qword [0x7ff7c01d2fe0], rax
lea rax, [0x7ff7c01d3000]
mov qword [0x7ff7c01d3008], rax
mov qword [0x7ff7c01d3000], rax
lea rax, [0x7ff7c01d3020]
mov qword [0x7ff7c01d3028], rax
mov qword [0x7ff7c01d3020], rax
lea rax, [0x7ff7c01d3040]
mov qword [0x7ff7c01d3048], rax
mov qword [0x7ff7c01d3040], rax
lea rax, [0x7ff7c01d3060]
mov qword [0x7ff7c01d3068], rax
mov qword [0x7ff7c01d3060], rax
lea rax, [0x7ff7c01d3080]
mov qword [0x7ff7c01d3088], rax
mov qword [0x7ff7c01d3080], rax
lea rax, [0x7ff7c01d30a0]
mov qword [0x7ff7c01d30a8], rax
mov qword [0x7ff7c01d30a0], rax
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x7ff7c01d3cd0]
mov rbx, rax
mov edx, 4
mov dword [rax], 0x10
lea rax, [0x7ff7c0015f80]
mov qword [rbx + 8], rax
lea rax, [0x7ff7c0015f90]
lea r8d, [rdx + 0x3c]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x10
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rbx + 0x18]
mov qword [rbx + 0x20], rax
shl r8, 2
mov edx, 0xff
mov rcx, rax
call fcn.7ff7c0123170
mov eax, dword [rbx + 0x18]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
mov dword [rbx + 0x28], eax
lea r8d, [rax + rax*2]
shl r8d, 3
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rdx, qword [0x7ff7c01d3b40]
mov ecx, 0x48
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x38], r13d
mov dword [rbx + 0x3c], 0xffffffff
mov dword [rbx + 0x40], r13d
mov qword [0x7ff7c01d6a48], rbx
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x7ff7c01d3cd0]
mov rbx, rax
mov edx, 4
mov dword [rax], 0x18
lea rax, [0x7ff7c00cecd0]
mov qword [rbx + 8], rax
lea rax, [0x7ff7c00cecf0]
lea r8d, [rdx + 0x3c]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x10
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rbx + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rbx + 0x20], rax
call fcn.7ff7c0123170
mov eax, dword [rbx + 0x18]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
mov dword [rbx + 0x28], eax
shl eax, 5
mov r8d, eax
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov ecx, 0x31
mov dword [rbx + 0x38], r13d
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x3c], 0xffffffff
mov dword [rbx + 0x40], r13d
mov qword [0x7ff7c01d6a30], rbx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x32
mov dword [0x7ff7c01cad18], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0xb
mov dword [0x7ff7c01cad1c], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0xc
mov dword [0x7ff7c01cad10], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov dword [0x7ff7c01cad14], eax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x7ff7bfff2d0d
mov edx, 0x5a
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
mov dword [sym.ProcessHacker.exe_PhGlobalDpi], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov dword [rbp - 0x60], 0x50
xorps xmm0, xmm0
mov qword [rbp - 0x1c], rax
movups xmmword [rbp - 0x5c], xmm0
mov dword [rbp - 0x14], eax
lea rax, [0x7ff7c00ff610]
movups xmmword [rbp - 0x4c], xmm0
mov qword [rbp - 0x58], rax
mov edx, 0x7f00
mov rax, qword [sym.ProcessHacker.exe_PhInstanceHandle]
xor ecx, ecx
movups xmmword [rbp - 0x3c], xmm0
mov qword [rbp - 0x48], rax
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x5c], 0x4008
mov dword [rbp - 0x50], r13d
mov dword [rbp - 0x4c], 8
mov qword [rbp - 0x40], r13
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x60]
lea rax, [0x7ff7c017a4b0]
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
nop
test ax, ax
je 0x7ff7bfff2dcd
lea rcx, [0x7ff7c0184f48]
call fcn.7ff7c00c47c0
mov ecx, 0x31
mov qword [0x7ff7c01d77f0], rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x32
mov dword [0x7ff7c01d77e4], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x7ff7c01d77f8], eax
xor eax, eax
mov dword [rbp - 0x10], 0x50
xorps xmm0, xmm0
mov qword [rbp + 0x34], rax
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 0x3c], eax
lea rax, [0x7ff7c00fe760]
movups xmmword [rbp + 4], xmm0
mov qword [rbp - 8], rax
mov edx, 0x7f00
mov rax, qword [sym.ProcessHacker.exe_PhInstanceHandle]
xor ecx, ecx
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp + 8], rax
movups xmmword [rbp + 0x24], xmm0
mov dword [rbp - 0xc], 0x4008
mov dword [rbp], r13d
mov dword [rbp + 4], 8
mov qword [rbp + 0x10], r13
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x10]
lea rax, [0x7ff7c0186780]
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rax, [0x7ff7c018d228]
mov dword [rbp + 0xa0], r13d
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
mov rax, qword [sym.ProcessHacker.exe_PhInstanceHandle]
mov edx, 0x7f00
mov qword [rbp + 0xa8], rax
xor ecx, ecx
lea rax, [0x7ff7c00fa7c0]
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0x98], rax
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd8], r13
mov dword [rbp + 0x90], 0x50
mov dword [rbp + 0x94], 0x4000
mov dword [rbp + 0xa4], 8
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp + 0x90]
mov qword [rbp + 0xb8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor eax, eax
mov dword [rbp + 0x40], 0x50
xorps xmm0, xmm0
mov qword [rbp + 0x84], rax
movups xmmword [rbp + 0x44], xmm0
mov dword [rbp + 0x8c], eax
lea rax, [0x7ff7c00fa420]
movups xmmword [rbp + 0x54], xmm0
mov qword [rbp + 0x48], rax
mov edx, 0x7f00
mov rax, qword [sym.ProcessHacker.exe_PhInstanceHandle]
xor ecx, ecx
movups xmmword [rbp + 0x64], xmm0
mov qword [rbp + 0x58], rax
movups xmmword [rbp + 0x74], xmm0
mov dword [rbp + 0x44], 0x4000
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x54], 8
mov qword [rbp + 0x60], r13
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x40]
lea rax, [0x7ff7c018d210]
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [0x7ff7c01d8960]
bt eax, 8
jae 0x7ff7bfff2f87
mov rcx, qword [0x7ff7c01d8970]
call fcn.7ff7c0028710
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
cmp byte [0x7ff7c01d2e24], r13b
nop
je 0x7ff7bfff2fa3
bt eax, 0xa
jb 0x7ff7bfff2fa3
call fcn.7ff7c00572f0
mov eax, dword [0x7ff7c01d8960]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x64
jb 0x7ff7bfff2fdc
mov r9d, 8
mov dword [rsp + 0x68], 8
lea r8, [rsp + 0x68]
mov dword [rsp + 0x6c], 1
mov rcx, rdi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov eax, dword [0x7ff7c01d8960]
bt eax, 9
jae 0x7ff7bfff301e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
lea rcx, [rbp + 0x208]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
xor edx, edx
xor ecx, ecx
call fcn.7ff7c0056400
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
mov al, 3
mov byte [rsp + 0x30], r13b
movzx r10d, al
mov r9d, 2
mov eax, dword [0x7ff7c01d89ac]
mov rcx, rdi
movzx r8d, al
test eax, eax
cmovne r10d, r8d
lea edx, [r9 + 0x10]
mov byte [rsp + 0x31], r10b
lea r8, [rsp + 0x30]
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x30], ax
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov ecx, r12d
call fcn.7ff7bfff5dd0
test al, al
jne 0x7ff7bfff30ba
lea r8, [0x7ff7c0179590]
mov edx, 0x10
xor ecx, ecx
call sym.ProcessHacker.exe_PhShowMessage
mov r14, qword [rsp + 0x468]
mov eax, 1
mov rsi, qword [rsp + 0x460]
mov r15, qword [rsp + 0x470]
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x430
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x7ff7c01d3fc0]
call sym.ProcessHacker.exe_PhDrainAutoPool
call fcn.7ff7bfff30e0
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3