Function at 0x56fd20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585d26
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9c
mov eax, dword [0x5f4900]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x54], ax
push 0x3e
push 0
lea ecx, [ebp - 0x52]
push ecx
call fcn.00550230
add esp, 0xc
mov dword [ebp - 0x78], 0x40
push 0
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x54]
push eax
push 5
mov ecx, dword [ebp + 8]
call fcn.005722ac
lea ecx, [ebp - 0x54]
push ecx
call fcn.00553388
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x6c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x56fdc3
push 0x5ccd74
mov edx, dword [ebp + 0xc]
push edx
call fcn.00550880
add esp, 8
test eax, eax
je 0x56fdc3
mov byte [ebp - 0x55], 1
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x56fdea
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409800
movzx edx, al
test edx, edx
je 0x56fdea
push 0x80
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0xa8]
call fcn.00449b9f
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x90]
call fcn.00428249
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x56fe7e
push 0
push 0x1021
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xa8]
call fcn.0044a00f
cmp eax, 1
je 0x56fe7e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00425150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00449bc6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00571430
mov eax, dword [ebp - 0x94]
jmp 0x57005c
push 0x4000
call fcn.00428226
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x5c], ecx
push 0x4000
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jbe 0x56ff56
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x56fed4
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0044a35e
jmp 0x56ff03
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x74]
call fcn.005712c0
mov byte [ebp - 4], 4
push 4
lea ecx, [ebp - 0x74]
call fcn.00403e60
push eax
call fcn.004179d0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00403b70
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
push 0x4000
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x68], eax
push 0
lea ecx, [ebp + 0x10]
push ecx
call fcn.00571280
add esp, 8
movzx edx, al
test edx, edx
je 0x56ff51
cmp dword [ebp - 0x64], 0
je 0x56ff51
imul eax, dword [ebp - 0x60], 0x64
cdq
idiv dword [ebp - 0x64]
push eax
lea ecx, [ebp + 0x10]
call fcn.005714c0
jmp 0x56fead
cmp dword [ebp - 0x5c], 0
je 0x56ff7b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0042822f
add esp, 4
mov dword [ebp - 0x5c], 0
movzx edx, byte [ebp - 0x55]
test edx, edx
je 0x56ff8e
lea ecx, [ebp - 0xa8]
call fcn.00449de1
jmp 0x56fff3
mov dword [ebp - 4], 2
jmp 0x570003
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00425150
cmp dword [ebp - 0x64], 0
jne 0x57001e
cmp dword [ebp - 0x60], 0
jne 0x57002e
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x64]
je 0x57002e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x570035
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00449bc6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00571430
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005502f8
mov esp, ebp
pop ebp
ret