Function at 0x4fe7f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b02d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 1
mov eax, dword [0x74f808]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0040c560
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 0
call fcn.004694d0
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00408240
movzx edx, al
test edx, edx
jne 0x4feb0f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.0046af70
push eax
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00408770
push 0x6d33ec
push 0x6d3494
lea ecx, [ebp - 0x18]
call fcn.00479930
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406e10
mov byte [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x28]
call fcn.00408130
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00408770
lea ecx, [ebp - 0x28]
call fcn.0046af70
push eax
call fcn.0044b5a0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x68]
call fcn.0050f2d7
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 0xc]
call fcn.00437a00
mov ecx, eax
call fcn.0040d1f0
mov byte [ebp - 4], 7
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004a69e0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040cbc0
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4fea59
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call fcn.00504e99
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x4fea59
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004a69e0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040cbc0
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
mov byte [ecx], 0
lea ecx, [ebp - 0x18]
call fcn.0046af70
push eax
call fcn.0044b4a0
movzx edx, al
test edx, edx
je 0x4fe9d9
push 0x80
lea ecx, [ebp - 0x18]
call fcn.0046af70
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x9021
lea ecx, [ebp - 0x18]
call fcn.0046af70
push eax
lea ecx, [ebp - 0x80]
call fcn.005101bb
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x80]
call fcn.0051082e
lea ecx, [ebp - 0x80]
call fcn.00510357
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00504e94
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x6d3498
call fcn.0040ca80
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp + 0xc]
call fcn.00437a00
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.00460750
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0051020e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040cb40
jmp 0x4feadb
mov dword [ebp - 4], 5
jmp 0x4feaeb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0043aa80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004071f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004071f0
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x12], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00437760
mov al, byte [ebp - 0x12]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8