Function at 0x18004ac6c
Capabilities:
Check if file exists
Delete registry value
Get common file path
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5c8
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov rbx, r9
mov r12, r8
mov rbp, rdx
mov qword [rsp + 0xc8], rcx
mov r13, qword [rsp + 0x630]
mov r14, qword [rsp + 0x638]
mov rax, qword [rsp + 0x640]
mov qword [rsp + 0xe0], rax
mov rsi, qword [rsp + 0x658]
mov rax, qword [rsp + 0x660]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x680]
mov qword [rsp + 0xd0], rax
lea r8, str.wfchost.exe
xor edx, edx
lea rcx, [rsp + 0x118]
call fcn.180029e88
nop
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 8
cmovae rcx, qword [rsp + 0x120]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r15d, r15d
cmp eax, r15d
jne 0x18004adcb
mov word [rsp + 0x3a0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3a2]
call fcn.180055bd0
mov r9d, 0x104
lea r8, [rsp + 0x3a0]
lea rdx, str.wfchost.exe
xor ecx, ecx
call fcn.180002a20
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r15d
jne 0x18004ada6
cmp qword [rsp + 0x138], 8
jb 0x18004ad9f
mov rcx, qword [rsp + 0x120]
call fcn.180054958
xor eax, eax
jmp 0x18004b979
lea rcx, [rsp + 0x3a0]
call fcn.180054a5c
mov r8, rax
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x118]
call fcn.180007250
lea rdi, [0x1800776a8]
cmp rbx, r15
cmovne rdi, rbx
mov rbx, qword [rsp + 0xc8]
cmp rbx, r15
je 0x18004b95f
cmp rbp, r15
je 0x18004b95f
lea r15, str.rtmessage.png
test r12, r12
cmovne r15, r12
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.180015738
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], 7
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, rbx
call fcn.180054a5c
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.title
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ae9d
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], 8
jb 0x18004aec2
mov rcx, qword [rsp + 0x58]
call fcn.180054958
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, rbp
call fcn.180054a5c
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.content
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004af4b
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov ebp, 8
cmp qword [rsp + 0x70], rbp
jb 0x18004af74
mov rcx, qword [rsp + 0x58]
call fcn.180054958
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, rdi
call fcn.180054a5c
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.btnText
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004affd
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004b021
mov rcx, qword [rsp + 0x58]
call fcn.180054958
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov edi, 7
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, r15
call fcn.180054a5c
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.icoName
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b0ab
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov r15d, sendto
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004b0d1
mov rcx, qword [rsp + 0x58]
call fcn.180054958
cmp r13, r12
je 0x18004b17f
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, r13
call fcn.180054a5c
mov r8, rax
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, [0x18007766c]
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b15f
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004b17f
mov rcx, qword [rsp + 0x58]
call fcn.180054958
cmp r14, r12
je 0x18004b235
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov r13d, 7
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, r14
call fcn.180054a5c
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.param
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b213
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004b23b
mov rcx, qword [rsp + 0x58]
call fcn.180054958
jmp 0x18004b23b
mov r13d, 7
mov rbx, qword [rsp + 0xe0]
cmp rbx, r12
je 0x18004b2f1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, rbx
call fcn.180054a5c
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.wndClass
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b2d1
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004b2f1
mov rcx, qword [rsp + 0x58]
call fcn.180054958
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov edx, r12d
cmp dword [rsp + 0x648], r12d
setne dl
lea rcx, [rsp + 0x78]
call fcn.180015830
mov rbx, rax
lea rdx, str.showNotAlert
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x650]
lea rcx, [rsp + 0x78]
call fcn.180015830
mov rbx, rax
lea rdx, [0x18007763c]
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
mov rbx, qword [rsp + 0xd8]
cmp rbx, r12
je 0x18004b428
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov rcx, rbx
call fcn.180054a5c
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180007250
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.singleton
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b408
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004b428
mov rcx, qword [rsp + 0x58]
call fcn.180054958
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov edx, r12d
cmp dword [rsp + 0x668], r12d
setne dl
lea rcx, [rsp + 0x78]
call fcn.180015830
mov rbx, rax
lea rdx, str.fullscreen
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x670]
lea rcx, [rsp + 0x78]
call fcn.180015830
mov rbx, rax
lea rdx, str.closeExpired
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
lea rcx, [rsp + 0x168]
call fcn.18004a9b0
nop
mov edi, dword [rsp + 0x678]
cmp edi, r12d
je 0x18004b501
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x78]
call fcn.1800158fc
mov rbx, rax
lea rdx, str.receiptId
lea rcx, [rsp + 0xa0]
call fcn.180016e68
mov rcx, rax
mov rdx, rbx
call fcn.180015b88
mov word [rsp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x192]
call fcn.180055bd0
lea rdx, [rsp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x20]
call fcn.18004aa40
cmp qword [rax + 0x20], rbp
jb 0x18004b548
mov rdx, qword [rax + 8]
jmp 0x18004b54c
lea rdx, [rax + 8]
lea rcx, [rsp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x40], rbp
jb 0x18004b56b
mov rcx, qword [rsp + 0x28]
call fcn.180054958
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.180017458
nop
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.1800324c4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004b5a1
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
lea rdx, [rsp + 0x148]
cmp qword [rsp + 0x160], 0x10
cmovae rdx, qword [rsp + 0x148]
mov r8d, dword [rsp + 0x158]
lea rcx, [rsp + 0x190]
call fcn.180002aec
lea rcx, [rsp + 0x190]
call fcn.180004bf4
lea r8, [rsp + 0x120]
cmp qword [rsp + 0x138], rbp
cmovae r8, qword [rsp + 0x120]
lea r9, [rsp + 0x190]
lea rdx, str.__ls___common__ls
lea rcx, [rsp + 0xf0]
call fcn.180005248
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], rbp
cmovae rcx, qword [rsp + 0xf8]
mov r14d, 1
mov edx, r14d
call fcn.180003c28
mov rbx, rax
cmp rax, r12
jne 0x18004b77c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x18004b675
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x18004b6a4
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], rbp
cmovae rcx, qword [rsp + 0xf8]
mov r8d, r14d
xor edx, edx
call fcn.1800036a0
mov rbx, rax
cmp rax, r12
jne 0x18004b77c
lea rcx, str.ShowClientNotify_failed:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rsp + 0x110], rbp
jb 0x18004b6d7
mov rcx, qword [rsp + 0xf8]
call fcn.180054958
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004b708
mov rcx, qword [rsp + 0x148]
call fcn.180054958
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004b738
mov rcx, qword [rsp + 0x170]
call fcn.180054958
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.180015af0
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004b775
mov rcx, qword [rsp + 0x120]
call fcn.180054958
xor eax, eax
jmp 0x18004b979
cmp rsi, r12
jne 0x18004b78a
cmp edi, r12d
je 0x18004b89b
mov edx, dword [rsp + 0x688]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18004b7b5
cmp rsi, r12
je 0x18004b89b
mov dword [rsi], 0x3f2
jmp 0x18004b89b
cmp rsi, r12
je 0x18004b7c6
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp edi, r12d
je 0x18004b89b
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.1800014d4
nop
cmp qword [rax + 0x20], rbp
jb 0x18004b7ee
mov r9, qword [rax + 8]
jmp 0x18004b7f2
lea r9, [rax + 8]
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdi, 0xffffffff80000002
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.18000558c
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.180007130
nop
cmp qword [rsp + 0x40], rbp
jb 0x18004b837
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
cmp qword [rsp + 0x70], rbp
jb 0x18004b858
mov rcx, qword [rsp + 0x58]
call fcn.180054958
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x20]
call fcn.1800014d4
cmp qword [rax + 0x20], rbp
jb 0x18004b876
mov r8, qword [rax + 8]
jmp 0x18004b87a
lea r8, [rax + 8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp qword [rsp + 0x40], rbp
jb 0x18004b89b
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x18004b8bc
mov rcx, qword [rsp + 0xf8]
call fcn.180054958
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004b8ed
mov rcx, qword [rsp + 0x148]
call fcn.180054958
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004b91d
mov rcx, qword [rsp + 0x170]
call fcn.180054958
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.180015af0
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004b95a
mov rcx, qword [rsp + 0x120]
call fcn.180054958
mov eax, r14d
jmp 0x18004b979
cmp qword [rsp + 0x138], 8
jb 0x18004b977
mov rcx, qword [rsp + 0x120]
call fcn.180054958
xor eax, eax
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.180055580
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret