Function at 0x40adc0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468278
mov eax, dword fs:[0]
push eax
mov eax, 0x19030
call fcn.0042a4c0
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1903c], ecx
mov eax, dword [ebp - 0x1903c]
movzx ecx, byte [eax + 0x23f]
test ecx, ecx
jne 0x40b044
lea ecx, [ebp - 0x10]
call fcn.0040a360
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1903c]
add edx, 0x24
push edx
lea ecx, [ebp - 0x10]
call fcn.0040a3a0
test eax, eax
jne 0x40af14
mov dword [ebp - 0x19024], 1
mov eax, dword [ebp - 0x1903c]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x19020], eax
mov ecx, dword [ebp - 0x19020]
and ecx, 1
je 0x40ae98
mov edx, dword [ebp - 0x19020]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp - 0x1903c]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040a3a0
test eax, eax
je 0x40ae98
mov dword [ebp - 0x19024], 0
cmp dword [ebp - 0x19024], 0
je 0x40af14
mov dword [ebp - 0x19028], 0
jmp 0x40aebc
mov edx, dword [ebp - 0x19028]
add edx, 1
mov dword [ebp - 0x19028], edx
cmp dword [ebp - 0x19028], 3
jae 0x40aee7
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1903c]
add eax, 0x24
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a3a0
test eax, eax
je 0x40aee5
jmp 0x40aee7
jmp 0x40aead
cmp dword [ebp - 0x19028], 3
jne 0x40af14
mov dword [ebp - 0x19038], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a380
mov eax, dword [ebp - 0x19038]
jmp 0x40b0d9
lea ecx, [ebp - 0x10]
call fcn.0040a400
mov byte [ebp - 0x1901c], 0
push 0x18fff
push 0
lea ecx, [ebp - 0x1901b]
push ecx
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1902c], 0
jmp 0x40af5b
mov edx, dword [ebp - 0x1902c]
add edx, 1
mov dword [ebp - 0x1902c], edx
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x240
call fcn.00404d30
cmp dword [ebp - 0x1902c], eax
jae 0x40b022
mov eax, dword [ebp - 0x1902c]
push eax
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x240
call fcn.0040b280
mov ecx, dword [eax]
mov dword [ebp - 0x19030], ecx
mov edx, dword [ebp - 0x19030]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
cmp eax, 0x19000
jbe 0x40afc4
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1901c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040a430
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x19030]
cmp dword [eax], 0x19000
jbe 0x40afec
mov ecx, dword [ebp - 0x19030]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x19030]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a430
jmp 0x40b01d
mov ecx, dword [ebp - 0x19030]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x19030]
push eax
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + ecx - 0x1901c]
push edx
call fcn.00415c30
add esp, 0xc
mov eax, dword [ebp - 0x19030]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x40af4c
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x1901c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a380
mov dword [ebp - 0x19034], 0
jmp 0x40b05f
mov ecx, dword [ebp - 0x19034]
add ecx, 1
mov dword [ebp - 0x19034], ecx
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x240
call fcn.00404d30
cmp dword [ebp - 0x19034], eax
jae 0x40b0c3
movzx edx, byte [ebp + 8]
test edx, edx
je 0x40b0a3
mov eax, dword [ebp - 0x19034]
push eax
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x240
call fcn.0040b280
mov ecx, dword [eax]
push ecx
call fcn.00415a8d
add esp, 4
mov edx, dword [ebp - 0x19034]
push edx
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x240
call fcn.0040b280
mov dword [eax], 0
jmp 0x40b050
mov ecx, dword [ebp - 0x1903c]
add ecx, 0x240
call fcn.0040b340
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret 4