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

Disassembly:
mov eax, 0x2f04
call fcn.004d6340
push ebx
push ebp
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x4ac]
push 0x104
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x2f20]
lea eax, [esp + 0x6b8]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x54]
push edx
mov edx, dword [esp + 0x2f28]
lea ecx, [esp + 0x7c]
push eax
push ecx
xor ebx, ebx
push edi
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], ebx
call fcn.004b53b0
add esp, 0x20
test eax, eax
je 0x4b6ff3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x5b9260
push 0x280
push 0x599dc4
push str.VideoExport
call esi
push 0x5b9260
push 0x1e0
push 0x599dac
push str.VideoExport
mov dword [esp + 0x8c], eax
call esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x17c]
cmp eax, ebx
je 0x4b6bd0
push 0x5b9260
lea eax, [esp + 0x24]
push str.Viewing
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x258]
push edx
push eax
call fcn.004ca5f0
mov eax, dword [esp + 0x1b0]
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x4b6b3c
mov dword [esp + 0x20], 2
mov eax, dword [esp + 0x1b0]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4b6b61
mov eax, dword [esp + 0x1ac]
cmp eax, 2
jne 0x4b6bb4
mov dword [esp + 0x10], 1
jmp 0x4b6bd0
cmp eax, 2
jne 0x4b6b7c
mov eax, dword [esp + 0x1ac]
cmp eax, 2
jne 0x4b6bc3
mov dword [esp + 0x10], 3
jmp 0x4b6bd0
cmp eax, 1
jne 0x4b6bd0
mov eax, dword [esp + 0x1ac]
cmp eax, 1
jne 0x4b6b97
mov dword [esp + 0x10], 9
jmp 0x4b6bd0
cmp eax, ebx
jne 0x4b6ba5
mov dword [esp + 0x10], 4
jmp 0x4b6bd0
cmp eax, 2
jne 0x4b6bd0
mov dword [esp + 0x10], 6
jmp 0x4b6bd0
cmp eax, 1
jne 0x4b6bd0
mov dword [esp + 0x10], 7
jmp 0x4b6bd0
cmp eax, 1
jne 0x4b6bd0
mov dword [esp + 0x10], 8
mov ebp, dword [esp + 0x2f20]
push ebp
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebp
call fcn.004c9990
push str.iv_video_
push ebp
call fcn.004d62f1
add esp, 0xc
push 0x5b9260
push 0x104
push ebp
push ebp
push str.TempFolder
push str.VideoExport
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebp
call fcn.004c7a80
mov ecx, dword [esp + 0x2f2c]
add esp, 4
push str.VideoExportFrameProgress_W
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4b6c4d
mov ecx, dword [esp + 0x2f18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x4c]
push ebx
push edx
push ecx
call eax
add esp, 0x18
mov dword [esp + 0x14], eax
push ebx
push ebx
push 0x18b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
mov dword [esp + 0x38], edi
jg 0x4b6d3c
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4b6c78
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x4b6ff3
mov esi, dword [esp + 0x2f24]
push str.Config.ini
push ebp
push str._s_s
push esi
call fcn.004d5ee1
push edi
lea edx, [esp + 0x2b8]
push 0x5985ac
push edx
call fcn.004d5ee1
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x1c
lea eax, [esp + 0x2a4]
push esi
push eax
push 0x599738
push 0x5a4a9c
call edi
push esi
call fcn.004a56d0
add esp, 4
lea ecx, [esp + 0x4ac]
push esi
push ecx
push str.Audio
push 0x5a4a9c
call edi
fld dword [esp + 0x178]
fmul dword [0x55270c]
call fcn.004d6118
push eax
lea edx, [esp + 0x2a8]
push 0x5985ac
push edx
call fcn.004d5ee1
add esp, 0xc
lea eax, [esp + 0x2a4]
push esi
push eax
push str.TimePerImage
push 0x5a4a9c
call edi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f04
ret
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2f1c]
lea edx, [esp + 0x2a4]
push 0
push edx
push 0
push ebx
push eax
call fcn.004b1140
mov esi, dword [esp + 0x28]
add esp, 0x14
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b6da5
lea ecx, [ebx + 1]
push edi
push ecx
lea edx, [esp + 0xb0c]
push str.Processing_file___d____d_
push edx
call fcn.004d5ee1
add esp, 0x10
lea eax, [esp + 0xb04]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x2a4]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea eax, [esp + 0x50]
push 0
lea ecx, [esp + 0x88]
push eax
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
push 0
lea ecx, [esp + 0x2dc]
push 0
push ecx
call fcn.004a71a0
mov edi, eax
xor eax, eax
add esp, 0x40
cmp edi, eax
je 0x4b6fbc
mov ecx, dword [esp + 0x17c]
mov dword [esp + 0x3c], eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
je 0x4b6e2d
push eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push edi
call fcn.004c5070
add esp, 0x18
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.004b67d0
add esp, 8
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x17c]
test eax, eax
je 0x4b6f5c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
push 0x40590000
push 0
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push 0
push 0xfffffc19
lea eax, [ebx + 1]
push edx
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x6e4]
push eax
push ecx
lea eax, [esp + 0x2dc]
push edx
push eax
lea ecx, [esp + 0xf54]
push 0x1000
push ecx
mov dword [esp + 0x70], 0
call fcn.004b7220
lea edx, [esp + 0x98]
push esi
push edx
call fcn.004c85c0
mov edx, dword [esp + 0x94]
add esp, 0x50
lea eax, [esp + 0x28]
lea ecx, [esp + 0x248]
push 0
push 0
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x1bc]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x90]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xf4c]
push edx
push esi
call fcn.00418430
mov edi, eax
add esp, 0x40
test edi, edi
je 0x4b6f5c
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4b6f5c
test esi, esi
je 0x4b6f5a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, edi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x8bc]
lea edi, [eax + 1]
push edi
push ebp
push str._simage_06d.jpg
push ecx
call fcn.004d5ee1
push 1
push 0x5a
lea edx, [esp + 0x8d4]
push esi
push edx
call fcn.0040b110
add esp, 0x20
test eax, eax
je 0x4b6f94
mov dword [esp + 0x18], edi
test esi, esi
je 0x4b6fa6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x4b6d38
jmp 0x4b6c6d
cmp word [esp + 0x4ac], ax
jne 0x4b6faa
mov eax, dword [esp + 0x30]
cmp eax, 0x1a
je 0x4b6fd9
cmp eax, 0x22
je 0x4b6fd9
cmp eax, 0x33
jne 0x4b6faa
lea eax, [esp + 0x2a4]
lea ecx, [esp + 0x4ac]
push eax
push ecx
call fcn.004d631b
add esp, 8
jmp 0x4b6faa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2f04
ret