Function at 0x40f720
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x417d54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x2f4]
lea eax, [esp + 0x94]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x2f4], 1
mov dword [esp + 0x64], ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or esi, 0xffffffff
cmp eax, esi
je 0x40f805
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2ec], 2
call sub.MFC42u.DLL_CString::CString_1
lea edx, [esp + 0x48]
mov byte [esp + 0x2ec], 3
push edx
push 0x419198
push 5
push ebp
push 0x419188
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
cmp eax, ebp
jne 0x40f825
push str.Error_co_creating_IXMLDOMDocument
call fcn.0040d4b0
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x2ec], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ec], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x2ec], 0
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x2ec], esi
jmp 0x410930
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0xfc]
lea ecx, [esp + 0x2f4]
call sub.MFC42u.DLL_CString::AllocSysString
push eax
mov dword [esp + 0x18], eax
mov esi, eax
mov word [esp + 0x88], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esp + 0x8c], eax
jne 0x40f872
cmp esi, ebp
je 0x40f872
push 0x8007000e
call fcn.004168d2
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x84]
lea edi, [esp + 0x32]
push edi
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
mov byte [esp + 0x300], 4
mov edi, esp
mov edx, dword [ecx]
push ecx
mov esi, ecx
mov dword [edi], ebx
mov ebx, dword [esp + 0xa0]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [edi + 0xc], eax
call dword [edx + pe_nt_image_headers32]
cmp eax, ebp
jge 0x40f8c3
push 0x41de98
push esi
push eax
call fcn.004168e0
movsx ecx, word [esp + 0x32]
lea edx, [esp + 0x84]
mov dword [esp + 0x58], ecx
push edx
mov byte [esp + 0x2f0], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40f8ec
push eax
call fcn.004168d2
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
cmp dword [esp + 0x58], ebp
jne 0x40f9b1
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xf0]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x58]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push str.XML_Parsing_Error_0x_.8X_on_line__d__position__d_r_n
call fcn.0040d4b0
mov eax, dword [esp + 0x4c]
add esp, 0x10
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_2
mov ecx, dword [esp + 0x3c]
push ecx
call ebx
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push str.Reason_:__s_r_n
call fcn.0040d4b0
mov eax, dword [esp + 0x30]
add esp, 8
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4108b7
mov dword [esp + 0x54], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor ecx, ecx
mov esi, eax
mov cl, ah
and esi, 0xff
and ecx, 0xff
mov edi, ecx
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ec], 5
call sub.MFC42u.DLL_CString::CString_1
cmp esi, 5
mov byte [esp + 0x2ec], 6
jne 0x40fa3b
cmp edi, ebp
jne 0x40fa05
push str.Win2K
jmp 0x40fa73
cmp edi, 1
jne 0x40fa20
cmp dword [0x420584], ebp
je 0x40fa19
push str.WinXP_64_
jmp 0x40fa73
push str.WinXP
jmp 0x40fa73
cmp edi, 2
jne 0x40fa7c
cmp dword [0x420584], ebp
je 0x40fa34
push str.Win2003_64_
jmp 0x40fa73
push str.Win2003
jmp 0x40fa73
cmp esi, 6
jne 0x40fa7c
cmp edi, ebp
jne 0x40fa5a
cmp dword [0x420584], ebp
je 0x40fa53
push str.Vista_64_
jmp 0x40fa73
push str.Vista
jmp 0x40fa73
cmp edi, 1
jne 0x40fa7c
cmp dword [0x420584], ebp
je 0x40fa6e
push str.Win7_64_
jmp 0x40fa73
push str.Win7
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x44]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xb4]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x10]
push str.product
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
cmp eax, ebp
jne 0x410895
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x20]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x410895
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
push eax
mov esi, eax
call dword [edx + 0x2c]
cmp eax, ebp
jge 0x40fb05
push 0x41ddd8
push esi
push eax
call fcn.004168e0
cmp dword [esp + 0x38], ebp
je 0x410895
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push ebp
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.name
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x410895
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2f8]
push ecx
push edx
call edi
add esp, 8
cmp eax, ebp
jne 0x410895
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebp
push ecx
mov edx, dword [eax]
push eax
mov esi, eax
call dword [edx + 0x2c]
cmp eax, ebp
jge 0x40fbcd
push 0x41ddd8
push esi
push eax
call fcn.004168e0
cmp dword [esp + 0x38], 2
jne 0x40fc71
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x10]
push 0x41e7c0
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x40fc63
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll__wtol]
mov edx, dword [esp + 0x300]
add esp, 4
mov dword [esp + 0x5c], 1
mov dword [edx], eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x32]
mov dword [esp + 0x20], ebp
push edx
mov ecx, dword [eax]
push eax
mov esi, eax
call dword [ecx + 0x58]
cmp eax, ebp
jge 0x40fca0
push 0x41ddf8
push esi
push eax
call fcn.004168e0
cmp word [esp + 0x32], bp
je 0x410895
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x4c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x40fcdb
push 0x41dde8
push esi
push eax
call fcn.004168e0
mov eax, dword [esp + 0x38]
push eax
push str.Item_Count:__d
call fcn.0040d4b0
add esp, 8
xor edi, edi
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x80]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x40fd17
push 0x41dde8
push esi
push eax
call fcn.004168e0
cmp edi, dword [esp + 0x80]
jge 0x410895
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x32]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x58]
cmp eax, ebp
jge 0x40fd55
push 0x41ddf8
push esi
push eax
call fcn.004168e0
cmp word [esp + 0x32], bp
mov eax, dword [esp + 0x24]
jne 0x40fd7a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x38]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
mov dword [esp + 0x38], edi
jmp 0x40fcf3
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push ebp
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call ebx
push 0x11f4
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x40fdf0
mov dword [eax + 0x11e0], 0x419728
mov dword [eax + 0x11e4], ebp
mov dword [eax + 0x11f0], ebp
mov dword [eax + 0x11ec], ebp
mov dword [eax + 0x11e8], ebp
mov ebx, eax
jmp 0x40fdf2
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], ebx
call sub.MFC42u.DLL_CString::Empty
mov ecx, 0x478
xor eax, eax
mov edi, ebx
push 0xc8
rep stosd dword es:[edi], eax
push ebp
lea ecx, [esp + 0x18]
lea esi, [ebx + 2]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebp
push eax
mov edx, dword [eax]
call dword [edx + 8]
push esi
push str.ParsingUpdateItem___Add_Item__s
call fcn.0040d4b0
mov eax, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0x54]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x30]
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x60]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x40fe84
push 0x41dde8
push esi
push eax
call fcn.004168e0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
cmp ecx, eax
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
jge 0x410694
lea esi, [esp + 0x28]
push esi
push ecx
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
push eax
call fcn.0041634a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2f0], 7
call fcn.00416290
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2ec], 6
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
push edx
call fcn.0041634a
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2f0], 8
call fcn.00416290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2ec], 6
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x10]
push str.type
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x40ff84
mov edx, dword [esp + 0x18]
push str.driver
push edx
call edi
add esp, 8
test eax, eax
jne 0x40ff66
mov byte [ebx], 2
jmp 0x410681
mov eax, dword [esp + 0x18]
push 0x41e748
push eax
call edi
add esp, 8
neg eax
sbb al, al
and al, 0xfe
add al, 3
mov byte [ebx], al
jmp 0x410681
mov ecx, dword [esp + 0x10]
push str.hwid
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x410154
push 0x204
mov dword [esp + 0x30], ebp
call sub.MFC42u.DLL_operatornew
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push 0x100
push ebp
mov dword [edi], ebp
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x74]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x2c]
cmp eax, ebp
jge 0x40fff7
push 0x41ddd8
push esi
push eax
call fcn.004168e0
cmp dword [esp + 0x74], ebp
je 0x41011e
xor ebp, ebp
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x64]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x2c]
test eax, eax
jge 0x410024
push 0x41ddd8
push esi
push eax
call fcn.004168e0
cmp ebp, dword [esp + 0x64]
jge 0x41011e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x68]
push edx
call fcn.0041634a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2f0], 9
call fcn.00416290
lea ecx, [esp + 0x68]
mov byte [esp + 0x2ec], 6
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42u.DLL_CString::operator_2
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.version
push edx
call esi
add esp, 8
test eax, eax
jne 0x4100e1
push 0xc8
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea eax, [edi + 0x100]
push eax
jmp 0x410108
mov ecx, dword [esp + 0x10]
push str.date
push ecx
call esi
add esp, 8
test eax, eax
jne 0x41010e
push 0x3c
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
lea edx, [edi + 0x1c8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc ebp
jmp 0x410003
mov eax, dword [esp + 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ebp, dword [ebx + 0x11e8]
lea esi, [ebx + 0x11e0]
push 0xffffffffffffffff
mov ecx, esi
lea eax, [ebp + 1]
push eax
call fcn.00413170
mov ecx, dword [esi + 4]
mov dword [ecx + ebp*4], edi
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
xor ebp, ebp
jmp 0x410681
mov edx, dword [esp + 0x10]
push 0x41e734
push edx
call edi
add esp, 8
cmp eax, ebp
jne 0x41017a
lea eax, [esp + 0x18]
lea ecx, [esp + 0x34]
push eax
call fcn.00416290
jmp 0x410681
mov ecx, dword [esp + 0x10]
push str.version
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x4101af
push 0xc8
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
lea edx, [ebx + 0x192]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov eax, dword [esp + 0x10]
push str.size
push eax
call edi
add esp, 8
cmp eax, ebp
jne 0x4101e1
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [ebx + 0x117c], eax
jmp 0x410681
mov ecx, dword [esp + 0x10]
push str.zip_path
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x410216
push 0x400
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
lea edx, [ebx + 0x65a]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov eax, dword [esp + 0x10]
push str.path
push eax
call edi
add esp, 8
cmp eax, ebp
jne 0x41024b
push 0x400
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
lea ecx, [ebx + 0xa5a]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov edx, dword [esp + 0x10]
push str.execute
push edx
call edi
add esp, 8
cmp eax, ebp
jne 0x410280
push 0xc8
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea eax, [ebx + 0xe5a]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov ecx, dword [esp + 0x10]
push str.uninstall
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x4102b5
push 0xc8
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
lea edx, [ebx + 0xf22]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov eax, dword [esp + 0x10]
push str.pre_patch
push eax
call edi
add esp, 8
cmp eax, ebp
jne 0x4102ea
push 0xc8
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
lea ecx, [ebx + 0xfea]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov edx, dword [esp + 0x10]
push str.post_patch
push edx
call edi
add esp, 8
cmp eax, ebp
jne 0x41031f
push 0xc8
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea eax, [ebx + 0x10b2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x410681
mov ecx, dword [esp + 0x10]
push str.description
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x4104cf
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebp
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x44]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call esi
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
cmp word [0x421210], ax
je 0x4103b8
cmp ax, 0x409
jne 0x4104c0
cmp word [ebx + 2], bp
jne 0x4104c0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push 1
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xc8
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::GetBuffer
lea edx, [ebx + 0xca]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x400
push ebp
lea ecx, [esp + 0x20]
lea esi, [ebx + 0x25a]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esp + 0x1c]
push str.Vista
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x410491
mov ecx, dword [esp + 0x1c]
push str.Vista_64_
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x410491
mov edx, dword [esp + 0x1c]
push str.Win7
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x410491
mov eax, dword [esp + 0x1c]
push str.Win7_64_
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x4104c0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jle 0x4104c0
mov eax, 0x2e
mov word [ebx + 0x462], bp
mov word [ebx + 0x45c], ax
mov word [ebx + 0x45e], ax
mov word [ebx + 0x460], ax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x410681
mov edx, dword [esp + 0x10]
push str.index
push edx
call edi
add esp, 8
cmp eax, ebp
jne 0x410501
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [ebx + 0x1180], eax
jmp 0x410681
mov eax, dword [esp + 0x10]
push str.reboot
push eax
call edi
add esp, 8
cmp eax, ebp
jne 0x410539
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x11d4], eax
jmp 0x410681
mov ecx, dword [esp + 0x10]
push str.downgradable
push ecx
call edi
add esp, 8
cmp eax, ebp
jne 0x410571
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x11d4], eax
jmp 0x410681
mov edx, dword [esp + 0x10]
push str.dependence
push edx
call edi
add esp, 8
cmp eax, ebp
jne 0x410681
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esp + 0x18]
mov byte [esp + 0x2ec], 0xa
cmp dword [eax - 8], ebp
jle 0x410670
lea edi, [ebx + 0x1184]
push 0x2c
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Find
mov esi, eax
cmp esi, ebp
jle 0x41062d
lea ecx, [esp + 0x70]
push esi
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2f0], 0xb
call fcn.00416290
lea ecx, [esp + 0x70]
mov byte [esp + 0x2ec], 0xa
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x7c]
push eax
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2f0], 0xc
call fcn.00416290
lea ecx, [esp + 0x78]
mov byte [esp + 0x2ec], 0xa
call sub.MFC42u.DLL_CString::CString
jmp 0x410644
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.00416290
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::Empty
push ebp
lea ecx, [esp + 0x40]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
mov dword [edi], eax
mov edx, dword [esp + 0x1c]
add esp, 4
add edi, 4
cmp dword [edx - 8], ebp
jg 0x4105ac
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2ec], 6
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc dword [esp + 0x40]
jmp 0x40fe63
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp ebx, ebp
mov dword [esp + 0x24], ebp
je 0x410881
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ebp
lea ecx, [esp + 0x3c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call fcn.00412b90
add esp, 8
test eax, eax
jne 0x410732
cmp byte [ebx], 1
je 0x410732
cmp dword [esp + 0x5c], ebp
jne 0x410732
lea esi, [ebx + 0x11e0]
mov dword [esp + 0x50], esi
mov dword [esi], 0x419728
mov eax, dword [esi + 4]
mov byte [esp + 0x2ec], 0xd
cmp eax, ebp
je 0x410707
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push ebx
mov byte [esp + 0x2f0], 6
mov dword [esi], 0x4187a8
call sub.MFC42u.DLL_operatordelete
mov edi, dword [esp + 0x3c]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
inc edi
mov dword [esp + 0x38], edi
jmp 0x40fcf3
mov edx, dword [0x421200]
mov esi, edx
cmp esi, edx
mov dword [esp + 0x2c], esi
jl 0x410878
mov eax, dword [0x4211fc]
lea ebp, [esi + 1]
xor edi, edi
cmp ebp, edi
jne 0x410778
cmp eax, edi
je 0x410767
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [0x4211fc], edi
mov dword [0x421204], edi
mov dword [0x421200], edi
jmp 0x410876
cmp eax, edi
jne 0x4107b9
lea edi, [ebp*4]
push edi
call sub.MFC42u.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [0x4211fc], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x421204], ebp
mov dword [0x421200], ebp
jmp 0x410876
mov ecx, dword [0x421204]
cmp ebp, ecx
jg 0x4107dd
cmp ebp, edx
jle 0x4107d2
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [0x421200], ebp
jmp 0x410876
mov eax, dword [0x421208]
cmp eax, edi
jne 0x410809
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4107fd
mov eax, 4
jmp 0x410809
cmp eax, 0x400
jle 0x410809
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x40], eax
jl 0x410817
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x40]
lea ecx, [eax*4]
push ecx
call sub.MFC42u.DLL_operatornew
mov ecx, dword [0x421200]
mov esi, dword [0x4211fc]
mov ebx, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x421200]
mov ecx, ebp
sub ecx, eax
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [0x4211fc]
push edx
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
mov dword [0x4211fc], ebx
mov ebx, dword [esp + 0x58]
add esp, 8
mov dword [0x421200], ebp
mov dword [0x421204], eax
xor ebp, ebp
mov ecx, dword [0x4211fc]
mov dword [ecx + esi*4], ebx
mov edi, dword [esp + 0x38]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
mov dword [esp + 0x38], edi
jmp 0x40fcf3
lea ecx, [esp + 0x34]
mov byte [esp + 0x2ec], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ec], 3
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4108c5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x4108d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x4108e1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x48]
cmp eax, ebp
je 0x4108ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2ec], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ec], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x2ec], 0
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x2ec], 0xffffffff
lea ecx, [esp + 0x2f8]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2e4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2e0
ret