Function at 0x1000d870
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 0x10041356
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 0x1004b93c
call fcn.10006d80
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
push 1
push 0x1004b938
call fcn.10006d80
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
push 2
push 0x1004b708
call fcn.100032f0
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.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000d98f
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.1000a510
add esp, 4
push eax
call fcn.10008170
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x268]
call fcn.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1000d950
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1b0]
call fcn.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x1000d9ef
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.1000a510
add esp, 4
push eax
call fcn.10008170
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1b0]
call fcn.1000a2b0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x1000d9b0
lea ecx, [ebp - 0x258]
call fcn.10003b40
test eax, eax
jne 0x1000da27
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.10001d60
lea ecx, [ebp - 0x1a0]
call fcn.10003b40
test eax, eax
jne 0x1000da5f
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.10001d60
lea ecx, [ebp - 0xf4]
call fcn.10003b40
test eax, eax
jne 0x1000da97
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.10001d60
push 2
push 0x1004b708
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1004b938
call fcn.100207ff
add esp, 4
push 0x1004b93c
call fcn.100207ff
add esp, 4
call fcn.1000d450
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1000dafb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000daf1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dcd8
push ecx
push edx
call fcn.100198f2
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 0x1000db45
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000db3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000dcd8
push ecx
push edx
call fcn.100198f2
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.10002f40
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.1001913a
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.10002f40
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.1001913a
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.10002f40
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.1001913a
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.100198af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10020628
int3