Function at 0x4ca3d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd853
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x55a064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0xa44], 0
mov ecx, edi
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa54], edi
jb 0x4ca428
mov ecx, dword [edi]
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
mov esi, dword [ebx + 0x10]
jb 0x4ca435
mov edx, dword [ebx]
push eax
push ecx
push esi
push edx
call fcn.0042e910
add esp, 0x10
test al, al
jne 0x4ca662
mov eax, dword [edi + 0x10]
cmp esi, eax
jne 0x4ca4e5
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4ca45e
mov ecx, dword [edi]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0xa48], eax
mov eax, ebx
mov dword [ebp - 0xa4c], ecx
jb 0x4ca474
mov eax, dword [ebx]
lea edx, [ebp - 0xa4c]
mov dword [ebp - 0xa5c], eax
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa58], esi
call fcn.004d5fc0
test al, al
je 0x4ca4e5
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.004c9da0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str.Detected_file_directory_move_on_case_insensitive_platform_with_the_same_name._Will_first_rename_the_old_path_to___before_renaming_to_the_new_path.
mov dword [eax + 4], 0x96
call fcn.004352a0
add esp, 0xc
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.004ca3d0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.004ca3d0
lea ecx, [ebp - 0x2c]
call fcn.00411450
jmp 0x4ca662
mov ecx, edi
call fcn.004cd2b0
test al, al
je 0x4ca501
mov dl, 1
mov ecx, edi
call fcn.004caae0
test al, al
je 0x4ca6f0
mov ecx, edi
call fcn.004ca7e0
test al, al
je 0x4ca725
push edi
push ebx
sub esp, 8
mov eax, esp
mov dword [eax], str.Moving__to_.
mov dword [eax + 4], 0x14
call fcn.00446550
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov edx, ebx
call fcn.004d6a10
mov edx, edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004d6a10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4ca652
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa48], eax
cmp eax, 0xb7
je 0x4ca589
cmp eax, 0x50
jne 0x4ca5c5
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x2c], 0x6b6e6c2e
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0xa44], 1
call fcn.004d6310
mov byte [ebp - 0xa3d], 1
test al, al
jne 0x4ca5cc
mov byte [ebp - 0xa3d], 0
mov dword [ebp - 4], 4
test byte [ebp - 0xa44], 1
je 0x4ca612
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4ca612
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ca608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ca608
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004e9606
add esp, 8
cmp byte [ebp - 0xa3d], 0
je 0x4ca67e
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push edi
call fcn.00415750
lea ecx, [ebp - 0x2c]
call fcn.004ccd60
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004cc4e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00411450
mov edx, edi
mov ecx, ebx
call fcn.004ca3d0
lea ecx, [ebp - 0x44]
call fcn.0042ff30
lea ecx, [ebp - 0x5c]
call fcn.0042ff30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e9056
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xa48]
lea ecx, [ebp - 0xa4]
call fcn.00462310
mov esi, eax
push edi
mov edx, str.Could_not_move_to
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8c]
call fcn.00427100
push str.__Error_code:
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xe
push eax
call fcn.00427160
push esi
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xbc]
call fcn.004342a0
add esp, 0x14
push eax
push ebx
lea ecx, [ebp - 0xa3c]
mov byte [ebp - 4], 0x10
call fcn.004cb250
push 0x54bae4
lea eax, [ebp - 0xa3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_remove_the_file_or_directory.
lea ecx, [ebp - 0x2c]
call fcn.00415710
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push edi
lea ecx, [ebp - 0x31c]
call fcn.004cb250
push 0x54bae4
lea eax, [ebp - 0x31c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_create_the_directories.
lea ecx, [ebp - 0x2c]
call fcn.00415710
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push edi
lea ecx, [ebp - 0x57c]
call fcn.004cb9a0
push 0x54bb10
lea eax, [ebp - 0x57c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea edx, [ebp - 0xa48]
lea ecx, [ebp - 0x2c]
call fcn.00462310
mov esi, eax
push dword [ebp - 0xa54]
mov edx, str.Could_not_move_Windows_link_file_to
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.00427100
push str.__Error_code:
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00427160
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.004342a0
add esp, 0x14
push dword [ebp - 0xa60]
lea ecx, [ebp - 0x7dc]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0xa50]
call fcn.004cb4c0
push 0x54bae4
lea eax, [ebp - 0x7dc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3