Function at 0x568c00
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x35
push 0
push 0
dec ecx
jne 0x568c09
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404d9c
mov eax, dword [ebp - 0xc]
call fcn.00404d9c
lea eax, [ebp - 0x170]
mov edx, dword [0x4085e8]
call fcn.00405390
xor eax, eax
push ebp
push 0x568ff2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c720]
call fcn.00403a4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x568f8c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 0x178], 0xb
lea edx, [ebp - 0x17c]
xor ecx, ecx
mov eax, 0x569008
call fcn.0040a918
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.00409e04
test eax, eax
jne 0x568d97
mov eax, dword [ebp - 0x164]
mov edx, 0x569018
call fcn.00404cf8
je 0x568d7d
mov eax, dword [ebp - 0x164]
mov edx, 0x569024
call fcn.00404cf8
je 0x568d7d
cmp dword [ebp - 0x168], 0x10
je 0x568d7d
lea edx, [ebp - 0x180]
mov eax, dword [ebp - 0x164]
call fcn.00409334
mov eax, dword [ebp - 0x180]
mov edx, 0x569030
call fcn.00404cf8
je 0x568d7d
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x568d7d
mov eax, dword [ebp - 0x164]
mov edx, 0x569018
call fcn.00404cf8
je 0x568d7d
mov eax, dword [ebp - 0x164]
mov edx, 0x569024
call fcn.00404cf8
je 0x568d7d
cmp dword [ebp - 0x168], 0x10
je 0x568d7d
lea edx, [ebp - 0x184]
mov eax, dword [ebp - 0x164]
call fcn.00409334
mov eax, dword [ebp - 0x184]
mov edx, 0x569030
call fcn.00404cf8
je 0x568d7d
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x170]
call fcn.00409e54
test eax, eax
je 0x568d1f
lea eax, [ebp - 0x170]
call fcn.00409e78
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x568f76
inc eax
mov dword [ebp - 0x18], eax
xor esi, esi
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x22c]
call fcn.00490390
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0048fe10
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 0x14]
call fcn.0040a034
mov eax, dword [ebp - 0x188]
mov edx, 0x569044
call fcn.00404cf8
jne 0x568e58
lea eax, [ebp - 0x190]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x198], eax
mov byte [ebp - 0x194], 0xb
lea edx, [ebp - 0x1a0]
mov ecx, 1
mov eax, 0x569054
call fcn.0040a918
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.005689f0
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x568ea2
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x198], eax
mov byte [ebp - 0x194], 0xb
lea edx, [ebp - 0x1a0]
mov ecx, 1
mov eax, 0x569054
call fcn.0040a918
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 8]
mov edx, 0x569064
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00409970
mov edx, eax
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp - 4]
call fcn.005682d8
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 0x19c], 0xb
lea ecx, [ebp - 0x1b0]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x198], eax
mov byte [ebp - 0x194], 0xb
lea edx, [ebp - 0x1a0]
mov ecx, 1
mov eax, 0x569054
call fcn.0040a918
mov eax, dword [ebp - 0x1ac]
call fcn.00404dac
push eax
call sub.KERNEL32.dll_GetFileAttributesA
and eax, 2
test al, al
je 0x568f5f
mov dl, 1
mov eax, ebx
call fcn.0048fd78
mov eax, dword [ebx + 8]
mov edx, 0x569070
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x568f6c
mov eax, dword [ebx + 8]
mov edx, 0x56907c
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x18]
jne 0x568dae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568f93
mov eax, dword [ebp - 0x10]
call fcn.00403a7c
ret