Function at 0x557150
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x557158
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004052dc
xor eax, eax
push ebp
push 0x5575c3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x314], 0
je 0x557593
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x5571b0
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x5575d8
call fcn.0052d41c
mov eax, dword [ebx + 0x314]
call fcn.0053eebc
mov eax, dword [ebx + 0x314]
mov edx, 0x5575e4
call fcn.0053ede8
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x5571f3
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x557604
call fcn.0052d41c
mov eax, dword [ebp - 4]
call fcn.0040a36c
test al, al
je 0x55750b
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040a7b8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004097b8
mov eax, dword [ebp - 0xc]
mov edx, 0x557614
call fcn.00405238
jne 0x5574a0
mov dl, 1
mov eax, dword [0x41c644]
call fcn.00403e90
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x557499
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x557624
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x557634
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x557658
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x557668
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x5576f4
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x48]
call fcn.00409d0c
push dword [ebp - 0x18]
push 0x5577a4
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x4c]
call fcn.00409d0c
push dword [ebp - 0x1c]
push 0x5577b8
push dword [ebp - 4]
push 0x5577e0
lea eax, [ebp - 0x14]
mov edx, 7
call fcn.004051ac
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x557810
push dword [ebp - 4]
push 0x557828
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x48]
call fcn.00409d0c
push dword [ebp - 0x24]
push 0x5577a4
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x48]
call fcn.00409d0c
push dword [ebp - 0x28]
push 0x5578a8
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.004051ac
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5578c4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5833dc]
mov eax, dword [eax]
call fcn.0040a36c
test al, al
je 0x5573dd
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x557374
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x5578dc
call fcn.0052d41c
push 0x80
mov eax, dword [0x5833dc]
mov eax, dword [eax]
call fcn.004052ec
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
je 0x55739b
mov eax, dword [0x5833dc]
mov eax, dword [eax]
call fcn.0040a584
mov eax, dword [0x5833dc]
mov eax, dword [eax]
call fcn.0040a36c
test al, al
je 0x5573b5
call fcn.00404810
jmp 0x557593
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x5573dd
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x5578ec
call fcn.0052d41c
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x557405
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x5578fc
call fcn.0052d41c
mov edx, dword [0x5833dc]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x55743d
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55790c
call fcn.0052d41c
lea eax, [ebp - 0x2c]
mov edx, dword [0x5833dc]
mov edx, dword [edx]
call fcn.004056d0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x314]
call fcn.0053ede8
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x557483
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55791c
call fcn.0052d41c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55756b
mov eax, dword [ebp - 8]
call fcn.00403ec0
ret
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x5574c8
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55792c
call fcn.0052d41c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.004056d0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x314]
call fcn.0053ede8
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x55756b
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55793c
call fcn.0052d41c
jmp 0x55756b
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x557533
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55794c
call fcn.0052d41c
mov eax, dword [ebx + 0x314]
mov edx, 0x5575e4
call fcn.0053ede8
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x55756b
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55795c
call fcn.0052d41c
mov eax, dword [0x583238]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x5c2], 0
je 0x557593
mov edx, dword [0x583238]
xor ecx, ecx
mov edx, 0x55796c
call fcn.0052d41c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5575ca
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040558c
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.00404e34
lea eax, [ebp - 4]
call fcn.00404e10
ret