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

Disassembly:
push 0xffffffffffffffff
push 0x45d646
mov eax, dword fs:[0]
push eax
sub esp, 0xdc8
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0xdc4], eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
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.00446fa0
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 0x41a52b
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], 0x114
call esi
test eax, eax
je 0x41a536
cmp dword [esp + 0x50], 6
jb 0x41a681
push 0x206
lea eax, [esp + 0x7d2]
push edi
push eax
mov word [esp + 0x7d8], di
call fcn.00446fa0
add esp, 0xc
push 0x206
lea ecx, [esp + 0x5ca]
push edi
push ecx
mov word [esp + 0x5d0], di
call fcn.00446fa0
add esp, 0xc
push 0x206
lea edx, [esp + 0x3c2]
push edi
push edx
mov word [esp + 0x3c8], di
call fcn.00446fa0
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 [0x474ef0]
lea edx, [esp + 0x7cc]
push edx
call fcn.00404de0
add esp, 4
test eax, eax
je 0x41a681
push str.QQVistaHelper.dll
lea eax, [esp + 0x5c8]
push eax
push 0x461b58
push 0x208
lea ecx, [esp + 0x3cc]
push 0x104
push ecx
call fcn.004415ac
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 0x41a681
lea ecx, [esp + 0x5c4]
push ecx
mov ecx, dword [0x474ef0]
call fcn.00404de0
add esp, 4
test eax, eax
jne 0x41a6ad
push str.QQVistaHelper.dll
lea edx, [esp + 0x5c8]
push edx
push 0x461b58
push 0x208
lea eax, [esp + 0x3cc]
push 0x104
push eax
call fcn.004415ac
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.004414cc
add esp, 0xdd4
ret
push str.ExtractQTVistaHelper
lea eax, [esp + 0x9d8]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0xdd2], di
call fcn.0042bd40
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 0x41a700
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a700
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x9d8]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0xde8], 1
call fcn.00406df0
cmp dword [esp + 0x2c], 8
jb 0x41a74d
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
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 0x41a769
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x41a7ab
mov eax, edx
lea esi, [eax + 2]
jmp 0x41a780
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a780
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x48], 8
jb 0x41a7bf
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x41a686