Function at 0x4065f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44324b
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x32
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.00429a90
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.0041e110
lea edx, [ebp - 0x38]
sub edx, eax
nop word [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x406650
push 0x1f4
lea eax, [ebp - 0x3f0]
push 0
push eax
call fcn.00429a90
push 0x44da10
call fcn.0042e56f
lea edx, [ebp - 0x3f0]
add esp, 0x10
sub edx, eax
nop dword [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x406690
cmp word [ebp - 0x38], 0x58
jne 0x4066c9
cmp word [ebp - 0x36], 0x50
jne 0x4066c9
xor ecx, ecx
movzx eax, word [ecx + str.Documents_and_SettingsAll_Users_time.e]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x3f2], ax
test ax, ax
jne 0x4066b0
jmp 0x4066e7
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ecx + str.usersPublic_time.e]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x3f2], ax
test ax, ax
jne 0x4066d0
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 8
lea eax, [ebp - 0x3f0]
lea ecx, [ebp - 0x4c0]
push 1
push eax
call fcn.0041f350
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c0]
mov eax, dword [ecx + 4]
cmp dword [ebp + eax - 0x4b4], 0
je 0x406d25
nop dword [eax]
push 0xc8
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.00429a90
add esp, 0xc
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ecx + 0x44d554]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x166], ax
test ax, ax
jne 0x406750
movzx ecx, word [ebp - 0x3fa]
movzx esi, word [ebp - 0x3fe]
push 0xa
lea eax, [ecx + 3]
cmp eax, 0x1f
lea eax, [ebp - 0x9c]
push eax
jg 0x4067a1
lea eax, [ecx + 3]
push eax
call fcn.0042e0c4
lea eax, [ebp - 0x1fc]
push 0xa
push eax
movzx eax, word [ebp - 0x3fe]
jmp 0x4067b6
lea eax, [ecx - 0x1c]
push eax
call fcn.0042e0c4
lea eax, [ebp - 0x1fc]
push 0xa
push eax
lea eax, [esi + 1]
push eax
call fcn.0042e0c4
lea eax, [ebp - 0x9c]
add esp, 0x18
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4067d0
sub eax, edx
sar eax, 1
cmp eax, 1
mov eax, dword [str.0__:]
jne 0x406800
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x4067f2
mov dword [edi], eax
lea edx, [ebp - 0x9c]
mov esi, edx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x406810
lea edi, [ebp - 0x164]
sub edx, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x406826
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x406850
mov edx, dword [0x44daac]
lea esi, [ebp - 0x1fc]
mov dword [edi], edx
lea edi, [esi + 2]
nop dword [eax]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x406870
sub esi, edi
sar esi, 1
cmp esi, 1
jne 0x40689e
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x406890
mov dword [edi], eax
lea esi, [ebp - 0x1fc]
mov ecx, esi
mov dword [ebp - 0x408], ecx
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4068b0
lea edi, [ebp - 0x164]
sub esi, ecx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4068c6
mov ecx, esi
mov dword [ebp - 0x404], esi
mov esi, dword [ebp - 0x408]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x404]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x406900
push 0xa
lea eax, [ebp - 0x9c]
mov dword [edi], edx
push eax
movzx eax, word [ebp - 0x400]
push eax
call fcn.0042e0c4
lea ecx, [ebp - 0x9c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406930
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x406963
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x406950
mov eax, dword [str.0__:]
mov dword [edi], eax
lea edx, [ebp - 0x9c]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406970
lea edi, [ebp - 0x164]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406986
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4069b0
mov eax, dword [0x44dab0]
mov dword [edi], eax
lea eax, [ebp - 0x9c]
push 0xa
push eax
movzx eax, word [ebp - 0x3f8]
push eax
call fcn.0042e0c4
lea ecx, [ebp - 0x9c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4069e5
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x406a15
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x406a02
mov eax, dword [str.0__:]
mov dword [edi], eax
lea edx, [ebp - 0x9c]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406a20
lea edi, [ebp - 0x164]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406a36
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x406a60
mov eax, dword [0x44dab4]
mov dword [edi], eax
lea eax, [ebp - 0x9c]
push 0xa
push eax
movzx eax, word [ebp - 0x3f6]
push eax
call fcn.0042e0c4
lea ecx, [ebp - 0x9c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406a95
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x406ac5
lea edi, [ebp - 0x164]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x406ab2
mov eax, dword [str.0__:]
mov dword [edi], eax
lea edx, [ebp - 0x9c]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406ad0
lea edi, [ebp - 0x164]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406ae6
mov ecx, edx
lea eax, [ebp - 0x3f0]
shr ecx, 2
sub esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x570]
call fcn.0041ee80
mov byte [ebp - 4], 1
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x570]
call fcn.00425000
cmp dword [ebp - 0x520], 0
lea esi, [ebp - 0x56c]
jne 0x406b3d
xor esi, esi
jmp 0x406b64
lea ecx, [ebp - 0x56c]
call fcn.00422b70
push dword [ebp - 0x520]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0042ff68
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x56c]
call fcn.00422d00
test esi, esi
jne 0x406b9e
mov eax, dword [ebp - 0x570]
lea ecx, [ebp - 0x570]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x406b96
or eax, 4
push 0
push eax
call fcn.00403730
push 2
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x508]
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x570]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x570]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x574], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x56c]
call fcn.0041fe40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x570]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x570]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x574], eax
lea eax, [ebp - 0x508]
mov dword [ebp - 0x404], eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00427e3c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x450]
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x4c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4c4], eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4b0]
call fcn.0041fe40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x4c4], eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x404], eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00427e3c
push ecx
push 1
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.0041f350
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c0]
mov eax, dword [ecx + 4]
cmp dword [ebp + eax - 0x4b4], 0
jne 0x406730
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x4b4], 1
jne 0x406d68
nop dword [eax]
nop word [eax + eax]
sub esp, 8
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x4c0]
push eax
call fcn.00420420
mov eax, dword [ebp - 0x4c0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4b4], 1
je 0x406d40
cmp dword [ebp - 0x464], 0
lea esi, [ebp - 0x4b0]
jne 0x406d7b
xor esi, esi
jmp 0x406da2
lea ecx, [ebp - 0x4b0]
call fcn.00422b70
push dword [ebp - 0x464]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0042ff68
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x4b0]
call fcn.00422d00
test esi, esi
jne 0x406ddc
mov eax, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x4c0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x406dd4
or eax, 4
push 0
push eax
call fcn.00403730
push 0x12c
call fcn.00426810
mov edi, eax
mov edx, 0x44dab8
mov esi, edi
mov dword [ebp - 0x404], edi
add esp, 4
sub esi, edx
nop word [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [esi + edx - 2], cx
test cx, cx
jne 0x406e00
lea edx, [ebp - 0x198]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406e20
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x406e30
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x450]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x4c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4c4], eax
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x4b0]
call fcn.0041fe40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x4c4], eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x408], eax
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00427e3c
mov eax, dword [ebp - 0x404]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004261dc
mov esp, ebp
pop ebp
ret