Function at 0x49fe50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x49fe6c
mov eax, dword [ebp - 0x14]
sub eax, 0x3e0
mov dword [ebp - 0x18], eax
jmp 0x49fe73
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
push 0
push ecx
mov ecx, esp
push 0x554518
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x565524
call fcn.0041c8a0
mov ecx, 0x591ad8
call fcn.0042ab10
push str.weather_todayweather
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49feca
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.004dd71b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49fef5
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x180]
call eax
push 0x564414
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49ff20
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.004dd71b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49ff4b
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 0x4a0057
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x70], 1
push 0x564414
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.004dd71b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49ff85
mov ecx, dword [ebp - 0x1c]
sub ecx, 8
mov dword [ebp - 0x20], ecx
jmp 0x49ff8c
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.004dd71b
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x49ffbc
mov ecx, dword [ebp - 0x24]
sub ecx, 8
mov dword [ebp - 0x28], ecx
jmp 0x49ffc3
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.004dd71b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x49fff0
mov ecx, dword [ebp - 0x2c]
sub ecx, 8
mov dword [ebp - 0x30], ecx
jmp 0x49fff7
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.004dd71b
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4a0024
mov ecx, dword [ebp - 0x34]
sub ecx, 8
mov dword [ebp - 0x38], ecx
jmp 0x4a002b
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.004b3d20
mov ecx, dword [ebp - 0x14]
call fcn.004b4220
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x4b5b90
call fcn.0051af0d
add esp, 0xc
mov esp, ebp
pop ebp
ret 0xc