Function at 0x4e0320
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645eab
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x721970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 1
mov eax, dword [0x7207e4]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0044bca0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0
call fcn.004682b0
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407940
movzx edx, al
test edx, edx
jne 0x4e05f3
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004a7500
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407e70
push 0x6a8e04
push 0x6a8e08
lea ecx, [ebp - 0x1c]
call fcn.004787f0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004064e0
mov byte [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x28]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e70
lea ecx, [ebp - 0x28]
call fcn.004a7500
push eax
call fcn.004484b0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x64]
call fcn.004f0dff
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 0xc]
call fcn.004db440
mov ecx, eax
call fcn.0040c6c0
mov byte [ebp - 4], 7
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004a26a0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040c160
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4e0589
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4e0589
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.004a26a0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040c160
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x20]
mov byte [ecx], 0
lea ecx, [ebp - 0x1c]
call fcn.004a7500
push eax
call fcn.004483b0
movzx edx, al
test edx, edx
je 0x4e0509
push 0x80
lea ecx, [ebp - 0x1c]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x9021
lea ecx, [ebp - 0x1c]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x7c]
call fcn.004f1cee
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.004f234b
lea ecx, [ebp - 0x7c]
call fcn.004f1e8a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.004e69f4
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x6a8e0c
call fcn.0040bfc0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 9
lea ecx, [ebp + 0xc]
call fcn.004db440
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.0045da30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.004f1d41
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040c080
jmp 0x4e05bf
mov dword [ebp - 4], 5
jmp 0x4e05cf
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004383a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004068c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004068c0
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x12], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00468ec0
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