Function at 0x4e6ad0
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x638e34]
sub esp, 0x60
push esi
push edi
test ecx, ecx
je 0x4e6b37
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0x14
jl 0x4e6b37
mov esi, dword [esp + 0x70]
mov ecx, esi
test esi, esi
jne 0x4e6afa
mov ecx, str._null_
mov edi, dword [esp + 0x6c]
mov eax, edi
test edi, edi
jne 0x4e6b09
mov eax, str._null_
push ecx
push eax
lea eax, [esp + 0x10]
push str._ENTER_PzLocalFile::RenameSub__src_s__tar_s_
push eax
mov dword [esp + 0x18], str..._osfile.cpp
mov dword [esp + 0x1c], 0x2a1
mov dword [esp + 0x20], 0x14
call fcn.004e4a60
add esp, 0x10
jmp 0x4e6b3f
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
push esi
push edi
call dword [sym.imp.MSVCR90.dll_rename]
add esp, 8
test eax, eax
jne 0x4e6b96
mov ecx, dword [0x638e34]
test ecx, ecx
je 0x4e6b8e
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e6b8e
lea ecx, [esp + 8]
push str._EXIT_RenameSub__:_true
push ecx
mov dword [esp + 0x10], str..._osfile.cpp
mov dword [esp + 0x14], 0x2a8
mov dword [esp + 0x18], 0x28
call fcn.004e4a60
add esp, 8
pop edi
mov al, 1
pop esi
add esp, 0x60
ret
mov edi, dword [sym.imp.MSVCR90.dll__errno]
push ebx
push ebp
call edi
mov eax, dword [eax]
sub eax, 2
mov ecx, dword [0x638e34]
je 0x4e6dbb
test ecx, ecx
je 0x4e6c3d
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4e6c3d
call edi
mov ecx, dword [eax]
mov ebx, dword [sym.imp.MSVCR90.dll_strerror]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x4e6be7
call edi
mov edx, dword [eax]
push edx
call ebx
add esp, 4
mov ebp, eax
jmp 0x4e6bec
mov ebp, str._null_
mov ebx, esi
test esi, esi
jne 0x4e6bf7
mov ebx, str._null_
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x4e6c04
mov esi, str._null_
mov dword [esp + 0x10], str..._osfile.cpp
mov dword [esp + 0x14], 0x2b9
mov dword [esp + 0x18], 0xa
call edi
mov eax, dword [eax]
push ebp
push eax
push ebx
push esi
lea ecx, [esp + 0x20]
push str.FAILED:__0_rename_src_s__tar_s_:__d___s_
push ecx
call fcn.004e4a60
mov esi, dword [esp + 0x90]
add esp, 0x18
xor ebx, ebx
mov ebp, 0x2cb
push 0xbb8
call fcn.004e66d0
mov edx, dword [esp + 0x78]
push esi
push edx
call dword [sym.imp.MSVCR90.dll_rename]
mov ecx, dword [0x638e34]
add esp, 0xc
test eax, eax
je 0x4e6d35
test ecx, ecx
je 0x4e6cdf
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 0xa
jl 0x4e6cd9
call edi
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCR90.dll_strerror]
push eax
call esi
add esp, 4
test eax, eax
je 0x4e6c9d
call edi
mov ecx, dword [eax]
push ecx
call esi
add esp, 4
mov esi, eax
jmp 0x4e6ca2
mov esi, str._null_
mov dword [esp + 0x20], str..._osfile.cpp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0xa
call edi
mov edx, dword [eax]
push esi
push edx
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x2c]
push str.FAILED:___d_rename__:__d___s_
push ecx
call fcn.004e4a60
mov esi, dword [esp + 0x8c]
add esp, 0x14
mov ecx, dword [0x638e34]
inc ebx
cmp ebx, 0x28
jl 0x4e6c44
test ecx, ecx
je 0x4e6e80
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e6e80
lea ecx, [esp + 0x40]
push str._EXIT_RenameSub__:_false
push ecx
mov dword [esp + 0x48], str..._osfile.cpp
mov dword [esp + 0x4c], 0x2d2
mov dword [esp + 0x50], 0x28
call fcn.004e4a60
add esp, 8
pop ebp
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x60
ret
test ecx, ecx
je 0x4e6db1
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xa
jl 0x4e6d71
inc ebx
push ebx
lea ecx, [esp + 0x34]
push str.SUCCEEDED:___d_rename__
push ecx
mov dword [esp + 0x3c], str..._osfile.cpp
mov dword [esp + 0x40], 0x2c5
mov dword [esp + 0x44], 0xa
call fcn.004e4a60
add esp, 0xc
mov ecx, dword [0x638e34]
test ecx, ecx
je 0x4e6db1
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e6db1
lea ecx, [esp + 0x40]
push str._EXITING_RenameSub__:_true
push ecx
mov dword [esp + 0x48], str..._osfile.cpp
mov dword [esp + 0x4c], 0x2c6
mov dword [esp + 0x50], 0x28
call fcn.004e4a60
add esp, 8
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
add esp, 0x60
ret
test ecx, ecx
je 0x4e6e80
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x32
jl 0x4e6e40
call edi
mov ecx, dword [eax]
mov ebx, dword [sym.imp.MSVCR90.dll_strerror]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x4e6df1
call edi
mov edx, dword [eax]
push edx
call ebx
add esp, 4
mov ebp, eax
jmp 0x4e6df6
mov ebp, str._null_
mov ebx, esi
test esi, esi
jne 0x4e6e01
mov ebx, str._null_
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x4e6e0e
mov esi, str._null_
mov dword [esp + 0x50], str..._osfile.cpp
mov dword [esp + 0x54], 0x2b1
mov dword [esp + 0x58], 0x32
call edi
mov eax, dword [eax]
push ebp
push eax
push ebx
push esi
lea ecx, [esp + 0x60]
push str.FAILED:_rename_src_s__tar_s_:__d___s_
push ecx
call fcn.004e4a60
add esp, 0x18
mov ecx, dword [0x638e34]
test ecx, ecx
je 0x4e6e80
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0x28
jl 0x4e6e80
lea ecx, [esp + 0x60]
push str._EXITING_RenameSub__:_false
push ecx
mov dword [esp + 0x68], str..._osfile.cpp
mov dword [esp + 0x6c], 0x2b4
mov dword [esp + 0x70], 0x28
call fcn.004e4a60
add esp, 8
pop ebp
pop ebx
pop edi
xor al, al
pop esi
add esp, 0x60
ret