Function at 0x44214c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4424b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
lea edx, [ebp - 4]
mov eax, esi
call fcn.0043ccf0
test esi, esi
jne 0x442198
lea eax, [ebp - 4]
call fcn.00416a5c
movzx eax, byte [0x4424cc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0041bdf0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x78]
call fcn.004074ac
mov eax, dword [ebp - 0x20]
mov ecx, 0x4424dc
mov edx, 0x4424ec
call fcn.0041c85c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004070f4
test ebx, ebx
je 0x4421f6
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00416818
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, ebx
call fcn.0040756c
mov eax, dword [ebp - 4]
test eax, eax
je 0x442213
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x442213
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040648c
test eax, eax
je 0x44221c
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x44225c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc4]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
lea eax, [ebp - 0x34]
push eax
push 1
mov ecx, 0x4424fc
mov dl, 1
mov eax, dword [0x441e80]
call fcn.0041a7d4
call fcn.00405ad8
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa5], 0
je 0x442275
mov eax, dword [ebp - 4]
call fcn.0041659c
jmp 0x442488
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00416818
mov eax, dword [ebp - 0x38]
call fcn.0041659c
xor edx, edx
push ebp
push 0x44246b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00416530
test al, al
je 0x442343
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax + 0xc8]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 8]
cmp word [eax + 0xd2], 0
je 0x4422dc
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 4]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xd4]
call dword [ebx + 0xd0]
movzx eax, byte [ebp - 0x15]
sub al, 1
jb 0x4422f0
je 0x442301
dec al
je 0x442316
dec al
je 0x44233e
jmp 0x442343
mov byte [ebp - 9], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442488
push 0x80
mov eax, dword [ebp - 4]
call fcn.0040712c
push eax
call sub.kernel32.dll_SetFileAttributesW
jmp 0x442343
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00416818
mov eax, dword [ebp - 0x3c]
call fcn.00416578
test al, al
jne 0x442343
mov byte [ebp - 9], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x442488
call fcn.0041a790
push 0xff00
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42c114]
call fcn.004350d0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x442391
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00442a28
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442398
mov eax, dword [ebp - 0x10]
call fcn.00405020
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4424bf
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00407098
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00407098
lea eax, [ebp - 4]
call fcn.00407090
ret