Function at 0x477160
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5775f3
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x8f9064]
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 0x4771b8
mov ecx, dword [edi]
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
mov esi, dword [ebx + 0x10]
jb 0x4771c5
mov edx, dword [ebx]
push eax
push ecx
push esi
push edx
call fcn.00437f90
add esp, 0x10
test al, al
jne 0x4773f2
mov eax, dword [edi + 0x10]
cmp esi, eax
jne 0x477275
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4771ee
mov ecx, dword [edi]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0xa48], eax
mov eax, ebx
mov dword [ebp - 0xa4c], ecx
jb 0x477204
mov eax, dword [ebx]
lea edx, [ebp - 0xa4c]
mov dword [ebp - 0xa5c], eax
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa58], esi
call fcn.00485440
test al, al
je 0x477275
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.004765a0
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.00470180
add esp, 0xc
lea edx, [ebp - 0x2c]
mov ecx, ebx
call fcn.00477160
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.00477160
lea ecx, [ebp - 0x2c]
call fcn.00416f30
jmp 0x4773f2
mov ecx, edi
call fcn.0047acb0
test al, al
je 0x477291
mov dl, 1
mov ecx, edi
call fcn.004779c0
test al, al
je 0x477480
mov ecx, edi
call fcn.004776c0
test al, al
je 0x4774b5
push edi
push ebx
sub esp, 8
mov eax, esp
mov dword [eax], str.Moving__to_.
mov dword [eax + 4], 0x14
call fcn.0047c930
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov edx, ebx
call fcn.00485ee0
mov edx, edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00485ee0
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 0x4773e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa48], eax
cmp eax, 0xb7
je 0x477319
cmp eax, 0x50
jne 0x477355
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.00485790
mov byte [ebp - 0xa3d], 1
test al, al
jne 0x47735c
mov byte [ebp - 0xa3d], 0
mov dword [ebp - 4], 4
test byte [ebp - 0xa44], 1
je 0x4773a2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4773a2
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x477398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x477398
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0056d673
add esp, 8
cmp byte [ebp - 0xa3d], 0
je 0x47740e
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push edi
call fcn.0042b420
lea ecx, [ebp - 0x2c]
call fcn.0047a650
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00479ad0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00416f30
mov edx, edi
mov ecx, ebx
call fcn.00477160
lea ecx, [ebp - 0x44]
call fcn.0045e370
lea ecx, [ebp - 0x5c]
call fcn.0045e370
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.0056d0b2
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xa48]
lea ecx, [ebp - 0xa4]
call fcn.0047cc90
mov esi, eax
push edi
mov edx, str.Could_not_move_to
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8c]
call fcn.00466fa0
push str.__Error_code:
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xe
push eax
call fcn.0044eec0
push esi
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xbc]
call fcn.0045e750
add esp, 0x14
push eax
push ebx
lea ecx, [ebp - 0xa3c]
mov byte [ebp - 4], 0x10
call fcn.004781f0
push 0x8e4a88
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.0042b3e0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push edi
lea ecx, [ebp - 0x31c]
call fcn.004781f0
push 0x8e4a88
lea eax, [ebp - 0x31c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Failed_to_create_the_directories.
lea ecx, [ebp - 0x2c]
call fcn.0042b3e0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push edi
lea ecx, [ebp - 0x57c]
call fcn.00478940
push 0x8e4ab4
lea eax, [ebp - 0x57c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea edx, [ebp - 0xa48]
lea ecx, [ebp - 0x2c]
call fcn.0047cc90
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.00466fa0
push str.__Error_code:
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
push eax
call fcn.0044eec0
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.0045e750
add esp, 0x14
push dword [ebp - 0xa60]
lea ecx, [ebp - 0x7dc]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0xa50]
call fcn.00478460
push 0x8e4a88
lea eax, [ebp - 0x7dc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3