Function at 0x407350
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov ebp, 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 ebp
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x1c]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.0041dcc0
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 ebp
mov eax, dword [esi + 0xc]
mov bx, word [eax]
neg bx
sbb ebx, ebx
and ebx, eax
test ebx, ebx
jne 0x4073c6
xor eax, eax
jmp 0x4073cd
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [edi + 0x14]
call fcn.00403710
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 ebp
mov eax, dword [esi + 0xc]
mov bx, word [eax]
neg bx
sbb ebx, ebx
and ebx, eax
test ebx, ebx
jne 0x407406
xor eax, eax
jmp 0x40740d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [edi + 0x3c]
call fcn.00403710
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 0x488c84
push ecx
call ebp
mov eax, dword [esi + 0xc]
mov bx, word [eax]
neg bx
sbb ebx, ebx
and ebx, eax
test ebx, ebx
jne 0x407446
xor eax, eax
jmp 0x40744d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [edi + 0x38]
call fcn.00403710
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 0x488c9c
push eax
call ebp
mov eax, dword [esi + 0xc]
mov bx, word [eax]
neg bx
sbb ebx, ebx
and ebx, eax
test ebx, ebx
jne 0x407486
xor eax, eax
jmp 0x40748d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [edi + 0x40]
call fcn.00403710
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0x14
push str.HTTPTimeup
push edx
call ebx
cmp eax, 0x2710
mov dword [edi + 0x74], eax
jle 0x4074c0
mov dword [edi + 0x74], 0x2710
jmp 0x4074cc
cmp eax, 1
jge 0x4074cc
mov dword [edi + 0x74], 1
mov eax, dword [edi + 0x78]
test eax, eax
je 0x4074ff
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
push eax
push ecx
call fcn.0044bf2b
add esp, 8
test eax, eax
setge al
and eax, 0xff
mov dword [esp + 0x1c], eax
je 0x4074ff
mov dword [edi + 0x80], 0
jmp 0x407529
mov eax, dword [esp + 0x20]
test eax, eax
je 0x407513
mov dword [edi + 0x80], 1
jmp 0x407529
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push 0
push str.Checked
push edx
call ebx
mov dword [edi + 0x80], 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 ebp
mov eax, dword [esi + 0xc]
lea ebp, [edi + 0x20]
mov bx, word [eax]
neg bx
sbb ebx, ebx
and ebx, eax
test ebx, ebx
jne 0x40755b
xor eax, eax
jmp 0x407562
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, ebp
call fcn.00403710
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 0x488c38
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x40]
mov ecx, dword [0x4881a0]
push edx
mov bx, word [eax]
push 0x4886c4
neg bx
sbb ebx, ebx
mov dword [esp + 0x20], ecx
and ebx, eax
lea eax, [esp + 0x20]
push eax
call fcn.00402d60
add esp, 0xc
test ebx, ebx
je 0x4076b7
push 8
push str.pdown:__
push ebx
call fcn.0044c1c7
add esp, 0xc
test eax, eax
jne 0x4076b7
add ebx, 0x10
push ebx
call fcn.0041cf10
mov cx, word [0x4918b0]
mov dx, word [0x4889ec]
push ecx
push edx
push ebx
mov ebp, eax
call fcn.0041ce00
push ebx
call fcn.0044bec1
push ebp
push ebx
mov dword [edi + 0x68], eax
call fcn.0041cf30
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x407621
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [edi + 0x44]
call fcn.00403710
push ebp
push ebx
call fcn.0041cf30
add esp, 8
test eax, eax
je 0x4077e1
mov eax, dword [edi + 0x90]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [edx + 0x20]
call fcn.0041f820
mov ebp, dword [eax]
lea ebx, [edi + 0x48]
push 0x104
mov ecx, ebx
call fcn.004034f0
test eax, eax
jne 0x407664
xor ebx, ebx
jmp 0x40767a
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 + 0x18]
push edx
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4881a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4077e1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4077e1
mov edx, dword [esp + 0x1c]
jmp 0x4077d5
mov eax, dword [ebp]
push 0x2f
push eax
call fcn.0044b659
add esp, 8
test eax, eax
je 0x4077e1
mov edx, dword [ebp]
sub eax, edx
sar eax, 1
mov ecx, eax
test ecx, ecx
jle 0x4077e1
mov eax, edx
mov eax, dword [eax - 8]
sub eax, ecx
dec eax
jns 0x4076ec
xor eax, eax
jmp 0x4076f8
mov ecx, dword [ebp]
mov ecx, dword [ecx - 8]
cmp eax, ecx
jle 0x4076f8
mov eax, ecx
mov edx, dword [0x4881a0]
mov ecx, dword [ebp]
mov dword [esp + 0x1c], edx
push 0
mov edx, dword [ecx - 8]
mov ecx, ebp
sub edx, eax
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00409850
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402ba0
lea ecx, [esp + 0x1c]
call fcn.00403680
mov edx, dword [edi + 0x90]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov ecx, dword [ecx + 0x20]
push eax
call fcn.0041f820
mov ebp, dword [eax]
lea ebx, [edi + 0x48]
push 0x104
mov ecx, ebx
call fcn.004034f0
test eax, eax
jne 0x407762
xor ebx, ebx
jmp 0x407778
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 + 0x18]
push ecx
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4881a4]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4077b6
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4077b6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004472d3
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x4881a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4077e1
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4077e1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.004472d3
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 ebp, [edi + 0x50]
mov bx, word [eax]
neg bx
sbb ebx, ebx
and ebx, eax
test ebx, ebx
jne 0x407817
xor eax, eax
jmp 0x40781e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, ebp
call fcn.00403710
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 ecx, dword [esi + 0xc]
mov ax, word [ecx]
neg ax
sbb eax, eax
and eax, ecx
lea ecx, [edi + 0x54]
push eax
call fcn.00402c90
push 1
push str.AutoRun
mov ecx, esi
call fcn.00406960
push 0x3e8
push str.GermTime
mov ecx, esi
mov dword [edi + 0x84], eax
lea ebx, [edi + 0x6c]
call fcn.00406960
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
mov ebp, 0x2710
push edx
push ebx
mov dword [ebx], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
call fcn.00408990
add esp, 0xc
mov ecx, esi
push 0
push str.DownFromLan
call fcn.00406960
dec eax
push str.MD5FileID
neg eax
sbb eax, eax
mov ecx, esi
inc eax
mov dword [edi + 0x8c], eax
call fcn.00406100
push eax
lea ecx, [edi + 0x94]
call fcn.00402c90
push 0x14
push str.P2PTimeup
mov ecx, esi
lea ebx, [edi + 0x70]
call fcn.00406960
mov dword [ebx], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
call fcn.00408990
add esp, 0xc
mov ecx, esi
lea ebx, [edi + 0xa0]
push 0xb4
push str.SetupTimeup
call fcn.00406960
mov dword [ebx], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
mov dword [esp + 0x28], 0x2a30
mov dword [esp + 0x2c], 0x14
call fcn.00408990
add esp, 0xc
mov ecx, esi
push 1
push str.NeedReboot
call fcn.00406960
dec eax
lea ecx, [esp + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x88], eax
call fcn.00403680
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0xc