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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cc53
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1b8
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x10046700
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x58], eax
test al, 1
je 0x10046723
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x10046718
mov ecx, dword [edi]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.10018f40
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x10046740
mov eax, dword [edi]
push ecx
push 1
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10019650
test eax, eax
lea ecx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x1c8]
je 0x10046771
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x10046786
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.10008620
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
push 0x20
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.1006328a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.10048100
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10046867
nop dword [eax]
cmp dword [ebp - 0x4c], 0x7ffffff
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
je 0x10046c8a
lea eax, [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
push 0x20
mov dword [ebp - 0x5c], 0
call fcn.1006328a
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x5c], esi
lea ecx, [esi + 8]
push eax
call fcn.10003d00
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
inc dword [ebp - 0x4c]
mov dword [ebp - 0x5c], 0
mov eax, dword [ecx + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
lea ecx, [ebp - 0x1c8]
mov dword [eax], esi
call fcn.10048100
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x100467f0
lea ecx, [ebp - 0x1b8]
call fcn.10019550
test eax, eax
jne 0x1004689f
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10008620
mov eax, dword [ebp - 0x50]
mov esi, dword [eax]
cmp esi, eax
je 0x10046a31
nop dword [eax]
lea edi, [esi + 8]
push edi
call fcn.10046ca0
test al, al
je 0x10046995
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x100468cb
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0x14
push str.__________comment_
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
je 0x10046995
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.10046e50
mov dword [ebp - 0x48], eax
cmp edi, eax
je 0x10046961
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x1004692f
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10046922
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046c94
mov eax, edx
push ecx
push eax
call fcn.100635d4
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10046995
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004698b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046c94
push ecx
push edx
call fcn.100635d4
add esp, 8
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x1004699f
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 0x13
push str.__________create_
push 0
call fcn.10004050
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100469bc
mov esi, dword [esi]
jmp 0x10046a25
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebp - 0x4c]
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x10046a05
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x100469fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046c94
mov eax, edx
push ecx
push eax
call fcn.100635d4
add esp, 8
push 0x20
push esi
mov dword [edi + 0x10], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.100635d4
mov esi, dword [ebp - 0x48]
add esp, 8
cmp esi, dword [ebp - 0x50]
jne 0x100468b0
mov edi, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x110]
call fcn.10018100
mov byte [ebp - 4], 4
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x10046a4b
mov eax, dword [edi]
push ecx
push 2
push eax
lea ecx, [ebp - 0x10c]
call fcn.10019650
test eax, eax
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x110]
je 0x10046a7c
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x10046a91
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.10008620
cmp byte [ebx + 8], 0
jne 0x10046af1
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x48], 0
mov esi, dword [edi]
cmp esi, edi
je 0x10046aee
nop
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
jbe 0x10046abc
mov edx, dword [esi + 8]
push dword [esi + 0x18]
lea ecx, [ebp - 0x110]
call fcn.10014c50
mov ecx, dword [ebp - 0x48]
add esp, 4
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [ebp - 0x4c]
je 0x10046ae8
lea eax, [ebp - 0x110]
push eax
call fcn.100197b0
add esp, 4
mov esi, dword [esi]
cmp esi, edi
jne 0x10046ab0
mov edi, dword [ebp - 0x54]
lea ecx, [ebp - 0x10c]
call fcn.10019550
test eax, eax
jne 0x10046b29
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10008620
cmp dword [edi + 0x14], 7
jbe 0x10046b31
mov edi, dword [edi]
push dword [ebp - 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x114], eax
lea ecx, [ebp - 0x10c]
call fcn.10018e90
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x114], eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0xa8], vtable.std::ios_base.0
call fcn.10061ca8
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.1001c850
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10046bf1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046be7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046c94
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1cc], eax
lea ecx, [ebp - 0x1b8]
call fcn.10018e90
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1cc], eax
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10061ca8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063277
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push str.list_too_long
call fcn.10061190
call fcn.1006dc9f
int3