Function at 0x4fd074
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xba
push 0
push 0
dec ecx
jne 0x4fd07d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404258
xor eax, eax
push ebp
push 0x4fd38c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x4a4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jne 0x4fd0dd
push 0x30
push 0x4fd39c
push 0x4fd3b0
mov eax, edi
call fcn.004388a8
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x4fd351
lea eax, [ebp - 0x5ac]
lea edx, [ebp - 0x4a4]
call fcn.00402eb4
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x4ac]
call fcn.00404048
push dword [ebp - 0x4ac]
push 0x4fd3d0
push dword [ebp - 4]
lea eax, [ebp - 0x4a8]
mov edx, 3
call fcn.00404164
mov edx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x1d4]
call fcn.004062aa
lea eax, [ebp - 0x1d4]
call fcn.004066bb
call fcn.00402884
lea eax, [ebp - 0x5ac]
lea edx, [ebp - 0x4a4]
call fcn.00402eb4
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x5b4]
call fcn.00404048
push dword [ebp - 0x5b4]
push 0x4fd3d0
push dword [ebp - 4]
push 0x4fd3dc
lea eax, [ebp - 0x5b0]
mov edx, 4
call fcn.00404164
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x3a0]
call fcn.004062aa
lea eax, [ebp - 0x3a0]
call fcn.004066c2
call fcn.00402884
jmp 0x4fd22e
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.00404464
lea eax, [ebp - 0x1d4]
call fcn.00406658
call fcn.00402884
lea edx, [ebp - 0x5b8]
mov eax, dword [ebp - 8]
call fcn.004091ac
mov eax, dword [ebp - 0x5b8]
call fcn.00404268
call fcn.00409ca8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00403fdc
lea eax, [ebp - 0x5bc]
mov edx, ebx
call fcn.00403fdc
mov edx, dword [ebp - 0x5bc]
mov eax, dword [ebp - 8]
call fcn.004041b4
jne 0x4fd216
lea eax, [ebp - 8]
mov edx, esi
call fcn.00403fdc
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3a0]
call fcn.0040443c
call fcn.004068f3
call fcn.00402884
lea eax, [ebp - 0x1d4]
call fcn.00406450
call fcn.00402884
test al, al
je 0x4fd1a9
lea eax, [ebp - 0x1d4]
call fcn.00406414
call fcn.00402884
lea eax, [ebp - 0x3a0]
call fcn.00406414
call fcn.00402884
lea eax, [ebp - 0x5ac]
lea edx, [ebp - 0x4a4]
call fcn.00402eb4
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x5c4]
call fcn.00404048
push dword [ebp - 0x5c4]
push 0x4fd3d0
push dword [ebp - 4]
lea eax, [ebp - 0x5c0]
mov edx, 3
call fcn.00404164
mov eax, dword [ebp - 0x5c0]
call fcn.00409698
lea eax, [ebp - 0x5ac]
lea ebx, [ebp - 0x4a4]
mov edx, ebx
call fcn.00402eb4
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x5cc]
call fcn.00404048
push dword [ebp - 0x5cc]
push 0x4fd3d0
push dword [ebp - 4]
lea eax, [ebp - 0x5c8]
mov edx, 3
call fcn.00404164
mov eax, dword [ebp - 0x5c8]
call fcn.00404268
push eax
lea eax, [ebp - 0x5ac]
mov edx, ebx
call fcn.00402eb4
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x5d4]
call fcn.00404048
push dword [ebp - 0x5d4]
push 0x4fd3d0
push dword [ebp - 4]
push 0x4fd3dc
lea eax, [ebp - 0x5d0]
mov edx, 4
call fcn.00404164
mov eax, dword [ebp - 0x5d0]
call fcn.00404268
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd393
lea eax, [ebp - 0x5d4]
mov edx, 0xa
call fcn.00403e48
lea eax, [ebp - 0x4ac]
mov edx, 2
call fcn.00403e48
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e48
ret