Function at 0x405f00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43be7f
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x44f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x7c], eax
mov esi, ecx
push 0x200
push 0
push eax
mov dword [ebp - 0x74], 0
call fcn.0041cce0
add esp, 0xc
mov dword [ebp - 0x12c], 0x44a9e0
lea ecx, [ebp - 0xc4]
call fcn.0040f2d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x74], 1
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 - 0x12c]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x130], eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
add ecx, dword [eax + 4]
call fcn.0040f470
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x12c]
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 - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x128]
call fcn.0040f140
push ecx
push 0xa
push ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 3
call fcn.0040f080
test eax, eax
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 0x12c]
je 0x406022
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x406037
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.00405dc0
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x1ec], 0x44aa80
mov dword [ebp - 0x1dc], 0x44a9e0
call fcn.0040f2d0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x74], 5
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 - 0x1ec]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1f0], eax
lea eax, [ebp - 0x1d4]
push eax
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1ec]
movlpd qword [ebp - 0x1e4], xmm0
add ecx, dword [eax + 4]
call fcn.0040f470
mov eax, dword [ebp - 0x1dc]
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 - 0x1dc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1e0], eax
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x1f0], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x1f0], eax
lea ecx, [ebp - 0x1d4]
call fcn.0040f140
push ecx
push 2
push ecx
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0xa
call fcn.0040f080
test eax, eax
jne 0x40617e
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1ec]
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.00405dc0
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xb
push eax
call fcn.00404850
mov dword [ebp - 0x78], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.00405010
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00405220
mov ecx, eax
mov byte [ebp - 4], 0xd
mov edi, dword [ecx + 0x14]
mov eax, edi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x4061cf
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp edi, 0xf
jbe 0x4061c7
mov eax, dword [ecx]
mov word [edx + eax], 0x7c
jmp 0x4061e6
push 1
push 0x4496b0
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push 1
call fcn.00410190
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push dword [ebp - 0x78]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.00410480
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x406256
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40624c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064de
push ecx
push edx
call fcn.00419e07
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40628e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406284
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064de
push ecx
push edx
call fcn.00419e07
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x4062d8
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4062ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064de
push ecx
push edx
call fcn.00419e07
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00410ab0
add esp, 4
lea ecx, [ebp - 0x128]
call fcn.0040ef80
test eax, eax
jne 0x40633e
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
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.00405dc0
push 2
push str.C:ProgramDataKeyFile.txt
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.00405010
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00405220
cmp dword [eax + 0x14], 0xf
jbe 0x406363
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push dword [ebp - 0x7c]
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4063a3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406399
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064e3
push ecx
push edx
call fcn.00419e07
add esp, 8
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.00404850
cmp dword [eax + 0x14], 0xf
jbe 0x4063b5
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x7c]
add eax, 0x100
push eax
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4063f5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4063eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064e8
push ecx
push edx
call fcn.00419e07
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40642d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4064ed
push ecx
push edx
call fcn.00419e07
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00406590
mov eax, dword [ebp - 0x12c]
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 - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x128]
call fcn.0040e2b0
mov eax, dword [ebp - 0x12c]
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 - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x130], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 0x13
push eax
mov dword [ebp - 0xc4], vtable.std::ios_base.0
call fcn.0041b332
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.00419df9
mov esp, ebp
pop ebp
ret
call fcn.0041fc65
call fcn.0041fc65
call fcn.0041fc65
call fcn.0041fc65
int3