Function at 0x497c50
Capabilities:
Check os version
Create thread
Find taskbar
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5ec169
mov eax, dword fs:[0]
push eax
sub esp, 0xb50
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0xb4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0xb64]
mov dword fs:[0], eax
push 0x7e4
mov esi, ecx
call fcn.004ca5e4
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb6c], 0
test eax, eax
je 0x497cd1
push 0x4828b0
push 0x482810
push 6
lea edi, [eax + 4]
push 0x150
push edi
mov dword [eax], 6
call fcn.004ebd8d
mov eax, edi
jmp 0x497cd3
xor eax, eax
mov dword [esi + 0x64c], eax
mov eax, dword [esi + 0x4f8]
push 0
push eax
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esi + 0x4fc]
mov dword [esp + 0xb80], 0xffffffff
mov dword [esp + 0x28], esp
mov dword [eax], str.UIWeather.xml
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov edx, dword [esi + 0x4a0]
lea ecx, [esi + 0x4a0]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esi + 0x4f8]
mov edi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.main_tablayout
call edi
push 0
push str.Shell_TrayWnd
mov dword [esi + 0x774], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebp
mov ebx, eax
test ebx, ebx
je 0x497e32
jmp 0x497d60
push 0x104
lea ecx, [esp + 0x54c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.TrayNotifyWnd
lea eax, [esp + 0x548]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x497da6
test dx, dx
je 0x497da2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x497da6
add eax, 4
add ecx, 4
test dx, dx
jne 0x497d80
xor eax, eax
jmp 0x497dab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x497dbc
push 2
push ebx
call ebp
mov ebx, eax
test ebx, ebx
jne 0x497d60
jmp 0x497e32
push 5
push ebx
call ebp
mov ebx, eax
test ebx, ebx
je 0x497e32
jmp 0x497dd0
push 0x104
lea edx, [esp + 0x54c]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.TrayClockWClass
lea eax, [esp + 0x548]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x497e16
test dx, dx
je 0x497e12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x497e16
add eax, 4
add ecx, 4
test dx, dx
jne 0x497df0
xor eax, eax
jmp 0x497e1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x497e2c
push 2
push ebx
call ebp
mov ebx, eax
test ebx, ebx
jne 0x497dd0
jmp 0x497e32
mov dword [esi + 0x764], ebx
push 0x11c
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004e9ba0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x2c], 2
jne 0x497ecb
cmp dword [esp + 0x20], 5
jne 0x497ecb
mov ecx, dword [esi + 0x4f8]
push str.WeatherTep
call edi
mov ebx, dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CLabelUI::SetFont_int_]
test eax, eax
je 0x497e84
push 0x1c
mov ecx, eax
call ebx
mov ecx, dword [esi + 0x4f8]
push str.dushu
call edi
test eax, eax
je 0x497e9b
push 0x1c
mov ecx, eax
call ebx
mov ecx, dword [esi + 0x4f8]
push str.ui_future_weather_Login
call edi
test eax, eax
je 0x497ecb
xor ecx, ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
lea ebx, [ecx + 9]
xor ebp, ebp
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CLabelUI::SetTextPadding_struct_tagRECT_]
mov ecx, dword [esi + 0x4f8]
push str.ui_future_weather_Login
call edi
mov ecx, dword [esi + 0x4f8]
push str.Animationbg3
mov dword [esi + 0x79c], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.Animationbg4
mov dword [esi + 0x6c4], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.Animationbg2
mov dword [esi + 0x6c8], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.Animationbg1
mov dword [esi + 0x6c0], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.Animationbg0
mov dword [esi + 0x6bc], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.ui_future_weather_bg
mov dword [esi + 0x6b8], eax
call edi
mov dword [esi + 0x6b4], eax
xor ebp, ebp
lea ebx, [esi + 0x6d8]
jmp 0x497f60
push ebp
lea edx, [esp + 0x13c]
push str.WeatherPic_d
push edx
call fcn.00403b80
mov ecx, dword [esi + 0x4f8]
add esp, 0xc
lea eax, [esp + 0x138]
push eax
call edi
push ebp
lea ecx, [esp + 0x13c]
push str.WeatherDate_d
push ecx
mov dword [ebx - 0x6c], eax
call fcn.00403b80
mov ecx, dword [esi + 0x4f8]
add esp, 0xc
lea edx, [esp + 0x138]
push edx
call edi
push ebp
mov dword [ebx], eax
lea eax, [esp + 0x13c]
push str.WeatherTepValue_d
push eax
call fcn.00403b80
add esp, 0xc
lea ecx, [esp + 0x138]
push ecx
mov ecx, dword [esi + 0x4f8]
call edi
push ebp
lea edx, [esp + 0x13c]
push str.WeatherWind_d
push edx
mov dword [ebx + 0xc], eax
call fcn.00403b80
mov ecx, dword [esi + 0x4f8]
add esp, 0xc
lea eax, [esp + 0x138]
push eax
call edi
mov dword [ebx - 0xc], eax
inc ebp
add ebx, 4
cmp ebp, 3
jl 0x497f60
xor ebx, ebx
lea ebp, [esi + 0x69c]
jmp 0x498020
push ebx
lea ecx, [esp + 0x13c]
push str.WetherWeek_d
push ecx
call fcn.00403b80
mov ecx, dword [esi + 0x4f8]
add esp, 0xc
lea edx, [esp + 0x138]
push edx
call edi
push ebx
mov dword [ebp - 0x18], eax
lea eax, [esp + 0x13c]
push str.WetherPic_d
push eax
call fcn.00403b80
add esp, 0xc
lea ecx, [esp + 0x138]
push ecx
mov ecx, dword [esi + 0x4f8]
call edi
mov dword [ebp], eax
inc ebx
add ebp, 4
cmp ebx, 6
jl 0x498020
mov ecx, dword [esi + 0x4f8]
push str.Weather_EditButton
call edi
mov ecx, dword [esi + 0x4f8]
push str.humidity
mov dword [esi + 0x794], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.AirQ
mov dword [esi + 0x6f4], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.Rank
mov dword [esi + 0x6f8], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.AirValue
mov dword [esi + 0x6fc], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.AirOption
mov dword [esi + 0x700], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.healthadvce
mov dword [esi + 0x704], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.AirQPic
mov dword [esi + 0x708], eax
call edi
mov dword [esi + 0x70c], eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a60
push eax
lea edx, [esp + 0x754]
push 0x6012d8
push edx
call fcn.00403b80
push 0x104
xor ebx, ebx
lea eax, [esp + 0x350]
push ebx
push eax
call fcn.004e9ba0
add esp, 0x18
lea ecx, [esp + 0x750]
push ecx
push 0x104
lea edx, [esp + 0x348]
push edx
push 0x5fd0cc
push str.currquyu
push 0x5ff194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x95c]
push 0x601fc8
push ecx
call fcn.00403b80
mov ecx, dword [esi + 0x794]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
add esp, 0xc
lea eax, [esp + 0x958]
push eax
call edx
mov ecx, dword [esi + 0x4f8]
push str.WeatherForecast
call edi
cmp eax, ebx
je 0x4981c5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x134]
push 1
call eax
mov ecx, dword [esi + 0x4f8]
push 0x28
push 0x3e8
push esi
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetTimer_class_DuiLib::CControlUI___unsigned_int__unsigned_int_]
mov ecx, dword [esi + 0x644]
cmp byte [ecx + 0x826e4], 0
je 0x49820d
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push 0x497bf0
push ebx
push ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x648], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x644]
lea eax, [esp + 0x340]
add ecx, 0x828f0
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x498223
sub eax, edi
sar eax, 1
push eax
lea eax, [esp + 0x344]
push eax
call fcn.00401c70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 4
mov edi, 7
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str._b_W
mov word [ecx + 4], dx
call fcn.00401c70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 2
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x601bec
mov dword [esp + 0xbac], 1
mov word [ecx + 4], ax
call fcn.00401c70
mov dword [esp + 0xba4], 0xffffffff
mov ecx, dword [esi + 0x644]
call fcn.0041f9c0
mov ecx, dword [esp + 0xb64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4c]
xor ecx, esp
call fcn.004e8c89
add esp, 0xb5c
ret