Function at 0x4f40f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566e83
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5ca1c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x98
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.00532960
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.00490310
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x4f4167
lea eax, [ebp - 0xc0]
push str._n3You_havent_banned_any_1cities_3yet._n
push eax
call fcn.00491160
add esp, 8
jmp 0x4f42b6
cmp ecx, 1
mov dword [ebp - 0xc8], ecx
mov edx, str.city
lea ecx, [ebp - 0xe4]
mov eax, str.cities
cmove eax, edx
mov edx, 0x5a3c04
mov dword [ebp - 0xc4], eax
mov eax, 0x5adc70
cmove eax, edx
lea edx, [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x1e
push str._n5There__1_5banned_:_n
call fcn.0050a9c0
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x4f41ce
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.0043cde0
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0xf
jbe 0x4f421d
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f4213
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f43e6
push ecx
push edx
call fcn.00524a57
add esp, 8
mov esi, dword [esi]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x4f42b6
nop dword [eax + eax]
lea eax, [ebp - 0xc0]
push 0x5981c8
push eax
lea edi, [esi + 0x10]
call fcn.00491160
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0xf
jbe 0x4f4252
mov edi, dword [edi]
push 0xa
push ecx
mov edx, edi
mov ecx, eax
call fcn.0043cde0
add esp, 4
push eax
call fcn.00501b30
mov eax, dword [esi + 8]
add esp, 8
cmp byte [eax + 0xd], 0
je 0x4f4294
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4f4290
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4f4290
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4f4280
mov esi, eax
jmp 0x4f42ac
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4f42ac
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4f42a0
cmp byte [esi + 0xd], 0
je 0x4f4230
cmp byte [0x5de3a9], 0
mov ecx, str._n5The_1automatic_city_ban_5feature_is_1currently_disabled5._n_n
mov eax, str._n5The_1automatic_city_ban_5feature_is_2currently_enabled5._n_n
cmove eax, ecx
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00491160
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
push eax
call fcn.00490220
push 1
push ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push 0
cmova edx, dword [ebp - 0x28]
push 0
push ecx
mov ecx, dword [0x5de260]
call fcn.004dbe00
mov byte [ebp - 4], 0
add esp, 0x14
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4f4346
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f433c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f43eb
push ecx
push edx
call fcn.00524a57
add esp, 8
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.00490150
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc4], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.00522431
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052450f
mov esp, ebp
pop ebp
ret
call fcn.0053ce3a
call fcn.0053ce3a
int3