Function at 0x493ad1
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c66f7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4f06b4]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4f06b4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 8
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x14], esi
jb 0x493b1e
mov eax, dword [ebx]
jmp 0x493b20
mov eax, ebx
push eax
call fcn.00479c77
pop ecx
mov byte [esp + 0x13], al
test al, al
jne 0x493b95
cmp dword [ebx + 0x14], 8
jb 0x493b39
mov eax, dword [ebx]
jmp 0x493b3b
mov eax, ebx
mov ecx, dword [0x4f546c]
push eax
push str.File__s_is_not_exist
push 3
call fcn.0047b708
add esp, 0xc
cmp byte [ebp + 0x10], 0
je 0x493d06
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push ebx
call fcn.00409de0
lea ebx, [esp + 0x38]
call fcn.00489607
mov ecx, dword [esp + 0x14]
and dword [esp + 0x70], 0
mov edx, dword [ecx]
push eax
push 3
call dword [edx + 0x24c]
mov ecx, ebx
call fcn.00489677
xor al, al
jmp 0x493d0a
cmp dword [edi + 0x14], 8
jb 0x493b9f
mov eax, dword [edi]
jmp 0x493ba1
mov eax, edi
push eax
call fcn.00479c77
pop ecx
test al, al
je 0x493c29
push edi
call fcn.0047a5a1
pop ecx
mov byte [esp + 0x13], al
test al, al
jne 0x493c5d
cmp dword [ebx + 0x14], 8
jb 0x493bc7
mov ebx, dword [ebx]
mov ecx, dword [0x4f546c]
push ebx
push str.File__s_is_not_exist
push 3
call fcn.0047b708
add esp, 0xc
cmp byte [ebp + 0x10], 0
je 0x493d06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x38], esp
push edi
call fcn.00409de0
lea ebx, [esp + 0x3c]
call fcn.00488fd4
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x74], 1
mov edx, dword [ecx]
push 3
call dword [edx + 0x24c]
mov ecx, ebx
call fcn.0048904a
jmp 0x493b8e
cmp dword [edi + 0x14], 8
jb 0x493c33
mov eax, dword [edi]
jmp 0x493c35
mov eax, edi
push eax
call fcn.00479c22
pop ecx
test al, al
je 0x493c52
push dword [ebp + 0x10]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x134]
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
je 0x493d06
push edi
mov ecx, esi
call fcn.0048f71d
push 8
pop esi
cmp dword [edi + 0x14], esi
jb 0x493c71
mov ecx, dword [edi]
jmp 0x493c73
mov ecx, edi
cmp dword [ebx + 0x14], esi
jb 0x493c7c
mov eax, dword [ebx]
jmp 0x493c7e
mov eax, ebx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne byte [esp + 0x13]
cmp byte [esp + 0x13], 0
jne 0x493d06
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x14], esi
jb 0x493ca5
mov eax, dword [edi]
jmp 0x493ca7
mov eax, edi
cmp dword [ebx + 0x14], esi
jb 0x493cae
mov ebx, dword [ebx]
mov ecx, dword [0x4f546c]
push eax
push ebx
push str.Failed_to_move_file__s_to__s
push 3
call fcn.0047b708
add esp, 0x10
cmp byte [ebp + 0x10], 0
je 0x493d06
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push edi
call fcn.00409de0
lea ebx, [esp + 0x5c]
call fcn.00489326
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x74], 2
mov edx, dword [ecx]
push 3
call dword [edx + 0x24c]
mov ecx, ebx
call fcn.00489396
jmp 0x493b8e
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004a545d
mov esp, ebp
pop ebp
ret 0xc