Function at 0x18004ebb8
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 [0x1800a1628]
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.18002b060
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 0x18004ed17
mov word [rsp + 0x3a0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3a2]
call fcn.180059db0
mov r9d, 0x104
lea r8, [rsp + 0x3a0]
lea rdx, str.wfchost.exe
xor ecx, ecx
call fcn.180002a48
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r15d
jne 0x18004ecf2
cmp qword [rsp + 0x138], 8
jb 0x18004eceb
mov rcx, qword [rsp + 0x120]
call fcn.180058b34
xor eax, eax
jmp 0x18004f8c5
lea rcx, [rsp + 0x3a0]
call fcn.180058c38
mov r8, rax
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x118]
call fcn.1800076f0
lea rdi, [0x18007cdd0]
cmp rbx, r15
cmovne rdi, rbx
mov rbx, qword [rsp + 0xc8]
cmp rbx, r15
je 0x18004f8ab
cmp rbp, r15
je 0x18004f8ab
lea r15, str.rtmessage.png
test r12, r12
cmovne r15, r12
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.180016754
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.180058c38
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.title
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ede9
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], 8
jb 0x18004ee0e
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
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.180058c38
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.content
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ee97
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov ebp, 8
cmp qword [rsp + 0x70], rbp
jb 0x18004eec0
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
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.180058c38
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.btnText
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ef49
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004ef6d
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
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.180058c38
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.icoName
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004eff7
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov r15d, sendto
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f01d
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
cmp r13, r12
je 0x18004f0cb
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.180058c38
mov r8, rax
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, [0x18007cd94]
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f0ab
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f0cb
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
cmp r14, r12
je 0x18004f181
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.180058c38
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.param
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f15f
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f187
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
jmp 0x18004f187
mov r13d, 7
mov rbx, qword [rsp + 0xe0]
cmp rbx, r12
je 0x18004f23d
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.180058c38
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.wndClass
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f21d
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f23d
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
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.18001684c
mov rbx, rax
lea rdx, str.showNotAlert
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x650]
lea rcx, [rsp + 0x78]
call fcn.18001684c
mov rbx, rax
lea rdx, [0x18007cd64]
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
mov rbx, qword [rsp + 0xd8]
cmp rbx, r12
je 0x18004f374
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.180058c38
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.singleton
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f354
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f374
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
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.18001684c
mov rbx, rax
lea rdx, str.fullscreen
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x670]
lea rcx, [rsp + 0x78]
call fcn.18001684c
mov rbx, rax
lea rdx, str.closeExpired
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
lea rcx, [rsp + 0x168]
call fcn.18003aa40
nop
mov edi, dword [rsp + 0x678]
cmp edi, r12d
je 0x18004f44d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x78]
call fcn.180016918
mov rbx, rax
lea rdx, str.receiptId
lea rcx, [rsp + 0xa0]
call fcn.180017e84
mov rcx, rax
mov rdx, rbx
call fcn.180016ba4
mov word [rsp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x192]
call fcn.180059db0
lea rdx, [rsp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x20]
call fcn.18004e98c
cmp qword [rax + 0x20], rbp
jb 0x18004f494
mov rdx, qword [rax + 8]
jmp 0x18004f498
lea rdx, [rax + 8]
lea rcx, [rsp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x40], rbp
jb 0x18004f4b7
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.180018474
nop
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.180033fac
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f4ed
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
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.180002b14
lea rcx, [rsp + 0x190]
call fcn.180004e44
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.180005498
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.180003be8
mov rbx, rax
cmp rax, r12
jne 0x18004f6c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x18004f5c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x18004f5f0
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], rbp
cmovae rcx, qword [rsp + 0xf8]
mov r8d, r14d
xor edx, edx
call fcn.1800036e4
mov rbx, rax
cmp rax, r12
jne 0x18004f6c8
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 0x18004f623
mov rcx, qword [rsp + 0xf8]
call fcn.180058b34
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004f654
mov rcx, qword [rsp + 0x148]
call fcn.180058b34
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004f684
mov rcx, qword [rsp + 0x170]
call fcn.180058b34
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.180016b0c
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004f6c1
mov rcx, qword [rsp + 0x120]
call fcn.180058b34
xor eax, eax
jmp 0x18004f8c5
cmp rsi, r12
jne 0x18004f6d6
cmp edi, r12d
je 0x18004f7e7
mov edx, dword [rsp + 0x688]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18004f701
cmp rsi, r12
je 0x18004f7e7
mov dword [rsi], 0x3f2
jmp 0x18004f7e7
cmp rsi, r12
je 0x18004f712
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp edi, r12d
je 0x18004f7e7
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.1800014d0
nop
cmp qword [rax + 0x20], rbp
jb 0x18004f73a
mov r9, qword [rax + 8]
jmp 0x18004f73e
lea r9, [rax + 8]
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdi, 0xffffffff80000002
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1800057dc
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1800075d0
nop
cmp qword [rsp + 0x40], rbp
jb 0x18004f783
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
cmp qword [rsp + 0x70], rbp
jb 0x18004f7a4
mov rcx, qword [rsp + 0x58]
call fcn.180058b34
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x20]
call fcn.1800014d0
cmp qword [rax + 0x20], rbp
jb 0x18004f7c2
mov r8, qword [rax + 8]
jmp 0x18004f7c6
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 0x18004f7e7
mov rcx, qword [rsp + 0x28]
call fcn.180058b34
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x18004f808
mov rcx, qword [rsp + 0xf8]
call fcn.180058b34
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004f839
mov rcx, qword [rsp + 0x148]
call fcn.180058b34
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004f869
mov rcx, qword [rsp + 0x170]
call fcn.180058b34
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.180016b0c
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004f8a6
mov rcx, qword [rsp + 0x120]
call fcn.180058b34
mov eax, r14d
jmp 0x18004f8c5
cmp qword [rsp + 0x138], 8
jb 0x18004f8c3
mov rcx, qword [rsp + 0x120]
call fcn.180058b34
xor eax, eax
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.180059760
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret