Function at 0x47d160
Capabilities:
Create thread
Read .ini file

Disassembly:
sub esp, 0xc38
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0xc34], eax
mov eax, dword [esp + 0xc3c]
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x4f8]
push 0
push ecx
push 0
push 0
push ecx
mov dword [esi + 0x6f4], eax
mov eax, esp
lea ecx, [esi + 0x4fc]
mov dword [eax], str.small_weather_bar.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
push 0x104
lea ecx, [esp + 0x830]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x82c]
push 0x5c
push edx
call fcn.004e9c3b
xor ecx, ecx
xor edx, edx
mov word [eax + 2], cx
push 0x206
push edx
lea eax, [esp + 0x1e]
push eax
mov word [esp + 0x20], dx
call fcn.004e9ba0
add esp, 0x14
call fcn.00409730
mov ecx, eax
call fcn.004a3a60
push eax
lea ecx, [esp + 0x10]
push 0x6012d8
push ecx
call fcn.00403b80
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 1
push str.IsFirst
push 0x5ff194
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esi + 0x6f0], eax
lea eax, [esp + 0xc]
push eax
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push 0x5fd0cc
push str.currshengfen
push 0x5ff194
call edi
lea edx, [esp + 0xc]
push edx
push 0x104
lea eax, [esp + 0x424]
push eax
push 0x5fd0cc
push str.currcity
push 0x5ff194
call edi
lea ecx, [esp + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x62c]
push edx
push 0x5fd0cc
push str.currquyu
push 0x5ff194
call edi
lea eax, [esp + 0xc]
push eax
push 0x104
lea ecx, [esp + 0xa3c]
push ecx
push 0x5fd0cc
push str.currpyquyu
push 0x5ff194
call edi
lea edx, [esi + 0x71d]
push edx
lea eax, [esp + 0x218]
push eax
call fcn.004a60f0
lea ecx, [esi + 0x73b]
push ecx
lea edx, [esp + 0x428]
push edx
call fcn.004a60f0
lea eax, [esi + 0x759]
push eax
lea ecx, [esp + 0x638]
push ecx
call fcn.004a60f0
lea edx, [esi + 0x795]
push edx
lea eax, [esp + 0xa50]
push eax
call fcn.004a60f0
mov ecx, dword [esi + 0x4f8]
mov edi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
add esp, 0x20
push str.small_weather_bar_tianqi
call edi
mov ecx, dword [esi + 0x4f8]
push str.small_weather_bar_temperature
mov dword [esi + 0x6f8], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.small_weather_bar_address
mov dword [esi + 0x6fc], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.small_weather_bar_sky
mov dword [esi + 0x700], eax
call edi
mov ecx, dword [esi + 0x4f8]
push str.small_weather_bar_PM
mov dword [esi + 0x704], eax
call edi
mov ecx, dword [esi + 0x6f4]
mov dword [esi + 0x708], eax
cmp byte [ecx + 0x826e4], 0
je 0x47d3be
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x47d100
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x644], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 [esp + 0xc3c]
pop edi
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0xc38
ret 4