Function at 0x18004e660
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.18002b2c0
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 0x18004e7bf
mov word [rsp + 0x3a0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3a2]
call fcn.180059f80
mov r9d, 0x104
lea r8, [rsp + 0x3a0]
lea rdx, str.wfchost.exe
xor ecx, ecx
call fcn.180002a40
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r15d
jne 0x18004e79a
cmp qword [rsp + 0x138], 8
jb 0x18004e793
mov rcx, qword [rsp + 0x120]
call fcn.1800018ec
xor eax, eax
jmp 0x18004f36d
lea rcx, [rsp + 0x3a0]
call fcn.180058e14
mov r8, rax
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x118]
call fcn.1800076b4
lea rdi, [0x18007cd80]
cmp rbx, r15
cmovne rdi, rbx
mov rbx, qword [rsp + 0xc8]
cmp rbx, r15
je 0x18004f353
cmp rbp, r15
je 0x18004f353
lea r15, str.rtmessage.png
test r12, r12
cmovne r15, r12
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1800167d4
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.180058e14
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.title
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004e891
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], 8
jb 0x18004e8b6
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
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.180058e14
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.content
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004e93f
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov ebp, 8
cmp qword [rsp + 0x70], rbp
jb 0x18004e968
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
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.180058e14
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.btnText
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004e9f1
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004ea15
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
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.180058e14
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.icoName
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ea9f
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov r15d, sendto
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004eac5
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
cmp r13, r12
je 0x18004eb73
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.180058e14
mov r8, rax
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, [0x18007cd44]
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004eb53
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004eb73
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
cmp r14, r12
je 0x18004ec29
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.180058e14
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.param
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ec07
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004ec2f
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
jmp 0x18004ec2f
mov r13d, 7
mov rbx, qword [rsp + 0xe0]
cmp rbx, r12
je 0x18004ece5
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.180058e14
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.wndClass
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ecc5
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004ece5
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
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.1800168cc
mov rbx, rax
lea rdx, str.showNotAlert
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x650]
lea rcx, [rsp + 0x78]
call fcn.1800168cc
mov rbx, rax
lea rdx, [0x18007cd14]
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
mov rbx, qword [rsp + 0xd8]
cmp rbx, r12
je 0x18004ee1c
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.180058e14
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800076b4
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.singleton
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004edfc
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004ee1c
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
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.1800168cc
mov rbx, rax
lea rdx, str.fullscreen
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x670]
lea rcx, [rsp + 0x78]
call fcn.1800168cc
mov rbx, rax
lea rdx, str.closeExpired
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
lea rcx, [rsp + 0x168]
call fcn.18003acf0
nop
mov edi, dword [rsp + 0x678]
cmp edi, r12d
je 0x18004eef5
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x78]
call fcn.180016998
mov rbx, rax
lea rdx, str.receiptId
lea rcx, [rsp + 0xa0]
call fcn.180017f04
mov rcx, rax
mov rdx, rbx
call fcn.180016c24
mov word [rsp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x192]
call fcn.180059f80
lea rdx, [rsp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x20]
call fcn.18004e434
cmp qword [rax + 0x20], rbp
jb 0x18004ef3c
mov rdx, qword [rax + 8]
jmp 0x18004ef40
lea rdx, [rax + 8]
lea rcx, [rsp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x40], rbp
jb 0x18004ef5f
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.1800184f4
nop
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.1800348a4
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004ef95
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
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.180002b0c
lea rcx, [rsp + 0x190]
call fcn.180004e3c
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.180005490
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.180003be0
mov rbx, rax
cmp rax, r12
jne 0x18004f170
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x18004f069
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x18004f098
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], rbp
cmovae rcx, qword [rsp + 0xf8]
mov r8d, r14d
xor edx, edx
call fcn.1800036dc
mov rbx, rax
cmp rax, r12
jne 0x18004f170
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 0x18004f0cb
mov rcx, qword [rsp + 0xf8]
call fcn.1800018ec
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004f0fc
mov rcx, qword [rsp + 0x148]
call fcn.1800018ec
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004f12c
mov rcx, qword [rsp + 0x170]
call fcn.1800018ec
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.180016b8c
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004f169
mov rcx, qword [rsp + 0x120]
call fcn.1800018ec
xor eax, eax
jmp 0x18004f36d
cmp rsi, r12
jne 0x18004f17e
cmp edi, r12d
je 0x18004f28f
mov edx, dword [rsp + 0x688]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18004f1a9
cmp rsi, r12
je 0x18004f28f
mov dword [rsi], 0x3f2
jmp 0x18004f28f
cmp rsi, r12
je 0x18004f1ba
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp edi, r12d
je 0x18004f28f
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.1800014bc
nop
cmp qword [rax + 0x20], rbp
jb 0x18004f1e2
mov r9, qword [rax + 8]
jmp 0x18004f1e6
lea r9, [rax + 8]
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdi, 0xffffffff80000002
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1800057d4
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.180007594
nop
cmp qword [rsp + 0x40], rbp
jb 0x18004f22b
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
cmp qword [rsp + 0x70], rbp
jb 0x18004f24c
mov rcx, qword [rsp + 0x58]
call fcn.1800018ec
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x20]
call fcn.1800014bc
cmp qword [rax + 0x20], rbp
jb 0x18004f26a
mov r8, qword [rax + 8]
jmp 0x18004f26e
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 0x18004f28f
mov rcx, qword [rsp + 0x28]
call fcn.1800018ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x18004f2b0
mov rcx, qword [rsp + 0xf8]
call fcn.1800018ec
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004f2e1
mov rcx, qword [rsp + 0x148]
call fcn.1800018ec
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004f311
mov rcx, qword [rsp + 0x170]
call fcn.1800018ec
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.180016b8c
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004f34e
mov rcx, qword [rsp + 0x120]
call fcn.1800018ec
mov eax, r14d
jmp 0x18004f36d
cmp qword [rsp + 0x138], 8
jb 0x18004f36b
mov rcx, qword [rsp + 0x120]
call fcn.1800018ec
xor eax, eax
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.180059930
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret