Function at 0x14008c9a0
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov ebx, edx
mov rsi, rcx
cmp qword [rcx + 0x448], 0
je 0x14008ca34
mov rcx, qword [rcx + 0x450]
test rcx, rcx
je 0x14008ca34
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008ca34
test ebx, ebx
je 0x14008ca18
mov rcx, qword [rsi + 0x448]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 9]
call qword [rax + 0x28]
mov edx, 5
mov rcx, qword [rsi + 0x450]
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
jmp 0x14008cee6
xor r15d, r15d
cmp qword [rsi + 0x448], r15
jne 0x14008cee3
cmp qword [rsi + 0x440], r15
jne 0x14008ca9c
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call fcn.140289490
mov r8d, 0x104
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.HaloDTFence_x64.dll
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x440], rax
cmp qword [rsi + 0x458], r15
jne 0x14008cac9
mov ecx, SafeArrayCopy
call fcn.140171ab4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008cac2
mov rcx, rax
call fcn.1400dbf70
nop
mov qword [rsi + 0x458], rax
cmp qword [rsi + 0x460], 0
jne 0x14008caf7
mov ecx, SafeArrayCopy
call fcn.140171ab4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008caf0
mov rcx, rax
call fcn.1400dbf70
nop
mov qword [rsi + 0x460], rax
cmp qword [rsi + 0x468], 0
jne 0x14008cb25
mov ecx, SafeArrayCopy
call fcn.140171ab4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008cb1e
mov rcx, rax
call fcn.1400dbf70
nop
mov qword [rsi + 0x468], rax
lea rdx, str.InitTheme
mov rcx, qword [rsi + 0x440]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov r14d, 0xffffffff
test rax, rax
je 0x14008ccbf
lea rcx, [rsp + 0x68]
call fcn.1400d0a40
nop
lea r8, str..uiz
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14007cb50
mov r8, qword [rsi + 0x468]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140085d60
mov rdi, rax
lea rcx, [rsp + 0x60]
call fcn.1400d0d40
nop
lea r8, str..uiz
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14007cb50
mov r8, qword [rsi + 0x460]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140085d60
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.1400d0a40
nop
lea r8, str..uiz
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14007cb50
mov r8, qword [rsi + 0x458]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140085d60
nop
lea rcx, str.DeskMirror_
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call r12
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cc22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cc42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cc61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cc81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008cca0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008ccbf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.InitCloudDesktop
mov rcx, qword [rsi + 0x440]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x80], rax
xor ecx, ecx
mov qword [rbp - 8], rcx
test rax, rax
je 0x14008ccf9
lea rcx, vtable.std::_Func_impl_no_alloc_void____cdecl___void____ptr64__void____ptr64___void__void____ptr64__void____ptr64_.0
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
mov qword [rbp - 8], rcx
test rcx, rcx
je 0x14008cd2f
call fcn.1400b9e40
mov qword [rsp + 0x70], rax
call fcn.1400b9bf0
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14008cf11
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
call qword [rax + InitCommonControls]
lea rdx, str.CreateDeskMirrorWnd
mov rcx, qword [rsi + 0x440]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008cec9
call rax
mov qword [rsi + 0x448], rax
test rax, rax
je 0x14008cec9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
mov qword [rsi + 0x450], rax
call fcn.1400666d0
mov rcx, rax
mov edx, dword [rsi + 0x450]
call fcn.14007c5d0
mov rcx, qword [rsi + 0x450]
test rcx, rcx
je 0x14008ce9c
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov r15d, 1
call fcn.14000ffd0
mov rcx, rax
mov qword [rsp + 0x28], 0
lea rax, str.fence
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, str.show
call fcn.1400e5fb0
xor r9d, r9d
mov edx, 0x45e
mov r8d, 0x36ee80
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetTimer]
call fcn.1400666d0
mov rcx, rax
call fcn.140078bb0
lea ebx, [rax + 1]
call fcn.1400666d0
mov rcx, rax
mov edx, ebx
call fcn.14007ad10
mov rcx, rsi
call fcn.140093830
lea rcx, [rsp + 0x38]
call fcn.1400d0620
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14008ce56
mov rcx, qword [rsp + 0x38]
call fcn.1400d0ff0
mov rcx, qword [rsi + 0x448]
test rcx, rcx
je 0x14008ce56
test rax, rax
je 0x14008ce56
mov r10, qword [rcx]
mov r9d, r15d
mov r8, rax
mov rdx, qword [rsp + 0x38]
call qword [r10 + SafeArrayCopy]
call fcn.140089380
mov rcx, rax
call fcn.1400cb780
xor r9d, r9d
mov edx, 0x460
mov r8d, 0x2710
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetTimer]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14008cec9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008cec9
lea rdx, str.DestroyDeskMirrorWnd
mov rcx, qword [rsi + 0x440]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14008cec9
mov rcx, qword [rsi + 0x448]
call rax
mov qword [rsi + 0x448], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14008cee3
mov r8, qword [rcx]
lea rax, [rbp - 0x40]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
mov eax, r15d
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400dcd44
nop
int3