Function at 0x1000c4a0
Capabilities:
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 0x10040086
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
lea ecx, [ebp - 0x268]
push 1
push 0x1004a5b4
call fcn.10006010
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
push 1
push 0x1004a5b0
call fcn.10006010
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
push 2
push str.data40.wot
call fcn.100032c0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000c5bf
nop word [eax + eax]
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae edx, dword [ebp - 0x44]
lea ecx, [ebp - 0xf8]
call fcn.100097b0
add esp, 4
push eax
call fcn.10007400
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x268]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1000c580
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1b0]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000c61f
nop dword [eax]
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xf8]
call fcn.100097b0
add esp, 4
push eax
call fcn.10007400
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1b0]
call fcn.10009550
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1000c5e0
lea ecx, [ebp - 0x258]
call fcn.10003b10
test eax, eax
jne 0x1000c657
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x268]
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.10001d30
lea ecx, [ebp - 0x1a0]
call fcn.10003b10
test eax, eax
jne 0x1000c68f
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1b0]
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.10001d30
lea ecx, [ebp - 0xf4]
call fcn.10003b10
test eax, eax
jne 0x1000c6c7
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf8]
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.10001d30
push 2
push 0x1004a4fc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1004a5b0
call fcn.1001f52f
add esp, 4
push 0x1004a5b4
call fcn.1001f52f
add esp, 4
call fcn.1000c080
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1000c72b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c721
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c908
push ecx
push edx
call fcn.10018612
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x1000c775
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c76b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c908
push ecx
push edx
call fcn.10018612
add esp, 8
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xfc], eax
lea ecx, [ebp - 0xf4]
call fcn.10002f10
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xfc], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.10017e5a
mov eax, dword [ebp - 0x1b0]
add esp, 4
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 - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10002f10
mov eax, dword [ebp - 0x1b0]
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 - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10017e5a
mov eax, dword [ebp - 0x268]
add esp, 4
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 - 0x268]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x26c], eax
lea ecx, [ebp - 0x258]
call fcn.10002f10
mov eax, dword [ebp - 0x268]
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 - 0x268]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x26c], eax
lea eax, [ebp - 0x1f8]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10017e5a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100185cf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1001f358
int3