Function at 0x7ff7bffc61c0
Capabilities:
Set tcp connection state

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rbp + 8], rax
xor r12b, r12b
xor r15d, r15d
mov r13d, r8d
mov r14, rdx
mov rsi, rcx
mov dil, 1
test r8d, r8d
je 0x7ff7bffc6481
mov qword [rsp + 0x160], rbx
lea ebx, [r15 + 5]
nop word [rax + rax]
mov rcx, qword [r14]
cmp dword [rcx], 0x11
jne 0x7ff7bffc6445
cmp dword [rcx + 0x34], 5
jne 0x7ff7bffc6445
mov dword [rbp - 0x10], 0xc
mov eax, dword [rcx + 8]
mov dword [rbp - 0xc], eax
movzx eax, word [rcx + 0x18]
ror ax, 8
movzx eax, ax
mov dword [rbp - 8], eax
mov eax, dword [rcx + 0x20]
mov dword [rbp - 4], eax
movzx eax, word [rcx + 0x30]
lea rcx, [rbp - 0x10]
ror ax, 8
movzx eax, ax
mov dword [rbp], eax
call qword [sym.imp.IPHLPAPI.DLL_SetTcpEntry]
test eax, eax
je 0x7ff7bffc6445
xor dil, dil
cmp eax, 0x13d
cmove eax, ebx
test r12b, r12b
jne 0x7ff7bffc6416
test eax, eax
jle 0x7ff7bffc6297
movzx eax, ax
or eax, 0xc0070000
lea r9, [rsp + 0x30]
mov r8d, eax
lea rdx, [0x7ff7c0153670]
mov rcx, rsi
call fcn.7ff7bffc1910
test al, al
je 0x7ff7bffc6416
nop word [rax + rax]
cmp byte [rsp + 0x30], dil
je 0x7ff7bffc6411
mov rcx, qword [0x7ff7c01d85c0]
test rcx, rcx
jne 0x7ff7bffc62ea
mov ebx, 0xc0000037
mov ecx, ebx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff7bffc6394
mov eax, dword [rbp - 0x10]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x40]
mov eax, dword [rbp - 0xc]
mov dword [rsp + 0x74], eax
mov eax, dword [rbp - 8]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp - 4]
mov dword [rsp + 0x7c], eax
mov eax, dword [rbp]
mov dword [rbp - 0x80], eax
mov dword [rsp + 0x68], 9
mov qword [rsp + 0x40], 0xb00088
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
test eax, eax
jns 0x7ff7bffc635a
mov ebx, eax
cmp eax, 0xc0000022
je 0x7ff7bffc6376
nop word [rax + rax]
cmp eax, 0xc0000005
je 0x7ff7bffc6376
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x7ff7bffc6384
movzx eax, bx
jmp 0x7ff7bffc637e
mov ebx, dword [rsp + 0x6c]
mov eax, ebx
test ebx, ebx
js 0x7ff7bffc6333
mov dil, 1
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
mov ebx, 5
jmp 0x7ff7bffc6445
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop
test eax, eax
jne 0x7ff7bffc638d
mov ecx, ebx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x7ff7bffc6394
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, [0x7ff7c0153670]
mov rbx, rax
mov rcx, rsi
test rax, rax
je 0x7ff7bffc63f1
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x7ff7c017439c]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bffc6405
nop
call fcn.7ff7c00c6290
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
mov ebx, 5
jmp 0x7ff7bffc6445
lea r8, [0x7ff7c0187ff8]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
call sym.ProcessHacker.exe_PhUiDisconnectFromPhSvc
mov ebx, 5
jmp 0x7ff7bffc6445
mov r12b, 1
jmp 0x7ff7bffc6445
lea rax, [0x7ff7c01536c0]
mov edx, 1
lea r9, [0x7ff7c0153750]
mov qword [rsp + 0x20], rax
mov r8d, 0xfffe
mov rcx, rsi
call sym.ProcessHacker.exe_PhShowMessage2
nop dword [rax]
cmp eax, 1
jne 0x7ff7bffc6455
inc r15d
add r14, 8
cmp r15d, r13d
jb 0x7ff7bffc6220
mov rbx, qword [rsp + 0x160]
movzx eax, dil
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
nop
ret
movzx eax, dil
jmp 0x7ff7bffc6461