Function at 0x180002fe0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x168
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov r14, rcx
mov rbp, qword [rsp + 0x1d0]
mov r13, qword [rsp + 0x1d8]
mov r15, qword [rsp + 0x1e0]
lea r8, str.wfchost.exe
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.18003322c
nop
lea rcx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rcx, qword [rsp + 0x108]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180003090
cmp qword [rsp + 0x120], 8
jb 0x180003089
mov rcx, qword [rsp + 0x108]
call fcn.18003c660
xor eax, eax
jmp 0x18000390a
lea rbx, [0x18005f800]
test rdi, rdi
cmovne rbx, rdi
test r14, r14
je 0x1800038f0
test rsi, rsi
je 0x1800038f0
lea rax, str.rtmessage.png
test r12, r12
cmovne rax, r12
mov qword [rsp + 0xc8], rax
and dword [rsp + 0x80], 0xfffffe00
xor r12d, r12d
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, str.title
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180003180
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
cmp qword [rsp + 0x40], 8
jb 0x1800031a5
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
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 + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, str.content
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180003239
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
mov esi, 8
cmp qword [rsp + 0x40], rsi
jb 0x180003262
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
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 + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, str.btnText
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x1800032f6
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov ebx, 0xf
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
cmp qword [rsp + 0x40], rsi
jb 0x18000331b
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0xc8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, str.icoName
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x1800033b4
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
cmp qword [rsp + 0x40], rsi
jb 0x1800033d4
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
cmp rbp, r12
je 0x180003491
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
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 + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, [0x18005f848]
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180003471
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
cmp qword [rsp + 0x40], rsi
jb 0x180003491
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
cmp r13, r12
je 0x180003551
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov ebp, 7
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r13
lea rcx, [rsp + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, str.param
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x18000352f
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
cmp qword [rsp + 0x40], rsi
jb 0x180003556
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
jmp 0x180003556
mov ebp, 7
cmp r15, r12
je 0x18000360f
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.180002638
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180025558
mov rdi, rax
lea rdx, str.wndClass
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
mov rdx, rdi
call fcn.1800257e4
nop
cmp qword [rsp + 0x68], 0x10
jb 0x1800035ef
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
cmp qword [rsp + 0x40], rsi
jb 0x18000360f
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov rax, r12
cmp dword [rsp + 0x1e8], r12d
setne al
mov qword [rsp + 0x20], rax
lea rdx, str.showNotAlert
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1800257e4
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x28], 1
btr dword [rsp + 0x28], 8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x20], r12
lea rdx, str.runas
lea rcx, [rsp + 0x78]
call fcn.180026aa8
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1800257e4
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.180026f94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180035e50
nop
mov rdx, rax
lea rcx, [rsp + 0x128]
call fcn.18000104c
nop
cmp qword [rsp + 0x68], 0x10
jb 0x1800036ee
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
lea r9, [rsp + 0x130]
cmp qword [rsp + 0x148], rsi
cmovae r9, qword [rsp + 0x130]
lea r8, [rsp + 0x108]
cmp qword [rsp + 0x120], rsi
cmovae r8, qword [rsp + 0x108]
lea rdx, str.__ls___common__ls
lea rcx, [rsp + 0xd8]
call fcn.18001bccc
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], rsi
cmovae rcx, qword [rsp + 0xe0]
mov edx, 1
call fcn.18001b350
cmp rax, r12
jne 0x18000385d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x180003790
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x1800037bd
lea rcx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], rsi
cmovae rcx, qword [rsp + 0xe0]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.18001b0b8
cmp rax, r12
jne 0x18000385d
lea rcx, str.ShowClientNotify_failed:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rsp + 0xf8], rsi
jb 0x1800037eb
mov rcx, qword [rsp + 0xe0]
call fcn.18003c660
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0xf0], r12
mov word [rsp + 0xe0], r12w
cmp qword [rsp + 0x148], rsi
jb 0x18000381b
mov rcx, qword [rsp + 0x130]
call fcn.18003c660
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r12
mov word [rsp + 0x130], r12w
lea rcx, [rsp + 0x78]
call fcn.18002574c
nop
cmp qword [rsp + 0x120], rsi
jb 0x180003856
mov rcx, qword [rsp + 0x108]
call fcn.18003c660
xor eax, eax
jmp 0x18000390a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0xf8], rsi
jb 0x18000387e
mov rcx, qword [rsp + 0xe0]
call fcn.18003c660
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0xf0], r12
mov word [rsp + 0xe0], r12w
cmp qword [rsp + 0x148], rsi
jb 0x1800038ae
mov rcx, qword [rsp + 0x130]
call fcn.18003c660
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r12
mov word [rsp + 0x130], r12w
lea rcx, [rsp + 0x78]
call fcn.18002574c
nop
cmp qword [rsp + 0x120], rsi
jb 0x1800038e9
mov rcx, qword [rsp + 0x108]
call fcn.18003c660
mov eax, 1
jmp 0x18000390a
cmp qword [rsp + 0x120], 8
jb 0x180003908
mov rcx, qword [rsp + 0x108]
call fcn.18003c660
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18003c1a0
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret