Function at 0x18004f12c
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 [0x1800a1658]
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.18002b054
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 0x18004f28b
mov word [rsp + 0x3a0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3a2]
call fcn.18005a150
mov r9d, 0x104
lea r8, [rsp + 0x3a0]
lea rdx, str.wfchost.exe
xor ecx, ecx
call fcn.180002ab4
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, r15d
jne 0x18004f266
cmp qword [rsp + 0x138], 8
jb 0x18004f25f
mov rcx, qword [rsp + 0x120]
call fcn.180058ed8
xor eax, eax
jmp 0x18004fe39
lea rcx, [rsp + 0x3a0]
call fcn.180058fdc
mov r8, rax
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x118]
call fcn.180007618
lea rdi, [0x18007cdc0]
cmp rbx, r15
cmovne rdi, rbx
mov rbx, qword [rsp + 0xc8]
cmp rbx, r15
je 0x18004fe1f
cmp rbp, r15
je 0x18004fe1f
lea r15, str.rtmessage.png
test r12, r12
cmovne r15, r12
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.180016640
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.180058fdc
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.title
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f35d
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], 8
jb 0x18004f382
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
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.180058fdc
mov r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.content
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f40b
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
mov ebp, 8
cmp qword [rsp + 0x70], rbp
jb 0x18004f434
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
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.180058fdc
mov r8, rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.btnText
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f4bd
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], sendto
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f4e1
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
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.180058fdc
mov r8, rax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.icoName
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f56b
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov r15d, sendto
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f591
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
cmp r13, r12
je 0x18004f63f
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.180058fdc
mov r8, rax
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, [0x18007cd84]
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f61f
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f63f
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
cmp r14, r12
je 0x18004f6f5
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.180058fdc
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.param
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f6d3
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f6fb
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
jmp 0x18004f6fb
mov r13d, 7
mov rbx, qword [rsp + 0xe0]
cmp rbx, r12
je 0x18004f7b1
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.180058fdc
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.wndClass
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f791
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f7b1
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
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.180016738
mov rbx, rax
lea rdx, str.showNotAlert
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x650]
lea rcx, [rsp + 0x78]
call fcn.180016738
mov rbx, rax
lea rdx, [0x18007cd54]
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
mov rbx, qword [rsp + 0xd8]
cmp rbx, r12
je 0x18004f8e8
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.180058fdc
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180007618
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.singleton
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004f8c8
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], r12b
cmp qword [rsp + 0x70], rbp
jb 0x18004f8e8
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
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.180016738
mov rbx, rax
lea rdx, str.fullscreen
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
lea r11, [rsp + 0x78]
mov qword [rsp + 0x48], r11
mov edx, dword [rsp + 0x670]
lea rcx, [rsp + 0x78]
call fcn.180016738
mov rbx, rax
lea rdx, str.closeExpired
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
lea rcx, [rsp + 0x168]
call fcn.18004ee70
nop
mov edi, dword [rsp + 0x678]
cmp edi, r12d
je 0x18004f9c1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x78]
call fcn.180016804
mov rbx, rax
lea rdx, str.receiptId
lea rcx, [rsp + 0xa0]
call fcn.180017d70
mov rcx, rax
mov rdx, rbx
call fcn.180016a90
mov word [rsp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x192]
call fcn.18005a150
lea rdx, [rsp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x20]
call fcn.18004ef00
cmp qword [rax + 0x20], rbp
jb 0x18004fa08
mov rdx, qword [rax + 8]
jmp 0x18004fa0c
lea rdx, [rax + 8]
lea rcx, [rsp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x40], rbp
jb 0x18004fa2b
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.180018360
nop
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.18003439c
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18004fa61
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
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.180002b80
lea rcx, [rsp + 0x190]
call fcn.180004eb0
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.180005488
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.180003c54
mov rbx, rax
cmp rax, r12
jne 0x18004fc3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x18004fb35
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x18004fb64
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], rbp
cmovae rcx, qword [rsp + 0xf8]
mov r8d, r14d
xor edx, edx
call fcn.180003750
mov rbx, rax
cmp rax, r12
jne 0x18004fc3c
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 0x18004fb97
mov rcx, qword [rsp + 0xf8]
call fcn.180058ed8
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004fbc8
mov rcx, qword [rsp + 0x148]
call fcn.180058ed8
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004fbf8
mov rcx, qword [rsp + 0x170]
call fcn.180058ed8
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.1800169f8
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004fc35
mov rcx, qword [rsp + 0x120]
call fcn.180058ed8
xor eax, eax
jmp 0x18004fe39
cmp rsi, r12
jne 0x18004fc4a
cmp edi, r12d
je 0x18004fd5b
mov edx, dword [rsp + 0x688]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18004fc75
cmp rsi, r12
je 0x18004fd5b
mov dword [rsi], 0x3f2
jmp 0x18004fd5b
cmp rsi, r12
je 0x18004fc86
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp edi, r12d
je 0x18004fd5b
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x50]
call fcn.1800014c0
nop
cmp qword [rax + 0x20], rbp
jb 0x18004fcae
mov r9, qword [rax + 8]
jmp 0x18004fcb2
lea r9, [rax + 8]
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdi, 0xffffffff80000002
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1800057cc
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1800074f8
nop
cmp qword [rsp + 0x40], rbp
jb 0x18004fcf7
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], r12w
cmp qword [rsp + 0x70], rbp
jb 0x18004fd18
mov rcx, qword [rsp + 0x58]
call fcn.180058ed8
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x20]
call fcn.1800014c0
cmp qword [rax + 0x20], rbp
jb 0x18004fd36
mov r8, qword [rax + 8]
jmp 0x18004fd3a
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 0x18004fd5b
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x110], rbp
jb 0x18004fd7c
mov rcx, qword [rsp + 0xf8]
call fcn.180058ed8
mov qword [rsp + 0x110], r13
mov qword [rsp + 0x108], r12
mov word [rsp + 0xf8], r12w
cmp qword [rsp + 0x160], 0x10
jb 0x18004fdad
mov rcx, qword [rsp + 0x148]
call fcn.180058ed8
mov qword [rsp + 0x160], r15
mov qword [rsp + 0x158], r12
mov byte [rsp + 0x148], r12b
cmp qword [rsp + 0x188], 0x10
jb 0x18004fddd
mov rcx, qword [rsp + 0x170]
call fcn.180058ed8
mov qword [rsp + 0x188], r15
mov qword [rsp + 0x180], r12
mov byte [rsp + 0x170], r12b
lea rcx, [rsp + 0xa0]
call fcn.1800169f8
nop
cmp qword [rsp + 0x138], rbp
jb 0x18004fe1a
mov rcx, qword [rsp + 0x120]
call fcn.180058ed8
mov eax, r14d
jmp 0x18004fe39
cmp qword [rsp + 0x138], 8
jb 0x18004fe37
mov rcx, qword [rsp + 0x120]
call fcn.180058ed8
xor eax, eax
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.180059b00
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret