Function at 0x4046e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x413d86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov eax, dword [0x4191b4]
push ebx
push esi
push edi
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
mov dword [esp + 0x268], eax
mov dword [esp + 0x2c], str.ReadConfigInfo
call fcn.00408100
push str.ReadConfigInfo
push str._s:_Enter
push 0x419da0
mov byte [0x419eaf], 0
mov dword [0x419da8], 0x291
call fcn.00403010
mov ecx, dword [0x419da4]
add esp, 0x18
inc ecx
mov dword [0x419da4], ecx
xor eax, eax
xor esi, esi
mov word [esp + 0xd8], si
mov ecx, 0x1f
lea edi, [esp + 0xda]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x1d8], si
mov ecx, 0x1f
lea edi, [esp + 0x1da]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x58], si
mov ecx, 0x1f
lea edi, [esp + 0x5a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x158], si
mov ecx, 0x1f
lea edi, [esp + 0x15a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x419138]
mov edi, 8
cmp eax, edi
mov eax, dword [0x419124]
mov dword [esp + 0x26c], esi
jae 0x4047e4
mov eax, 0x419124
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x40
lea eax, [esp + 0xe0]
push eax
push esi
push str.Strategy
push str.UpdateStrategy
call ebx
cmp dword [0x419138], edi
mov eax, dword [0x419124]
jae 0x404814
mov eax, 0x419124
push eax
push 0x40
lea ecx, [esp + 0x60]
push ecx
push esi
push str.LastLaunchTime
push str.UpdateRecord
call ebx
cmp dword [0x419138], edi
mov eax, dword [0x419124]
jae 0x40483b
mov eax, 0x419124
push eax
push 0x40
lea edx, [esp + 0x160]
push edx
push str.error
push str.LastStatus
push str.UpdateInfo
call ebx
cmp dword [0x419138], edi
mov eax, dword [0x419124]
jae 0x404869
mov eax, 0x419124
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [ebp + 8]
push eax
push 0
push str.UpdateCycle
push str.UpdateStrategy
call edi
mov dword [esi + 4], eax
cmp dword [0x419138], 8
mov eax, dword [0x419124]
jae 0x404897
mov eax, 0x419124
push eax
push 0
push str.DelayTimes
push str.DelayInfo
call edi
mov dword [esi + 8], eax
mov eax, dword [0x419138]
mov edi, 8
cmp eax, edi
mov eax, dword [0x419124]
jae 0x4048c1
mov eax, 0x419124
push eax
push 0x40
lea eax, [esp + 0x1e0]
push eax
push 0x415690
push str.DelayTime
push str.DelayInfo
call ebx
lea ecx, [esp + 0xd8]
push str.never
push ecx
call fcn.00408600
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 8
test eax, eax
jne 0x404907
mov dword [esi], 0
jmp 0x4049e2
lea edx, [esp + 0xd8]
push str.cycle
push edx
call fcn.00408600
add esp, 8
test eax, eax
je 0x4049dc
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
xor eax, eax
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0xe4]
push eax
mov byte [0x419eaf], 0
mov dword [0x419da8], 0x2bb
mov dword [esp + 0x64], 7
call fcn.00408082
add esp, 0x10
push eax
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x44]
call fcn.00403eb0
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x270], 1
call fcn.00404460
push eax
push str.Strategy_not_correct_Strategy_s_
push 0x419da0
call fcn.00403010
mov eax, dword [esp + 0x64]
add esp, 0x10
cmp eax, edi
jb 0x4049b8
mov eax, dword [esp + 0x40]
push eax
call fcn.00407316
add esp, 4
cmp dword [0x419138], edi
mov eax, dword [0x419124]
jae 0x4049ca
mov eax, 0x419124
push eax
push str.cycle
push str.Strategy
push str.UpdateStrategy
call ebx
mov dword [esi], 1
cmp dword [esi + 4], 1
jae 0x404a4f
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov byte [0x419eaf], 0
mov dword [0x419da8], 0x2c5
mov ecx, dword [esi + 4]
push ecx
push str.UpdateCycle__d__not_correct
push 0x419da0
call fcn.00403010
mov eax, dword [0x419138]
add esp, 0x18
cmp eax, edi
mov eax, dword [0x419124]
jae 0x404a36
mov eax, 0x419124
push eax
push 0x415630
push str.UpdateCycle
push str.UpdateStrategy
call ebx
mov dword [esi + 4], 0xe
lea edx, [esp + 0x158]
push edx
call fcn.004031c0
add esp, 4
test al, al
je 0x404a6c
mov dword [esi + 0xc], 1
jmp 0x404ab0
lea eax, [esp + 0x158]
push str.ready
push eax
call fcn.00408600
add esp, 8
test eax, eax
je 0x404aa9
cmp dword [0x419138], edi
mov eax, dword [0x419124]
jae 0x404a97
mov eax, 0x419124
push eax
push str.ready
push str.LastStatus
push str.UpdateInfo
call ebx
mov dword [esi + 0xc], 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x70]
push str._04u__02u__02u__02u:_02u:_02u
or edi, 0xffffffff
push ecx
mov dword [esi + 0x14], edi
call fcn.00408b95
add esp, 0x20
test eax, eax
je 0x404b3a
cmp eax, edi
je 0x404b3a
mov dx, word [esp + 0x30]
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x28]
mov word [esp + 0x10], dx
mov dx, word [esp + 0x38]
mov word [esp + 0x18], dx
mov word [esp + 0x12], ax
mov ax, word [esp + 0x34]
mov word [esp + 0x16], cx
mov cx, word [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov word [esp + 0x1e], ax
mov word [esp + 0x20], cx
call fcn.00403140
add esp, 4
mov dword [esi + 0x14], eax
cmp dword [esi + 0x14], edi
jne 0x404bc9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x1a]
xor eax, eax
mov ecx, 0x20
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
movzx ecx, word [esp + 0x1c]
movzx eax, word [esp + 0x18]
push ecx
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1a]
push eax
movzx eax, word [esp + 0x1c]
push ecx
push edx
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea ecx, [esp + 0x74]
push 0x3f
push ecx
call fcn.004086ad
mov eax, dword [0x419138]
add esp, 0x24
cmp eax, 8
mov eax, dword [0x419124]
jae 0x404ba7
mov eax, 0x419124
push eax
lea edx, [esp + 0x5c]
push edx
push str.LastLaunchTime
push str.UpdateRecord
call ebx
lea eax, [esp + 0x10]
push eax
call fcn.00403140
add esp, 4
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
cmp eax, 1
jb 0x404bd6
cmp eax, 3
jbe 0x404c3e
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov byte [0x419eaf], 0
mov dword [0x419da8], 0x2fe
mov ecx, dword [esi + 8]
push ecx
push str.DelayTimes_not_correct
push 0x419da0
call fcn.00403010
mov eax, dword [0x419138]
add esp, 0x18
cmp eax, 8
mov eax, dword [0x419124]
jae 0x404c25
mov eax, 0x419124
push eax
push 0x415590
push str.DelayTimes
push str.DelayInfo
call ebx
mov dword [esi + 8], 1
lea edx, [esp + 0x1d8]
push edx
call fcn.00408b07
add esp, 4
test eax, eax
mov dword [esi + 0x10], eax
jge 0x404c81
cmp dword [0x419138], 8
mov eax, dword [0x419124]
jae 0x404c68
mov eax, 0x419124
push eax
push 0x41558c
push str.DelayTime
push str.DelayInfo
call ebx
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x20]
call fcn.00403110
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x25c]
call fcn.00407a34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret