Function at 0x49bcb0
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x49bcb8
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49bfb4
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
sub eax, dword [0x4bef40]
sbb edx, dword [0x4bef44]
cmp edx, dword [0x4bef3c]
jne 0x49bcfa
cmp eax, dword [0x4bef38]
jb 0x49bd20
jmp 0x49bcfc
jl 0x49bd20
push 0x10
push 0x49bfc4
push 0x49bfcc
push 0
call sub.user32.dll_MessageBoxA
mov eax, dword [0x4bf90c]
mov eax, dword [eax]
call fcn.00468e2c
jmp 0x49bf89
mov edx, ebx
mov eax, esi
call fcn.0049bc58
mov edi, eax
mov edx, dword [edi + 0x54]
mov eax, esi
call fcn.0049b650
test al, al
je 0x49bf89
lea eax, [ebp - 0x11c]
mov ecx, 0x49bfe0
mov edx, dword [edi + 0x54]
call fcn.00404f78
mov eax, dword [ebp - 0x11c]
call fcn.00409a5c
test al, al
je 0x49bda2
lea eax, [ebp - 0x120]
mov ecx, 0x49bff4
mov edx, dword [edi + 0x54]
call fcn.00404f78
mov eax, dword [ebp - 0x120]
call fcn.004050f0
push eax
lea eax, [ebp - 0x124]
mov ecx, 0x49bfe0
mov edx, dword [edi + 0x54]
call fcn.00404f78
mov eax, dword [ebp - 0x124]
call fcn.004050f0
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x128]
mov ecx, 0x49c00c
mov edx, dword [edi + 0x54]
call fcn.00404f78
mov eax, dword [ebp - 0x128]
call fcn.00409a5c
test al, al
je 0x49be07
lea eax, [ebp - 0x12c]
mov ecx, 0x49c020
mov edx, dword [edi + 0x54]
call fcn.00404f78
mov eax, dword [ebp - 0x12c]
call fcn.004050f0
push eax
lea eax, [ebp - 0x130]
mov ecx, 0x49c00c
mov edx, dword [edi + 0x54]
call fcn.00404f78
mov eax, dword [ebp - 0x130]
call fcn.004050f0
push eax
call sub.kernel32.dll_MoveFileA
call fcn.004032bc
mov eax, 0xffff
call fcn.004032e4
mov dword [ebp - 0x10], eax
push 0x49c038
lea ecx, [ebp - 0x134]
mov edx, 4
mov eax, dword [ebp - 0x10]
call fcn.00409650
push dword [ebp - 0x134]
push 0x49c044
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404ff4
lea eax, [ebp - 0x115]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.00404ed0
push dword [ebp - 0x138]
movzx eax, bl
push dword [eax*4 + 0x4bef20]
push 0x49c054
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ff4
push 0
mov eax, dword [ebp - 0xc]
call fcn.004050f0
push eax
mov eax, dword [esi + 0x1c]
call fcn.004050f0
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404cf8
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x115]
mov ecx, 0x105
call fcn.00404ed0
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00404f78
mov eax, dword [ebp - 8]
call fcn.004050f0
push eax
mov eax, dword [ebp - 4]
call fcn.004050f0
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [edi + 0xc]
mov edx, dword [ebp - 8]
call fcn.00404cb4
mov eax, edi
call fcn.00480744
mov eax, edi
call fcn.004806cc
mov eax, dword [ebp - 4]
call fcn.004050f0
push eax
mov eax, dword [ebp - 8]
call fcn.004050f0
push eax
call sub.kernel32.dll_MoveFileA
cmp dword [edi + 0x64], 0
jne 0x49bf38
mov edx, 0x11512000
mov eax, edi
call fcn.00480988
jmp 0x49bf89
cmp byte [edi + 0x50], 0
je 0x49bf56
mov edx, ebx
mov eax, esi
call fcn.0049c284
movzx eax, bl
mov eax, dword [esi + eax*4 + 0xec]
call fcn.0049b314
mov edx, ebx
mov eax, esi
call fcn.0049bc58
mov edx, eax
mov eax, esi
call fcn.0049b854
movzx eax, bl
add eax, eax
lea eax, [eax + eax*2]
mov eax, dword [esi + eax*8 + 0x20]
cmp byte [eax + 0x50], 0
je 0x49bf89
movzx eax, bl
mov eax, dword [esi + eax*4 + 0xec]
call fcn.0049b33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bfbb
lea eax, [ebp - 0x13c]
mov edx, 9
call fcn.00404c84
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c84
ret