Function at 0x10008cf0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032b51
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x1003e6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push str.Temp
lea eax, [ebp - 0x250]
push eax
call fcn.10006350
push 1
push 0x10036584
lea ecx, [ebp - 0x1a0]
xor ebx, ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.10006350
push 2
push str.List
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 1
call fcn.10001fe0
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.100099d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 4
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x10008e48
lea esp, [esp]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.10009740
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.100073f0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x10008df3
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x10008df3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x10008e12
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], ebx
jne 0x10008e0b
or eax, 4
push ebx
push eax
call fcn.10001570
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x48]
call fcn.100099d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 4
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x10008db0
mov edi, 0xf
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100099d0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx edx, al
add esp, 4
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0x10008f18
jmp 0x10008e80
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.10009740
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.100073f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x10008ec3
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x10008ec3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x10008ee2
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], ebx
jne 0x10008edb
or eax, 4
push ebx
push eax
call fcn.10001570
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100099d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 4
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x10008e80
mov edi, 0xf
lea ecx, [ebp - 0x240]
call fcn.10002fb0
test eax, eax
jne 0x10008f50
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x244]
lea ecx, [ebp + ecx - 0x250]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x10008f49
or eax, 4
push ebx
push eax
call fcn.10001570
lea ecx, [ebp - 0x190]
call fcn.10002fb0
test eax, eax
jne 0x10008f88
mov edx, dword [ebp - 0x1a0]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x194]
lea ecx, [ebp + ecx - 0x1a0]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x10008f81
or eax, 4
push ebx
push eax
call fcn.10001570
lea ecx, [ebp - 0xec]
call fcn.10002fb0
test eax, eax
jne 0x10008fc0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xe4]
lea ecx, [ebp + ecx - 0xf0]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x10008fb9
or eax, 4
push ebx
push eax
call fcn.10001570
push 2
push str.List
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Temp
call fcn.1001a971
add esp, 4
call fcn.10008c20
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x10008ff5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1001a26e
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x1000900f
mov edx, dword [ebp - 0x48]
push edx
call fcn.1001a26e
add esp, 4
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 1
call fcn.10002140
lea eax, [ebp - 0x90]
mov esi, vtable.std::ios_base.0
push eax
mov dword [ebp - 0x90], esi
call fcn.10018604
add esp, 4
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], bl
call fcn.100064b0
lea ecx, [ebp - 0x138]
push ecx
mov dword [ebp - 0x138], esi
call fcn.10018604
add esp, 4
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
call fcn.100064b0
lea edx, [ebp - 0x1e8]
push edx
mov dword [ebp - 0x1e8], esi
call fcn.10018604
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019013
mov esp, ebp
pop ebp
ret