Function at 0x41a620
Capabilities:
Check os version
Get common file path
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45adc6
mov eax, dword fs:[0]
push eax
sub esp, 0xdc8
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0xdc4], eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0xdd8]
mov dword fs:[0], eax
push 0x11c
xor edi, edi
lea eax, [esp + 0x50]
push edi
push eax
call fcn.00443e10
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], 0x11c
call esi
cmp eax, edi
jne 0x41a69b
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], 0x114
call esi
test eax, eax
je 0x41a6a6
cmp dword [esp + 0x50], 6
jb 0x41a7f1
push 0x206
lea eax, [esp + 0x7d2]
push edi
push eax
mov word [esp + 0x7d8], di
call fcn.00443e10
add esp, 0xc
push 0x206
lea ecx, [esp + 0x5ca]
push edi
push ecx
mov word [esp + 0x5d0], di
call fcn.00443e10
add esp, 0xc
push 0x206
lea edx, [esp + 0x3c2]
push edi
push edx
mov word [esp + 0x3c8], di
call fcn.00443e10
add esp, 0xc
push 0x104
lea eax, [esp + 0x7d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x5c4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [0x471e68]
lea edx, [esp + 0x7cc]
push edx
call fcn.00404e70
add esp, 4
test eax, eax
je 0x41a7f1
push str.QQVistaHelper.dll
lea eax, [esp + 0x5c8]
push eax
push 0x45fb18
push 0x208
lea ecx, [esp + 0x3cc]
push 0x104
push ecx
call fcn.0043ef21
add esp, 0x18
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x41a7f1
lea ecx, [esp + 0x5c4]
push ecx
mov ecx, dword [0x471e68]
call fcn.00404e70
add esp, 4
test eax, eax
jne 0x41a81d
push str.QQVistaHelper.dll
lea edx, [esp + 0x5c8]
push edx
push 0x45fb18
push 0x208
lea eax, [esp + 0x3cc]
push 0x104
push eax
call fcn.0043ef21
add esp, 0x18
lea ecx, [esp + 0x3bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 2
push eax
lea edx, [esp + 0x3c0]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 1
mov ecx, dword [esp + 0xdd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xdc4]
xor ecx, esp
call fcn.0043ef12
add esp, 0xdd4
ret
push str.ExtractQTVistaHelper
push 0x400
lea eax, [esp + 0x9dc]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x30]
call fcn.0042a750
mov dword [esp + 0xde0], edi
mov ebx, 7
lea eax, [esp + 0x9d4]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
jmp 0x41a870
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a870
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x9d8]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f20
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0xde8], 1
call fcn.00406d90
cmp dword [esp + 0x2c], 8
jb 0x41a8bd
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x41a8d9
lea edx, [esp + 0x34]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x41a91b
mov eax, edx
lea esi, [eax + 2]
jmp 0x41a8f0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a8f0
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x48], 8
jb 0x41a92f
mov eax, dword [esp + 0x34]
push eax
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x41a7f6