Function at 0x10032f04
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 [0x1006c144]
xor eax, ebp
mov dword [ebp + 0x480], eax
push 0x78
mov eax, 0x100506de
call fcn.1003a593
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.1001c660
add esp, 0xc
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [ebp - 4], ebx
jae 0x10032fa6
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10033005
push 0x206
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push ebx
push eax
call fcn.1003af40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x70]
push eax
push esi
push ebx
call fcn.10002287
lea eax, [ebp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10032ff9
xor esi, esi
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.10005a9d
mov eax, esi
jmp 0x1003370f
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x54]
call fcn.10005a79
cmp dword [ebp - 0x14], ebx
jne 0x10033011
mov dword [ebp - 0x14], 0x100585b8
cmp dword [ebp - 0x18], ebx
je 0x10033702
cmp dword [ebp - 0x54], ebx
je 0x10033702
cmp edi, ebx
jne 0x1003302c
mov edi, str.rtmessage.png
push ebx
lea ecx, [ebp - 0x7c]
call fcn.1000f4f5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 2
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 3
call fcn.1000f6a5
push str.title
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000f908
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
push dword [ebp - 0x54]
lea ecx, [ebp - 0x34]
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 5
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 6
call fcn.1000f6a5
push str.content
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.10004b35
mov byte [ebp - 4], 8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 9
call fcn.1000f6a5
push str.btnText
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
push edi
lea ecx, [ebp - 0x34]
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xb
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.1000f6a5
push str.icoName
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
cmp dword [ebp - 0x58], ebx
je 0x10033229
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xe
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.1000f6a5
push 0x10058580
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
cmp dword [ebp - 0x5c], ebx
je 0x10033290
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x11
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x12
call fcn.1000f6a5
push str.param
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
cmp dword [ebp - 0x64], ebx
je 0x100332f7
push dword [ebp - 0x64]
lea ecx, [ebp - 0x34]
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x14
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x15
call fcn.1000f6a5
push str.wndClass
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x16
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
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.1000f58c
push str.showNotAlert
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x17
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f908
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0x4ac]
call fcn.1000f58c
push 0x10058554
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x18
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f908
cmp dword [ebp - 0x60], ebx
je 0x100333c2
push dword [ebp - 0x60]
lea ecx, [ebp - 0x34]
call fcn.10004b35
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x19
call fcn.1000ab65
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.1000f6a5
push str.singleton
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1b
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.1000f908
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10005a9d
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.1000f58c
push str.fullscreen
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f908
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 0x4bc]
call fcn.1000f58c
push str.closeExpired
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1d
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000f908
lea eax, [ebp]
push eax
call fcn.10026359
pop ecx
mov byte [ebp - 4], 0x1e
cmp dword [ebp + 0x4c0], ebx
je 0x10033469
sub esp, 0x18
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.1000f6a5
push str.receiptId
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1f
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.1000f908
xor eax, eax
push 0x206
mov word [ebp + 0x278], ax
lea eax, [ebp + 0x27a]
push ebx
push eax
call fcn.1003af40
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.10032dae
cmp dword [eax + 0x18], 8
pop ecx
jb 0x100334ae
mov eax, dword [eax + 4]
jmp 0x100334b1
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.10005a9d
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10010dab
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0x20
call fcn.10021eda
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x22
call fcn.1000588b
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x100334ff
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
push eax
lea eax, [ebp + 0x278]
push eax
call fcn.10002350
lea eax, [ebp + 0x278]
push eax
call fcn.10003d80
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
jae 0x10033527
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.100041e7
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 0x10033557
lea eax, [ebp + 0x3c]
push esi
push eax
call fcn.1000326b
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x1003359e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 5
je 0x1003357f
call edi
cmp eax, 0x522
jne 0x100336c3
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x1003358b
lea eax, [ebp + 0x3c]
push esi
push ebx
push eax
call fcn.10002e75
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x100336c3
mov edi, dword [ebp - 0x80]
cmp edi, ebx
jne 0x100335b1
cmp dword [ebp + 0x4c0], ebx
je 0x1003368c
push dword [ebp + 0x4c8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100335da
cmp edi, ebx
je 0x1003368c
mov dword [edi], 0x3f2
jmp 0x1003368c
cmp edi, ebx
je 0x100335e8
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 0x4c0], ebx
je 0x1003368c
lea eax, [ebp]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100013c8
pop ecx
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0x24
jb 0x10033612
mov eax, dword [eax + 4]
jmp 0x10033615
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.10004432
add esp, 0x10
mov ecx, dword [ebp - 0x84]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x25
call fcn.10005972
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.10005a9d
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x23
call fcn.10005a9d
lea eax, [ebp]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100013c8
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x10033672
mov eax, dword [eax + 4]
jmp 0x10033675
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.10005a9d
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.10005a9d
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp]
call fcn.1000588b
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.1000f883
jmp 0x10032fe7
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.10005a9d
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.1000588b
push ebx
push esi
lea ecx, [ebp]
call fcn.1000588b
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.1000f883
push ebx
push esi
jmp 0x10033705
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.10005a9d
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.1003a584
add ebp, 0x484
leave
ret