Function at 0x140075240
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140075240
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x140]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x140]
mov edx, 0xffffffff
lea rcx, [0x1403e4768]
call fcn.1400055a0
test eax, eax
jge 0x1400752bb
mov eax, 1
jmp 0x1400755ff
call fcn.1400057e0
movzx eax, al
test eax, eax
jne 0x1400752d1
mov eax, 1
jmp 0x1400755ff
call fcn.140017010
movzx eax, al
test eax, eax
jne 0x1400752e7
mov eax, 1
jmp 0x1400755ff
call fcn.140012e20
movzx eax, al
test eax, eax
jne 0x1400752fd
mov eax, 1
jmp 0x1400755ff
call fcn.140016390
movzx eax, al
test eax, eax
jne 0x140075313
mov eax, 1
jmp 0x1400755ff
call fcn.14000a730
movzx eax, al
test eax, eax
jne 0x140075329
mov eax, 1
jmp 0x1400755ff
call fcn.140004e00
call fcn.14000c250
cmp qword [0x1405e8530], 0
je 0x140075350
mov rcx, qword [0x1405e8530]
call fcn.140005a70
mov ecx, eax
call fcn.140017600
call sym.ProcessHacker.exe_PhSettingsInitialization
call fcn.140003a80
lea rcx, str.AllowOnlyOneInstance
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14007539f
mov eax, dword [0x1405e8520]
shr eax, 0xa
and eax, 1
test eax, eax
jne 0x14007539f
mov eax, dword [0x1405e8520]
shr eax, 7
and eax, 1
test eax, eax
jne 0x14007539f
mov eax, dword [0x1405e8520]
shr eax, 8
and eax, 1
test eax, eax
jne 0x14007539f
call fcn.140019ff0
lea rcx, str.EnableStartAsAdmin
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14007541d
mov eax, dword [0x1405e8520]
shr eax, 0xa
and eax, 1
test eax, eax
jne 0x14007541d
mov eax, dword [0x1405e8520]
shr eax, 7
and eax, 1
test eax, eax
jne 0x14007541d
mov eax, dword [0x1405e8520]
shr eax, 8
and eax, 1
test eax, eax
jne 0x14007541d
lea rcx, [rsp + 0x100]
call sym.ProcessHacker.exe_PhGetOwnTokenAttributes
mov eax, dword [rax + 8]
and eax, 1
test eax, eax
jne 0x14007541d
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea rcx, str.ProcessHackerTaskAdmin
call fcn.14000f660
test eax, eax
jl 0x14007541d
call fcn.140019ff0
xor ecx, ecx
call fcn.140017600
lea rcx, str.EnableKph
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14007544e
mov eax, dword [0x1405e8520]
shr eax, 3
and eax, 1
test eax, eax
jne 0x14007544e
call sym.ProcessHacker.exe_PhIsExecutingInWow64
movzx eax, al
test eax, eax
jne 0x14007544e
call fcn.14000ed00
call fcn.140015fb0
lea rcx, [rsp + 0x48]
mov rdi, rcx
lea rsi, [rax + 0x40]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [fcn.1400058f0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
lea rdx, [rsp + 0x58]
lea rcx, [0x1405d5da0]
call fcn.140003360
lea rdx, [rsp + 0x48]
mov ecx, dword [0x1405e871c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1405dfe00]
call sym.ProcessHacker.exe_PhInitializeAutoPool
call fcn.14000ad30
call fcn.1400098b0
call fcn.14001b5c0
call fcn.14000a930
call fcn.1400188f0
call fcn.140015970
call fcn.140003c60
call fcn.14001a780
call fcn.1400077e0
mov eax, dword [0x1405e8520]
shr eax, 7
and eax, 1
test eax, eax
je 0x1400754f9
mov rcx, qword [0x1405e8538]
call fcn.140010580
xor ecx, ecx
call fcn.140017600
movzx eax, byte [0x1405dfde0]
test eax, eax
je 0x140075519
mov eax, dword [0x1405e8520]
shr eax, 9
and eax, 1
test eax, eax
jne 0x140075519
call fcn.140019780
call fcn.1400096d0
mov eax, dword [0x1405e8520]
shr eax, 8
and eax, 1
test eax, eax
je 0x140075564
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetMessageW]
xor edx, edx
xor ecx, ecx
call fcn.140015290
mov ecx, eax
call fcn.140017600
mov byte [rsp + 0xe4], 0
mov byte [rsp + 0xe5], 3
cmp dword [0x1405e854c], 0
je 0x14007558b
movzx eax, byte [0x1405e854c]
mov byte [rsp + 0xe5], al
movzx edx, word [rsp + 0xe4]
mov rcx, 0xffffffffffffffff
call fcn.14000f110
mov cl, 1
call fcn.140014e30
mov ecx, dword [rsp + 0x158]
call fcn.1400012c0
movzx eax, al
test eax, eax
jne 0x1400755da
lea r9, str.Unable_to_initialize_the_main_window.
lea r8, [0x1403c8cfc]
mov edx, 0x10
xor ecx, ecx
call sym.ProcessHacker.exe_PhShowMessage
mov eax, 1
jmp 0x1400755ff
lea rcx, [0x1405dfe00]
call sym.ProcessHacker.exe_PhDrainAutoPool
call fcn.140013640
mov dword [rsp + 0x30], eax
xor ecx, ecx
call fcn.140014e30
mov ecx, dword [rsp + 0x30]
call fcn.140017600
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1403e36f0]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x128
pop rdi
pop rsi
ret