Function at 0x462efc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x462f04
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4633bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x463311
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10d]
push eax
push 0x104
mov eax, dword [0x49bef0]
mov eax, dword [eax]
call eax
lea eax, [ebp - 8]
lea edx, [ebp - 0x10d]
call fcn.004051cc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov dword [ebx], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f140
test al, al
je 0x462f87
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462dd0
test al, al
je 0x462f87
call fcn.00404a64
jmp 0x463318
lea edx, [ebp - 0x11c]
mov eax, 0x4633d8
call fcn.0045ca34
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.004058b0
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.0045ef08
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
call fcn.0040525c
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.004059e8
je 0x46301e
mov dword [ebx], 2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f140
test al, al
je 0x46301e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462dd0
test al, al
je 0x46301e
call fcn.00404a64
jmp 0x463318
lea edx, [ebp - 0x12c]
mov eax, 0x4633e8
call fcn.0045ca34
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
call fcn.004058b0
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x124]
call fcn.0045ef08
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 8]
call fcn.0040525c
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.004059e8
je 0x4630b5
mov dword [ebx], 3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f140
test al, al
je 0x4630b5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462dd0
test al, al
je 0x4630b5
call fcn.00404a64
jmp 0x463318
mov dword [ebx], 4
lea eax, [ebp - 0x134]
call fcn.00464b6c
lea eax, [ebp - 0x134]
mov edx, 0x4633fc
call fcn.0040529c
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.004058b0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f140
test al, al
je 0x46310a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462dd0
test al, al
je 0x46310a
call fcn.00404a64
jmp 0x463318
mov dword [ebx], 5
lea eax, [ebp - 0x13c]
call fcn.00465ec8
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00462c1c
lea eax, [ebp - 0x138]
mov edx, 0x4633fc
call fcn.0040529c
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.004058b0
mov eax, dword [ebp - 4]
push dword [eax]
push 0x463408
lea edx, [ebp - 0x148]
xor eax, eax
call fcn.00402e54
mov eax, dword [ebp - 0x148]
call fcn.0045d34c
lea edx, [ebp - 0x144]
call fcn.0045d408
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
call fcn.004058b0
push dword [ebp - 0x140]
push 0x463410
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.004059a0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f1a4
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004058c0
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f140
test al, al
je 0x4631e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462dd0
test al, al
je 0x4631e2
call fcn.00404a64
jmp 0x463318
lea eax, [ebp - 0x154]
call fcn.00460898
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0045faac
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00462c1c
lea eax, [ebp - 0x14c]
mov edx, 0x4633fc
call fcn.0040529c
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.004058b0
mov eax, dword [ebp - 4]
push dword [eax]
push 0x463408
lea edx, [ebp - 0x160]
xor eax, eax
call fcn.00402e54
mov eax, dword [ebp - 0x160]
call fcn.0045d34c
lea edx, [ebp - 0x15c]
call fcn.0045d408
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
call fcn.004058b0
push dword [ebp - 0x158]
push 0x463410
mov eax, dword [ebp - 4]
mov edx, 4
call fcn.004059a0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f1a4
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004058c0
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebx], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0045f140
test al, al
je 0x4632c8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00462dd0
test al, al
je 0x4632c8
call fcn.00404a64
jmp 0x463318
mov dword [ebx], 6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463318
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor edx, edx
call fcn.004059e8
je 0x463310
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004058d0
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x463310
mov eax, dword [ebp - 4]
mov edx, 0x463410
call fcn.004058dc
mov eax, dword [ebp - 4]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4633c9
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00405000
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.004056e4
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.00405000
lea eax, [ebp - 0x140]
mov edx, 2
call fcn.004056e4
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00405000
lea eax, [ebp - 0x130]
call fcn.004056cc
lea eax, [ebp - 0x12c]
call fcn.00404fdc
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.004056e4
lea eax, [ebp - 0x11c]
call fcn.00404fdc
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.004056e4
lea eax, [ebp - 8]
call fcn.00404fdc
ret