Function at 0x4532b7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
cmp dword [0x735d78], 0
mov eax, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
jg 0x4532e8
xor ebx, ebx
push ebx
push ebx
push 0x581
push dword [0x735624]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4536ec
push str.weather_userset_citylist
lea ecx, [eax + 0x20]
call fcn.005cfc5e
xor ebx, ebx
test eax, eax
je 0x453303
lea esi, [eax - 8]
mov dword [ebp - 8], esi
jmp 0x453308
mov esi, ebx
mov dword [ebp - 8], ebx
test esi, esi
je 0x4536ec
mov eax, dword [esi]
mov edi, ebx
mov ecx, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
call dword [eax + 0xc]
test eax, eax
je 0x453433
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
mov ecx, esp
mov dword [ebp - 0xc], eax
push 0x68c4fc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.004177e7
push ecx
mov esi, esp
push dword [ebp - 0xc]
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x3c]
pop ecx
push eax
call fcn.0051413f
add esp, 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.00449668
lea ecx, [ebp - 0x3c]
call fcn.004e8a9c
cmp dword [ebp - 0x2c], 4
jne 0x45340d
lea ecx, [ebp - 0x50]
call fcn.00446bb3
push ebx
lea ecx, [ebp - 0x30]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x50]
call fcn.00418bac
push 1
lea ecx, [ebp - 0x30]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x48]
call fcn.00418bac
push 2
lea ecx, [ebp - 0x30]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x4c]
call fcn.00418bac
push 3
lea ecx, [ebp - 0x30]
call fcn.0044c702
push ecx
mov esi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004b5796
pop ecx
mov byte [ebp - 0x44], al
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
call fcn.00512f04
lea ecx, [ebp - 0x50]
call fcn.0044950b
lea ecx, [ebp - 0x30]
call fcn.004e8a9c
mov ecx, dword [ebp - 0xc]
call fcn.00419521
mov esi, dword [ebp - 8]
inc edi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
cmp edi, eax
jb 0x45332a
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
call fcn.00446bb3
push ecx
mov ecx, esp
push 0x68c4fc
call fcn.004177e7
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x30]
pop ecx
push eax
call fcn.0051413f
add esp, 0xc
cmp dword [ebp - 0x2c], 3
jl 0x4534aa
push ebx
lea ecx, [ebp - 0x30]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x40]
call fcn.00418bac
push 1
lea ecx, [ebp - 0x30]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x38]
call fcn.00418bac
push 2
lea ecx, [ebp - 0x30]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x3c]
call fcn.00418bac
mov byte [ebp - 0x34], bl
mov esi, dword [ebp - 0x24]
cmp byte [ebp + 0xc], bl
je 0x4534f7
mov eax, edi
mov dword [ebp + 0xc], ebx
sub eax, esi
sar eax, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4534e9
mov ecx, esi
mov dword [ebp - 0xc], esi
push dword [ebp - 0x40]
call fcn.004229b4
test eax, eax
je 0x453526
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
inc eax
add ecx, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ecx
cmp eax, dword [ebp - 0x10]
jb 0x4534c8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.00512f04
jmp 0x453520
cmp dword [ebp - 0x24], edi
je 0x453523
push dword [ebp - 0x40]
mov ecx, esi
call fcn.004229b4
test eax, eax
je 0x453513
add esi, 0x10
cmp esi, edi
jne 0x4534fc
jmp 0x453523
push esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
call fcn.0051116c
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov eax, edi
sub eax, esi
test eax, 0xfffffff0
jne 0x4535f8
call fcn.00418f81
push eax
lea ecx, [ebp - 0x10]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0xc]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 8]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 4]
call fcn.0041775d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xf]
call fcn.004a19d6
lea ecx, [ebp - 0x50]
call fcn.00446bb3
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00418bac
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x48]
call fcn.00418bac
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00418bac
lea eax, [ebp - 0x50]
mov byte [ebp - 0x44], 1
push eax
lea ecx, [ebp - 0x24]
call fcn.00512f04
lea ecx, [ebp - 0x50]
call fcn.0044950b
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub edi, eax
sar edi, 4
test edi, edi
je 0x45366a
lea esi, [eax + 8]
mov eax, edi
mov dword [ebp - 0x10], eax
cmp byte [esi + 4], 0
je 0x45364d
lea eax, [esi - 8]
mov ecx, 0x735b1c
push eax
mov bl, 1
call fcn.00418bac
push 0x6809b0
mov ecx, 0x735b04
call fcn.004195af
push esi
mov ecx, 0x735b08
call fcn.00418bac
lea eax, [esi - 4]
mov ecx, 0x735b0c
push eax
call fcn.00418bac
mov eax, dword [ebp - 0x10]
add esi, 0x10
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x45360c
push 0
test bl, bl
pop ebx
jne 0x45366a
mov eax, dword [ebp - 0x24]
test edi, edi
je 0x45366a
mov byte [eax + 0xc], 1
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.0043ec29
lea eax, [ebp - 0x14]
push eax
call fcn.0045add5
push 8
call fcn.00609934
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4536a1
call fcn.00418f81
push eax
lea ecx, [esi + 4]
call fcn.0041775d
jmp 0x4536a3
mov esi, ebx
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x2c0]
mov dword [esi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418bac
push esi
push ebx
push 0x506a1b
call fcn.006423a8
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x30]
call fcn.004e8a9c
lea ecx, [ebp - 0x40]
call fcn.0044950b
lea ecx, [ebp - 0x24]
call fcn.0050ed8e
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8