Function at 0x140032030
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 [0x14020a008]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r8, rcx
mov r12d, r9d
call fcn.14010c870
test eax, eax
js 0x1400320b7
call sym.ProcessHacker.exe_PhGetApplicationDirectory
nop dword [rax]
test rax, rax
je 0x1400320b7
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 0x1400320c1
mov rdi, 0xffffffffffffffff
lock xadd dword [rbx + 8], edi
cmp edi, 1
jne 0x1400320b7
mov rcx, rbx
call fcn.140106290
mov eax, 1
jmp 0x14003309c
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlSetCurrentDirectory_U]
mov rdi, 0xffffffffffffffff
test eax, eax
js 0x1400320a5
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400320eb
mov rcx, rbx
call fcn.140106290
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 0x140032136
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, [0x140033830]
call qword [sym.imp.ntdll.dll_RtlSetUnhandledExceptionFilter]
mov dword [rbp + 0x120], 1
lea rax, str.PhMutant_
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 0x1400320b7
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 0x1400320b7
mov dword ds:[rbp + 0xe8], 0x30
call fcn.140103a40
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 0x1400320b7
call fcn.140033ae0
test al, al
je 0x1400320b7
nop dword [rax]
call fcn.140035b50
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
jne 0x14003228e
cmp byte [0x1402130ef], r13b
je 0x14003234e
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, rdi
call fcn.140123650
nop
test eax, eax
js 0x14003234e
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 0x1400322a5
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 0x1400320b7
mov rcx, qword [0x1402189a0]
test rcx, rcx
je 0x14003237e
nop
call fcn.1400cab40
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
test byte [0x140218960], 8
je 0x1400323a9
cmp qword [0x140218980], r13
nop
je 0x1400323a9
cmp qword [0x140218990], r13
je 0x1400323a9
call fcn.140012890
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
mov rdx, qword [0x140213b40]
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 [0x140213cd0]
mov rbx, rax
mov edx, 4
mov r8d, 0x400
mov dword [rax], 0x30
lea rax, [0x140124af0]
mov qword [rbx + 8], rax
lea rax, [0x140124ba0]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rbx + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rbx + 0x20], rax
call fcn.140163170
mov eax, dword [rbx + 0x18]
mov edx, 4
mov rcx, qword [0x140213cd0]
imul r8d, eax, 0x38
mov dword [rbx + 0x28], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, qword [0x140213b60]
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 [0x1402178b0], rbx
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x140213cd0]
mov edx, 4
mov rbx, rax
mov dword [rax], r13d
lea r8d, [rdx + 0x1c]
mov dword [rax + 4], 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [0x1402178a8], rbx
call fcn.1400cff00
call sym.ProcessHacker.exe_PhUpdateCachedSettings
nop
call fcn.140034d10
lea rax, str.AllowOnlyOneInstance
mov qword [rsp + 0x48], 0x28
mov qword [rsp + 0x50], rax
mov ecx, 5
xor eax, eax
lock cmpxchg qword [0x140213dc0], rcx
je 0x1400324e8
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x1402178b0]
lea rcx, [rbp + 0x160]
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsi + 0x10]
movups xmmword [rbp + 0x168], xmm0
call qword [case.0x140101f48.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 0x140032565
nop word [rax + rax]
mov ebx, dword [rsi]
add ebx, 8
imul ebx, edx
add rbx, qword [rsi + 0x30]
cmp dword [rbx], r15d
jne 0x14003255d
mov rax, qword [rsi + 8]
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp + 0x160]
call qword [case.0x140101f48.0]
test al, al
jne 0x14003259b
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x140032530
mov ebx, dword [rsp + 0x40]
mov r14, r13
mov esi, 5
mov eax, esi
lock cmpxchg qword [0x140213dc0], r13
je 0x14003258a
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x1400325ac
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x140032565
cmp dword [r14], 1
jne 0x140032565
mov ebx, dword [r14 + 0x28]
jmp 0x14003256c
nop dword [rax]
test ebx, ebx
je 0x1400325d7
test dword [0x140218960], 0xb08
jne 0x1400325d7
call fcn.140103a40
mov rcx, rax
lea rdx, [0x1400334f0]
xor r8d, r8d
call sym.ProcessHacker.exe_PhEnumDirectoryObjects
lea rax, str.EnableStartAsAdmin
mov qword [rsp + 0x48], 0x24
mov qword [rsp + 0x50], rax
xor eax, eax
lock cmpxchg qword [0x140213dc0], rsi
je 0x140032605
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x1402178b0]
lea rcx, [rbp + 0x190]
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsi + 0x10]
movups xmmword [rbp + 0x198], xmm0
call qword [case.0x140101f48.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 0x140032685
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 0x14003267d
mov rax, qword [rsi + 8]
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp + 0x190]
call qword [case.0x140101f48.0]
test al, al
jne 0x1400326bb
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x140032650
mov ebx, dword [rsp + 0x40]
mov r14, r13
mov esi, 5
mov eax, esi
lock cmpxchg qword [0x140213dc0], r13
je 0x1400326aa
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x1400326cc
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x140032685
cmp dword [r14], 1
jne 0x140032685
mov ebx, dword [r14 + 0x28]
jmp 0x14003268c
nop dword [rax]
test ebx, ebx
je 0x140032717
test dword [0x140218960], 0xb08
jne 0x140032717
lea rcx, [rbp + 0x1f0]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
jne 0x140032717
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
call fcn.14000fc60
test eax, eax
js 0x140032717
call fcn.140033810
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
lea rax, str.EnableKph
mov qword [rsp + 0x48], 0x12
mov qword [rsp + 0x50], rax
xor eax, eax
lock cmpxchg qword [0x140213dc0], rsi
je 0x140032745
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov rsi, qword [0x1402178b0]
lea rcx, [rbp + 0x1c0]
movups xmm0, xmmword [rsp + 0x48]
mov rax, qword [rsi + 0x10]
movups xmmword [rbp + 0x1c8], xmm0
call qword [case.0x140101f48.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 0x1400327c5
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 0x1400327bd
mov rax, qword [rsi + 8]
lea r14, [rbx + 8]
mov rcx, r14
lea rdx, [rbp + 0x1c0]
call qword [case.0x140101f48.0]
test al, al
jne 0x1400327f9
mov edx, dword [rbx + 4]
cmp edx, 0xffffffff
jne 0x140032790
mov ebx, dword [rsp + 0x40]
mov r14, r13
mov eax, 5
lock cmpxchg qword [0x140213dc0], r13
je 0x1400327e8
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test r14, r14
jne 0x14003280a
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test r14, r14
je 0x1400327c5
cmp dword [r14], 1
jne 0x1400327c5
mov ebx, dword [r14 + 0x28]
jmp 0x1400327cc
test ebx, ebx
je 0x14003281c
test byte [0x140218960], 0x18
jne 0x14003281c
call fcn.140034150
mov ecx, dword [0x1402169f0]
mov dword [0x140213fc0], r13d
mov qword [0x1402141c8], r13
mov qword [0x1402141d0], r13
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402169f0]
lea rdx, [0x140213fc0]
mov qword [0x1402141d8], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140032867
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
call fcn.14009f820
nop dword [rax]
test al, al
je 0x140032994
mov rdx, qword [0x140213b00]
mov ecx, 0x40
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, 1
mov word [rax], r13w
lock xadd dword [0x140213acc], ecx
movzx edx, cl
lea rcx, [0x1400dc600]
mov qword [rax + 8], rcx
lea rcx, str.ServiceItem
mov qword [rax + 0x10], rcx
lea rcx, [0x1402178c0]
mov byte [rax + 2], dl
mov qword [rcx + rdx*8], rax
mov ecx, 0x48
mov rdx, qword [0x140213b40]
mov dword [rax + 4], r13d
mov qword [0x140213ad0], rax
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x140213cd0]
mov rbx, rax
mov edx, 4
mov r8d, 0x100
mov dword [rax], 8
lea rax, [0x1400dc6e0]
mov qword [rbx + 8], rax
lea rax, [0x1400dc6f0]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x40
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword ds:[rbx + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rbx + 0x20], rax
call fcn.140163170
mov eax, dword ds:[rbx + 0x18]
mov edx, 4
mov rcx, qword [0x140213cd0]
mov dword [rbx + 0x28], eax
shl eax, 4
mov r8d, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea rcx, [0x140215bb0]
mov dword [rbx + 0x38], r13d
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x3c], 0xffffffff
mov dword [rbx + 0x40], r13d
mov qword [0x140213ad8], rbx
call qword [sym.imp.ntdll.dll_RtlInitializeSListHead]
call fcn.1400616a0
test al, al
je 0x140032994
lea rax, [sym.ProcessHacker.exe_PhGetClientIdName]
xchg qword [0x1402108f8], rax
call fcn.140097ff0
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 [0x140213b40]
lea rax, [0x140212e40]
mov qword [0x140212e48], rax
mov ecx, 0x48
mov qword [0x140212e40], rax
lea rax, [0x140212e60]
mov qword [0x140212e68], rax
mov qword [0x140212e60], rax
lea rax, [0x140212e80]
mov qword [0x140212e88], rax
mov qword [0x140212e80], rax
lea rax, [0x140212ea0]
mov qword [0x140212ea8], rax
mov qword [0x140212ea0], rax
lea rax, [0x140212ec0]
mov qword [0x140212ec8], rax
mov qword [0x140212ec0], rax
lea rax, [0x140212ee0]
mov qword [0x140212ee8], rax
mov qword [0x140212ee0], rax
lea rax, [0x140212f00]
mov qword [0x140212f08], rax
mov qword [0x140212f00], rax
lea rax, [0x140212f20]
mov qword [0x140212f28], rax
mov qword [0x140212f20], rax
lea rax, [0x140212f40]
mov qword [0x140212f48], rax
mov qword [0x140212f40], rax
lea rax, [0x140212f60]
mov qword [0x140212f68], rax
mov qword [0x140212f60], rax
lea rax, [0x140212f80]
mov qword [0x140212f88], rax
mov qword [0x140212f80], rax
lea rax, [0x140212fa0]
mov qword [0x140212fa8], rax
mov qword [0x140212fa0], rax
lea rax, [0x140212fc0]
mov qword [0x140212fc8], rax
mov qword [0x140212fc0], rax
lea rax, [0x140212fe0]
mov qword [0x140212fe8], rax
mov qword [0x140212fe0], rax
lea rax, [0x140213000]
mov qword [0x140213008], rax
mov qword [0x140213000], rax
lea rax, [0x140213020]
mov qword [0x140213028], rax
mov qword [0x140213020], rax
lea rax, [0x140213040]
mov qword [0x140213048], rax
mov qword [0x140213040], rax
lea rax, [0x140213060]
mov qword [0x140213068], rax
mov qword [0x140213060], rax
lea rax, [0x140213080]
mov qword [0x140213088], rax
mov qword [0x140213080], rax
lea rax, [0x1402130a0]
mov qword [0x1402130a8], rax
mov qword [0x1402130a0], rax
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x140213cd0]
mov rbx, rax
mov edx, 4
mov dword [rax], 0x10
lea rax, [0x140055f80]
mov qword [rbx + 8], rax
lea rax, [0x140055f90]
lea r8d, [rdx + 0x3c]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rbx + 0x18]
mov qword [rbx + 0x20], rax
shl r8, 2
mov edx, 0xff
mov rcx, rax
call fcn.140163170
mov eax, dword [rbx + 0x18]
mov edx, 4
mov rcx, qword [0x140213cd0]
mov dword [rbx + 0x28], eax
lea r8d, [rax + rax*2]
shl r8d, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, qword [0x140213b40]
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 [0x140216a48], rbx
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x140213cd0]
mov rbx, rax
mov edx, 4
mov dword [rax], 0x18
lea rax, [0x14010ecd0]
mov qword [rbx + 8], rax
lea rax, [0x14010ecf0]
lea r8d, [rdx + 0x3c]
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rbx + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rbx + 0x20], rax
call fcn.140163170
mov eax, dword [rbx + 0x18]
mov edx, 4
mov rcx, qword [0x140213cd0]
mov dword [rbx + 0x28], eax
shl eax, 5
mov r8d, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 [0x140216a30], rbx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x32
mov dword [0x14020ad18], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0xb
mov dword [0x14020ad1c], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0xc
mov dword [0x14020ad10], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov dword [0x14020ad14], eax
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x140032d0d
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, [0x14013f610]
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, [0x1401ba4b0]
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
nop
test ax, ax
je 0x140032dcd
lea rcx, str.comctl32.dll
call fcn.1401047c0
mov ecx, 0x31
mov qword [0x1402177f0], rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x32
mov dword [0x1402177e4], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1402177f8], 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, [0x14013e760]
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, str.PhGraph
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rax, str.PhHexEdit
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, [0x14013a7c0]
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, [0x14013a420]
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, [0x1401cd210]
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [0x140218960]
bt eax, 8
jae 0x140032f87
mov rcx, qword [0x140218970]
call fcn.140068710
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3
cmp byte [0x140212e24], r13b
nop
je 0x140032fa3
bt eax, 0xa
jb 0x140032fa3
call fcn.1400972f0
mov eax, dword [0x140218960]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x64
jb 0x140032fdc
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 [0x140218960]
bt eax, 9
jae 0x14003301e
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.140096400
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 [0x1402189ac]
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.140035dd0
test al, al
jne 0x1400330ba
lea r8, str.Unable_to_initialize_the_main_window.
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.140161390
add rsp, 0x430
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x140213fc0]
call sym.ProcessHacker.exe_PhDrainAutoPool
call fcn.1400330e0
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlExitUserProcess]
int3