Function at 0x447790
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4158
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00448290
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00448310
mov eax, dword [ebp + 8]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, dword [ebp + 8]
push 0x80
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jne 0x447831
mov esi, dword [ebp + 8]
call fcn.00449d40
mov esi, dword [ebp + 8]
call fcn.00449bb0
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
test esi, esi
je 0x4478b0
mov byte [ebp - 4], 1
test edi, edi
je 0x447878
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00448790
add esp, 8
mov esi, dword [ebp - 0x10]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push esi
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00448450
add esp, 4
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x447933
mov byte [ebp - 4], 2
test edi, edi
je 0x447900
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00448a60
mov eax, dword [ebp + 8]
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00448790
add esp, 8
mov esi, dword [ebp - 0x10]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push esi
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004483a0
add esp, 4
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x44793f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [ebp + 0xc], 0
je 0x447969
mov eax, dword [ebp + 8]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp + 0xc], esp
mov esi, esp
push eax
call fcn.00406650
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00449680
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44798f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret