Function at 0x4d8f48
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4d8f51
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404de8
mov eax, dword [ebp - 8]
call fcn.00404de8
mov eax, dword [ebp + 8]
call fcn.00404de8
xor eax, eax
push ebp
push 0x4d91f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00402b48
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00409c88
lea eax, [ebp - 0x24]
mov edx, 0x4d9214
call fcn.00404c00
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x437a94]
call fcn.00437b44
mov dword [ebp - 0x20], eax
mov edx, dword [0x4ddb48]
mov edx, dword [edx + 0x34]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.00404c44
mov edx, dword [0x4ddb48]
mov edx, dword [edx + 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
call fcn.00404c44
mov eax, dword [ebp - 0x10]
call fcn.00409ab0
test al, al
jne 0x4d8ffa
mov eax, dword [ebp - 0x10]
call fcn.00409ad4
mov eax, dword [ebp + 8]
mov edx, 0x4d922c
call fcn.00404d44
jne 0x4d901d
mov eax, 0x4d9238
call fcn.004d7110
mov eax, 0x1388
call fcn.004b34fc
push dword [ebp - 0xc]
push 0x4d9250
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404cb8
push dword [ebp - 0x10]
push 0x4d9250
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404cb8
push 0x80
mov eax, dword [ebp - 0x18]
call fcn.00404df8
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x18]
call fcn.00409bbc
push ebx
mov eax, dword [ebp - 0x14]
call fcn.00404df8
push eax
call sub.kernel32.dll_MoveFileA
mov eax, dword [ebp + 8]
call fcn.004096a0
sub eax, 1
jb 0x4d909f
je 0x4d9147
dec eax
je 0x4d916f
dec eax
je 0x4d9197
jmp 0x4d91bd
xor eax, eax
push ebp
push 0x4d9133
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x4d925c
call fcn.00404d44
jne 0x4d9101
mov dl, 1
mov eax, dword [0x41c0e8]
call fcn.00403a2c
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0042122c
lea eax, [ebp - 0x1c]
call fcn.004d7080
lea eax, [ebp - 0x2c]
mov ecx, 0x4d9274
mov edx, dword [ebp - 0x10]
call fcn.00404c44
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.00421158
mov eax, dword [ebp - 0x1c]
call fcn.00403a5c
lea edx, [ebp - 0x30]
mov eax, dword [0x4de27c]
mov eax, dword [eax]
call fcn.00409564
mov eax, dword [ebp - 0x30]
push eax
mov ecx, 0x4d928c
mov edx, 0x4d9298
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d91bd
lea edx, [ebp - 0x34]
mov eax, dword [0x4de27c]
mov eax, dword [eax + 4]
call fcn.00409564
mov eax, dword [ebp - 0x34]
push eax
mov ecx, 0x4d928c
mov edx, 0x4d92b0
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4d91bd
lea edx, [ebp - 0x38]
mov eax, dword [0x4de27c]
mov eax, dword [eax + 8]
call fcn.00409564
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x4d928c
mov edx, 0x4d92c4
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4d91bd
lea edx, [ebp - 0x3c]
mov eax, dword [0x4de27c]
mov eax, dword [eax + 0xc]
call fcn.00409564
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, 0x4d928c
mov edx, 0x4d92d8
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x20]
call fcn.00403a5c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d91fe
lea eax, [ebp - 0x3c]
mov edx, 7
call fcn.0040495c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040495c
lea eax, [ebp + 8]
call fcn.00404938
ret