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

Disassembly:
push ebp
sub esp, 0x480
lea ebp, [esp - 4]
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp + 0x480], eax
push 0x78
mov eax, 0x10051af3
call fcn.1003b833
mov eax, dword [ebp + 0x48c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x490]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x498]
mov edi, dword [ebp + 0x494]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x49c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x4a0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x4a4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x4b0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x4b4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x4c4]
mov esi, str.wfchost.exe
push esi
mov dword [ebp - 0x84], eax
xor ebx, ebx
lea eax, [ebp + 0x54]
push ebx
push eax
call fcn.1001c794
add esp, 0xc
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [ebp - 4], ebx
jae 0x10034442
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100344a1
push 0x206
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push ebx
push eax
call fcn.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x70]
push eax
push esi
push ebx
call fcn.100022e2
lea eax, [ebp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10034495
xor esi, esi
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.10005a26
mov eax, esi
jmp 0x10034bab
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x54]
call fcn.10005a02
cmp dword [ebp - 0x14], ebx
jne 0x100344ad
mov dword [ebp - 0x14], 0x10059690
cmp dword [ebp - 0x18], ebx
je 0x10034b9e
cmp dword [ebp - 0x54], ebx
je 0x10034b9e
cmp edi, ebx
jne 0x100344c8
mov edi, str.rtmessage.png
push ebx
lea ecx, [ebp - 0x7c]
call fcn.1000f564
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 2
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 3
call fcn.1000f714
push str.title
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000f977
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
push dword [ebp - 0x54]
lea ecx, [ebp - 0x34]
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 5
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 6
call fcn.1000f714
push str.content
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.10004aec
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 9
call fcn.1000f714
push str.btnText
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
push edi
lea ecx, [ebp - 0x34]
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xb
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.1000f714
push str.icoName
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
cmp dword [ebp - 0x58], ebx
je 0x100346c5
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xe
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.1000f714
push 0x10059658
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
cmp dword [ebp - 0x5c], ebx
je 0x1003472c
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x11
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x12
call fcn.1000f714
push str.param
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
cmp dword [ebp - 0x64], ebx
je 0x10034793
push dword [ebp - 0x64]
lea ecx, [ebp - 0x34]
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x14
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x15
call fcn.1000f714
push str.wndClass
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x16
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
xor eax, eax
cmp dword [ebp + 0x4a8], ebx
setne al
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f5fb
push str.showNotAlert
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x17
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f977
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0x4ac]
call fcn.1000f5fb
push 0x1005962c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x18
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f977
cmp dword [ebp - 0x60], ebx
je 0x1003485e
push dword [ebp - 0x60]
lea ecx, [ebp - 0x34]
call fcn.10004aec
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x19
call fcn.1000abb8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.1000f714
push str.singleton
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1b
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a26
xor eax, eax
cmp dword [ebp + 0x4b8], ebx
setne al
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f5fb
push str.fullscreen
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f977
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0x4bc]
call fcn.1000f5fb
push str.closeExpired
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f977
lea eax, [ebp]
push eax
call fcn.1002674f
pop ecx
mov byte [ebp - 4], 0x1e
cmp dword [ebp + 0x4c0], ebx
je 0x10034905
sub esp, 0x18
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f714
push str.receiptId
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1f
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.1000f977
xor eax, eax
push 0x206
mov word [ebp + 0x278], ax
lea eax, [ebp + 0x27a]
push ebx
push eax
call fcn.1003c1e0
add esp, 0xc
lea eax, [ebp + 0x278]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x50]
push eax
call fcn.1003424a
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1003494a
mov eax, dword [eax + 4]
jmp 0x1003494d
add eax, 4
push eax
lea eax, [ebp + 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005a26
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10010e1a
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0x20
call fcn.100222f1
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x22
call fcn.10005814
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x1003499b
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
push eax
lea eax, [ebp + 0x278]
push eax
call fcn.100023ab
lea eax, [ebp + 0x278]
push eax
call fcn.10003d6b
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x100349c3
lea eax, [ebp + 0x58]
lea ecx, [ebp + 0x278]
push ecx
push eax
lea eax, [ebp + 0x38]
push str.__ls___common__ls
push eax
call fcn.10004194
add esp, 0x10
push ebx
mov byte [ebp - 4], 0x23
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x100349f3
lea eax, [ebp + 0x3c]
push esi
push eax
call fcn.1000327f
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x10034a3a
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
je 0x10034a1b
call edi
cmp eax, 0x522
jne 0x10034b5f
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x10034a27
lea eax, [ebp + 0x3c]
push esi
push ebx
push eax
call fcn.10002ee2
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x10034b5f
mov edi, dword [ebp - 0x80]
cmp edi, ebx
jne 0x10034a4d
cmp dword [ebp + 0x4c0], ebx
je 0x10034b28
push dword [ebp + 0x4c8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10034a76
cmp edi, ebx
je 0x10034b28
mov dword [edi], 0x3f2
jmp 0x10034b28
cmp edi, ebx
je 0x10034a84
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 0x4c0], ebx
je 0x10034b28
lea eax, [ebp]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100013e5
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0x24
jb 0x10034aae
mov eax, dword [eax + 4]
jmp 0x10034ab1
add eax, 4
push eax
push str.Softwareprojonepodlp_smpcache_
mov edi, reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.100043df
add esp, 0x10
mov ecx, dword [ebp - 0x84]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x25
call fcn.100058fb
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005a26
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x23
call fcn.10005a26
lea eax, [ebp]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100013e5
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10034b0e
mov eax, dword [eax + 4]
jmp 0x10034b11
add eax, 4
push eax
push str.Softwareprojonepodlp_smpcache_
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005a26
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.10005a26
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp]
call fcn.10005814
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.1000f8f2
jmp 0x10034483
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ShowClientNotify_failed:
call edi
push dword [ebp - 0x18]
call edi
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.10005a26
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp]
call fcn.10005814
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.1000f8f2
push ebx
push esi
jmp 0x10034ba1
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.10005a26
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x480]
xor ecx, ebp
call fcn.1003b824
add ebp, 0x484
leave
ret