Function at 0x40c8a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b0510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
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 + 0x28]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.00435980
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 0x40c92b
xor eax, eax
jmp 0x40c932
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x14]
call fcn.00405ad0
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 0x40c96b
xor eax, eax
jmp 0x40c972
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x4c]
call fcn.00405ad0
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 0x4c956c
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 0x40c9ab
xor eax, eax
jmp 0x40c9b2
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x48]
call fcn.00405ad0
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 0x4c9584
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 0x40c9eb
xor eax, eax
jmp 0x40c9f2
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x50]
call fcn.00405ad0
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 0x40ca2b
mov dword [edi + 0x84], 0x2710
jmp 0x40ca3a
cmp eax, 1
jge 0x40ca3a
mov dword [edi + 0x84], 1
mov eax, dword [edi + 0x88]
test eax, eax
je 0x40ca71
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 + 0x28], eax
je 0x40ca71
mov dword [edi + 0x90], 0
jmp 0x40ca94
mov ecx, dword [esp + 0x2c]
mov eax, 1
cmp ecx, eax
je 0x40ca8e
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 0x40cac6
xor eax, eax
jmp 0x40cacd
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00405ad0
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 [0x4c8080]
mov bp, word [eax]
mov dword [esp + 0x24], ecx
neg bp
sbb ebp, ebp
and ebp, eax
mov edx, dword [edi + 0x50]
lea eax, [esp + 0x24]
push edx
push 0x4c8a3c
push eax
mov dword [esp + 0x28], 0
call fcn.00405120
add esp, 0xc
test ebp, ebp
je 0x40cc36
push 8
push str.pdown:__
push ebp
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40cc36
add ebp, 0x10
push ebp
call fcn.00434360
mov cx, word [0x4d758c]
mov dx, word [0x4c91fc]
push ecx
push edx
push ebp
mov ebx, eax
call fcn.00434250
push ebp
call dword [sym.imp.MSVCRT.dll__wtoi]
push ebx
push ebp
mov dword [edi + 0x78], eax
call fcn.00434380
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x40cb96
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [edi + 0x54]
call fcn.00405ad0
push ebx
push ebp
call fcn.00434380
add esp, 8
test eax, eax
je 0x40cd30
mov eax, dword [edi + 0xa0]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [edx + 0x1c]
call fcn.004374e0
mov ebp, dword [eax]
lea ebx, [edi + 0x58]
push 0x104
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.004058b0
test eax, eax
jne 0x40cbde
xor ebx, ebx
jmp 0x40cbf4
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 + 0x24]
push edx
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x28]
mov edx, dword [0x4c8084]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cd30
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40cd30
mov edx, dword [esp + 0x28]
jmp 0x40cd24
mov eax, dword [ebx]
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x40cd30
mov edx, dword [ebx]
sub eax, edx
sar eax, 1
mov ecx, eax
test ecx, ecx
jle 0x40cd30
mov eax, edx
mov eax, dword [eax - 8]
sub eax, ecx
lea ecx, [esp + 0x2c]
dec eax
push eax
push ecx
mov ecx, ebx
call fcn.0040de40
mov edx, dword [edi + 0xa0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
mov ecx, dword [ecx + 0x1c]
push eax
mov byte [esp + 0x24], 2
call fcn.004374e0
mov ebp, dword [eax]
lea ebx, [edi + 0x58]
push 0x104
mov ecx, ebx
mov byte [esp + 0x20], 3
call fcn.004058b0
test eax, eax
jne 0x40ccac
xor ebx, ebx
jmp 0x40ccc2
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 + 0x24]
push ecx
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4c8084]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40cd00
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40cd00
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.0043b3d0
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4c8084]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40cd30
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40cd30
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.0043b3d0
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 0x40cd66
xor eax, eax
jmp 0x40cd6d
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00405ad0
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 0x40cdac
xor eax, eax
jmp 0x40cdb3
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00405ad0
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
push 0x3e8
push str.GermTime
mov ecx, esi
mov dword [edi + 0x94], eax
lea ebp, [edi + 0x7c]
call fcn.0040b9a0
mov dword [ebp], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
mov ebx, 0x2710
push eax
push ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 1
call fcn.0040e150
add esp, 0xc
mov ecx, esi
push 0
push str.DownFromLan
call fcn.0040b9a0
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edi + 0x9c], ecx
push str.MD5FileID
mov ecx, esi
call fcn.0040ac40
push eax
lea ecx, [edi + 0xa8]
call fcn.00404b70
push 0x14
push str.P2PTimeup
mov ecx, esi
lea ebp, [edi + 0x80]
call fcn.0040b9a0
mov dword [ebp], eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
push eax
push ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 1
call fcn.0040e150
add esp, 0xc
mov ecx, esi
lea ebp, [edi + 0xb4]
push 0xb4
push str.SetupTimeup
call fcn.0040b9a0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push edx
push ebp
mov dword [ebp], eax
mov dword [esp + 0x34], 0x2a30
mov dword [esp + 0x38], 0x14
call fcn.0040e150
add esp, 0xc
push 0
push str.NeedReboot
mov ecx, esi
call fcn.0040b9a0
dec eax
push 0x6400000
neg eax
sbb eax, eax
push str.PackageSize
inc eax
mov ecx, esi
mov dword [edi + 0x98], eax
call fcn.0040b9a0
cdq
push 0x6400000
mov dword [edi + 0xc0], eax
push str.SetupSize
mov ecx, esi
mov dword [edi + 0xc4], edx
call fcn.0040b9a0
cdq
mov dword [edi + 0xc8], eax
lea ecx, [esp + 0x24]
mov dword [edi + 0xcc], edx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00405a40
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc