Function at 0x44f5c0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d32bc
push eax
mov dword fs:[0], esp
sub esp, 0x4f4
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0x10], ebx
je 0x44f612
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, ebx
jle 0x44f612
cmp esi, eax
jge 0x44f60a
cmp esi, ebx
jl 0x44f60a
mov eax, dword [ebp + 4]
mov ecx, dword [eax + esi*4]
cmp ecx, ebx
je 0x44f60a
push 1
call fcn.00450570
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x44f5f5
mov eax, dword [ebp + 4]
push eax
call fcn.004bd4c4
push 0x80
call fcn.004bd49b
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], 0x1f
mov dword [ebp + 0x14], 0x40
call fcn.004cf907
mov eax, dword [eax + 0xc]
push 0x4eea
push eax
lea esi, [ebp + 0x3c]
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
mov ecx, esi
call fcn.004c1999
cmp esi, ebx
jne 0x44f663
xor eax, eax
jmp 0x44f666
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
lea ecx, [esp + 0x10]
mov dword [ebp + 0x44], eax
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsFotoCanvas.exe
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x44f826
mov ecx, 0x75
xor eax, eax
lea edi, [esp + 0x330]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
lea eax, [esp + 0x60]
push edx
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x524], ebx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x44f802
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44f802
push 0x1d4
call fcn.004bd49b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44f707
mov ecx, 0x75
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp 0x44f709
xor ebx, ebx
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea esi, [ebx + 0x104]
push 0xc8
push esi
push ebx
mov dword [ebx + 0x1d0], 1
call sub.comdlg32.dll_GetFileTitleA
push 0x2e
push esi
call fcn.004a8830
add esp, 8
test eax, eax
je 0x44f743
mov byte [eax], 0
push ebx
lea ecx, [esp + 0x28]
call fcn.004a4810
push 0xc8
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x514], 1
call fcn.004a49f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x50c], 0
call fcn.004a4830
push 0
push 0
push ebx
call fcn.004736f0
add esp, 0xc
mov dword [ebx + 0x1cc], eax
test ebx, ebx
je 0x44f7f8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x44f7e8
add eax, dword [ebp + 0x14]
lea edx, [eax*4 + 4]
push edx
call fcn.004bd49b
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x18], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call fcn.004bd4c4
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, ecx
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4], ebx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x38]
test eax, eax
jne 0x44f802
mov dword [ebp + 0x38], ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x4fc]
mov dword [esp + 0x50c], 0xffffffff
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsPELite.exe
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f9de
mov ecx, 0x75
lea edi, [esp + 0x330]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x60]
push ecx
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x524], 2
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44f9ba
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44f9ba
push 0x1d4
call fcn.004bd49b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44f8bf
mov ecx, 0x75
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp 0x44f8c1
xor ebx, ebx
lea edx, [esp + 0x60]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea esi, [ebx + 0x104]
push 0xc8
push esi
push ebx
mov dword [ebx + 0x1d0], 1
call sub.comdlg32.dll_GetFileTitleA
push 0x2e
push esi
call fcn.004a8830
add esp, 8
test eax, eax
je 0x44f8fb
mov byte [eax], 0
push ebx
lea ecx, [esp + 0x28]
call fcn.004a4810
push 0xc8
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x514], 3
call fcn.004a49f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x50c], 2
call fcn.004a4830
push 0
push 0
push ebx
call fcn.004736f0
add esp, 0xc
mov dword [ebx + 0x1cc], eax
test ebx, ebx
je 0x44f9b0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x44f9a0
add eax, dword [ebp + 0x14]
lea edx, [eax*4 + 4]
push edx
call fcn.004bd49b
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x18], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call fcn.004bd4c4
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, ecx
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [eax + edx*4], ebx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x38]
test eax, eax
jne 0x44f9ba
mov dword [ebp + 0x38], ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x4fc]
mov dword [esp + 0x50c], 0xffffffff
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov al, byte [0x4f55a8]
mov ecx, 0x40
mov byte [esp + 0x22c], al
xor eax, eax
lea edi, [esp + 0x22d]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x20019
stosw word es:[edi], ax
push 0
push str.SoftwareACD_SystemsACDSeeEditors
push DrawStatusTextA
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44fbf6
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x22c]
push edx
push eax
push 0
push 0
mov esi, 0x104
push 0
push ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dl, byte [0x4f55a8]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], dl
mov byte [esp + 0x164], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x165]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x60]
push edx
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x174]
push ecx
push edx
push 0
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], 0xc8
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x44fbeb
test eax, eax
jne 0x44fb9e
mov al, byte [esp + 0x164]
test al, al
je 0x44fb9e
push 0x1d4
call fcn.004bd49b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44fafa
mov ecx, 0x75
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp 0x44fafc
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x60]
push ecx
push ebx
call esi
lea edx, [esp + 0x164]
lea eax, [ebx + 0x104]
push edx
push eax
call esi
push 0
push 0
push ebx
call fcn.004736f0
add esp, 0xc
mov dword [ebx + 0x1cc], eax
test ebx, ebx
je 0x44fb9e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x44fb8e
add eax, dword [ebp + 0x14]
lea edx, [eax*4 + 4]
push edx
call fcn.004bd49b
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x24], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call fcn.004bd4c4
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
add esp, 8
add eax, edx
mov dword [ebp + 4], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x60]
push edx
push ecx
push 0
lea edx, [esp + 0x20]
push 0
lea ecx, [esp + 0x174]
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
push edx
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x34], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x44fac3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
test eax, eax
jle 0x44fc04
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
jmp 0x44fc06
xor eax, eax
mov ecx, ebp
mov dword [ebp + 0x38], eax
call fcn.0044fe10
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
jle 0x44fc65
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp esi, eax
jge 0x44fc2f
test esi, esi
jl 0x44fc2f
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
jmp 0x44fc31
xor eax, eax
lea ecx, [esp + 0x22c]
push ecx
push eax
call edi
test eax, eax
jne 0x44fc5d
cmp esi, dword [ebp + 8]
jge 0x44fc51
test esi, esi
jl 0x44fc51
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
jmp 0x44fc53
xor eax, eax
mov ecx, ebp
mov dword [ebp + 0x38], eax
call fcn.0044fe10
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
jl 0x44fc23
mov eax, dword [ebp + 8]
cmp eax, 2
jl 0x44fc81
push 0x4505b0
push 4
push eax
mov eax, dword [ebp + 4]
push eax
call fcn.004a7ee0
add esp, 0x10
mov ecx, ebp
call fcn.0044fe10
mov ecx, ebp
call fcn.0044fe10
mov ecx, dword [esp + 0x504]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x500
ret