Function at 0x40e950
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a9d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push edi
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push str.Name
push ecx
call ebx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x2c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.0043b3d0
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push str.Introduction
push eax
call ebx
mov eax, dword [esi + 0xc]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40e9dd
xor eax, eax
jmp 0x40e9e4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x1c]
call fcn.00405750
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push str.Product
push edx
call ebx
mov eax, dword [esi + 0xc]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40ea1d
xor eax, eax
jmp 0x40ea24
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x5c]
call fcn.00405750
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push 0x4c399c
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40ea5d
xor eax, eax
jmp 0x40ea64
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x58]
call fcn.00405750
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push 0x4c39b4
push eax
call ebx
mov eax, dword [esi + 0xc]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40ea9d
xor eax, eax
jmp 0x40eaa4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x60]
call fcn.00405750
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push str.SlideShowImage
push edx
call ebx
mov eax, dword [esi + 0xc]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40eadd
xor eax, eax
jmp 0x40eae4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x54]
call fcn.00405750
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0x14
push str.HTTPTimeup
push ecx
call ebp
cmp eax, 0x2710
mov dword [edi + 0x94], eax
jle 0x40eb1d
mov dword [edi + 0x94], 0x2710
jmp 0x40eb2c
cmp eax, 1
jge 0x40eb2c
mov dword [edi + 0x94], 1
mov eax, dword [edi + 0x98]
test eax, eax
je 0x40eb64
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
setge dl
and edx, 0xff
mov dword [esp + 0x2c], edx
je 0x40eb64
mov dword [edi + 0xa0], 0
jmp 0x40eb87
mov ecx, dword [esp + 0x30]
mov eax, 1
cmp ecx, eax
je 0x40eb81
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push eax
push 0
push str.Checked
push ecx
call ebp
mov dword [edi + 0xa0], eax
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push str.Urls
push eax
call ebx
mov eax, dword [esi + 0xc]
lea ebx, [edi + 0x28]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40ebb9
xor eax, eax
jmp 0x40ebc0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00405750
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push str.pdown
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
mov eax, dword [0x4c2080]
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 0x60]
lea edx, [esp + 0x28]
push ecx
push 0x4c2b58
push edx
mov dword [esp + 0x2c], 0
call fcn.00404da0
add esp, 0xc
test ebp, ebp
je 0x40ed2d
push 8
push str.pdown:__
push ebp
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40ed2d
add ebp, 0x10
push ebp
call fcn.00438160
mov cx, word [0x4c35f4]
mov ebx, eax
mov ax, word [0x4d1c0c]
push eax
push ecx
push ebp
call fcn.00438050
push ebp
call dword [sym.imp.MSVCRT.dll__wtoi]
push ebx
push ebp
mov dword [edi + 0x88], eax
call fcn.00438180
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x40ec8a
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [edi + 0x64]
call fcn.00405750
push ebx
push ebp
call fcn.00438180
add esp, 8
test eax, eax
je 0x40ee25
mov edx, dword [edi + 0xb0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
mov ecx, dword [ecx + 0x1c]
push eax
call fcn.0043cf20
mov ebp, dword [eax]
lea ebx, [edi + 0x68]
push 0x104
mov ecx, ebx
mov byte [esp + 0x24], 1
call fcn.00405530
test eax, eax
jne 0x40ecd2
xor ebx, ebx
jmp 0x40ece8
mov edx, dword [ebx]
mov dword [edx - 8], 0x104
mov eax, dword [ebx]
mov word [eax + 0x208], 0
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x28]
push ecx
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x4c2084]
mov byte [esp + 0x20], 0
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40ee25
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40ee25
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
jmp 0x40ee1c
mov eax, dword [ebx]
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x40ee25
mov edx, dword [ebx]
sub eax, edx
sar eax, 1
mov ecx, eax
test ecx, ecx
jle 0x40ee25
mov eax, dword [edx - 8]
sub eax, ecx
mov ecx, ebx
dec eax
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00410700
mov ecx, dword [edi + 0xb0]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov byte [esp + 0x28], 2
call fcn.0043cf20
mov ebp, dword [eax]
lea ebx, [edi + 0x68]
push 0x104
mov ecx, ebx
mov byte [esp + 0x24], 3
call fcn.00405530
test eax, eax
jne 0x40eda1
xor ebx, ebx
jmp 0x40edb7
mov ecx, dword [ebx]
mov dword [ecx - 8], 0x104
mov edx, dword [ebx]
mov word [edx + 0x208], 0
mov ebx, dword [ebx]
mov eax, dword [esp + 0x28]
push eax
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4c2084]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40edf5
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40edf5
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.00442ac0
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [0x4c2084]
mov byte [esp + 0x20], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ee25
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40ee25
mov edx, dword [esp + 0x30]
lea eax, [edx - 0xc]
push eax
call fcn.00442ac0
add esp, 4
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push str.RunParam
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
lea ebx, [edi + 0x70]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40ee5b
xor eax, eax
jmp 0x40ee62
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00405750
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push str.SetupParam
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
lea ebx, [edi + 0x74]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40eea1
xor eax, eax
jmp 0x40eea8
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00405750
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.DisableSilenceMode
push edx
call ebp
mov dword [edi + 0xb4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push eax
push 1
push str.AutoRun
push ecx
call ebp
push 0x3e8
push str.GermTime
mov ecx, esi
mov dword [edi + 0xa4], eax
lea ebp, [edi + 0x8c]
call fcn.0040d940
mov dword [ebp], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
mov ebx, 0x2710
push eax
push ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
call fcn.00410c00
add esp, 0xc
mov ecx, esi
push 0
push str.DownFromLan
call fcn.0040d940
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edi + 0xac], ecx
push str.MD5FileID
mov ecx, esi
call fcn.0040c7f0
push eax
lea ecx, [edi + 0xb8]
call fcn.00404c50
push 0x14
push str.P2PTimeup
mov ecx, esi
lea ebp, [edi + 0x90]
call fcn.0040d940
mov dword [ebp], eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
push ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
call fcn.00410c00
add esp, 0xc
mov ecx, esi
lea ebp, [edi + 0xc4]
push 0xb4
push str.SetupTimeup
call fcn.0040d940
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push ebp
mov dword [ebp], eax
mov dword [esp + 0x38], 0x2a30
mov dword [esp + 0x3c], 0x14
call fcn.00410c00
add esp, 0xc
push 0
push str.NeedReboot
mov ecx, esi
call fcn.0040d940
dec eax
push 0x6400000
neg eax
sbb eax, eax
push str.PackageSize
inc eax
mov ecx, esi
mov dword [edi + 0xa8], eax
call fcn.0040d940
cdq
push 0x6400000
mov dword [edi + 0xd0], eax
push str.SetupSize
mov ecx, esi
mov dword [edi + 0xd4], edx
call fcn.0040d940
cdq
mov dword [edi + 0xd8], eax
push str.PopupProcess
mov ecx, esi
mov dword [edi + 0xdc], edx
call fcn.0040c7f0
push eax
lea ecx, [esp + 0x18]
call fcn.0040a220
mov ecx, dword [esp + 0x10]
add edi, 0xe0
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x28], 4
call fcn.0040fc00
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.004056c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004056c0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc