Function at 0x4245b0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59acb6
mov eax, dword fs:[0]
push eax
mov eax, 0x1078
call fcn.005965e0
mov eax, dword [0x601018]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x1070], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1078], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x107c], eax
mov ebx, 0xf
xor edi, edi
mov eax, 0x5bc564
lea esi, [ebp - 0xc58]
mov dword [ebp - 0x1074], edx
mov dword [ebp - 0x1080], ecx
mov dword [ebp - method.FileFind.virtual_0], vtable.FileFind.0
mov dword [ebp - 0xc44], ebx
mov dword [ebp - 0xc48], 0
mov byte [ebp - 0xc58], 0
call fcn.00402fe0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc2c], eax
mov byte [ebp - 0xc3c], al
mov eax, 0x5bc564
lea esi, [ebp - 0xc3c]
mov dword [ebp - 0xc28], ebx
call fcn.00402fe0
mov dword [ebp - 0xc20], edi
or edi, 0xffffffff
mov dword [ebp - 0xc1c], edi
mov eax, dword [ebp - 0x1080]
lea edx, [ebp - 0x106c]
push edx
push eax
mov edx, 0x60c718
lea ecx, [ebp - 0xc5c]
mov dword [ebp - 4], 1
call fcn.0050a5e0
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x424721
mov al, 1
cmp byte [ebp - 0x106c], 0x2e
jne 0x4246c7
push ebx
lea edx, [ebp - 0x106c]
lea ecx, [ebp - 0xc5c]
call fcn.0050a8d0
test al, al
jne 0x4246a6
jmp 0x4246cb
test al, al
jne 0x424733
cmp ebx, edi
je 0x4246d6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xc58]
mov ecx, 0x10
mov dword [ebp - 0xc48], esi
cmp dword [ebp - 0xc44], ecx
jae 0x4246f5
lea eax, [ebp - 0xc58]
mov byte [eax], 0
mov eax, dword [ebp - 0xc3c]
mov dword [ebp - 0xc2c], esi
cmp dword [ebp - 0xc28], ecx
jae 0x424712
lea eax, [ebp - 0xc3c]
mov byte [eax], 0
mov dword [ebp - 0xc20], esi
mov dword [ebp - 0xc1c], edi
lea ecx, [ebp - 0xc5c]
call fcn.0050a540
mov eax, edi
jmp 0x42492f
lea ecx, [ebp - 0x106c]
push ecx
push 0x60c718
push 0x5c87bc
mov esi, 0x400
lea edi, [ebp - 0xc14]
call fcn.00401880
add esp, 0xc
call dword [sym.imp.MSVCR100.dll__getpid]
mov edx, dword [ebp - 0x1070]
mov esi, eax
mov eax, dword [edx + 0x430]
call fcn.00402ba0
push eax
mov eax, dword [ebp - 0x107c]
push esi
push eax
push str._s_d__d.tmp
mov esi, 0x400
lea edi, [ebp - 0x414]
call fcn.00401880
mov ecx, dword [ebp - 0x1080]
mov edx, dword [ebp - 0x107c]
push ecx
push edx
push 0x5c87bc
lea edi, [ebp - 0x814]
call fcn.00401880
add esp, 0x1c
cmp ebx, 0xffffffff
je 0x4247bb
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xc58]
xor edx, edx
mov ecx, 0x10
mov dword [ebp - 0xc48], edx
cmp dword [ebp - 0xc44], ecx
jae 0x4247dc
lea eax, [ebp - 0xc58]
mov byte [eax], dl
mov eax, dword [ebp - 0xc3c]
mov dword [ebp - 0xc2c], edx
cmp dword [ebp - 0xc28], ecx
jae 0x4247f8
lea eax, [ebp - 0xc3c]
mov byte [eax], dl
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0xc20], edx
mov dword [ebp - 0xc1c], 0xffffffff
call fcn.004f9540
add esp, 4
test eax, eax
je 0x42487b
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x42487b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1070]
mov ebx, dword [ebp - 0x1074]
push eax
mov eax, dword [ebp - 0x1078]
lea edx, [ebp - 0x414]
push edx
push str.unable_to_delete_library_temporary_file___s___error___d_
push 0x1124c
add ecx, 0x434
push eax
call fcn.0042c130
add esp, 0x14
lea ecx, [ebp - 0xc5c]
mov esi, eax
call fcn.0050a540
mov eax, esi
jmp 0x42492f
push 1
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0xc14]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4248e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc14]
push ecx
push str.unable_to_copy_library_file___s__to___s___error___d_
push 0x1124d
mov edx, dword [ebp - 0x1078]
mov ecx, dword [ebp - 0x1070]
mov ebx, dword [ebp - 0x1074]
add ecx, 0x434
push edx
call fcn.0042c130
add esp, 0x18
lea ecx, [ebp - 0xc5c]
mov esi, eax
call fcn.0050a540
mov eax, esi
jmp 0x42492f
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.MSVCR100.dll_rename]
add esp, 8
test eax, eax
je 0x424922
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x414]
push eax
push str.unable_to_rename_library_temp_file___s__to___s___error___d_
push 0x1124e
jmp 0x4248b4
lea ecx, [ebp - 0xc5c]
call fcn.0050a540
xor eax, eax
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.00596083
mov esp, ebp
pop ebp
ret 0xc