Function at 0x1800094e0
Capabilities:
Check if file exists
Get common file path
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x7b0
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x7f8], rbx
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x7a0], rax
mov r12, r8
mov rbx, rdx
mov rbp, rcx
lea r8, [0x18005c980]
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.180039414
nop
lea rcx, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae rcx, qword [rsp + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r13d, r13d
test eax, eax
jne 0x180009663
mov word [rsp + 0x380], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x382]
call fcn.18003e8c0
mov r8d, 0x104
lea rdx, [rsp + 0x590]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180009605
lea rcx, [rsp + 0x590]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea rcx, [0x18005c980]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add edi, eax
cmp edi, 0x104
jge 0x180009605
lea rdx, [0x18005dd1c]
lea rcx, [rsp + 0x590]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x18005c980]
lea rcx, [rsp + 0x590]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov r8d, 0x104
lea rdx, [rsp + 0x590]
lea rcx, [rsp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rsp + 0x380]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180009636
cmp qword [rsp + 0x118], 8
jb 0x18000962f
mov rcx, qword [rsp + 0x100]
call fcn.18003c784
xor eax, eax
jmp 0x180009f91
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x380]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0xf8]
call fcn.180005ca0
test rbp, rbp
je 0x180009f77
test rbx, rbx
je 0x180009f77
lea rsi, str.rtmessage.png
test r12, r12
cmovne rsi, r12
and dword [rsp + 0xa8], 0xfffffe00
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], r13
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], r13
mov word [rsp + 0x80], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.180005ca0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.180001390
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180009729
mov rcx, qword [rax + 8]
jmp 0x18000972d
lea rcx, [rax + 8]
call fcn.180029120
mov qword [rsp + 0x20], rax
lea r8, [0x18005c9c1]
lea rdx, str.title
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180009772
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x98], 8
jb 0x18000979d
mov rcx, qword [rsp + 0x80]
call fcn.18003c784
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], r13
mov word [rsp + 0x80], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180005ca0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.180001390
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180009820
mov rcx, qword [rax + 8]
jmp 0x180009824
lea rcx, [rax + 8]
call fcn.180029120
mov qword [rsp + 0x20], rax
lea r8, [0x18005c97f]
lea rdx, str.content
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180009869
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x98], 8
jb 0x180009894
mov rcx, qword [rsp + 0x80]
call fcn.18003c784
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], r13
mov word [rsp + 0x80], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x18005c998]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x18005c998]
lea rcx, [rsp + 0x78]
call fcn.180005ca0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.180001390
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x18000991f
mov rcx, qword [rax + 8]
jmp 0x180009923
lea rcx, [rax + 8]
call fcn.180029120
mov qword [rsp + 0x20], rax
lea r8, [0x18005c9cf]
lea rdx, str.btnText
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180009968
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x98], 8
jb 0x180009993
mov rcx, qword [rsp + 0x80]
call fcn.18003c784
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], r13
mov word [rsp + 0x80], r13w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.180005ca0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.180001390
nop
mov byte [rsp + 0x28], 4
bts dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov rdx, qword [rax + 0x18]
cmp qword [rax + 0x20], 0x10
jb 0x180009a16
mov rcx, qword [rax + 8]
jmp 0x180009a1a
lea rcx, [rax + 8]
call fcn.180029120
mov qword [rsp + 0x20], rax
lea r8, [0x18005c9d7]
lea rdx, str.icoName
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180009a5f
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x98], 8
jb 0x180009a8a
mov rcx, qword [rsp + 0x80]
call fcn.18003c784
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x20], 1
lea r8, [0x18005c9e4]
lea rdx, str.showNotAlert
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x20], r13
lea r8, [0x18005c9ed]
lea rdx, str.runas
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x20], r13
lea r8, [0x18005c9fa]
lea rdx, str.fullscreen
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x20], r13
lea r8, [0x18005ca0c]
lea rdx, str.closeExpired
lea rcx, [rsp + 0xa0]
call fcn.18002aa7c
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.180029b60
lea rcx, [rsp + 0x148]
call fcn.18000d9d0
nop
mov word [rsp + 0x170], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x172]
call fcn.18003e8c0
lea rdx, [rsp + 0x170]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x50]
call fcn.18000da80
cmp qword [rax + 0x20], 8
jb 0x180009c28
mov rdx, qword [rax + 8]
jmp 0x180009c2c
lea rdx, [rax + 8]
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x70], 8
jb 0x180009c4c
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.18002b430
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.180038fec
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180009c82
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x128]
cmp qword [rsp + 0x140], 0x10
cmovae rdx, qword [rsp + 0x128]
mov r8d, dword [rsp + 0x138]
lea rcx, [rsp + 0x170]
call fcn.18001f8c8
call fcn.1800205a0
mov rdi, rax
test rax, rax
je 0x180009d0d
mov r8, rax
mov edx, 4
lea rcx, [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x180009cf6
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x180009d05
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, rdi
call fcn.18003c784
lea r8, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae r8, qword [rsp + 0x100]
lea r9, [rsp + 0x170]
lea rdx, str.__ls___common__ls
lea rcx, [rsp + 0xd0]
call fcn.180020c28
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rsp + 0xf0], 8
jb 0x180009d66
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x180009d7c
jmp 0x180009d6e
lea rcx, [rsp + 0xd8]
call fcn.1800201fc
test rax, rax
jne 0x180009ea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x180009d94
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x180009dc2
lea rcx, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae rcx, qword [rsp + 0xd8]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.18002000c
test rax, rax
jne 0x180009ea3
lea rcx, str.ShowClientNotify_failed:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rsp + 0xf0], 8
jb 0x180009df1
mov rcx, qword [rsp + 0xd8]
call fcn.18003c784
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
cmp qword [rsp + 0x140], 0x10
jb 0x180009e26
mov rcx, qword [rsp + 0x128]
call fcn.18003c784
mov qword [rsp + 0x140], 0xf
mov qword [rsp + 0x138], r13
mov byte [rsp + 0x128], 0
cmp qword [rsp + 0x168], 0x10
jb 0x180009e5a
mov rcx, qword [rsp + 0x150]
call fcn.18003c784
mov qword [rsp + 0x168], 0xf
mov qword [rsp + 0x160], r13
mov byte [rsp + 0x150], 0
lea rcx, [rsp + 0xa0]
call fcn.180029ac8
nop
cmp qword [rsp + 0x118], 8
jb 0x180009e9c
mov rcx, qword [rsp + 0x100]
call fcn.18003c784
xor eax, eax
jmp 0x180009f91
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0xf0], 8
jb 0x180009ec5
mov rcx, qword [rsp + 0xd8]
call fcn.18003c784
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], r13
mov word [rsp + 0xd8], r13w
cmp qword [rsp + 0x140], 0x10
jb 0x180009efa
mov rcx, qword [rsp + 0x128]
call fcn.18003c784
mov qword [rsp + 0x140], 0xf
mov qword [rsp + 0x138], r13
mov byte [rsp + 0x128], 0
cmp qword [rsp + 0x168], 0x10
jb 0x180009f2e
mov rcx, qword [rsp + 0x150]
call fcn.18003c784
mov qword [rsp + 0x168], 0xf
mov qword [rsp + 0x160], r13
mov byte [rsp + 0x150], 0
lea rcx, [rsp + 0xa0]
call fcn.180029ac8
nop
cmp qword [rsp + 0x118], 8
jb 0x180009f70
mov rcx, qword [rsp + 0x100]
call fcn.18003c784
mov eax, 1
jmp 0x180009f91
cmp qword [rsp + 0x118], 8
jb 0x180009f8f
mov rcx, qword [rsp + 0x100]
call fcn.18003c784
xor eax, eax
mov rcx, qword [rsp + 0x7a0]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x7f8]
add rsp, 0x7b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret