Function at 0x40e5f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a0ad0
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.00432f10
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 0x40e67b
xor eax, eax
jmp 0x40e682
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x14]
call fcn.00406cb0
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 0x40e6bb
xor eax, eax
jmp 0x40e6c2
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x4c]
call fcn.00406cb0
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 0x4b97ec
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 0x40e6fb
xor eax, eax
jmp 0x40e702
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x48]
call fcn.00406cb0
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 0x4b9804
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 0x40e73b
xor eax, eax
jmp 0x40e742
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [edi + 0x50]
call fcn.00406cb0
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 0x40e77b
mov dword [edi + 0x84], 0x2710
jmp 0x40e78a
cmp eax, 1
jge 0x40e78a
mov dword [edi + 0x84], 1
mov eax, dword [edi + 0x88]
test eax, eax
je 0x40e7c1
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 0x40e7c1
mov dword [edi + 0x90], 0
jmp 0x40e7e4
mov ecx, dword [esp + 0x2c]
mov eax, 1
cmp ecx, eax
je 0x40e7de
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 0x40e816
xor eax, eax
jmp 0x40e81d
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00406cb0
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 [0x4b7080]
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 str._s.exe
push eax
mov dword [esp + 0x28], 0
call fcn.00406330
add esp, 0xc
test ebp, ebp
je 0x40e986
push 8
push str.pdown:__
push ebp
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40e986
add ebp, 0x10
push ebp
call fcn.00431e30
mov cx, word [0x4c71ec]
mov dx, word [0x4b947c]
push ecx
push edx
push ebp
mov ebx, eax
call fcn.00431d20
push ebp
call dword [sym.imp.MSVCRT.dll__wtoi]
push ebx
push ebp
mov dword [edi + 0x78], eax
call fcn.00431e50
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x40e8e6
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [edi + 0x54]
call fcn.00406cb0
push ebx
push ebp
call fcn.00431e50
add esp, 8
test eax, eax
je 0x40ea80
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.00434ad0
mov ebp, dword [eax]
lea ebx, [edi + 0x58]
push 0x104
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.00406ac0
test eax, eax
jne 0x40e92e
xor ebx, ebx
jmp 0x40e944
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 [0x4b7084]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ea80
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40ea80
mov edx, dword [esp + 0x28]
jmp 0x40ea74
mov eax, dword [ebx]
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x40ea80
mov edx, dword [ebx]
sub eax, edx
sar eax, 1
mov ecx, eax
test ecx, ecx
jle 0x40ea80
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.0040fec0
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.00434ad0
mov ebp, dword [eax]
lea ebx, [edi + 0x58]
push 0x104
mov ecx, ebx
mov byte [esp + 0x20], 3
call fcn.00406ac0
test eax, eax
jne 0x40e9fc
xor ebx, ebx
jmp 0x40ea12
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 [0x4b7084]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40ea50
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40ea50
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4b7084]
mov byte [esp + 0x1c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ea80
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x40ea80
mov edx, dword [esp + 0x2c]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
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 0x40eab6
xor eax, eax
jmp 0x40eabd
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00406cb0
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 0x40eafc
xor eax, eax
jmp 0x40eb03
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
mov ecx, ebx
call fcn.00406cb0
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.0040ecb0
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.00410570
add esp, 0xc
mov ecx, esi
push 0
push str.DownFromLan
call fcn.0040ecb0
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edi + 0x9c], ecx
push str.MD5FileID
mov ecx, esi
call fcn.0040c700
push eax
lea ecx, [edi + 0xa8]
call fcn.00405d80
push 0x14
push str.P2PTimeup
mov ecx, esi
lea ebp, [edi + 0x80]
call fcn.0040ecb0
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.00410570
add esp, 0xc
mov ecx, esi
lea ebp, [edi + 0xb4]
push 0xb4
push str.SetupTimeup
call fcn.0040ecb0
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.00410570
add esp, 0xc
push 0
push str.NeedReboot
mov ecx, esi
call fcn.0040ecb0
dec eax
push 0x6400000
neg eax
sbb eax, eax
push str.PackageSize
inc eax
mov ecx, esi
mov dword [edi + 0x98], eax
call fcn.0040ecb0
cdq
push 0x6400000
mov dword [edi + 0xc0], eax
push str.SetupSize
mov ecx, esi
mov dword [edi + 0xc4], edx
call fcn.0040ecb0
cdq
mov dword [edi + 0xc8], eax
lea ecx, [esp + 0x24]
mov dword [edi + 0xcc], edx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040c0e0
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