Function at 0x492540
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a951
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x18]
push esi
push edi
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
call fcn.0049fbd0
lea ecx, [ebx + 0xbc]
mov dword [ebp - 4], 0
call fcn.0055ae40
push str.City_Selection
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebx], 0x5923d8
mov dword [ebx + 0xc4], 0
call fcn.004a1580
push ebx
push 0x4928c0
lea ecx, [ebp - 0x24]
call fcn.0055ac30
sub esp, 0x14
mov esi, eax
mov edi, esp
lea eax, [ebx + 0xc4]
push 0xe
push 1
push eax
push 0xa
push 0x3d072b02
mov ecx, 5
push 0x3f19999a
push 0x3f000000
rep movsd dword es:[edi], dword [esi]
push 0x3e99999a
push 0x3dcccccd
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004a2200
push 0
push 0
push 0xbc3313be
mov ecx, eax
mov dword [ebx + 0xc8], eax
call fcn.004a98c0
mov eax, dword [0x66a80c]
mov esi, dword [eax + 8]
mov ecx, esi
shl ecx, 3
sub ecx, esi
lea edx, [esi + ecx*4]
lea eax, [edx*4 + 4]
push eax
call fcn.0050f560
add esp, 4
mov dword [ebp + 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x49265e
push fcn.004aa340
push 0x4aa310
lea edi, [eax + 4]
push esi
push 0x74
push edi
mov dword [eax], esi
call fcn.00567040
mov eax, edi
jmp 0x492660
xor eax, eax
mov dword [ebx + 0xcc], eax
mov ecx, dword [0x66a80c]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0xc0]
lea esi, [edx*4 + 0x32]
cmp esi, eax
jle 0x4926b5
test eax, eax
je 0x49269a
mov eax, dword [ebx + 0xbc]
push eax
call fcn.0050f580
add esp, 4
push esi
mov dword [ebx + 0xc0], esi
call fcn.0050f560
mov dword [ebx + 0xbc], eax
mov ecx, dword [0x66a80c]
add esp, 4
mov eax, dword [ecx + 8]
xor esi, esi
test eax, eax
jle 0x492751
xor edi, edi
push esi
call fcn.004c01a0
mov ecx, dword [eax + 0x94]
push esi
mov dword [ebp + 0x1c], ecx
mov ecx, dword [0x66a80c]
call fcn.004c01a0
mov edx, dword [eax + 0x90]
mov ecx, dword [0x66a80c]
push esi
mov dword [ebp + 0x18], edx
call fcn.004c01a0
mov eax, dword [eax + 0x8c]
mov ecx, dword [0x66a80c]
push esi
mov dword [ebp + 0x14], eax
call fcn.004c01a0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebx + 0xcc]
push ecx
add eax, 4
mov ecx, edi
push eax
add ecx, edx
call fcn.004aa3d0
mov ecx, dword [ebx + 0xcc]
mov edx, edi
add edx, ecx
mov ecx, dword [ebx + 0xc8]
push edx
call fcn.004a9990
mov ecx, dword [0x66a80c]
inc esi
add edi, 0x74
cmp esi, dword [ecx + 8]
jl 0x4926c4
mov ecx, dword [ebx + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [0x66a80c]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebx + 0xc8]
push edx
call fcn.004aa1b0
mov eax, dword [0x66a80c]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebx + 0xc8]
call fcn.004aa2a0
sub esp, 0x14
mov ecx, 5
mov edi, esp
mov esi, 0x712240
push 0
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
push 0
push ebx
push fcn.00492910
lea ecx, [ebp - 0x24]
call fcn.0055ac30
sub esp, 0x14
mov ecx, 5
mov edi, esp
mov esi, eax
push 4
push 0x3d23d70a
rep movsd dword es:[edi], dword [esi]
push 0x3ea3d70a
push 0x5aec98
push 0x65
mov ecx, ebx
call fcn.004a2fc0
sub esp, 0x14
mov ecx, 5
mov edi, esp
mov esi, 0x712240
push 0
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
push 0
push ebx
push 0x4928e0
lea ecx, [ebp - 0x24]
call fcn.0055ac30
sub esp, 0x14
mov ecx, 5
mov edi, esp
mov esi, eax
push 4
push 0x3d23d70a
rep movsd dword es:[edi], dword [esi]
push 0x3efae148
push 0x5aeca4
push 0x64
mov ecx, ebx
call fcn.004a2fc0
push 0
mov ecx, ebx
call fcn.004a1790
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18