Function at 0x14000e6a0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x8a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
cmp dword [0x1400df34c], 8
jb 0x14000e6e9
call fcn.140032730
mov edx, 0x55
lea rcx, [0x1400e0890]
call fcn.140040770
mov ecx, 0x1388
call fcn.140032750
mov edx, dword [0x1400e1a8c]
lea rcx, [0x1400e0890]
call fcn.14003e420
xor ebp, ebp
test rax, rax
je 0x14000e710
xor edx, edx
mov rcx, rax
call fcn.1400471a0
mov ebx, eax
jmp 0x14000e712
mov ebx, ebp
and ebx, 2
cmp dword [0x1400df3a4], ebp
je 0x14000e73d
mov rcx, qword [0x1400df3c0]
test rcx, rcx
je 0x14000e73d
mov edx, ebx
call fcn.14002a680
test ebx, ebx
jne 0x14000e9d3
jmp 0x14000e899
cmp dword [0x1400df3cc], ebp
je 0x14000e7f0
test byte [0x1400df4d4], 2
je 0x14000e7f0
xor edx, edx
mov r8d, 0x620
lea rcx, [rsp + 0x280]
call fcn.14007cd30
mov dword [rsp + 0x288], 0x18
mov eax, dword [0x1400df4cc]
mov dword [rsp + 0x290], eax
mov dword [rsp + 0x280], 0x8001
mov dword [rsp + 0x284], 0x620
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0x48]
call fcn.14007cd30
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x8b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2c
lea r9, [rsp + 0x48]
mov r8d, 0x620
lea rdx, [rsp + 0x280]
lea rcx, str..pipeExtEventPipe_Service
call qword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x14000e7f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x258
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x14
lea rcx, [0x1400e0890]
call fcn.140040770
mov edi, dword [0x1400e1a8c]
cmp edi, dword [0x1400e1a88]
jb 0x14000e828
lea rcx, str.SwapingDisplayAtResume_invalid_primary_device
call fcn.14000cbb0
jmp 0x14000e894
mov edx, edi
lea rcx, [0x1400e0890]
call fcn.14003e420
mov rbx, rax
test rax, rax
jne 0x14000e84c
lea rcx, str.SwapingDisplayAtResume_invalid_primary_pAdapter
call fcn.14000cbb0
jmp 0x14000e894
mov esi, dword [rax + 0x1b0]
test esi, esi
je 0x14000e894
mov edx, edi
mov rcx, rax
call fcn.140019bf0
test esi, eax
jne 0x14000e894
cmp dword [0x1400df34c], 8
jb 0x14000e883
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, esi
mov ecx, edi
call fcn.140031860
jmp 0x14000e894
mov rcx, rbx
call fcn.14001a1d0
test eax, eax
je 0x14000e894
call fcn.140032ef0
call fcn.14000e5b0
mov edx, dword [0x1400e1a8c]
lea rcx, [0x1400e0890]
call fcn.14003e420
test rax, rax
je 0x14000e8ba
mov rcx, rax
call fcn.140047180
mov ebp, eax
bt ebp, 0xd
jae 0x14000e998
cmp dword [0x1400e1cd0], 0
jne 0x14000e998
mov dword [0x1400e1cd0], 1
mov ebx, dword [0x1400e1a8c]
mov edx, ebx
lea rcx, [0x1400e0890]
call fcn.14003da90
mov rdi, rax
mov edx, ebx
lea rcx, [0x1400e0890]
call fcn.14003e420
mov rbx, rax
test rax, rax
je 0x14000e998
lea rcx, [rsp + 0x80]
call fcn.140001070
nop
mov edx, 2
mov rcx, rbx
call fcn.140047420
mov r8d, eax
mov r9d, 6
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.1400012a0
lea rcx, [rsp + 0x80]
call fcn.140001120
test eax, eax
je 0x14000e98b
lea rcx, [rsp + 0x80]
call fcn.1400011a0
cmp eax, 3
jne 0x14000e98b
xor r9d, r9d
mov edx, 0x4d4
mov r8d, 0x3e8
mov rcx, qword [0x1400df388]
call qword [sym.imp.USER32.dll_SetTimer]
lea rcx, str.Timer_for_LCDSETNATIVEMODEONRESUME_is_set
call fcn.14000cbb0
nop
lea rcx, [rsp + 0x80]
call fcn.1400010b0
lea rcx, [0x1400e0890]
call fcn.14003ae40
test eax, eax
je 0x14000e9ce
cmp dword [0x1400dd138], 0
je 0x14000e9bd
lea rcx, str.LARGEDESKTOP_FORCEDREMOVE_flag_detected_at_resume
call fcn.14000cbb0
mov rcx, qword [0x1400df398]
test rcx, rcx
je 0x14000e9ce
call fcn.140001ba0
call fcn.1400544e0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret