Function at 0x40ec00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x43b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc34], 0
push edi
jne 0x40ee15
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0041e130
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
lea edi, [esi + 0xb64]
add esp, 0xc
mov ecx, edi
call ebx
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0x4336c0
push str.picture
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ec80
sub eax, edx
add esi, 0x2c
sar eax, 1
push str.LabWeatherImage
mov ecx, esi
jne 0x40ecac
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x40ecc5
push str.duoyun.png
jmp 0x40ecbd
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x40ecc5
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.0041e130
add esp, 0xc
mov ecx, edi
call ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x4336c0
push str.temperature
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ed10
sub eax, edx
sar eax, 1
push str.LabWeatherText2
mov ecx, esi
jne 0x40ed42
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x40ed5c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x434800
call eax
jmp 0x40ed5c
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x40ed5c
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call edx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041e130
add esp, 0xc
mov ecx, edi
call ebx
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x4336c0
push str.weather
push 0x433f20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40eda1
sub eax, edx
sar eax, 1
push str.LabWeateText1
mov ecx, esi
jne 0x40ede6
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x40ef4a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x434810
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x40ef4a
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004167b2
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xc38], 8
lea edi, [esi + 0xc24]
jb 0x40ee26
mov edi, dword [edi]
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test edi, edi
je 0x40ee47
push str.LabWeatherImage
lea ecx, [esi + 0x2c]
call ebx
test eax, eax
je 0x40ee47
push edi
mov ecx, eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__]
cmp dword [esi + 0xc00], 8
lea eax, [esi + 0xbec]
mov dword [ebp - 0x210], eax
jb 0x40ee60
mov edi, dword [eax]
jmp 0x40ee62
mov edi, eax
test edi, edi
je 0x40ee7e
push str.LabWeateText1
lea ecx, [esi + 0x2c]
call ebx
test eax, eax
je 0x40ee7e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push edi
call eax
cmp dword [esi + 0xc1c], 8
lea eax, [esi + 0xc08]
mov dword [ebp - 0x214], eax
jb 0x40ee97
mov edi, dword [eax]
jmp 0x40ee99
mov edi, eax
test edi, edi
je 0x40eeb5
push str.LabWeatherText2
lea ecx, [esi + 0x2c]
call ebx
test eax, eax
je 0x40eeb5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push edi
call eax
cmp dword [esi + 0xc38], 8
lea ebx, [esi + 0xc24]
jb 0x40eec6
mov ebx, dword [ebx]
mov edi, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
add esi, 0xb64
mov ecx, esi
call edi
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.picture
push 0x433f20
call ebx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x14], 8
jb 0x40ef00
mov ecx, dword [eax]
mov dword [ebp - 0x210], ecx
jmp 0x40ef06
mov dword [ebp - 0x210], eax
mov ecx, esi
call edi
mov edx, dword [ebp - 0x210]
push eax
push edx
push str.weather
push 0x433f20
call ebx
mov eax, dword [ebp - 0x214]
cmp dword [eax + 0x14], 8
jb 0x40ef2c
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 0x210], eax
call edi
mov ecx, dword [ebp - 0x210]
push eax
push ecx
push str.temperature
push 0x433f20
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004167b2
mov esp, ebp
pop ebp
ret