Function at 0x4d5150
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd278
mov eax, dword fs:[0]
push eax
mov eax, 0x18d0
call fcn.00587f10
mov eax, dword [0x629688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x86c], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x181c], eax
je 0x4d51b7
push str._info_
push str.SWTAG
push str._s:__s:_Either_ISO_Path_was_not_found_or_could_not_be_created._No_ISO_tag_files_will_be_generated._n
call fcn.004d4900
add esp, 0xc
mov eax, 0x104
jmp 0x4d59c5
test eax, eax
je 0x4d51cb
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d51c0
sub ecx, edx
jne 0x4d51d2
mov byte [edi + 0x877], 1
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4d51eb
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d51e0
sub ecx, edx
jne 0x4d51f2
mov byte [edi + 0x877], 1
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4d5211
mov ecx, ebx
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5200
mov byte [ebp - 0x1815], al
sub ecx, edx
jne 0x4d5218
mov byte [ebp - 0x1815], 1
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [edi], eax
lea eax, [ebp - 0x810]
push 0
push eax
mov byte [edi + 0x86d], 0
call fcn.005877c0
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.005877c0
add esp, 0x14
push esi
push ecx
mov esi, 0x400
mov edx, esi
lea ecx, [ebp - 0x410]
call fcn.004010b0
cmp byte [ebp - 0x1815], 0
jne 0x4d52d8
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0x410]
call fcn.00401040
test eax, eax
js 0x4d52a3
push ecx
push 0x5ed158
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0x410]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0x410]
call fcn.00401040
test eax, eax
js 0x4d52d8
push ecx
push ebx
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0x410]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
push str.regid.1986_12.com.adobe
push ecx
mov edx, esi
lea ecx, [ebp - 0xc10]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0xc10]
call fcn.00401040
test eax, eax
js 0x4d5325
push ecx
push 0x5f5024
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0xc10]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0xc10]
call fcn.00401040
test eax, eax
js 0x4d535c
push ecx
push dword [ebp + 0xc]
mov edx, esi
sub edx, dword [ebp - 0x1814]
push ecx
lea ecx, [ebp - 0xc10]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0xc10]
call fcn.00401040
test eax, eax
js 0x4d5395
push ecx
push str..swidtag
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0xc10]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
push str.regid.1986_12.com.adobe
push ecx
mov edx, esi
lea ecx, [ebp - 0x810]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0x810]
call fcn.00401040
test eax, eax
js 0x4d53e2
push ecx
push 0x5f5024
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0x810]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0x810]
call fcn.00401040
test eax, eax
js 0x4d541d
push ecx
lea eax, [ebp - 0x410]
push eax
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0x810]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [ebp - 0x810]
call fcn.00401040
test eax, eax
js 0x4d5456
push ecx
push str..swidtag
push ecx
mov edx, esi
sub edx, dword [ebp - 0x1814]
lea ecx, [ebp - 0x810]
add ecx, dword [ebp - 0x1814]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
lea ebx, [edi + 0x404]
push eax
mov edx, esi
mov ecx, ebx
call fcn.00401040
test eax, eax
js 0x4d548a
mov eax, dword [ebp - 0x1814]
push ecx
push 0x5e0864
push ecx
mov edx, esi
sub edx, eax
lea ecx, [ebx + eax]
call fcn.004010b0
push ecx
push ebx
push ecx
mov edx, esi
lea ecx, [edi + 4]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
lea ecx, [edi + 4]
call fcn.00401040
test eax, eax
js 0x4d54ca
push ecx
lea eax, [ebp - 0xc10]
push eax
mov eax, dword [ebp - 0x1814]
push ecx
lea ecx, [eax + 4]
mov edx, esi
sub edx, eax
add ecx, edi
call fcn.004010b0
push ecx
lea eax, [ebp - 0x1814]
push eax
mov edx, esi
mov ecx, ebx
call fcn.00401040
test eax, eax
js 0x4d54fa
push ecx
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp - 0x1814]
sub esi, eax
push ecx
lea ecx, [ebx + eax]
mov edx, esi
call fcn.004010b0
push 0x400
lea eax, [ebp - 0x1810]
push 0
push eax
mov word [edi + 0x86e], 0
call fcn.005877c0
add esp, 0xc
lea eax, [ebp - 0x1810]
push 0x400
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d55ee
cmp byte [ebp - 0x1815], 0
jne 0x4d55f5
push 0x400
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.005877c0
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x400
push eax
push 0xffffffffffffffff
lea esi, [edi + 4]
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d55f5
push esi
push str._info_
push str.SWTAG
push str._s:__s:_Old_File__s_file_n
call fcn.004d4900
push ebx
push str._info_
push str.SWTAG
push str._s:__s:_New_File__s_file_n
call fcn.004d4900
push ebx
push esi
call fcn.0058f062
add esp, 0x28
test eax, eax
je 0x4d55ee
push str._info_
push str.SWTAG
push str._s:__s:_Rename_failed_n
call fcn.004d4900
add esp, 0xc
mov ecx, edi
call fcn.004d9830
push 0x17
push str.regid.1986_12.com.adobe
lea ecx, [edi + 0x9e4]
call fcn.004082e0
mov esi, dword [ebp - 0x181c]
mov dword [ebp - 0x18c8], 0xf
cmp byte [esi], 0
mov dword [ebp - 0x18cc], 0
mov byte [ebp - 0x18dc], 0
jne 0x4d5631
xor ecx, ecx
jmp 0x4d563f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5636
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x18dc]
call fcn.004082e0
lea ecx, [edi + 0x99c]
lea eax, [ebp - 0x18dc]
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x4d566d
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18c8], 0x10
jb 0x4d568b
push dword [ebp - 0x18dc]
call fcn.0058603b
add esp, 4
cmp byte [ebp - 0x410], 0
mov dword [ebp - 0x1838], 0xf
mov dword [ebp - 0x183c], 0
mov byte [ebp - 0x184c], 0
jne 0x4d56b3
xor ecx, ecx
jmp 0x4d56c9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d56c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x184c]
call fcn.004082e0
lea ecx, [edi + 0x9cc]
lea eax, [ebp - 0x184c]
mov dword [ebp - 4], 1
cmp ecx, eax
je 0x4d56fd
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1838], 0x10
jb 0x4d571b
push dword [ebp - 0x184c]
call fcn.0058603b
add esp, 4
xor ecx, ecx
cmp byte [0x5e271c], cl
mov esi, 0x1a
mov eax, esi
cmove eax, ecx
push eax
push 0x5e271c
lea ecx, [ebp - 0x187c]
mov dword [ebp - 0x1868], 0xf
mov dword [ebp - 0x186c], 0
mov byte [ebp - 0x187c], 0
call fcn.004082e0
lea ecx, [edi + 0x87c]
lea eax, [ebp - 0x187c]
mov dword [ebp - 4], 2
cmp ecx, eax
je 0x4d577a
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1868], 0x10
jb 0x4d5798
push dword [ebp - 0x187c]
call fcn.0058603b
add esp, 4
push 0x17
push str.regid.1986_12.com.adobe
lea ecx, [ebp - 0x18ac]
mov dword [ebp - 0x1898], 0xf
mov dword [ebp - 0x189c], 0
mov byte [ebp - 0x18ac], 0
call fcn.004082e0
lea ecx, [edi + 0x894]
lea eax, [ebp - 0x18ac]
mov dword [ebp - 4], 3
cmp ecx, eax
je 0x4d57e6
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1898], 0x10
jb 0x4d5804
push dword [ebp - 0x18ac]
call fcn.0058603b
add esp, 4
xor ecx, ecx
cmp byte [0x5e271c], cl
mov eax, esi
cmove eax, ecx
push eax
push 0x5e271c
lea ecx, [ebp - 0x1834]
mov dword [ebp - 0x1820], 0xf
mov dword [ebp - 0x1824], 0
mov byte [ebp - 0x1834], 0
call fcn.004082e0
lea ecx, [edi + 0x8ac]
lea eax, [ebp - 0x1834]
mov dword [ebp - 4], 4
cmp ecx, eax
je 0x4d585e
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1820], 0x10
jb 0x4d587c
push dword [ebp - 0x1834]
call fcn.0058603b
add esp, 4
push 0x17
push str.regid.1986_12.com.adobe
lea ecx, [ebp - 0x1864]
mov dword [ebp - 0x1850], 0xf
mov dword [ebp - 0x1854], 0
mov byte [ebp - 0x1864], 0
call fcn.004082e0
lea ecx, [edi + 0x8c4]
lea eax, [ebp - 0x1864]
mov dword [ebp - 4], 5
cmp ecx, eax
je 0x4d58ca
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1850], 0x10
jb 0x4d58e8
push dword [ebp - 0x1864]
call fcn.0058603b
add esp, 4
xor eax, eax
cmp byte [0x5e271c], al
lea ecx, [ebp - 0x18c4]
cmove esi, eax
push esi
push 0x5e271c
mov dword [ebp - 0x18b0], 0xf
mov dword [ebp - 0x18b4], 0
mov byte [ebp - 0x18c4], 0
call fcn.004082e0
lea ecx, [edi + 0x8dc]
lea eax, [ebp - 0x18c4]
mov dword [ebp - 4], 6
cmp ecx, eax
je 0x4d5940
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18b0], 0x10
jb 0x4d595e
push dword [ebp - 0x18c4]
call fcn.0058603b
add esp, 4
push 0x17
push str.regid.1986_12.com.adobe
lea ecx, [ebp - 0x1894]
mov dword [ebp - 0x1880], 0xf
mov dword [ebp - 0x1884], 0
mov byte [ebp - 0x1894], 0
call fcn.004082e0
lea ecx, [edi + 0x8f4]
lea eax, [ebp - 0x1894]
mov dword [ebp - 4], 7
cmp ecx, eax
je 0x4d59ac
push 0xffffffffffffffff
push 0
push eax
call fcn.004086b0
cmp dword [ebp - 0x1880], 0x10
jb 0x4d59c3
push dword [ebp - 0x1894]
call fcn.0058603b
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 0x14