Function at 0x42e564
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46be46
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4956a0]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov eax, ebx
mov dword [esp + 0x14], ebx
mov edi, edx
mov dword [esp + 0x1c], esi
call fcn.0042dbc0
mov byte [esp + 0x13], al
xor eax, eax
cmp dword [edi + 0x10], eax
je 0x42e5d1
cmp dword [edi + 0x14], 0x10
jb 0x42e5cf
mov eax, dword [edi]
jmp 0x42e5d1
mov eax, edi
cmp dword [ebx + 0x14], 0x10
jb 0x42e5d9
mov ebx, dword [ebx]
push esi
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
call ebx
test eax, eax
jne 0x42e6f8
push str.System_error
mov dword [esp + 0x28], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov dword [esp + 0x2c], str.FileUtils::_anonymous_namespace::moveFileImpl
mov dword [esp + 0x30], 0x205
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push edi
call fcn.00402552
and dword [esp + 0x1e4], 0
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x58], esp
push dword [esp + 0x54]
call fcn.00402552
lea eax, [esp + 0x114]
push eax
mov byte [esp + 0x204], 1
call fcn.00402897
lea eax, [esp + 0x114]
push str.MoveFileEx_
push eax
mov byte [esp + 0x208], 2
call fcn.00405650
pop ecx
pop ecx
lea esi, [esp + 0x114]
mov byte [esp + 0x200], 3
call fcn.004043f5
mov edi, 0x47bb10
mov esi, eax
push edi
push esi
call fcn.00405650
pop ecx
pop ecx
mov byte [esp + 0x1e4], 4
call fcn.004043f5
mov esi, eax
push edi
push esi
call fcn.00405650
pop ecx
pop ecx
push dword [esp + 0x24]
push esi
call fcn.0040aca7
push 0x47e400
push esi
call fcn.00405650
pop ecx
pop ecx
push esi
mov ecx, ebx
lea edi, [esp + 0x3c]
call fcn.00436725
lea ecx, [esp + 0x188]
push ecx
lea esi, [esp + 0x28]
mov ecx, eax
mov byte [esp + 0x1c4], 5
call fcn.0041c4f8
lea eax, [esp + 0x18c]
mov dword [esp], 0x486584
push eax
call fcn.00451224
mov eax, esi
shr eax, 2
and al, 1
cmp byte [esp + 0x13], 0
mov byte [esp + 0x12], al
mov ebx, str.folder
jne 0x42e714
mov ebx, str.file
lea eax, [esp + 0x3c]
push eax
call fcn.00402897
mov dword [esp + 0x1c0], 6
cmp dword [edi + 0x10], 0
lea eax, [esp + 0x3c]
je 0x42e7e3
cmp byte [esp + 0x12], 0
je 0x42e745
push str.Move
jmp 0x42e74a
push str.Moved
push eax
call fcn.00405650
pop ecx
pop ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push edi
call fcn.00402552
sub esp, 0x1c
mov byte [esp + 0x1f8], 7
mov esi, esp
mov dword [esp + 0x58], esp
push dword [esp + 0x4c]
call fcn.00402552
lea eax, [esp + 0x74]
push 0x47e564
push eax
mov byte [esp + 0x200], 8
call fcn.00405650
pop ecx
pop ecx
lea esi, [esp + 0x74]
mov byte [esp + 0x1f8], 7
call fcn.004043f5
mov esi, eax
push 0x47e568
push esi
call fcn.00405650
push ebx
push esi
call fcn.00405650
push str._to_
push esi
call fcn.00405650
add esp, 0x18
mov byte [esp + 0x1dc], 6
call fcn.004043f5
push 0x47ab8c
push eax
call fcn.00405650
pop ecx
pop ecx
jmp 0x42e851
cmp byte [esp + 0x12], 0
je 0x42e7f1
push str.Delete
jmp 0x42e7f6
push str.Deleted
push eax
call fcn.00405650
pop ecx
pop ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push dword [esp + 0x30]
call fcn.00402552
lea eax, [esp + 0x58]
push 0x47e564
push eax
mov byte [esp + 0x1e4], 9
call fcn.00405650
pop ecx
pop ecx
lea esi, [esp + 0x58]
mov byte [esp + 0x1dc], 6
call fcn.004043f5
mov esi, eax
push 0x47e568
push esi
call fcn.00405650
push ebx
push esi
call fcn.00405650
add esp, 0x10
cmp byte [esp + 0x12], 0
je 0x42e869
lea eax, [esp + 0x3c]
push str._on_reboot
push eax
call fcn.00405650
pop ecx
pop ecx
xor esi, esi
cmp dword [0x49a024], esi
jg 0x42e8b7
lea eax, [esp + 0x16c]
push eax
lea eax, [esp + 0x40]
call fcn.004015ac
push str.FileUtils::_anonymous_namespace::moveFileImpl
push 0x21f
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
push esi
mov edx, eax
mov ecx, 0x49a024
mov byte [esp + 0x1d0], 0xa
call fcn.0042432e
push esi
push 1
lea ecx, [esp + 0x174]
call fcn.00403353
or dword [esp + 0x1c0], 0xffffffff
lea eax, [esp + 0x3c]
call fcn.004015c3
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret