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

Disassembly:
push 0xffffffffffffffff
push 0x4a9a68
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.004346e0
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 0x40baad
xor eax, eax
jmp 0x40bab4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x14]
call fcn.00404780
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 0x40baed
xor eax, eax
jmp 0x40baf4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x4c]
call fcn.00404780
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 0x4c12b8
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 0x40bb2d
xor eax, eax
jmp 0x40bb34
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x48]
call fcn.00404780
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 0x4c12d0
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 0x40bb6d
xor eax, eax
jmp 0x40bb74
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x50]
call fcn.00404780
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0x14
push str.HTTPTimeup
push edx
call ebp
cmp eax, 0x2710
mov dword [edi + 0x84], eax
jle 0x40bbad
mov dword [edi + 0x84], 0x2710
jmp 0x40bbbc
cmp eax, 1
jge 0x40bbbc
mov dword [edi + 0x84], 1
mov eax, dword [edi + 0x88]
test eax, eax
je 0x40bbf3
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
setge al
and eax, 0xff
mov dword [esp + 0x2c], eax
je 0x40bbf3
mov dword [edi + 0x90], 0
jmp 0x40bc16
mov ecx, dword [esp + 0x30]
mov eax, 1
cmp ecx, eax
je 0x40bc10
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push 0
push str.Checked
push edx
call ebp
mov dword [edi + 0x90], eax
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.Urls
push ecx
call ebx
mov eax, dword [esi + 0xc]
lea ebx, [edi + 0x20]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40bc48
xor eax, eax
jmp 0x40bc4f
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00404780
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.pdown
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
mov ecx, dword [0x4c0080]
mov bp, word [eax]
mov dword [esp + 0x28], ecx
neg bp
sbb ebp, ebp
and ebp, eax
mov edx, dword [edi + 0x50]
lea eax, [esp + 0x28]
push edx
push 0x4c07a8
push eax
mov dword [esp + 0x2c], 0
call fcn.00403dd0
add esp, 0xc
test ebp, ebp
je 0x40bdb8
push 8
push str.pdown:__
push ebp
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40bdb8
add ebp, 0x10
push ebp
call fcn.004331a0
mov cx, word [0x4cf81c]
mov dx, word [0x4c0f3c]
push ecx
push edx
push ebp
mov ebx, eax
call fcn.00433090
push ebp
call dword [sym.imp.MSVCRT.dll__wtoi]
push ebx
push ebp
mov dword [edi + 0x78], eax
call fcn.004331c0
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x40bd18
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [edi + 0x54]
call fcn.00404780
push ebx
push ebp
call fcn.004331c0
add esp, 8
test eax, eax
je 0x40beb2
mov eax, dword [edi + 0xa0]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x1c]
call fcn.00436230
mov ebp, dword [eax]
lea ebx, [edi + 0x58]
push 0x104
mov ecx, ebx
mov byte [esp + 0x24], 1
call fcn.00404560
test eax, eax
jne 0x40bd60
xor ebx, ebx
jmp 0x40bd76
mov eax, dword [ebx]
mov dword [eax - 8], 0x104
mov ecx, dword [ebx]
mov word [ecx + 0x208], 0
mov ebx, dword [ebx]
mov edx, dword [esp + 0x28]
push edx
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4c0084]
mov byte [esp + 0x20], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40beb2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40beb2
mov edx, dword [esp + 0x2c]
jmp 0x40bea6
mov eax, dword [ebx]
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x40beb2
mov edx, dword [ebx]
sub eax, edx
sar eax, 1
mov ecx, eax
test ecx, ecx
jle 0x40beb2
mov eax, edx
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [esp + 0x30]
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.0040d2f0
mov edx, dword [edi + 0xa0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
mov ecx, dword [ecx + 0x1c]
push eax
mov byte [esp + 0x28], 2
call fcn.00436230
mov ebp, dword [eax]
lea ebx, [edi + 0x58]
push 0x104
mov ecx, ebx
mov byte [esp + 0x24], 3
call fcn.00404560
test eax, eax
jne 0x40be2e
xor ebx, ebx
jmp 0x40be44
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 [0x4c0084]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40be82
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40be82
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.0049c000
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [0x4c0084]
mov byte [esp + 0x20], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40beb2
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40beb2
mov edx, dword [esp + 0x30]
lea eax, [edx - 0xc]
push eax
call fcn.0049c000
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 + 0x60]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40bee8
xor eax, eax
jmp 0x40beef
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00404780
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 + 0x64]
mov bp, word [eax]
neg bp
sbb ebp, ebp
and ebp, eax
test ebp, ebp
jne 0x40bf2e
xor eax, eax
jmp 0x40bf35
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00404780
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 + 0xa4], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push eax
push 1
push str.AutoRun
push ecx
call ebp
mov dword [edi + 0x94], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
push edx
push 0x3e8
push str.GermTime
push eax
call ebp
lea ecx, [edi + 0x7c]
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x2710
mov dword [ecx], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
call fcn.0040d810
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esp, 0xc
push ecx
push 0
push str.DownFromLan
push edx
call ebp
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edi + 0x9c], ecx
push str.MD5FileID
mov ecx, esi
call fcn.004098a0
push eax
lea ecx, [edi + 0xa8]
call fcn.00403cc0
push 0x14
push str.P2PTimeup
mov ecx, esi
lea ebp, [edi + 0x80]
call fcn.0040aae0
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.0040d810
add esp, 0xc
mov ecx, esi
lea ebp, [edi + 0xb4]
push 0xb4
push str.SetupTimeup
call fcn.0040aae0
mov dword [ebp], eax
mov dword [esp + 0x2c], 0x2a30
mov dword [esp + 0x30], 0x14
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push ebp
call fcn.0040d810
add esp, 0xc
mov ecx, esi
push 0
push str.NeedReboot
call fcn.0040aae0
dec eax
push 0x6400000
neg eax
sbb eax, eax
push str.PackageSize
inc eax
mov ecx, esi
mov dword [edi + 0x98], eax
call fcn.0040aae0
cdq
push 0x6400000
mov dword [edi + 0xc0], eax
push str.SetupSize
mov ecx, esi
mov dword [edi + 0xc4], edx
call fcn.0040aae0
cdq
mov dword [edi + 0xc8], eax
push str.PopupProcess
mov ecx, esi
mov dword [edi + 0xcc], edx
call fcn.004098a0
push eax
lea ecx, [esp + 0x18]
call fcn.00406840
mov ecx, dword [esp + 0x10]
add edi, 0xd0
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x28], 4
call fcn.0040ca10
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call fcn.004046f0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004046f0
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