Function at 0x4b62e0
Capabilities:
Copy file
Get common file path
Read .ini file

Disassembly:
sub esp, 0xa3c
lea eax, [esp + 0x21c]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5b9260
lea ecx, [esp + 0x224]
push 0x104
lea edx, [esp + 0x228]
push ecx
push edx
push str.CD_TempFolder
push str.Slideshow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5b9260
push 0x50
push str.Save_Quality
push 0x59814c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x220]
push eax
call fcn.004c7a80
mov ecx, dword [esp + 0xa4c]
add esp, 4
xor edi, edi
push edi
push edi
push 0x18b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x4b660f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
mov eax, dword [esp + 0xa54]
lea edx, [esp + 0x434]
push 0
push edx
push 0
push edi
push eax
call fcn.004b1140
lea ecx, [esp + 0x24]
lea edx, [esp + 0x448]
push ecx
push edx
call fcn.004ccca0
lea eax, [esp + 0x658]
push 4
lea ecx, [esp + 0x454]
push eax
push ecx
call fcn.004c93e0
lea edx, [esp + 0x86c]
push 0xc
lea eax, [esp + 0x460]
push edx
push eax
call fcn.004c93e0
lea ecx, [esp + 0x670]
lea edx, [esp + 0x260]
push ecx
push edx
lea eax, [esp + 0x60]
push str._s_s.jpg
push eax
call fcn.004d5ee1
add esp, 0x44
lea ecx, [esp + 0x24]
push ecx
call fcn.004381b0
add esp, 4
cmp eax, 1
jne 0x4b6444
mov esi, eax
lea edx, [esp + 0x63c]
push esi
lea eax, [esp + 0x230]
push edx
push eax
lea ecx, [esp + 0x30]
push str._s_s_d.jpg
push ecx
call fcn.004d5ee1
lea edx, [esp + 0x38]
push edx
call fcn.004381b0
add esp, 0x18
test eax, eax
je 0x4b6444
inc esi
cmp esi, 0x64
jl 0x4b640d
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
test eax, eax
push 0
je 0x4b655f
lea eax, [esp + 0x44]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
push 0
lea eax, [esp + 0x46c]
push 0
push eax
call fcn.004a71a0
mov esi, eax
add esp, 0x40
test esi, esi
je 0x4b64cf
mov eax, dword [esp + 0x10]
cmp eax, 0xa
je 0x4b64c9
cmp eax, 0x32
je 0x4b64c9
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0040b110
add esp, 0x10
test eax, eax
push esi
jne 0x4b64bf
call ebx
push esi
call ebp
jmp 0x4b65ec
call ebx
push esi
call ebp
jmp 0x4b65cc
push esi
call ebx
push esi
call ebp
lea eax, [esp + 0x844]
lea ecx, [esp + 0x22c]
push eax
push ecx
lea edx, [esp + 0x2c]
push str._s_s
push edx
call fcn.004d5ee1
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0xa
je 0x4b651d
cmp eax, 0x32
jne 0x4b65ec
lea eax, [esp + 0x63c]
lea ecx, [esp + 0x22c]
push eax
push ecx
push str._s_s.mpg
jmp 0x4b65a6
lea eax, [esp + 0x63c]
lea ecx, [esp + 0x22c]
push eax
push ecx
lea edx, [esp + 0x2c]
push str._s_s.avi
push edx
call fcn.004d5ee1
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0x32
jne 0x4b65b3
lea eax, [esp + 0x63c]
lea ecx, [esp + 0x22c]
push eax
push ecx
push str._s_s.mpg
jmp 0x4b65a6
lea edx, [esp + 0x44]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
push 0
lea edx, [esp + 0x46c]
push 0xc8
push edx
call fcn.004a71a0
mov esi, eax
add esp, 0x40
test esi, esi
je 0x4b65ec
push esi
call ebx
push esi
call ebp
lea eax, [esp + 0x63c]
lea ecx, [esp + 0x22c]
push eax
push ecx
push str._s_s.jpg
lea edx, [esp + 0x30]
push edx
call fcn.004d5ee1
add esp, 0x10
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0x438]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4b65ec
mov esi, dword [esp + 0xa58]
lea edx, [esp + 0x24]
push edx
push esi
call fcn.004d62f1
push 0x598e0c
push esi
call fcn.004d62f1
add esp, 0x10
mov eax, dword [esp + 0xa54]
push 0
push 0
push 0x18b
push eax
inc edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, eax
jl 0x4b637d
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0xa3c
ret