Function at 0x14010fba0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1448]
mov eax, 0x1548
call fcn.1401a8120
sub rsp, rax
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x1430], rax
mov r14, qword [rbp + 0x14c0]
mov rsi, r8
mov r13, qword [rbp + 0x14b8]
xor r8d, r8d
xor dil, dil
mov qword [rsp + 0x78], r9
xor bl, bl
mov qword [rsp + 0x68], rdx
mov qword [rbp - 0x58], r14
mov r12, rcx
mov byte [rsp + 0x74], r8b
mov r15d, r8d
mov byte [rsp + 0x60], r8b
test rdx, rdx
jne 0x14010ff0d
mov rcx, qword [0x140241b70]
nop word [rax + rax]
test rcx, rcx
jne 0x14010feb5
test rsi, rsi
je 0x14010fd71
cmp byte [0x140240e3f], bl
mov rax, qword [rsi]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r8
je 0x14010fc92
lea rax, [rsp + 0x68]
mov dword [rbp + 0x28], 0x410
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x38]
lea rax, [rbp - 0x80]
mov dword [rbp + 0x38], r8d
mov qword [rbp + 0x30], rax
call fcn.14011f9e0
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x20]
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1c0]
jmp 0x14010fd39
mov qword [rbp + 0x118], r8
lea r9, [rbp - 0x80]
mov dword [rbp + 0x128], r8d
lea rcx, [rsp + 0x68]
mov qword [rbp + 0x120], r8
xorps xmm0, xmm0
lea r8, [rbp + 0x110]
mov dword [rbp + 0x110], 0x30
mov edx, 0x410
movdqu xmmword [rbp + 0x130], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov r15d, eax
cmp eax, 0xc0000022
jne 0x14010fd5e
cmp byte [0x140240e3f], bl
je 0x14010fd5e
lea rax, [rsp + 0x68]
mov dword [rbp + 0x48], 0x410
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x58]
lea rax, [rbp - 0x80]
xor r15d, r15d
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], r15d
call fcn.14011f9e0
mov dword [rsp + 0x48], r15d
lea rax, [rbp + 0x40]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1d0]
mov rcx, qword [0x140241b70]
xor r8d, r8d
mov dword [rsp + 0x28], 0x999920cb
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov r15d, eax
nop
test r15d, r15d
jns 0x14010ff05
lfence
jmp 0x14011044d
mov qword [rsp + 0x20], r8
mov r9d, 0x30
lea r8, [rbp + 0x250]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov r15d, eax
test eax, eax
js 0x14010fd69
mov rax, qword [rbp + 0x260]
xor r15d, r15d
cmp byte [0x140240e3f], bl
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r15
je 0x14010fdfb
lea rax, [rsp + 0x68]
mov dword [rbp + 0x68], 0x410
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x78]
lea rax, [rbp - 0x70]
mov dword [rbp + 0x78], r15d
mov qword [rbp + 0x70], rax
call fcn.14011f9e0
mov dword [rsp + 0x48], r15d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1e0]
jmp 0x14010fd39
xorps xmm0, xmm0
mov dword [rbp + 0x140], 0x30
lea r9, [rbp - 0x70]
mov qword [rbp + 0x148], r15
lea r8, [rbp + 0x140]
mov dword [rbp + 0x158], r15d
mov edx, 0x410
mov qword [rbp + 0x150], r15
lea rcx, [rsp + 0x68]
movdqu xmmword [rbp + 0x160], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov r15d, eax
cmp eax, 0xc0000022
jne 0x14010fd5e
cmp byte [0x140240e3f], bl
nop word [rax + rax]
je 0x14010fd5e
lea rax, [rsp + 0x68]
mov dword [rbp - 0x48], 0x410
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x38]
lea rax, [rbp - 0x70]
xor r15d, r15d
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], r15d
call fcn.14011f9e0
mov dword [rsp + 0x48], r15d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f0]
jmp 0x14010fd39
mov dword ss:[rsp + 0x48], r8d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], r8
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
mov dword [rsp + 0x38], 0x18
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x200]
mov dword [rsp + 0x28], 0x99992197
mov qword [rbp + 0xa8], r12
mov dword [rbp + 0xb0], 0x410
jmp 0x14010fd4b
mov byte [rsp + 0x60], 1
xor r8d, r8d
mov edx, 1
test rsi, rsi
je 0x14011020b
mov rax, qword gs:[0x30]
movzx ebx, bl
mov rcx, qword [rax + 0x48]
cmp qword [rsi + 8], rcx
sete dil
test qword [rsi], 0xfffffffffffffffb
cmove ebx, edx
test bl, bl
jne 0x14010ff79
xor eax, eax
lea r8, [rbp - 0x60]
mov rcx, r12
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
lea edx, [rax + 9]
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov edx, 1
test eax, eax
js 0x14010ff79
mov rax, qword [0x140241978]
cmp qword [rbp - 0x60], rax
movzx ebx, bl
cmova ebx, edx
test dil, dil
jne 0x14010ffa4
nop
test bl, bl
jne 0x14010ffa4
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov ecx, dword [rsp + 0x74]
mov edx, 1
test eax, eax
movzx ecx, cl
cmovns ecx, edx
mov dword [rsp + 0x74], ecx
mov esi, dword [rbp + 0x14b0]
test sil, 0x10
je 0x1401100d0
mov rcx, qword [0x140241b70]
nop dword [rax + rax]
test rcx, rcx
je 0x1401100d0
mov dword [rsp + 0x48], 0
lea rax, [rbp + 0xc40]
mov qword [rbp + 0x90], rax
xor r9d, r9d
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
mov qword [rbp + 0x98], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x28
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x210]
mov dword [rbp + 0x88], edx
xor edx, edx
mov dword [rsp + 0x28], 0x999921ab
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0
mov qword [rbp + 0x80], r12
mov dword [rbp + 0x8c], 0xfe
mov qword [rbp + 0xa0], 0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x1401100d0
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
cmp dword [rsp + 0x70], ebx
jbe 0x1401100d0
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0xc40]
mov rdx, r14
mov qword [rbp + 0x170], rcx
mov rax, r13
lea rcx, [rbp + 0x170]
mov dword [rbp + 0x1b8], 4
call qword [case.0x1400f654f.0]
nop dword [rax]
test al, al
je 0x140110428
inc ebx
cmp ebx, dword [rsp + 0x70]
jb 0x140110090
test sil, 2
je 0x140110473
lea rdx, [rbp + 0x770]
mov dword [rbp + 0x7a0], 0x10001f
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtGetContextThread]
mov r15d, eax
test eax, eax
js 0x140110473
lfence
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x110
call fcn.1401868c0
mov rax, qword [rbp + 0x868]
mov qword [rbp + 0x390], rax
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x3c0], rax
mov rax, qword [rbp + 0x810]
mov qword [rbp + 0x3b0], rax
mov dword [rbp + 0x498], 0x110
mov dword [rbp + 0x39c], 3
mov dword [rbp + 0x3cc], 3
mov dword [rbp + 0x3bc], 3
nop dword [rax + rax]
mov rcx, qword ds:[rsp + 0x78]
xor edi, edi
mov rbx, qword [rsp + 0x68]
call fcn.14010dce0
lea rcx, [0x1402448b8]
call sym.ProcessHacker.exe_PhfAcquireFastLockExclusive
mov rax, qword [0x140241b38]
nop dword [rax + rax]
test rax, rax
je 0x140110277
cmp qword [0x140241b18], rdi
je 0x140110277
xor ecx, ecx
lea rdx, [0x14010f840]
mov dword [rsp + 0x48], ecx
lea r9, [rbp + 0x390]
mov qword [rsp + 0x40], rcx
mov r8, r12
mov qword [rsp + 0x38], rdx
lea rdx, [0x14010f8c0]
mov qword [rsp + 0x30], rdx
mov rdx, rbx
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x770]
mov qword [rsp + 0x20], rcx
mov ecx, 0x8664
call qword [case.0x1400f654f.0]
jmp 0x1401102cd
cmp r12, 0xfffffffffffffffe
jne 0x140110219
movzx edi, dl
jmp 0x14010ff44
mov qword [rsp + 0x20], r8
mov r9d, 0x30
lea r8, [rbp + 0x220]
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x14010ff44
mov rax, qword gs:[0x30]
mov edx, 1
movzx edi, dil
mov rax, qword [rax + 0x48]
cmp qword [rbp + 0x238], rax
cmove edi, edx
test qword [rbp + 0x230], 0xfffffffffffffffb
jne 0x14010ff44
movzx ebx, dl
jmp 0x14010ff79
mov rax, qword [0x140241b28]
nop
test rax, rax
je 0x1401102d0
xor ecx, ecx
lea rdx, [0x14010f840]
mov qword [rsp + 0x40], rcx
lea r9, [rbp + 0x390]
mov qword [rsp + 0x38], rdx
mov r8, r12
lea rdx, [0x14010f8c0]
mov qword [rsp + 0x30], rdx
mov rdx, rbx
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x770]
mov qword [rsp + 0x20], rcx
mov ecx, 0x8664
call qword [case.0x1400f654f.0]
mov edi, eax
nop
mov edx, dword [0x1402448b8]
mov eax, edx
cmp edx, 0x400000
jb 0x140110308
lea ecx, [rdx - 0x3fffff]
lock cmpxchg dword [0x1402448b8], ecx
cmp eax, edx
jne 0x14011032a
mov rcx, qword [0x1402448c0]
mov edx, 1
jmp 0x14011033d
mov r9d, edx
mov ecx, edx
shr r9d, 0xc
and r9d, 0x3ff
and ecx, 0xffc00ffe
lock cmpxchg dword [0x1402448b8], ecx
cmp eax, edx
je 0x14011032e
pause
jmp 0x1401102d0
test r9d, r9d
je 0x140110346
mov rcx, qword [0x1402448c8]
mov edx, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtReleaseSemaphore]
test edi, edi
je 0x140110473
mov rcx, qword ds:[rbp + 0x390]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140110473
mov rax, qword [rbp + 0x3a0]
mov rdx, r14
cmp qword [rbp + 0x3e0], 0
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x3b0]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x3c0]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x100], rax
mov eax, 2
mov qword [rbp + 0xc0], rcx
mov ecx, 0x102
cmovne eax, ecx
lea rcx, [rbp + 0xc0]
mov dword [rbp + 0x108], eax
mov eax, dword [rbp + 0x49c]
mov dword [rbp + 0x10c], eax
mov rax, r13
call qword [case.0x1400f654f.0]
nop dword [rax + rax]
test al, al
jne 0x140110170
cmp byte [rsp + 0x74], 0
je 0x14011043a
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtResumeThread]
cmp byte ds:[rsp + 0x60], 0
je 0x14011044d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, r15d
mov rcx, qword [rbp + 0x1430]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x1548
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test sil, 1
je 0x140110428
mov r9d, 0x2cc
mov dword [rbp + 0x4a0], 0x1003f
lea r8, [rbp + 0x4a0]
mov qword [rsp + 0x20], 0
mov edx, 0x1d
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov r15d, eax
test eax, eax
js 0x140110428
lfence
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x110
call fcn.1401868c0
mov eax, dword [rbp + 0x558]
mov qword [rbp + 0x280], rax
mov eax, dword [rbp + 0x564]
mov qword [rbp + 0x2b0], rax
mov eax, dword [rbp + 0x554]
mov qword [rbp + 0x2a0], rax
mov dword [rbp + 0x388], 0x110
mov dword [rbp + 0x28c], 3
mov dword [rbp + 0x2bc], 3
mov dword [rbp + 0x2ac], 3
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
xor r14d, r14d
mov rbx, qword [rsp + 0x68]
call fcn.14010dce0
mov rdi, qword [0x140241b58]
lea rcx, [0x1402448b8]
mov rsi, qword [0x140241af0]
call sym.ProcessHacker.exe_PhfAcquireFastLockExclusive
mov rax, qword [0x140241b38]
test rax, rax
je 0x1401105a8
cmp qword [0x140241b18], r14
nop
je 0x1401105a8
xor ecx, ecx
lea r9, [rbp + 0x280]
mov dword [rsp + 0x48], ecx
mov r8, r12
mov qword [rsp + 0x40], rcx
mov rdx, rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x4a0]
mov qword [rsp + 0x20], rcx
mov ecx, 0x14c
call qword [case.0x1400f654f.0]
jmp 0x1401105ee
mov rax, qword [0x140241b28]
test rax, rax
je 0x140110600
xor ecx, ecx
lea r9, [rbp + 0x280]
mov qword [rsp + 0x40], rcx
mov r8, r12
mov qword [rsp + 0x38], rsi
mov rdx, rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x4a0]
mov qword [rsp + 0x20], rcx
mov ecx, 0x14c
call qword [case.0x1400f654f.0]
mov r14d, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [0x1402448b8]
mov eax, ecx
cmp ecx, 0x400000
jb 0x14011063d
lea edx, ds:[rcx - 0x3fffff]
lock cmpxchg dword [0x1402448b8], edx
cmp eax, ecx
jne 0x14011065f
mov rcx, qword [0x1402448c0]
mov ebx, 1
mov edx, ebx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtReleaseSemaphore]
jmp 0x140110680
mov r9d, ecx
mov edx, ecx
shr r9d, 0xc
and r9d, 0x3ff
and edx, 0xffc00ffe
lock cmpxchg dword [0x1402448b8], edx
cmp eax, ecx
je 0x140110663
pause
jmp 0x140110600
test r9d, r9d
je 0x14011067b
mov rcx, qword [0x1402448c8]
xor r8d, r8d
mov edx, r9d
call qword [sym.imp.ntdll.dll_NtReleaseSemaphore]
mov ebx, 1
test r14d, r14d
je 0x140110428
mov rcx, qword [rbp + 0x280]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140110428
mov rax, qword [rbp + 0x290]
cmp qword [rbp + 0x2d0], 0
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x2a0]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x2b0]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x2c0]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x2e0]
mov qword [rbp], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rbp + 0x10], rax
mov eax, ebx
mov qword [rbp - 0x30], rcx
mov ecx, 0x101
cmovne eax, ecx
lea rcx, [rbp - 0x30]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x38c]
mov dword [rbp + 0x1c], eax
mov rax, r13
call qword [case.0x1400f654f.0]
test al, al
je 0x140110428
mov eax, dword [rbp - 0x30]
mov dword [rbp + 0x558], eax
mov qword [rbp + 0x280], rax
mov eax, dword [rbp - 0x20]
mov dword [rbp + 0x554], eax
mov qword [rbp + 0x2a0], rax
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0x564], eax
mov qword [rbp + 0x2b0], rax
jmp 0x140110520