Function at 0x449140
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 0x4494ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
lea edx, [ebp - 4]
mov eax, esi
call fcn.00444778
test esi, esi
jne 0x44918c
lea eax, [ebp - 4]
call fcn.00410c34
movzx eax, byte [0x4494c0]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00415fc8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x78]
call fcn.00407470
mov eax, dword [ebp - 0x20]
mov ecx, 0x4494d0
mov edx, 0x4494e0
call fcn.00416a34
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.004070b8
test ebx, ebx
je 0x4491ea
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004109f0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, ebx
call fcn.00407530
mov eax, dword [ebp - 4]
test eax, eax
je 0x449207
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x449207
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406450
test eax, eax
je 0x449210
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x104
jle 0x449250
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, 0x4494f0
mov dl, 1
mov eax, dword [0x448e74]
call fcn.004149ac
call fcn.00405a9c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa5], 0
je 0x449269
mov eax, dword [ebp - 4]
call fcn.00410774
jmp 0x44947c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004109f0
mov eax, dword [ebp - 0x38]
call fcn.00410774
xor edx, edx
push ebp
push 0x44945f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00410708
test al, al
je 0x449337
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 0x4492d0
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 0x4492e4
je 0x4492f5
dec al
je 0x44930a
dec al
je 0x449332
jmp 0x449337
mov byte [ebp - 9], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44947c
push 0x80
mov eax, dword [ebp - 4]
call fcn.004070f0
push eax
call sub.kernel32.dll_SetFileAttributesW
jmp 0x449337
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004109f0
mov eax, dword [ebp - 0x3c]
call fcn.00410750
test al, al
jne 0x449337
mov byte [ebp - 9], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44947c
call fcn.00414968
push 0xff00
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x426280]
call fcn.0042f23c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x449385
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.00449a1c
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44938c
mov eax, dword [ebp - 0x10]
call fcn.00404fe4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4494b3
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0040705c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040705c
lea eax, [ebp - 4]
call fcn.00407054
ret