Function at 0x41c3a0
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 0x44c888
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf4
mov eax, dword [0x45f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], 0
mov eax, 0x7ffffffe
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x41c7e4
cmp dword [ecx + 0x14], 7
jbe 0x41c405
mov ecx, dword [ecx]
push 1
push 0x457c50
push edx
push ecx
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x100]
call fcn.00402990
push 0x10
push 0x457c2c
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0
call fcn.0041a720
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xec]
cmp ecx, 7
jbe 0x41c4b6
mov edx, dword [ebp - 0x100]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c4ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c7e9
push ecx
push edx
call fcn.0042980f
add esp, 8
push 0xb0
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.0042b650
add esp, 0xc
mov dword [ebp - 0xe0], 0x4575b4
cmp dword [ebp - 0x18], 7
lea esi, [ebp - 0x2c]
lea ecx, [ebp - 0x78]
cmova esi, dword [ebp - 0x2c]
call fcn.0041a5e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe4], eax
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
add ecx, dword [eax + 4]
call fcn.0041a8b0
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.0041a650
mov ecx, dword [0x462d48]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], eax
mov eax, dword [0x462d44]
mov dword [ebp - 0xdc], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 0x94], 0
mov byte [ebp - 0x9e], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0xa4], 0
sub esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
push esi
call fcn.0041d760
test eax, eax
jne 0x41c67a
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
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.00406b50
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x90], 0
je 0x41c721
cmp dword [0x45fdec], 7
lea ecx, [ebp - 0xe0]
push dword [0x45fde8]
mov edx, 0x45fdd8
cmova edx, dword [0x45fdd8]
call fcn.0041da20
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.0041d670
test eax, eax
jne 0x41c70d
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
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.00406b50
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.0041d360
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe4], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.00427968
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 7
jbe 0x41c7c7
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c7bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c7ee
push ecx
push edx
call fcn.0042980f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004297d1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402150
call fcn.0042e68f
call fcn.0042e68f
int3