Function at 0x4060c0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x413fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x4191b4]
push ebx
push ebp
push edi
push 0x103
xor ebx, ebx
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
mov dword [esp + 0x18], ebx
push 0x419dac
mov dword [esp + 0x120], eax
mov dword [esp + 0x24], str.RunDuplicateLoop
call fcn.00408100
push str.RunDuplicateLoop
push str._s:_Enter
push 0x419da0
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3b3
call fcn.00403010
mov ecx, dword [0x419da4]
add esp, 0x18
inc ecx
mov dword [0x419da4], ecx
mov eax, dword [0x41911c]
mov ebp, 8
cmp eax, ebp
mov eax, dword [0x419108]
mov dword [esp + 0x120], ebx
jae 0x40615f
mov eax, 0x419108
push eax
push 1
push str.TimerMinutes
push str.UpdateSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 7
mov dword [esp + 0x14], eax
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x124], 1
call fcn.00405d00
push 0x4157b8
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.00404080
mov ecx, dword [str.LiveUpdate.exe]
push ecx
push eax
lea edx, [esp + 0x110]
push edx
mov byte [esp + 0x13c], 2
call fcn.00404080
add esp, 0x1c
cmp dword [esp + 0xc0], ebp
mov byte [esp + 0x120], 4
jb 0x406201
mov eax, dword [esp + 0xac]
push eax
call fcn.00407316
add esp, 4
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
push esi
mov eax, dword [str.LiveUpdate.exe]
push eax
mov esi, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00408082
add esp, 4
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00403eb0
or dword [esp + 0x14], 1
lea ecx, [esp + 0x20]
push 0x4190e8
push ecx
mov byte [esp + 0x12c], 5
call fcn.00403690
add esp, 8
test eax, eax
jne 0x4062ba
mov eax, dword [str.LiveUpdate.exe]
push eax
mov esi, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.00408082
add esp, 4
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00403eb0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xfc]
push edx
lea eax, [esp + 0x78]
or ecx, 2
push eax
mov dword [esp + 0x1c], ecx
call fcn.00403690
add esp, 8
test eax, eax
mov byte [esp + 0x13], 1
je 0x4062be
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 2
je 0x4062fb
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x8c]
and ecx, 0xfffffffd
cmp eax, ebp
mov dword [esp + 0x14], ecx
jb 0x4062e8
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00407316
add esp, 4
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
test byte [esp + 0x14], 1
mov dword [esp + 0x124], 4
je 0x40633a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
and ecx, 0xfffffffe
cmp eax, ebp
mov dword [esp + 0x14], ecx
jb 0x40632d
mov edx, dword [esp + 0x24]
push edx
call fcn.00407316
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
cmp byte [esp + 0x13], bl
je 0x406568
lea eax, [esp + 0xc8]
push eax
call fcn.004046e0
mov eax, dword [esp + 0xd8]
add esp, 4
cmp eax, ebx
je 0x40646e
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
push str.LastTime_DownLoad_broken__Continue_now_
push 0x419da0
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3c8
call fcn.00403010
push str.auto
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
call fcn.00408082
add esp, 0x18
push eax
push str.auto
lea ecx, [esp + 0x98]
call fcn.00403eb0
push ebx
lea ecx, [esp + 0x94]
push ecx
push 0x4190e8
call fcn.00403420
mov ecx, dword [esp + 0xb4]
add esp, 0xc
neg eax
sbb al, al
inc al
cmp ecx, ebp
mov byte [esp + 0x13], al
jb 0x40640a
mov edx, dword [esp + 0x94]
push edx
call fcn.00407316
mov al, byte [esp + 0x17]
add esp, 4
cmp al, bl
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
je 0x406609
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov dword [0x419da8], 0x3cb
push 0x4190e8
mov byte [0x419eaf], bl
call fcn.00404460
push eax
push str.Failed_to_Launch__s_
push 0x419da0
call fcn.00403010
add esp, 0x1c
jmp 0x406609
cmp dword [esp + 0xc8], ebx
je 0x406656
lea eax, [esp + 0xc8]
push eax
call fcn.00403790
add esp, 4
test eax, eax
je 0x406609
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
push 0x4190e8
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3d8
call fcn.00404460
push eax
push str.Time_is_Ready__Try_to_Launch__s_
push 0x419da0
call fcn.00403010
push str.auto
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00408082
add esp, 0x20
push eax
push str.auto
lea ecx, [esp + 0x44]
call fcn.00403eb0
push ebx
lea ecx, [esp + 0x40]
push ecx
push 0x4190e8
call fcn.00403420
mov ecx, dword [esp + 0x60]
add esp, 0xc
neg eax
sbb al, al
inc al
cmp ecx, ebp
mov byte [esp + 0x13], al
jb 0x406530
mov edx, dword [esp + 0x40]
push edx
call fcn.00407316
mov al, byte [esp + 0x17]
add esp, 4
cmp al, bl
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
je 0x406609
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov dword [0x419da8], 0x3db
jmp 0x406446
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov eax, dword [str.LiveUpdate.exe]
push eax
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3e2
mov esi, eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.00408082
add esp, 0x10
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00403eb0
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x128], 6
call fcn.00404460
push eax
push str._s_is_already_running
push 0x419da0
call fcn.00403010
mov eax, dword [esp + 0x80]
add esp, 0x10
cmp eax, ebp
mov byte [esp + 0x124], 4
jb 0x4065fc
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00407316
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov esi, dword [esp + 0x24]
push esi
push str.Sleep__u_Minutes
push 0x419da0
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3e4
call fcn.00403010
imul esi, esi, 0xea60
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406218
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
push str.Strategy_was_set_to_never__duplicate_ouc_will_exit_now_
push 0x419da0
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3d0
call fcn.00403010
push 0x103
push str.Windows_tsp_product1.7_Code_srcoucouc.cpp
push 0x419dac
call fcn.00408100
mov eax, dword [esp + 0x134]
add esp, 0x20
cmp eax, ebp
mov byte [0x419eaf], bl
mov dword [0x419da8], 0x3e7
pop esi
jb 0x4066cc
mov edx, dword [esp + 0xfc]
push edx
call fcn.00407316
add esp, 4
cmp dword [esp + 0xf4], ebp
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
jb 0x4066fb
mov eax, dword [esp + 0xe0]
push eax
call fcn.00407316
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
call fcn.00403110
mov ecx, dword [esp + 0x118]
pop edi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
xor eax, eax
pop ebx
call fcn.00407a34
add esp, 0x118
ret