Function at 0x4c7c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x4c7c2c
mov eax, dword [ebp - 0x14]
sub eax, 0x3e0
mov dword [ebp - 0x18], eax
jmp 0x4c7c33
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
push 1
push ecx
mov ecx, esp
push 0x582b94
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x5943cc
call fcn.0041c8a0
mov ecx, 0x5c2f20
call fcn.0044e4b0
push str.weather_todayweather
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c7c8a
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x180]
call edx
push str.weather_lifeindex
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c7cb5
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x180]
call eax
push 0x593214
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c7ce0
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x180]
call eax
push str.weather_warninfo
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c7d0b
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x180]
call eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x70]
test edx, edx
jne 0x4c7e17
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x70], 1
push 0x593214
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4c7d45
mov ecx, dword [ebp - 0x1c]
sub ecx, 8
mov dword [ebp - 0x20], ecx
jmp 0x4c7d4c
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x80], eax
push str.weather_othercity_province
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4c7d7c
mov ecx, dword [ebp - 0x24]
sub ecx, 8
mov dword [ebp - 0x28], ecx
jmp 0x4c7d83
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x74], eax
push str.weather_othercity_city
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4c7db0
mov ecx, dword [ebp - 0x2c]
sub ecx, 8
mov dword [ebp - 0x30], ecx
jmp 0x4c7db7
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x78], eax
push str.weather_othercity_region
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00509af5
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4c7de4
mov ecx, dword [ebp - 0x34]
sub ecx, 8
mov dword [ebp - 0x38], ecx
jmp 0x4c7deb
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp - 0x14]
call fcn.004d9f50
mov ecx, dword [ebp - 0x14]
call fcn.004da450
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x4dda80
call fcn.00547a7d
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc