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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x58f860]
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.004ac360
push str.SixdayWeatherMode
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.MagicTrayDay
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.MagicTrayHours
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.ITHomeDay
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.ITHomeReadCount
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.timeprompt
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.datevalue
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.temperature
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.weather
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.weatherimage
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.wind
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.sunriseset
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.index_ct
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.index_uv
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.index_xc
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.index_co
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.index_gm
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.index_tr
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.datevalue1
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.temperature1
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.weather1
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.weatherimage1
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.wind1
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ac360
push str.ip138
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ac360
push 0
push str.SendData
mov ecx, dword [ebp + 8]
call fcn.004ac3a0
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 0x4ac917
push str.btnclickenable
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ad330
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.004ad330
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.004ad330
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041c8e0
lea ecx, [ebp - 0xfc]
call fcn.0040f740
jmp 0x4ac944
push 0x558be0
lea ecx, [ebp - 0x28]
call fcn.0041cec0
push 0x56316c
lea ecx, [ebp - 0x88]
call fcn.0041cec0
push 0x558be8
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 0x4ac969
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 3
jge 0x4acade
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.004beff0
add esp, 0xc
push 0x554518
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.004ad420
push 0x554518
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.004ad420
push 0x554518
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.004ad420
lea ecx, [ebp - 0xac]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4acaad
lea ecx, [ebp - 0xc8]
call fcn.004ad5e0
push 4
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0047e5c0
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, 0x591504
call fcn.004ad620
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 0x4ac95a
push 0x554518
push str.image
push str.Shopping
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ad420
push 0x554518
push 0x567748
push str.Shopping
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ad420
push 0x554518
push str.showdate
push str.Shopping
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ad420
push 0x554518
push str.tooltip
push str.Shopping
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ad420
lea ecx, [ebp - 0x78]
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4accfb
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.0047e5c0
lea ecx, [ebp - 0xe4]
call fcn.0042e050
push 1
push ecx
mov ecx, esp
push 0x55a860
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0xe4]
call fcn.0042e1a0
push ecx
mov ecx, esp
push 0x554518
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x55a708
call fcn.0041c8a0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0042e400
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 0x4acccf
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.0042e110
lea ecx, [ebp - 0xcc]
call fcn.0040f740
push 0x554518
push str.startdate
push str.chunyun
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ad420
push 0x554518
push str.enddate
push str.chunyun
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ad420
push 0x554518
push str.span
push str.chunyun
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004ad420
lea ecx, [ebp - 0x94]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x4acda9
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 0x4acdd5
lea ecx, [ebp - 0x40]
call fcn.0041cb20
push eax
call fcn.005183ba
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 0x4ace01
lea ecx, [ebp - 0x7c]
call fcn.0041cb20
push eax
call fcn.005183ba
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 0x4ace25
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 0x4ace4f
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 0x4ace79
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 0x4ace9d
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 0x4acec7
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 0x4aceeb
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 0x4acf0f
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 0x4acf33
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 0x4acf57
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 0x4acf7b
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 0x4acf9f
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 0x4acfc3
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 0x4acfe7
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 0x4ad011
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 0x4ad035
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 0x4ad059
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 0x4ad07d
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 0x4ad0a1
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 0x4ad0c5
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 0x4ad0e9
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 0x4ad10d
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 0x4ad137
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 0x4ad15b
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 0x4ad185
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 0x4ad1af
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 0x4ad1d3
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.00512610
mov esp, ebp
pop ebp
ret 4