Function at 0x59a080
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x64
push 0
push 0
dec ecx
jne 0x59a088
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x59a3c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x59a339
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2e0]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x2e0]
lea edx, [ebp - 0x2dc]
call fcn.00416430
push dword [ebp - 0x2dc]
lea edx, [ebp - 0x2ec]
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ee084
mov eax, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2e8]
call fcn.00416704
mov eax, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x2e4]
xor edx, edx
call fcn.0041635c
push dword [ebp - 0x2e4]
push 0x59a3e4
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407dac
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00407848
lea ecx, [ebp - 0x2f0]
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040f4c8
mov edx, dword [ebp - 0x2f0]
lea eax, [ebp - 8]
call fcn.00407848
mov eax, dword [ebp - 8]
mov edx, 0x59a404
call fcn.00407ecc
jne 0x59a16f
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59a34c
mov eax, dword [ebp - 4]
call fcn.00415df4
test al, al
je 0x59a183
mov eax, dword [ebp - 4]
call fcn.00599ca8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2d8]
call fcn.00404abc
lea eax, [ebp - 0x2d8]
call fcn.00404854
mov edx, 0x59a418
lea eax, [ebp - 0x2d8]
call fcn.004081f4
call fcn.0040529c
push 0x59a430
lea edx, [ebp - 0x300]
xor eax, eax
call fcn.00404684
mov edx, dword [ebp - 0x300]
lea eax, [ebp - 0x2fc]
mov ecx, 0
call fcn.00407a38
mov eax, dword [ebp - 0x2fc]
lea edx, [ebp - 0x2f8]
call fcn.00599fc8
push dword [ebp - 0x2f8]
push 0x59a444
lea eax, [ebp - 0x2f4]
mov edx, 3
call fcn.00406fc4
mov edx, dword [ebp - 0x2f4]
lea eax, [ebp - 0x2d8]
call fcn.00407300
call fcn.0040529c
push 0x59a458
lea edx, [ebp - 0x310]
xor eax, eax
call fcn.00404684
mov edx, dword [ebp - 0x310]
lea eax, [ebp - 0x30c]
mov ecx, 0
call fcn.00407a38
mov eax, dword [ebp - 0x30c]
lea edx, [ebp - 0x308]
call fcn.00599fc8
push dword [ebp - 0x308]
push 0x59a470
lea eax, [ebp - 0x304]
mov edx, 3
call fcn.00406fc4
mov edx, dword [ebp - 0x304]
lea eax, [ebp - 0x2d8]
call fcn.00407300
call fcn.0040529c
push 0x59a430
lea eax, [ebp - 0x31c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00407a38
mov eax, dword [ebp - 0x31c]
lea edx, [ebp - 0x318]
call fcn.00599fc8
push dword [ebp - 0x318]
push 0x59a488
lea eax, [ebp - 0x314]
mov edx, 3
call fcn.00406fc4
mov edx, dword [ebp - 0x314]
lea eax, [ebp - 0x2d8]
call fcn.00407300
call fcn.0040529c
lea eax, [ebp - 0x2d8]
call fcn.00404b80
mov eax, dword [0x5bd978]
mov eax, dword [eax]
call fcn.004ed510
push 2
mov eax, dword [ebp - 4]
call fcn.00407880
push eax
call sub.kernel32.dll_SetFileAttributesW
lea eax, [ebp - 0x320]
mov edx, dword [ebp - 4]
call fcn.00407a70
mov eax, dword [ebp - 0x320]
xor ecx, ecx
xor edx, edx
call fcn.0059aa18
mov ebx, eax
cmp bl, 1
jne 0x59a32f
call fcn.00406848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59a34c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59a3cf
lea eax, [ebp - 0x320]
call fcn.00407404
lea eax, [ebp - 0x31c]
mov edx, 3
call fcn.00406a44
lea eax, [ebp - 0x310]
call fcn.004077e4
lea eax, [ebp - 0x30c]
mov edx, 3
call fcn.00406a44
lea eax, [ebp - 0x300]
call fcn.004077e4
lea eax, [ebp - 0x2fc]
mov edx, 3
call fcn.00406a44
lea eax, [ebp - 0x2f0]
mov edx, 6
call fcn.004077ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004077ec
ret