Function at 0x5844a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5844a8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5848b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x584885
mov byte [ebp - 0x1d], 0
xor eax, eax
push ebp
push 0x58487b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00533718
lea eax, [ebp - 0x10]
mov ecx, 0x5848cc
mov edx, dword [ebp - 0xc]
call fcn.00405184
mov eax, dword [ebp - 0x10]
call fcn.0040c5c8
test al, al
je 0x584871
xor eax, eax
push ebp
push 0x584544
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 0x10]
call fcn.00405338
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58454e
mov dl, 1
mov eax, dword [0x41f728]
call fcn.00403edc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x58486a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x584591
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x584611
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
cmp esi, 0
jl 0x58469a
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040bc3c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x1c]
call fcn.0040ba14
cmp dword [ebp - 0x1c], 0
je 0x584694
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x584694
inc ebx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
call fcn.0040547c
test eax, eax
jle 0x58468e
mov edx, esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov byte [ebp - 0x1d], 1
jmp 0x584694
inc dword [ebp - 0x18]
dec ebx
jne 0x584661
dec esi
cmp esi, 0xffffffff
jne 0x584621
cmp byte [ebp - 0x1d], 0
je 0x58474a
xor eax, eax
push ebp
push 0x5846ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x58474a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dl, 1
mov eax, dword [0x49dbb0]
call fcn.0049dcb0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x58484d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x24]
call fcn.0049dd50
xor ecx, ecx
mov edx, 0x584910
mov eax, dword [ebp - 0x24]
call fcn.0049ddb8
test al, al
je 0x584837
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.0049e0dc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
cmp esi, 0
jl 0x584837
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040bc3c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
call fcn.0040ba14
cmp dword [ebp - 0x1c], 0
je 0x58482d
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x58482d
inc ebx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
call fcn.0040547c
test eax, eax
jle 0x584827
lea ecx, [ebp - 0x50]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
call fcn.0049dedc
inc dword [ebp - 0x18]
dec ebx
jne 0x5847f2
dec esi
cmp esi, 0xffffffff
jne 0x5847b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x584854
mov eax, dword [ebp - 0x24]
call fcn.00403f0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x584885
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5848bc
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.00404e80
lea eax, [ebp - 0x1c]
call fcn.00404e5c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404e80
ret