Function at 0x100342d5
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, 0x10051b46
call fcn.1003b883
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.1001c6ff
add esp, 0xc
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [ebp - 4], ebx
jae 0x10034377
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100343d6
push 0x206
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push ebx
push eax
call fcn.1003c230
add esp, 0xc
push 0x104
lea eax, [ebp + 0x70]
push eax
push esi
push ebx
call fcn.10002306
lea eax, [ebp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100343ca
xor esi, esi
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.10005a6e
mov eax, esi
jmp 0x10034ae0
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x54]
call fcn.10005a4a
cmp dword [ebp - 0x14], ebx
jne 0x100343e2
mov dword [ebp - 0x14], 0x10059690
cmp dword [ebp - 0x18], ebx
je 0x10034ad3
cmp dword [ebp - 0x54], ebx
je 0x10034ad3
cmp edi, ebx
jne 0x100343fd
mov edi, str.rtmessage.png
push ebx
lea ecx, [ebp - 0x7c]
call fcn.1000f4c2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 2
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 3
call fcn.1000f672
push str.title
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000f8d5
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
push dword [ebp - 0x54]
lea ecx, [ebp - 0x34]
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 5
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 6
call fcn.1000f672
push str.content
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.10004b06
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 9
call fcn.1000f672
push str.btnText
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
push edi
lea ecx, [ebp - 0x34]
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xb
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.1000f672
push str.icoName
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
cmp dword [ebp - 0x58], ebx
je 0x100345fa
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xe
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.1000f672
push 0x10059658
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
cmp dword [ebp - 0x5c], ebx
je 0x10034661
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x11
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x12
call fcn.1000f672
push str.param
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
cmp dword [ebp - 0x64], ebx
je 0x100346c8
push dword [ebp - 0x64]
lea ecx, [ebp - 0x34]
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x14
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x15
call fcn.1000f672
push str.wndClass
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x16
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
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.1000f559
push str.showNotAlert
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x17
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f8d5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0x4ac]
call fcn.1000f559
push 0x1005962c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x18
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f8d5
cmp dword [ebp - 0x60], ebx
je 0x10034793
push dword [ebp - 0x60]
lea ecx, [ebp - 0x34]
call fcn.10004b06
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x19
call fcn.1000ab51
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.1000f672
push str.singleton
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1b
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a6e
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.1000f559
push str.fullscreen
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f8d5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0x4bc]
call fcn.1000f559
push str.closeExpired
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f8d5
lea eax, [ebp]
push eax
call fcn.10026764
pop ecx
mov byte [ebp - 4], 0x1e
cmp dword [ebp + 0x4c0], ebx
je 0x1003483a
sub esp, 0x18
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f672
push str.receiptId
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1f
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.1000f8d5
xor eax, eax
push 0x206
mov word [ebp + 0x278], ax
lea eax, [ebp + 0x27a]
push ebx
push eax
call fcn.1003c230
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.1003417f
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1003487f
mov eax, dword [eax + 4]
jmp 0x10034882
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.10005a6e
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10010d78
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0x20
call fcn.10022299
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x22
call fcn.1000585c
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x100348d0
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
push eax
lea eax, [ebp + 0x278]
push eax
call fcn.100023cf
lea eax, [ebp + 0x278]
push eax
call fcn.10003d8f
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x100348f8
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.100041b8
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 0x10034928
lea eax, [ebp + 0x3c]
push esi
push eax
call fcn.100032a3
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x1003496f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
je 0x10034950
call edi
cmp eax, 0x522
jne 0x10034a94
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x1003495c
lea eax, [ebp + 0x3c]
push esi
push ebx
push eax
call fcn.10002f06
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x10034a94
mov edi, dword [ebp - 0x80]
cmp edi, ebx
jne 0x10034982
cmp dword [ebp + 0x4c0], ebx
je 0x10034a5d
push dword [ebp + 0x4c8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100349ab
cmp edi, ebx
je 0x10034a5d
mov dword [edi], 0x3f2
jmp 0x10034a5d
cmp edi, ebx
je 0x100349b9
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 0x4c0], ebx
je 0x10034a5d
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 0x100349e3
mov eax, dword [eax + 4]
jmp 0x100349e6
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.10004403
add esp, 0x10
mov ecx, dword [ebp - 0x84]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x25
call fcn.10005943
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005a6e
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x23
call fcn.10005a6e
lea eax, [ebp]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100013e5
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10034a43
mov eax, dword [eax + 4]
jmp 0x10034a46
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.10005a6e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.10005a6e
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp]
call fcn.1000585c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.1000f850
jmp 0x100343b8
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.10005a6e
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp]
call fcn.1000585c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.1000f850
push ebx
push esi
jmp 0x10034ad6
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.10005a6e
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.1003b874
add ebp, 0x484
leave
ret