Function at 0x4842d8
Capabilities:
Encode data using xor
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov ecx, esp
push str.List
call fcn.004177e7
push ecx
mov ecx, esp
push str.OtherCity
call fcn.004177e7
lea eax, [ebp - 0x18]
mov ecx, 0x735bd8
push eax
call fcn.004987e3
lea esi, [ebx + 0x70]
push eax
mov ecx, esi
call fcn.00418bac
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00419521
call fcn.00418f81
push eax
lea ecx, [ebp - 8]
call fcn.0041775d
push dword [ebx + 0x54]
lea eax, [ebp - 8]
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
push dword [0x735b1c]
push 0x6c07b4
push eax
call fcn.0041a1e9
mov eax, dword [esi]
add esp, 0x18
mov edi, dword [ebp - 8]
cmp dword [eax - 0xc], 0
je 0x484368
push 0
push edi
mov ecx, esi
call fcn.004713d7
test eax, eax
jns 0x4843c3
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004227ad
add esp, 0xc
mov ecx, esi
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, dword [ebx + 0x70]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov ecx, esp
push str.List
mov dword [esi], eax
call fcn.004177e7
push ecx
mov ecx, esp
push str.OtherCity
call fcn.004177e7
mov ecx, 0x735bd8
call fcn.004fdb1b
push ecx
xor eax, eax
mov ecx, esp
push 0x68c4fc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.004177e7
mov eax, dword [ebx + 0x70]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x28]
pop ecx
push eax
call fcn.0051413f
add esp, 0xc
lea ecx, [ebp - 0x34]
push eax
call fcn.00449668
lea ecx, [ebp - 0x28]
call fcn.004e8a9c
cmp dword [ebp - 0x30], 1
jle 0x4845b5
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x30], 0
jle 0x4845b5
mov edi, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x34]
call fcn.0044c702
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [eax + 4], 0
je 0x4845a1
push ecx
xor eax, eax
mov ecx, esp
push 0x68b398
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call fcn.004177e7
push ecx
mov esi, esp
push dword [ebp - 0x10]
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x40]
pop ecx
push eax
call fcn.0051413f
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00449668
lea ecx, [ebp - 0x40]
call fcn.004e8a9c
push 0xffffffffffffffff
push 3
lea ecx, [ebp - 0x28]
call fcn.0044c702
push ecx
mov esi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x28]
push 2
mov dword [esi], eax
call fcn.0044c702
push ecx
mov esi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x28]
push 1
mov dword [esi], eax
call fcn.0044c702
push ecx
mov esi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x28]
push 0
mov dword [esi], eax
call fcn.0044c702
push ecx
mov esi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00450566
lea ecx, [ebp - 0x64]
call fcn.00443e9d
push 0
lea ecx, [ebp - 0x28]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x64]
call fcn.00418bac
push 3
lea ecx, [ebp - 0x28]
call fcn.0044c702
push eax
lea ecx, [ebp - 0x60]
call fcn.00418bac
push 0x69a814
lea ecx, [ebp - 0x5c]
call fcn.004195af
mov esi, 0x6809b0
lea ecx, [ebp - 0x58]
push esi
call fcn.004195af
push esi
lea ecx, [ebp - 0x54]
call fcn.004195af
push esi
lea ecx, [ebp - 0x50]
call fcn.004195af
xor eax, eax
lea ecx, [ebp - 0x4c]
push eax
push eax
push eax
push 1
push 1
push 0x7de
call fcn.004f51f6
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebx + 0x74]
call fcn.005123ca
lea ecx, [ebp - 0x64]
call fcn.00448dae
lea ecx, [ebp - 0x28]
call fcn.004e8a9c
mov eax, dword [ebp - 0x10]
mov ecx, eax
call fcn.00419521
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x484428
mov edi, dword [ebp - 8]
mov ecx, dword [ebx + 0x68]
and dword [ebp - 0x18], 0
mov byte [ebp - 1], 0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x484624
mov edi, dword [ebp - 0x18]
call fcn.00418f81
push eax
lea ecx, [ebp - 0x10]
call fcn.0041775d
xor byte [ebp - 1], 1
push 0
pop eax
sete al
push eax
lea eax, [ebp - 0x10]
push str.IDB_countdown_bg_d
push eax
call fcn.0041a1e9
mov ecx, dword [ebx + 0x68]
add esp, 0xc
mov eax, dword [ecx]
push edi
call dword [eax]
mov esi, dword [ebp - 0x10]
mov ecx, eax
push esi
mov edx, dword [eax]
call dword [edx + 0x84]
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebx + 0x68]
inc edi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp edi, eax
jl 0x4845cc
mov edi, dword [ebp - 8]
mov ecx, dword [ebx + 0x68]
xor esi, esi
mov dword [ebp - 0x18], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x484719
mov ecx, dword [ebx + 0x68]
push esi
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x48464a
add eax, 0xfffffff8
jmp 0x48464c
xor eax, eax
lea ecx, [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
call dword [eax + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
and dword [ebp - 0xc], 0
pop ecx
mov ecx, dword [ebp - 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x4846fa
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.004177e7
push str.cityitem_cityname
lea ecx, [ebp - 0x10]
call fcn.004334a5
test eax, eax
je 0x4846ca
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 8]
inc dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
cmp edx, eax
jl 0x48467f
jmp 0x4846fa
push 0
push dword [ebx + 0x54]
lea ecx, [ebp - 0x1c]
call fcn.004713d7
mov ecx, dword [ebp - 0x14]
test eax, eax
js 0x4846e5
push str.IDB_Weather_defaultcity
jmp 0x4846ea
push 0x6809b0
call fcn.005db778
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebx + 0x68]
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp esi, eax
jl 0x484639
lea ecx, [ebp - 0x34]
call fcn.004e8a9c
lea ecx, [edi - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret