Function at 0x4d2b00
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x118], ecx
push str.RealWeatherMode
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.SixdayWeatherMode
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.MagicTrayDay
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.MagicTrayHours
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.ITHomeDay
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.ITHomeReadCount
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.timeprompt
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.datevalue
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.temperature
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.weather
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.weatherimage
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.wind
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.sunriseset
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.index_ct
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.index_uv
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.index_xc
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.index_co
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.index_gm
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.index_tr
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.datevalue1
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.temperature1
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.weather1
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.weatherimage1
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.wind1
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push str.ip138
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d27e0
push 0
push str.SendData
mov ecx, dword [ebp + 8]
call fcn.004d2820
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x28]
call fcn.0040ee90
lea ecx, [ebp - 0x88]
call fcn.0040ee90
lea ecx, [ebp - 0xa0]
call fcn.0040ee90
cmp dword [ebp - 0x44], 0
je 0x4d2d97
push str.btnclickenable
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d37b0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c8e0
lea ecx, [ebp - 0xf4]
call fcn.0040f740
push str.btnclickchance
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d37b0
push eax
lea ecx, [ebp - 0x88]
call fcn.0041c8e0
lea ecx, [ebp - 0xf8]
call fcn.0040f740
push str.btnclickskip
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d37b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041c8e0
lea ecx, [ebp - 0xfc]
call fcn.0040f740
jmp 0x4d2dc4
push 0x587230
lea ecx, [ebp - 0x28]
call fcn.0041cec0
push 0x591f94
lea ecx, [ebp - 0x88]
call fcn.0041cec0
push 0x587238
lea ecx, [ebp - 0xa0]
call fcn.0041cec0
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [ebp - 0xa8], 0
jmp 0x4d2de9
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 3
jge 0x4d2f5e
lea ecx, [ebp - 0xb8]
call fcn.0040ee90
movzx eax, word [ebp - 0x5c]
add eax, dword [ebp - 0xa8]
push eax
push str.Holiday_d
lea ecx, [ebp - 0xb8]
push ecx
call fcn.004ea900
add esp, 0xc
push 0x582b94
push str.Rest
lea ecx, [ebp - 0xb8]
call fcn.0041cb20
push eax
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push str.Work
lea ecx, [ebp - 0xb8]
call fcn.0041cb20
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push str.Quick
lea ecx, [ebp - 0xb8]
call fcn.0041cb20
push eax
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
lea ecx, [ebp - 0xac]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d2f2d
lea ecx, [ebp - 0xc8]
call fcn.004d3a60
push 4
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004a5fc0
push eax
lea ecx, [ebp - 0xc8]
call fcn.0041c8e0
lea ecx, [ebp - 0x100]
call fcn.0040f740
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.0041c8e0
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xc0]
call fcn.0041c8e0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0041c8e0
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, 0x5c292c
call fcn.004d3aa0
lea ecx, [ebp - 0xc8]
call fcn.0040ff80
lea ecx, [ebp - 0xb0]
call fcn.0040f740
lea ecx, [ebp - 0xb4]
call fcn.0040f740
lea ecx, [ebp - 0xac]
call fcn.0040f740
lea ecx, [ebp - 0xb8]
call fcn.0040f740
jmp 0x4d2dda
push 0x582b94
push str.image
push str.Shopping
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push 0x596108
push str.Shopping
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push str.showdate
push str.Shopping
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push str.tooltip
push str.Shopping
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
lea ecx, [ebp - 0x78]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d317b
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0x114
call fcn.0041c8e0
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x118
call fcn.0041c8e0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x11c
call fcn.0041c8e0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0x120
call fcn.0041c8e0
push 0x2f
mov ecx, dword [ebp - 0x118]
add ecx, 0x114
call fcn.0041c920
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x114
call fcn.0041cc20
sub eax, dword [ebp - 0xf0]
sub eax, 1
push eax
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x114
call fcn.004a5fc0
lea ecx, [ebp - 0xe4]
call fcn.00451e90
push 1
push ecx
mov ecx, esp
push 0x588ed8
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0xe4]
call fcn.00451fe0
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x588d80
call fcn.0041c8a0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00452240
lea ecx, [ebp - 0xcc]
push ecx
push str.plugimage_
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.0041ca60
add esp, 0xc
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0041ca00
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.0040f740
lea ecx, [ebp - 0xe8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d314f
push 0
push 0
lea ecx, [ebp - 0xe8]
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x114
call fcn.0041cb20
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
lea ecx, [ebp - 0xe8]
call fcn.0040f740
lea ecx, [ebp - 0xec]
call fcn.0040f740
lea ecx, [ebp - 0xe4]
call fcn.00451f50
lea ecx, [ebp - 0xcc]
call fcn.0040f740
push 0x582b94
push str.startdate
push str.chunyun
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push str.enddate
push str.chunyun
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d38a0
push 0x582b94
push str.span
push str.chunyun
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d38a0
lea ecx, [ebp - 0x94]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d3229
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x124
call fcn.0041c8e0
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0x128
call fcn.0041c8e0
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x12c
call fcn.0041c8e0
lea ecx, [ebp - 0x40]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d3255
lea ecx, [ebp - 0x40]
call fcn.0041cb20
push eax
call fcn.00544f25
add esp, 4
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xa4], eax
lea ecx, [ebp - 0x7c]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d3281
lea ecx, [ebp - 0x7c]
call fcn.0041cb20
push eax
call fcn.00544f25
add esp, 4
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0xa8], eax
lea ecx, [ebp - 0x2c]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d32a5
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xac
call fcn.0041c8e0
lea ecx, [ebp - 0x84]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d32cf
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xb0
call fcn.0041c8e0
lea ecx, [ebp - 0x98]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d32f9
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xb4
call fcn.0041c8e0
lea ecx, [ebp - 0x3c]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d331d
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xb8
call fcn.0041c8e0
lea ecx, [ebp - 0xa4]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d3347
lea edx, [ebp - 0xa4]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xbc
call fcn.0041c8e0
lea ecx, [ebp - 0x18]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d336b
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xc0
call fcn.0041c8e0
lea ecx, [ebp - 4]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d338f
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xc4
call fcn.0041c8e0
lea ecx, [ebp - 0x34]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d33b3
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xc8
call fcn.0041c8e0
lea ecx, [ebp - 0x68]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d33d7
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xcc
call fcn.0041c8e0
lea ecx, [ebp - 0x20]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d33fb
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xd0
call fcn.0041c8e0
lea ecx, [ebp - 0x1c]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d341f
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xd4
call fcn.0041c8e0
lea ecx, [ebp - 0x14]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d3443
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xd8
call fcn.0041c8e0
lea ecx, [ebp - 0x70]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d3467
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xdc
call fcn.0041c8e0
lea ecx, [ebp - 0x90]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d3491
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xe0
call fcn.0041c8e0
lea ecx, [ebp - 0x64]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d34b5
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xe4
call fcn.0041c8e0
lea ecx, [ebp - 0x48]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d34d9
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xe8
call fcn.0041c8e0
lea ecx, [ebp - 0x6c]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d34fd
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xec
call fcn.0041c8e0
lea ecx, [ebp - 0x30]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d3521
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xf0
call fcn.0041c8e0
lea ecx, [ebp - 0x10]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d3545
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xf4
call fcn.0041c8e0
lea ecx, [ebp - 0x60]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d3569
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0xf8
call fcn.0041c8e0
lea ecx, [ebp - 0x80]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d358d
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0xfc
call fcn.0041c8e0
lea ecx, [ebp - 0x8c]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d35b7
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x100
call fcn.0041c8e0
lea ecx, [ebp - 0x28]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d35db
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x104
call fcn.0041c8e0
lea ecx, [ebp - 0x88]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4d3605
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0x108
call fcn.0041c8e0
lea ecx, [ebp - 0xa0]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4d362f
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x10c
call fcn.0041c8e0
lea ecx, [ebp - 0x38]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4d3653
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x110
call fcn.0041c8e0
mov byte [ebp - 0x111], 1
lea ecx, [ebp - 0x74]
call fcn.0040f740
lea ecx, [ebp - 0x9c]
call fcn.0040f740
lea ecx, [ebp - 0x94]
call fcn.0040f740
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x24]
call fcn.0040f740
lea ecx, [ebp - 0x78]
call fcn.0040f740
lea ecx, [ebp - 0xa0]
call fcn.0040f740
lea ecx, [ebp - 0x88]
call fcn.0040f740
lea ecx, [ebp - 0x28]
call fcn.0040f740
lea ecx, [ebp - 0x38]
call fcn.0040f740
lea ecx, [ebp - 0x8c]
call fcn.0040f740
lea ecx, [ebp - 0x80]
call fcn.0040f740
lea ecx, [ebp - 0x60]
call fcn.0040f740
lea ecx, [ebp - 0x10]
call fcn.0040f740
lea ecx, [ebp - 0x30]
call fcn.0040f740
lea ecx, [ebp - 0x6c]
call fcn.0040f740
lea ecx, [ebp - 0x48]
call fcn.0040f740
lea ecx, [ebp - 0x64]
call fcn.0040f740
lea ecx, [ebp - 0x90]
call fcn.0040f740
lea ecx, [ebp - 0x70]
call fcn.0040f740
lea ecx, [ebp - 0x14]
call fcn.0040f740
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp - 0x20]
call fcn.0040f740
lea ecx, [ebp - 0x68]
call fcn.0040f740
lea ecx, [ebp - 0x34]
call fcn.0040f740
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x18]
call fcn.0040f740
lea ecx, [ebp - 0xa4]
call fcn.0040f740
lea ecx, [ebp - 0x3c]
call fcn.0040f740
lea ecx, [ebp - 0x98]
call fcn.0040f740
lea ecx, [ebp - 0x84]
call fcn.0040f740
lea ecx, [ebp - 0x2c]
call fcn.0040f740
lea ecx, [ebp - 0x7c]
call fcn.0040f740
lea ecx, [ebp - 0x40]
call fcn.0040f740
mov al, byte [ebp - 0x111]
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret 4