Function at 0x440874
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x44087c
push ecx
xor eax, eax
push ebp
push 0x440bb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x458ed0
call fcn.004043bc
lea ecx, [ebp - 8]
mov eax, dword [0x4574e8]
mov eax, dword [eax]
mov edx, 0x440bcc
call fcn.00416e34
mov eax, dword [ebp - 8]
call fcn.0043c964
test al, al
je 0x440b47
lea ecx, [ebp - 0xc]
mov eax, dword [0x4574e8]
mov eax, dword [eax]
mov edx, 0x440bd8
call fcn.00416e34
mov eax, dword [ebp - 0xc]
call fcn.0043c964
test al, al
je 0x4408e5
call fcn.0043a494
lea eax, [ebp - 4]
mov edx, 0x440be4
call fcn.00404454
lea edx, [ebp - 0x10]
mov eax, 0x440bf8
call fcn.00444d60
mov edx, dword [ebp - 0x10]
mov eax, 0x458ebc
mov ecx, 0x440c08
call fcn.004046e4
lea eax, [ebp - 0x18]
call fcn.00446048
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040c860
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004046a0
mov eax, dword [ebp - 0x14]
call fcn.004458cc
test al, al
je 0x440963
lea eax, [ebp - 0x20]
call fcn.00446048
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040c860
mov edx, dword [ebp - 0x1c]
mov eax, 0x458ed0
mov ecx, dword [ebp - 4]
call fcn.004046e4
jmp 0x440a09
mov edx, dword [0x457720]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 4]
call fcn.004046e4
mov eax, dword [ebp - 0x24]
call fcn.004458cc
test al, al
je 0x440999
mov edx, dword [0x457720]
mov edx, dword [edx]
mov eax, 0x458ed0
mov ecx, dword [ebp - 4]
call fcn.004046e4
jmp 0x440a09
lea eax, [ebp - 0x28]
call fcn.00444e44
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
call fcn.004046a0
mov eax, dword [ebp - 0x28]
call fcn.004458cc
test al, al
je 0x4409d2
lea eax, [ebp - 0x2c]
call fcn.00444e44
mov edx, dword [ebp - 0x2c]
mov eax, 0x458ed0
mov ecx, dword [ebp - 4]
call fcn.004046e4
jmp 0x440a09
lea eax, [ebp - 0x30]
call fcn.0044a538
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.004046a0
mov eax, dword [ebp - 0x30]
call fcn.004458cc
test al, al
je 0x440a09
lea eax, [ebp - 0x34]
call fcn.0044a538
mov edx, dword [ebp - 0x34]
mov eax, 0x458ed0
mov ecx, dword [ebp - 4]
call fcn.004046e4
lea edx, [ebp - 0x38]
mov eax, dword [0x458ed0]
call fcn.00446494
mov edx, dword [ebp - 0x38]
mov eax, 0x458ec8
call fcn.00404410
lea edx, [ebp - 0x3c]
mov eax, 1
call fcn.00402dc8
mov eax, dword [ebp - 0x3c]
call fcn.004458cc
test al, al
je 0x440b0d
mov edx, 0x458ed4
mov eax, 1
call fcn.00402dc8
push 2
lea eax, [ebp - 0x40]
call fcn.0044a538
mov eax, dword [ebp - 0x40]
call fcn.00404898
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x44]
mov eax, dword [0x458ed4]
call fcn.00446494
mov edx, dword [ebp - 0x44]
mov eax, 0x458ecc
call fcn.00404410
mov edx, dword [0x457720]
mov edx, dword [edx]
lea eax, [ebp - 0x48]
mov ecx, dword [0x458ebc]
call fcn.004046e4
mov eax, dword [ebp - 0x48]
call fcn.004458cc
test al, al
je 0x440ac6
mov edx, dword [0x457720]
mov edx, dword [edx]
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 4]
call fcn.004046e4
mov eax, dword [ebp - 0x4c]
call fcn.004458cc
test al, al
jne 0x440b47
lea eax, [ebp - 0x50]
call fcn.0044a538
lea eax, [ebp - 0x50]
mov edx, dword [0x458ebc]
call fcn.004046a0
mov eax, dword [ebp - 0x50]
mov edx, dword [0x458ecc]
call fcn.004459bc
lea eax, [ebp - 0x54]
call fcn.0044a538
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.004046a0
mov eax, dword [ebp - 0x54]
mov edx, dword [0x458ec8]
call fcn.004459bc
jmp 0x440b47
mov edx, dword [0x457720]
mov edx, dword [edx]
lea eax, [ebp - 0x58]
mov ecx, dword [0x458ebc]
call fcn.004046e4
mov eax, dword [ebp - 0x58]
call fcn.004458cc
test al, al
je 0x440b47
mov edx, dword [0x457720]
mov edx, dword [edx]
mov eax, 0x458ed4
mov ecx, dword [0x458ebc]
call fcn.004046e4
lea ecx, [ebp - 0x5c]
mov eax, dword [0x4574e8]
mov eax, dword [eax]
mov edx, 0x440c18
call fcn.00416e34
mov eax, dword [ebp - 0x5c]
call fcn.0043c964
test al, al
je 0x440b9d
mov byte [0x458edd], 1
lea eax, [ebp - 0x60]
call fcn.00444e04
mov edx, dword [ebp - 0x60]
mov eax, 0x458ed0
call fcn.00404410
lea edx, [ebp - 0x64]
mov eax, dword [0x458ed0]
call fcn.00446494
mov edx, dword [ebp - 0x64]
mov eax, 0x458ec8
call fcn.00404410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440bbf
lea eax, [ebp - 0x64]
mov edx, 0x19
call fcn.004043e0
ret