Function at 0x5893c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], edx
mov dword [ebp - 0x54], eax
mov eax, 0x7361e0
call fcn.00654e18
mov dword [ebp - 0x34], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.00662930
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0xc
mov byte [ebp - 0x55], 1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0048abe0
test al, al
jne 0x589426
xor eax, eax
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
pop eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x5896ec
push 0x80
cmp dword [ebp - 4], 0
je 0x589436
mov ecx, dword [ebp - 4]
jmp 0x58943b
mov ecx, 0x7356c8
push ecx
call sub.KERNEL32.DLL_SetFileAttributesW
mov word [ebp - 0x40], 0x18
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x34]
lea edx, [ebp - 4]
mov eax, 0x7356ca
call fcn.00662fe8
lea eax, [ebp - 0xc]
mov eax, dword [eax]
mov edx, 0x42
call fcn.0048aa18
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x488], eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00662a80
mov word [ebp - 0x40], 0x24
push 1
push 0
lea ecx, [ebp - 0x56]
push ecx
call fcn.006548f7
add esp, 0xc
lea eax, [ebp - 0x56]
mov dl, byte [eax]
push edx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x20]
push eax
inc dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0048b2c4
lea ecx, [ebp - 0x18]
push dword [ecx]
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0048b284
lea edx, [ebp - 0x14]
push dword [edx]
mov edx, 0x7356d4
lea eax, [ebp - 0x1c]
call fcn.006628f0
inc dword [ebp - 0x34]
mov ecx, dword [eax]
pop eax
pop edx
call fcn.004914e0
lea ecx, [ebp - 0x20]
push ecx
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0048b12c
lea eax, [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x24]
inc dword [ebp - 0x34]
pop edx
call fcn.00662ad0
lea eax, [ebp - 0x24]
push eax
mov edx, str..dir
lea eax, [ebp - 0x28]
call fcn.006628f0
inc dword [ebp - 0x34]
lea edx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
inc dword [ebp - 0x34]
pop eax
call fcn.00662ad0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00662a80
mov word [ebp - 0x40], 0xc
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x54]
add eax, 0x932
call fcn.00662aa8
push 0x80
cmp dword [ebp - 8], 0
je 0x5895e1
mov ecx, dword [ebp - 8]
jmp 0x5895e6
mov ecx, 0x7356da
push ecx
call sub.KERNEL32.DLL_SetFileAttributesW
mov word [ebp - 0x40], 0x30
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x34]
lea edx, [ebp - 8]
mov eax, 0x7356dc
call fcn.00662fe8
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
mov edx, 0x42
call fcn.0048aa18
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x48c], eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00662a80
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x48c]
call fcn.0048ab3c
shr eax, 5
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x92e], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x48c]
call fcn.0048ab3c
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x488], 0xffffffff
je 0x58967d
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x48c], 0xffffffff
jne 0x5896ad
xor eax, eax
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
pop eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x5896ec
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x54]
add eax, 0x474
call fcn.00662aa8
mov al, byte [ebp - 0x55]
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
pop eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret